File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Extraction of WAR, rebuild the WAR Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Tomcat
Reply locked New topic
Author

Extraction of WAR, rebuild the WAR

randhir sethi
Ranch Hand

Joined: Jan 27, 2009
Posts: 36
I have a doubt of how to extract the WAR file and then, rebuild the WAR. I am not a JAVA guy and am getting the following error in the starting of tomcat:-

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Starting service Tomcat-Standalone
Apache Tomcat/4.1.24
WebappClassLoader: validateJarFile(/opt/dpc/billing501/wars/corereports/reportstool/WEB-INF/lib/servlet.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
##### [WebReportsInitializationServlet]:Path of Configuration file :/opt/dpc/billing501/wars/corereports/reportstool/xml/DefaultSystemConf.xml
File can't be deleted
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

I guess, I will have to extract the WAR file, remove the servlet.jar file and rebuild the WAR.

I hope, my question is clear.

Please, help in solving the doubt.

regards
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Extraction of WAR, rebuild the WAR