Mantis - Resin
Viewing Issue Advanced Details
4451 major always 03-24-11 20:38 04-06-11 09:15
accasssar  
ferg  
normal  
closed 3.1.11  
fixed  
none    
none 4.0.17  
0004451: '0' is an unknown constant pool type
We are attempting to upgrade from resin v3.1.4 to v3.1.11, however application deployment fails with

 java.lang.IllegalStateException: /usr/local/resin-pro-3.1.11/deploy/_ear_automation/automation.jar: '0' is an unknown constant pool type.
[14:24:04.221] java.lang.IllegalStateException: /usr/local/resin-pro-3.1.11/deploy/_ear_automation/automation.jar: '0' is an unknown constant pool type.
[14:24:04.221] at com.caucho.bytecode.ByteCodeClassScanner.error(ByteCodeClassScanner.java:274)
[14:24:04.221] at com.caucho.bytecode.ByteCodeClassScanner.parseConstantPool(ByteCodeClassScanner.java:175)
[14:24:04.221] at com.caucho.bytecode.ByteCodeClassScanner.scan(ByteCodeClassScanner.java:78)
[14:24:04.221] at com.caucho.loader.enhancer.ScanManager.scanForJarClasses(ScanManager.java:150)
[14:24:04.221] at com.caucho.loader.enhancer.ScanManager.scan(ScanManager.java:85)
[14:24:04.221] at com.caucho.loader.enhancer.ScanManager.scan(ScanManager.java:62)
[14:24:04.221] at com.caucho.loader.EnvironmentClassLoader.addScanListener(EnvironmentClassLoader.java:499)
[14:24:04.221] at com.caucho.ejb.manager.EjbContainer.<init>(EjbContainer.java:119)
[14:24:04.221] at com.caucho.ejb.manager.EjbContainer.create(EjbContainer.java:141)
[14:24:04.221] at com.caucho.ejb.manager.EjbContainer.create(EjbContainer.java:129)
[14:24:04.221] at com.caucho.ejb.EJBServer.<init>(EJBServer.java:123)
[14:24:04.221] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[14:24:04.221] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
[14:24:04.221] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
[14:24:04.221] at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
[14:24:04.221] at com.caucho.webbeans.component.ClassComponent.createNew(ClassComponent.java:384)
[14:24:04.221] at com.caucho.webbeans.component.ComponentImpl.createNoInit(ComponentImpl.java:460)
[14:24:04.221] at com.caucho.config.type.BeanType.create(BeanType.java:120)
[14:24:04.221] at com.caucho.config.attribute.EnvironmentAttribute.create(EnvironmentAttribute.java:82)
[14:24:04.221] at com.caucho.config.ConfigContext.configureChildNode(ConfigContext.java:512)
[14:24:04.221] at com.caucho.config.ConfigContext.configureAttribute(ConfigContext.java:327)
[14:24:04.221] at com.caucho.config.program.NodeBuilderChildProgram.inject(NodeBuilderChildProgram.java:56)
[14:24:04.221] at com.caucho.config.program.ContainerProgram.inject(ContainerProgram.java:80)
[14:24:04.221] at com.caucho.config.program.ConfigProgram.configure(ConfigProgram.java:61)
[14:24:04.221] at com.caucho.server.deploy.EnvironmentDeployController.configureInstance(EnvironmentDeployController.java:364)
[14:24:04.221] at com.caucho.server.deploy.EnvironmentDeployController.configureInstance(EnvironmentDeployController.java:55)
[14:24:04.221] at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:665)
[14:24:04.221] at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72)
[14:24:04.221] at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549)
[14:24:04.221] at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160)
[14:24:04.221] at com.caucho.server.webapp.WebAppEarDeployGenerator.startImpl(WebAppEarDeployGenerator.java:134)
[14:24:04.221] at com.caucho.server.deploy.DeployGenerator.start(DeployGenerator.java:188)
[14:24:04.221] at com.caucho.server.deploy.DeployListGenerator.startImpl(DeployListGenerator.java:178)
[14:24:04.221] at com.caucho.server.deploy.DeployGenerator.start(DeployGenerator.java:188)
[14:24:04.221] at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:140)
[14:24:04.221] at com.caucho.server.webapp.WebAppContainer.start(WebAppContainer.java:659)
[14:24:04.221] at com.caucho.server.host.Host.start(Host.java:450)
[14:24:04.221] at com.caucho.server.deploy.DeployController.startImpl(DeployController.java:667)
[14:24:04.221] at com.caucho.server.deploy.StartAutoRedeployAutoStrategy.startOnInit(StartAutoRedeployAutoStrategy.java:72)
[14:24:04.221] at com.caucho.server.deploy.DeployController.startOnInit(DeployController.java:549)
[14:24:04.221] at com.caucho.server.deploy.DeployContainer.start(DeployContainer.java:160)
[14:24:04.221] at com.caucho.server.host.HostContainer.start(HostContainer.java:484)
[14:24:04.221] at com.caucho.server.cluster.Server.start(Server.java:1319)
[14:24:04.221] at com.caucho.server.cluster.Cluster.startServer(Cluster.java:710)
[14:24:04.221] at com.caucho.server.cluster.ClusterServer.startServer(ClusterServer.java:542)
[14:24:04.221] at com.caucho.server.resin.Resin.start(Resin.java:703)
[14:24:04.221] at com.caucho.server.resin.Resin.initMain(Resin.java:1162)
[14:24:04.221] at com.caucho.server.resin.Resin.main(Resin.java:1365)

Notes
(0005161)
ferg   
04-06-11 09:15   
This is fixed in the 4.0 branch.

It can be ignored in the 3.1.11 branch because Resin will simply skip that file was unscannable (which it is, because the .jar isn't a class file)