tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Mahoney" <...@xact.co.uk>
Subject Apparent problem when adding commons jars to war
Date Tue, 18 Oct 2005 06:18:43 GMT
This is very strange. When I add commons jars, e.g. commons-bean-utlis.jar,
to my webapp lib directory, the webapp will no longer deploy to tomcat
5.5.12. Take the commons jars out (and restart tomcat) then the webapp will
deploy. It won't run of course, because of the missing classes...

I've been through the FAQ and tomcat-user mail archive, but cannot see the
answer.

Can someone out there help?

---%<- stack ---------------------------------------------------------------

17-Oct-2005 21:15:54 org.apache.coyote.http11.Http11AprProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
17-Oct-2005 21:15:54 org.apache.coyote.ajp.AjpAprProtocol init
INFO: Initializing Coyote AJP/1.3 on ajp-8009
17-Oct-2005 21:15:54 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1232 ms
17-Oct-2005 21:15:55 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
17-Oct-2005 21:15:55 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.12
17-Oct-2005 21:15:55 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
17-Oct-2005 21:15:56 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive WebAccess.war
17-Oct-2005 21:15:56 org.apache.catalina.startup.HostConfig deployWAR
SEVERE: Error deploying web application archive WebAccess.war
java.lang.IllegalArgumentException
	at java.util.zip.ZipInputStream.getUTF8String(Unknown Source)
	at java.util.zip.ZipInputStream.readLOC(Unknown Source)
	at java.util.zip.ZipInputStream.getNextEntry(Unknown Source)
	at java.util.jar.JarInputStream.<init>(Unknown Source)
	at java.util.jar.JarInputStream.<init>(Unknown Source)
	at
org.apache.catalina.util.ExtensionValidator.getManifest(ExtensionValidator.j
ava:368)
	at
org.apache.catalina.util.ExtensionValidator.validateApplication(ExtensionVal
idator.java:187)
	at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3998)
	at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:7
59)
	at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
	at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
	at
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:804)
	at
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:693)
	at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
	at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1118)
	at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
	at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:119)
	at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
	at
org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
	at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
	at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
	at
org.apache.catalina.core.StandardService.start(StandardService.java:450)
	at
org.apache.catalina.core.StandardServer.start(StandardServer.java:680)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:536)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
17-Oct-2005 21:15:56 org.apache.coyote.http11.Http11AprProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
17-Oct-2005 21:15:57 org.apache.coyote.ajp.AjpAprProtocol start
INFO: Starting Coyote AJP/1.3 on ajp-8009
17-Oct-2005 21:15:57 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
17-Oct-2005 21:15:57 org.apache.catalina.startup.Catalina start
INFO: Server startup in 2393 ms

---
Paul Mahoney, Director, X-Act Solutions Limited
smail: 71 South Cliff, Bexhill-on-Sea, East Sussex, TN39 3EE
email: ptm@xact.co.uk
phone: +44 (0) 1424 731240


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message