Connecting Tech Pros Worldwide Help | Site Map

Java- Apache 5.5 problem in deploying .warfile

Member
 
Join Date: Oct 2006
Posts: 42
#1: Jun 16 '08
Good Day,
i am having difficulty in deploying my .war file on my web server... when i deploy my warfile in my pc or any other workstation it deploys fine. but when i deploy it on my server. it only deploys the .war file on the /webapps folder.. there are no folder structure being created.. therefore my site cannot work properly.

ex:
when i deploy my .war file (test.war) on my workstation there will be a folder named:

/webapps/test

created

while on my server it only deploys the test.war on the /webapps folder:

/webapps/test.war

no folders.. is there anything i should do ?

Thanks and i hope for a reply i am way past my deadline any help is well appreciated
rsrinivasan's Avatar
Familiar Sight
 
Join Date: Mar 2007
Location: India
Posts: 221
#2: Jun 16 '08

re: Java- Apache 5.5 problem in deploying .warfile


Open tomcat configuration file "server.xml".
In this there is one property unpackWARs in Host tag.

Change that property from False to True.

Restart the Tomcat Sever.

Now check whether the war file is expanded or not.

Cheers,
Srinivas.
Reply