Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2011-09-09
6
Medium Priority
?
367 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 2000 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
Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

 
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
In this post we will learn different types of Android Layout and some basics of an Android App.
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Suggested Courses

618 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