.war file in webapps folder
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   sabcarina_magro
Posted On:   Wednesday, August 9, 2006 01:04 PM

Hi everybody

I have transferred a .war file (warfilename.war) to my webapps folder on my Tomcat Server. When i type http://localhost:8080/warfilename/index.html or http://localhost:8080/warfilename/ into my browser i get an
error:"file does not exit".

Html and jsp files outside warfilename.war execute fine.

do in need to do something in configuration or add a classpath variable please?

thanks lots

sabcarina

Re: .war file in webapps folder

Posted By:   jeff_marsh  
Posted On:   Saturday, August 19, 2006 01:41 AM

Hi Sabcarina,


First rename the warfilename folder to any other name.
i.e.

/tomcat/webapps/warfilename , rename it to
/tomcat/webapps/xwarfilename

Please check that now your webapps directory is having a .war file
i.e.
/tomcat/webapps/
*warfilename.war[file]
*xwarfilename [folder]

now start the tomcat....by hittin /tomcat/bin/startup.bat

Now check, Whether new folder name "warfilename" is created or not?

If not then you are lacking of application contex, for that you need to update server.xml file
i.e.
/tomcat/conf/server.xml

-Jeff
About | Sitemap | Contact