Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000267 [Resin] minor always 06-16-05 00:00 11-30-05 14:43
Reporter pburleson View Status public  
Assigned To
Priority immediate Resolution fixed  
Status closed   Product Version 3.0.13
Summary 0000267: Server Exception when pushing out new war via config server
Description RSN-290
Using the new config-server setup, I've run into a problem when putting a new version of a war file in the deploy directory of the config server and when it pushes it to the child server. I get the following stack traces:

[10:51:56.040] java.io.EOFException: Unexpected end of ZLIB input stream
[10:51:56.040] at java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:216)
[10:51:56.040] at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:134)
[10:51:56.040] at java.util.zip.ZipInputStream.read(ZipInputStream.java:139)
[10:51:56.040] at java.util.zip.ZipInputStream.closeEntry(ZipInputStream.java:91)
[10:51:56.040] at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:69)
[10:51:56.040] at com.caucho.server.deploy.ExpandDeployController.expandArchiveImpl(ExpandDeployController.java:294)
[10:51:56.040] at com.caucho.server.deploy.ExpandDeployController.expandArchive(ExpandDeployController.java:162)
[10:51:56.040] at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:550)
[10:51:56.040] at com.caucho.server.deploy.DeployController.restartImpl(DeployController.java:519)
[10:51:56.040] at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.request(StartAutoRedeployAutoStrategy.java:125)
[10:51:56.040] at com.caucho.server.deploy.DeployController.request(DeployController.java:489)
[10:51:56.040] at com.caucho.server.webapp.ApplicationContainer.getApplication(ApplicationContainer.java:847)
[10:51:56.040] at com.caucho.server.webapp.ApplicationContainer.buildInvocation(ApplicationContainer.java:687)
[10:51:56.040] at com.caucho.server.host.Host.buildInvocation(Host.java:413)
[10:51:56.040] at com.caucho.server.host.HostContainer.buildInvocation(HostContainer.java:322)
[10:51:56.040] at com.caucho.server.resin.ServletServer.buildInvocation(ServletServer.java:643)
[10:51:56.040] at com.caucho.server.dispatch.DispatchServer.buildInvocation(DispatchServer.java:198)
[10:51:56.040] at com.caucho.server.hmux.HmuxRequest.handleRequest(HmuxRequest.java:391)
[10:51:56.040] at com.caucho.server.port.TcpConnection.run(TcpConnection.java:341)
[10:51:56.040] at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:490)
[10:51:56.040] at com.caucho.util.ThreadPool.run(ThreadPool.java:423)
[10:51:56.040] at java.lang.Thread.run(Thread.java:595)
[10:51:58.055] expanding /deploy/foo.war to /C:/resin-pro-3.0.13/deploy-back1/foo
[10:51:58.477] java.io.EOFException: Unexpected end of ZLIB input stream
[10:51:58.477] at java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:216)
[10:51:58.477] at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:134)
[10:51:58.477] at java.util.zip.ZipInputStream.read(ZipInputStream.java:139)
[10:51:58.477] at java.util.zip.ZipInputStream.closeEntry(ZipInputStream.java:91)
[10:51:58.477] at java.util.zip.ZipInputStream.getNextEntry(ZipInputStream.java:69)
[10:51:58.477] at com.caucho.server.deploy.ExpandDeployController.expandArchiveImpl(ExpandDeployController.java:294)
[10:51:58.477] at com.caucho.server.deploy.ExpandDeployController.expandArchive(ExpandDeployController.java:168)
[10:51:58.477] at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:550)
[10:51:58.477] at com.caucho.server.deploy.DeployController.restartImpl(DeployController.java:519)
[10:51:58.477] at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.request(StartAutoRedeployAutoStrategy.java:125)
[10:51:58.477] at com.caucho.server.deploy.DeployController.request(DeployController.java:489)
[10:51:58.477] at com.caucho.server.webapp.ApplicationContainer.getApplication(ApplicationContainer.java:847)
[10:51:58.477] at com.caucho.server.webapp.ApplicationContainer.buildInvocation(ApplicationContainer.java:687)
[10:51:58.477] at com.caucho.server.host.Host.buildInvocation(Host.java:413)
[10:51:58.477] at com.caucho.server.host.HostContainer.buildInvocation(HostContainer.java:322)
[10:51:58.477] at com.caucho.server.resin.ServletServer.buildInvocation(ServletServer.java:643)
[10:51:58.477] at com.caucho.server.dispatch.DispatchServer.buildInvocation(DispatchServer.java:198)
[10:51:58.477] at com.caucho.server.hmux.HmuxRequest.handleRequest(HmuxRequest.java:391)
[10:51:58.477] at com.caucho.server.port.TcpConnection.run(TcpConnection.java:341)
[10:51:58.477] at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:490)
[10:51:58.477] at com.caucho.util.ThreadPool.run(ThreadPool.java:423)
[10:51:58.477] at java.lang.Thread.run(Thread.java:595)
[10:51:58.524] java.util.zip.ZipException: error in opening zip file
[10:51:58.524] at java.util.zip.ZipFile.open(Native Method)
[10:51:58.524] at java.util.zip.ZipFile.<init>(ZipFile.java:204)
[10:51:58.524] at java.util.jar.JarFile.<init>(JarFile.java:132)
[10:51:58.524] at java.util.jar.JarFile.<init>(JarFile.java:70)
[10:51:58.524] at com.caucho.vfs.Jar.getJarFile(Jar.java:597)
[10:51:58.524] at com.caucho.vfs.Jar.getManifest(Jar.java:207)
[10:51:58.524] at com.caucho.vfs.JarPath.getManifest(JarPath.java:176)
[10:51:58.524] at com.caucho.loader.JarEntry.readManifest(JarEntry.java:101)
[10:51:58.524] at com.caucho.loader.JarEntry.<init>(JarEntry.java:92)
[10:51:58.524] at com.caucho.loader.LibraryLoader.addJar(LibraryLoader.java:242)
[10:51:58.524] at com.caucho.loader.LibraryLoader.fillJars(LibraryLoader.java:235)
[10:51:58.524] at com.caucho.loader.LibraryLoader.init(LibraryLoader.java:179)
[10:51:58.524] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[10:51:58.524] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[10:51:58.524] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[10:51:58.524] at java.lang.reflect.Method.invoke(Method.java:585)
[10:51:58.524] at com.caucho.config.BeanTypeStrategy.init(BeanTypeStrategy.java:303)
[10:51:58.524] at com.caucho.config.NodeBuilder.configureImpl(NodeBuilder.java:227)
[10:51:58.524] at com.caucho.config.NodeBuilder.configureChildImpl(NodeBuilder.java:271)
[10:51:58.524] at com.caucho.config.BeanTypeStrategy.configure(BeanTypeStrategy.java:186)
[10:51:58.524] at com.caucho.config.SetterAttributeStrategy.configure(SetterAttributeStrategy.java:91)
[10:51:58.524] at com.caucho.config.NodeBuilder.configureAttributeImpl(NodeBuilder.java:346)
[10:51:58.524] at com.caucho.config.NodeBuilder.configureBeanImpl(NodeBuilder.java:309)
[10:51:58.524] at com.caucho.config.TypeStrategy.configureBean(TypeStrategy.java:103)
[10:51:58.524] at com.caucho.config.BeanTypeStrategy.configureBean(BeanTypeStrategy.java:213)
[10:51:58.524] at com.caucho.config.NodeBuilder.configureImpl(NodeBuilder.java:225)
[10:51:58.524] at com.caucho.config.NodeBuilder.configureChildImpl(NodeBuilder.java:271)
[10:51:58.524] at com.caucho.config.EnvironmentAttributeStrategy.configure(EnvironmentAttributeStrategy.java:55)
[10:51:58.524] at com.caucho.config.NodeBuilder.configureAttributeImpl(NodeBuilder.java:346)
[10:51:58.524] at com.caucho.config.TypeStrategy.configureAttribute(TypeStrategy.java:112)
[10:51:58.524] at com.caucho.config.EnvironmentTypeStrategy.configureAttribute(EnvironmentTypeStrategy.java:89)
[10:51:58.524] at com.caucho.config.NodeBuilder.configureAttribute(NodeBuilder.java:198)
[10:51:58.524] at com.caucho.config.NodeBuilderChildProgram.configureImpl(NodeBuilderChildProgram.java:54)
[10:51:58.524] at com.caucho.config.BuilderProgramContainer.configureImpl(BuilderProgramContainer.java:62)
[10:51:58.524] at com.caucho.config.BuilderProgram.configure(BuilderProgram.java:60)
[10:51:58.524] at com.caucho.server.deploy.EnvironmentDeployController.configureInstance(EnvironmentDeployController.java:396)
[10:51:58.524] at com.caucho.server.deploy.EnvironmentDeployController.configureInstance(EnvironmentDeployController.java:80)
[10:51:58.524] at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:554)
[10:51:58.524] at com.caucho.server.deploy.DeployController.restartImpl(DeployController.java:519)
[10:51:58.524] at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.request(StartAutoRedeployAutoStrategy.java:125)
[10:51:58.524] at com.caucho.server.deploy.DeployController.request(DeployController.java:489)
[10:51:58.524] at com.caucho.server.webapp.ApplicationContainer.getApplication(ApplicationContainer.java:847)
[10:51:58.524] at com.caucho.server.webapp.ApplicationContainer.buildInvocation(ApplicationContainer.java:687)
[10:51:58.524] at com.caucho.server.host.Host.buildInvocation(Host.java:413)
[10:51:58.524] at com.caucho.server.host.HostContainer.buildInvocation(HostContainer.java:322)
[10:51:58.524] at com.caucho.server.resin.ServletServer.buildInvocation(ServletServer.java:643)
[10:51:58.524] at com.caucho.server.dispatch.DispatchServer.buildInvocation(DispatchServer.java:198)
[10:51:58.524] at com.caucho.server.hmux.HmuxRequest.handleRequest(HmuxRequest.java:391)
[10:51:58.524] at com.caucho.server.port.TcpConnection.run(TcpConnection.java:341)
[10:51:58.524] at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:490)
[10:51:58.524] at com.caucho.util.ThreadPool.run(ThreadPool.java:423)
[10:51:58.524] at java.lang.Thread.run(Thread.java:595)
[10:51:58.665] java.util.zip.ZipException: error in opening zip file
[10:51:58.665] at java.util.zip.ZipFile.open(Native Method)
[10:51:58.665] at java.util.zip.ZipFile.<init>(ZipFile.java:204)
[10:51:58.665] at java.util.jar.JarFile.<init>(JarFile.java:132)
[10:51:58.665] at java.util.jar.JarFile.<init>(JarFile.java:70)
[10:51:58.665] at com.caucho.vfs.Jar.getJarFile(Jar.java:597)
[10:51:58.665] at com.caucho.vfs.Jar.getManifest(Jar.java:207)
[10:51:58.665] at com.caucho.vfs.JarPath.getManifest(JarPath.java:176)
[10:51:58.665] at com.caucho.loader.JarEntry.readManifest(JarEntry.java:101)
[10:51:58.665] at com.caucho.loader.JarEntry.<init>(JarEntry.java:92)
[10:51:58.665] at com.caucho.loader.LibraryLoader.addJar(LibraryLoader.java:242)
[10:51:58.665] at com.caucho.loader.LibraryLoader.fillJars(LibraryLoader.java:235)
[10:51:58.665] at com.caucho.loader.LibraryLoader.init(LibraryLoader.java:179)
[10:51:58.665] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[10:51:58.665] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[10:51:58.665] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[10:51:58.665] at java.lang.reflect.Method.invoke(Method.java:585)
[10:51:58.665] at com.caucho.config.BeanTypeStrategy.init(BeanTypeStrategy.java:303)
[10:51:58.665] at com.caucho.config.NodeBuilder.configureImpl(NodeBuilder.java:227)
[10:51:58.665] at com.caucho.config.NodeBuilder.configureChildImpl(NodeBuilder.java:271)
[10:51:58.665] at com.caucho.config.BeanTypeStrategy.configure(BeanTypeStrategy.java:186)
[10:51:58.665] at com.caucho.config.SetterAttributeStrategy.configure(SetterAttributeStrategy.java:91)
[10:51:58.665] at com.caucho.config.NodeBuilder.configureAttributeImpl(NodeBuilder.java:346)
[10:51:58.665] at com.caucho.config.NodeBuilder.configureBeanImpl(NodeBuilder.java:309)
[10:51:58.665] at com.caucho.config.TypeStrategy.configureBean(TypeStrategy.java:103)
[10:51:58.665] at com.caucho.config.BeanTypeStrategy.configureBean(BeanTypeStrategy.java:213)
[10:51:58.665] at com.caucho.config.NodeBuilder.configureImpl(NodeBuilder.java:225)
[10:51:58.665] at com.caucho.config.NodeBuilder.configureChildImpl(NodeBuilder.java:271)
[10:51:58.665] at com.caucho.config.EnvironmentAttributeStrategy.configure(EnvironmentAttributeStrategy.java:55)
[10:51:58.665] at com.caucho.config.NodeBuilder.configureAttributeImpl(NodeBuilder.java:346)
[10:51:58.665] at com.caucho.config.TypeStrategy.configureAttribute(TypeStrategy.java:112)
[10:51:58.665] at com.caucho.config.EnvironmentTypeStrategy.configureAttribute(EnvironmentTypeStrategy.java:89)
[10:51:58.665] at com.caucho.config.NodeBuilder.configureAttribute(NodeBuilder.java:198)
[10:51:58.665] at com.caucho.config.NodeBuilderChildProgram.configureImpl(NodeBuilderChildProgram.java:54)
[10:51:58.665] at com.caucho.config.BuilderProgramContainer.configureImpl(BuilderProgramContainer.java:62)
[10:51:58.665] at com.caucho.config.BuilderProgram.configure(BuilderProgram.java:60)
[10:51:58.665] at com.caucho.server.deploy.EnvironmentDeployController.configureInstance(EnvironmentDeployController.java:396)
[10:51:58.665] at com.caucho.server.deploy.EnvironmentDeployController.configureInstance(EnvironmentDeployController.java:80)
[10:51:58.665] at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:554)
[10:51:58.665] at com.caucho.server.deploy.DeployController.restartImpl(DeployController.java:519)
[10:51:58.665] at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.request(StartAutoRedeployAutoStrategy.java:125)
[10:51:58.665] at com.caucho.server.deploy.DeployController.request(DeployController.java:489)
[10:51:58.665] at com.caucho.server.webapp.ApplicationContainer.getApplication(ApplicationContainer.java:847)
[10:51:58.665] at com.caucho.server.webapp.ApplicationContainer.buildInvocation(ApplicationContainer.java:687)
[10:51:58.665] at com.caucho.server.host.Host.buildInvocation(Host.java:413)
[10:51:58.665] at com.caucho.server.host.HostContainer.buildInvocation(HostContainer.java:322)
[10:51:58.665] at com.caucho.server.resin.ServletServer.buildInvocation(ServletServer.java:643)
[10:51:58.665] at com.caucho.server.dispatch.DispatchServer.buildInvocation(DispatchServer.java:198)
[10:51:58.665] at com.caucho.server.hmux.HmuxRequest.handleRequest(HmuxRequest.java:391)
[10:51:58.665] at com.caucho.server.port.TcpConnection.run(TcpConnection.java:341)
[10:51:58.665] at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:490)
[10:51:58.665] at com.caucho.util.ThreadPool.run(ThreadPool.java:423)
[10:51:58.665] at java.lang.Thread.run(Thread.java:595)
[10:51:58.883] WebApp[http://localhost:7610/foo] [^] starting
[10:51:58.946] java.util.zip.ZipException: error in opening zip file
[10:51:58.946] at java.util.zip.ZipFile.open(Native Method)
[10:51:58.946] at java.util.zip.ZipFile.<init>(ZipFile.java:204)
[10:51:58.946] at java.util.jar.JarFile.<init>(JarFile.java:132)
[10:51:58.946] at java.util.jar.JarFile.<init>(JarFile.java:70)
[10:51:58.946] at com.caucho.jsp.TldManager.loadJarTlds(TldManager.java:399)
[10:51:58.946] at com.caucho.jsp.TldManager.init(TldManager.java:264)
[10:51:58.946] at com.caucho.jsp.TldManager.create(TldManager.java:128)
[10:51:58.946] at com.caucho.jsp.JspManager.<init>(JspManager.java:84)
[10:51:58.946] at com.caucho.jsp.JspServlet.init(JspServlet.java:71)
[10:51:58.946] at com.caucho.server.dispatch.ServletConfigImpl.createServlet(ServletConfigImpl.java:599)
[10:51:58.946] at com.caucho.server.dispatch.ServletManager.init(ServletManager.java:152)
[10:51:58.946] at com.caucho.server.webapp.Application.start(Application.java:1604)
[10:51:58.946] at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:556)
[10:51:58.946] at com.caucho.server.deploy.DeployController.restartImpl(DeployController.java:519)
[10:51:58.946] at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.request(StartAutoRedeployAutoStrategy.java:125)
[10:51:58.946] at com.caucho.server.deploy.DeployController.request(DeployController.java:489)
[10:51:58.946] at com.caucho.server.webapp.ApplicationContainer.getApplication(ApplicationContainer.java:847)
[10:51:58.946] at com.caucho.server.webapp.ApplicationContainer.buildInvocation(ApplicationContainer.java:687)
[10:51:58.946] at com.caucho.server.host.Host.buildInvocation(Host.java:413)
[10:51:58.946] at com.caucho.server.host.HostContainer.buildInvocation(HostContainer.java:322)
[10:51:58.946] at com.caucho.server.resin.ServletServer.buildInvocation(ServletServer.java:643)
[10:51:58.946] at com.caucho.server.dispatch.DispatchServer.buildInvocation(DispatchServer.java:198)
[10:51:58.946] at com.caucho.server.hmux.HmuxRequest.handleRequest(HmuxRequest.java:391)
[10:51:58.946] at com.caucho.server.port.TcpConnection.run(TcpConnection.java:341)
[10:51:58.946] at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:490)
[10:51:58.946] at com.caucho.util.ThreadPool.run(ThreadPool.java:423)
[10:51:58.946] at java.lang.Thread.run(Thread.java:595)
[10:51:59.415] resin-file: init

Looking at the expanded war file on the child server shows that only 1 jar is in WEB-INF/lib of the war, and it's only partially there. About half it's expected size. Not to mention the 20 some odd missing jars.

This will now occur at every server startup of the child server until I delete the RESIN_HOME/work/config/*.db file for this child server.

My guess would be some sort of corruption of the RESIN_HOME/work/config/*.db files. Or possibly a mis-reading of those files by the VFS?

Let me know if you need any more info. I'll try and create a generic war to try and reproduce the problem as well.
Additional Information Clustered Resin servers using a config-server.
Attached Files

- Relationships

- Notes
(0000296)
ferg
06-16-05 00:00

Added digest check to verify the sent data. Also, delay returns when the remote file has just been written.
 
(0000297)
ferg
06-16-05 00:00

Need to change to fixed state.
 
(0000298)
ferg
06-16-05 00:00

Mistaken state.
 

- Issue History
Date Modified Username Field Change
06-16-05 00:00 pburleson New Issue
11-30-05 00:00 administrator Fixed in Version  => 3.0.14
11-30-05 14:43 ferg Status resolved => closed


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
31 total queries executed.
29 unique queries executed.
Powered by Mantis Bugtracker