Solved

How do I deploy a Java application (on Tomcat?) to a Linux Apache server

Posted on 2011-09-09
6
334 Views
Last Modified: 2012-05-12
I had my web hosting company install Tomcat so that we could deploy a Jasper report application.  However the hosting company does not offer help with deploying the application and we are kind of stuck about how to proceed.

Any tutorials, instructions, or help would be most sincerely appreciated.

Lynn
0
Comment
Question by:lthames
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 86

Accepted Solution

by:
CEHJ earned 500 total points
ID: 36512047
0
 

Author Comment

by:lthames
ID: 36512087
Thank you so much for the information.  I read it over quickly and it looks like it might help.  I don't know anything about java so I forwarded the link to the programmer who wrote the app.

In case he doesn't understand this or can't deploy them, do you (or do you know of someone) who can do this as freelance work?

The application is for Jasper reports and should be very simple (from what I understand)
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 36512178
For that sort of question, you need to get in touch with us via our profiles
0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
LVL 13

Expert Comment

by:LinuxGuru
ID: 36512906
Hi,

Most hosting companies provide Tomcat as Private Tomcat or Shared Tomcat. In Private Tomcat you have full control over the tomcat installation along with configuration files. You can also restart Tomcat at any time. But in Shared Tomcat you are restricted to access the config file and the restart time period.

To deploy an application in both cases (either Private or Shared tomcat), normally you need to upload the war file of your java application to the main root directory (Sometimes it may be the /var/www/html or /home/username/public_html or /home/username/tomcat/webapps directory and restart the tomcat and it will deploy automatically. Also you need to set mapping for java application in the vhost file. If you are not sure about this, just ask your hosting provider for more details becoz the location may vary.

Cheers !!!
0
 
LVL 11

Expert Comment

by:mcnute
ID: 36515846
if the file is written with java classes you must compile the classes before deploying your application, too. Or you deploy it first, compile the classes and then restart the tomcat. You also need to tell tomcat how the URL pattern should look like, so you can access your application via your browser address. In most cases it looks like this: someIP:8080/yourapplacation.
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 36717610
:)
0

Featured Post

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.
Suggested Courses

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question