1 Reply Latest reply on Dec 15, 2008 8:48 AM by nickleus

    ejb 3.0 deploy/environment error for jboss 5 beta2

      Hi,

      I see an error when trying to deploy my application in jboss 5 beta2.

      Caused by: java.io.IOException: invalid constant type: 60
       at javassist.bytecode.ConstPool.readOne(ConstPool.
      



      The log "is giving me mixed signals". The error appears in the ejb3 deployer class, but the final log suggests the problem lies in my .war file. Regarldess, 'reading bytecodes' implies that jboss class can't properly read a class.

      Any ideas on this?
      stack trace:

      org.jboss.deployers.spi.DeploymentException: java.io.IOException: invalid constant type: 60 at org.jboss.ejb3.deployers.EJBRegistrationDeployer.deploy(EJBRegistrati
      onDeployer.java:167)
      


      more stack trace:

      at org.jboss.system.server.profileservice.ServerImpl.doStart(ServerImpl.
      java:403)
       at org.jboss.system.server.profileservice.ServerImpl.start(ServerImpl.ja
      va:342)
       at org.jboss.Main.boot(Main.java:210)
       at org.jboss.Main$1.run(Main.java:522)
       at java.lang.Thread.run(Thread.java:595)
      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:630)
       at javassist.bytecode.ClassFile.<init>(ClassFile.java:52)
       at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:409)
       at org.jboss.ejb3.Ejb3Deployment.deployUrl(Ejb3Deployment.java:398)
       at org.jboss.ejb3.Ejb3Deployment.deploy(Ejb3Deployment.java:363)
       at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:318)
      
      


      The final 'deployment status' message says this:

      *** DEPLOYMENTS IN ERROR: Name -> Error
      
      vfsfile:/home/bmilbratz/projects/devtools/jboss-5.0.0.Beta2/server/myserver/deploy/myenterpriseapp.ear/my.war/ -> java.io.IOException: invalid constant type: 60