troubleshooting Question

Deploying .war files on shared cpanel server

Avatar of shaunak
shaunak asked on
Apache Web ServerJSPJava App Servers
10 Comments1 Solution4091 ViewsLast Modified:
I have a war file at /home/username/www/appname.war
My home directory: /home/username/www
Servlet dir: /home/username/www/WEB-INF

When I extract war files every things get extracted at proper location but the tomcat server dosen't load my web.xml file.

If i ask the server ppl to install my war file, it gets installed at http://ip:8080/appname

I want to run the application on http://domainname.com

Tomcat Version: Apache Tomcat/5.5.28
JVM Version:1.6.0_17-b04
CPanel Shared server.
servlets installed for the domainname.com

Directory structure:- of  /home/username/www
images
index.jsp
js/
jsptest.jsp
META-INF/
WEB-INF/
----------classes
             ----appname/
                   ---hibernate/
                          ---All class files
                   ---web/
                          ---controller/
                                  ---All class files
----------.htaccess
----------jsp/
             ----home.jsp
             ----include.jsp
----------lib/
             ----all jar files
----------appname-servlet.xml
----------web.xml





Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 10 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 10 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros