1 Reply Latest reply on Aug 28, 2008 8:47 AM by Andrew Steeley

    Error with ICU4J

    toby saville Novice

      Hello,

      I have a jar in my deploy directory to be used as a shared dependency.

      I have tried this with the default install of JBoss AS 4.2.0 and 4.2.1.

      The jar in question is icu4j-2.6.1.jar, and the error i get is the following (on 4.2.1):

      15:28:01,953 ERROR [MainDeployer] Could not initialise deployment: file:/C:/jboss-4.2.1.GA/server/messaging/deploy/easynet/libs/icu4j-2.6.1.jar
      org.jboss.deployment.DeploymentException: exception in init of file:/C:/jboss-4.2.1.GA/server/messaging/deploy/easynet/libs/icu4j-2.6.1.jar; - nested
      throwable: (java.lang.RuntimeException: java.io.IOException: invalid constant type: 60)
       at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:53)
       at org.jboss.deployment.MainDeployer.init(MainDeployer.java:901)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:809)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
       at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
       at $Proxy9.deploy(Unknown Source)
       at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
       at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
      Caused by: java.lang.RuntimeException: java.io.IOException: invalid constant type: 60
       at org.jboss.ejb3.EJB3Deployer.hasEjbAnnotation(EJB3Deployer.java:235)
       at org.jboss.ejb3.EJB3Deployer.accepts(EJB3Deployer.java:271)
       at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
       at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
       at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
       at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
       at org.jboss.deployment.SubDeployerInterceptor.invokeNext(SubDeployerInterceptor.java:124)
       at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:109)
       at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
       at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
       at $Proxy34.accepts(Unknown Source)
       at org.jboss.deployment.MainDeployer.findDeployer(MainDeployer.java:1078)
       at org.jboss.deployment.MainDeployer.init(MainDeployer.java:857)
       ... 20 more
      Caused by: java.io.IOException: invalid constant type: 60
       at javassist.bytecode.ConstPool.readOne(ConstPool.java:967)
       at javassist.bytecode.ConstPool.read(ConstPool.java:910)
       at javassist.bytecode.ConstPool.<init>(ConstPool.java:127)
       at javassist.bytecode.ClassFile.read(ClassFile.java:637)
       at javassist.bytecode.ClassFile.<init>(ClassFile.java:52)
       at org.jboss.ejb3.EJB3Deployer.hasEjbAnnotation(EJB3Deployer.java:215)
       ... 39 more
      


      Any suggestions why this might be?

      cheers,
      toby