File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Deploy webapplication on linux redhat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Deploy webapplication on linux redhat" Watch "Deploy webapplication on linux redhat" New topic

Deploy webapplication on linux redhat

Pravin Shirke
Ranch Hand

Joined: Apr 05, 2008
Posts: 150

how to deploy webapplication on red hat linux 5.0 and where to deploy. can you tell me the method or the directory location where to extract the abc.war file ???
thank you

[Vipassana] - It is seeing the reality as it is, And not as you want it to be.!!!
Vassili Vladimir
Ranch Hand

Joined: Mar 08, 2007
Posts: 1585

All you need is Tomcat.

Put the whole extracted directory or the WAR file inside the webapps sub directory of your Tomcat.


Vassili ...
SCJP 5.0, SCWCD 1.4, SCJA 1.0
Pravin Shirke
Ranch Hand

Joined: Apr 05, 2008
Posts: 150

but i want to give access to client to the webapplication on the internet and not on the intranet.
Charles Lyons
Ranch Hand

Joined: Mar 27, 2003
Posts: 836
You bind Tomcat to a port as part of the setup anyway, otherwise you wouldn't be able to access it at all. By default sockets are accessible over the network from Linux, so provided you have an Internet connection from your server it should be fine (you may need to configure IPs/hostnames in Tomcat, so read the documentation). I don't really see that we can advise you how to get a connection from your server to the Internet in a Java forum (you need to make sure there is an Internet-accessible IP address assigned to your server first, and that the chosen port for Tomcat isn't firewalled off). You'd need to give the details to your network administrator.

Charles Lyons (SCJP 1.4, April 2003; SCJP 5, Dec 2006; SCWCD 1.4b, April 2004)
Author of OCEJWCD Study Companion for Oracle Exam 1Z0-899 (ISBN 0955160340 / Amazon Amazon UK )
I agree. Here's the link:
subject: Deploy webapplication on linux redhat
jQuery in Action, 3rd edition