aspose file tools*
The moose likes Tomcat and the fly likes Error when try to deploy an application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Error when try to deploy an application" Watch "Error when try to deploy an application" New topic
Author

Error when try to deploy an application

Carfield Yim
Greenhorn

Joined: Oct 20, 2002
Posts: 4
Here is the stacktrace , I've already all jar library are ok , how can I trace what going wrong?

嚴重的: Error in dependencyCheck
java.util.zip.ZipException: invalid entry CRC (expected 0xbeb6f4fc but got 0xa8e
e09d0)
at java.util.zip.ZipInputStream.readEnd(ZipInputStream.java:378)
at java.util.zip.ZipInputStream.read(ZipInputStream.java:141)
at java.util.jar.JarInputStream.read(JarInputStream.java:171)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:256)
at java.io.BufferedInputStream.read(BufferedInputStream.java:313)
at java.util.jar.JarInputStream.getBytes(JarInputStream.java:88)
at java.util.jar.JarInputStream.<init>(JarInputStream.java:65)
at java.util.jar.JarInputStream.<init>(JarInputStream.java:43)
at org.apache.catalina.util.ExtensionValidator.getManifest(ExtensionVali
dator.java:368)
at org.apache.catalina.util.ExtensionValidator.validateApplication(Exten
sionValidator.java:187)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3
998)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:759)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:73
9)
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(Lifecycl
eSupport.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:4
50)
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(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
2006年8月15日 下午08:42:34 org.apache.catalina.core.StandardContext start
嚴重的: Error getConfigured
2006年8月15日 下午08:42:34 org.apache.catalina.core.StandardContext start
嚴重的: Context [/upe] startup failed due to previous errors
2006年8月15日 下午08:42:34 org.apache.catalina.core.StandardContext stop
資訊: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/
upe] has not been started
2006年8月15日 下午08:42:35 org.apache.coyote.http11.Http11BaseProtocol start
資訊: Starting Coyote HTTP/1.1 on http-80
2006年8月15日 下午08:42:35 org.apache.jk.common.ChannelSocket init
資訊: JK: ajp13 listening on /0.0.0.0:8009
2006年8月15日 下午08:42:35 org.apache.jk.server.JkMain start
資訊: Jk running ID=0 time=0/250 config=null
2006年8月15日 下午08:42:35 org.apache.catalina.storeconfig.StoreLoader load
資訊: Find registry server-registry.xml at classpath resource
2006年8月15日 下午08:42:35 org.apache.catalina.startup.Catalina start
資訊: Server startup in 2609 ms
Bart Saelen
Greenhorn

Joined: Aug 18, 2006
Posts: 9
looks like your war-file is corrupt.
try rebuilding the war and deploy it again.
Mahadevan
Greenhorn

Joined: Oct 05, 2005
Posts: 6
Hi,
I am also facing the same issue. I have tried lot of options rebuilding, deploying war. RE installing jdk and tomcat. but still facing this issue.
The following is my config
JDK1.4.19,
Tomcat 5.5 compact
Eclipse helios J2EE version
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error when try to deploy an application
 
Similar Threads
AspectJ LTW using Spring
First Struts Application + Unable to load configuration
tomcat error
Error in Tomcat
Problem starting up servlet-examples & jsp-examples