1 Reply Latest reply on Jun 26, 2010 12:02 PM by Jason Porter

    Glassfish 3.0.1 + Hibernate 3.5.3 startup error

    Jason Porter Master

      Just got this exception trying to deploy one of my applications which I just added weld.  It's currently a JSF 1.2 application (working on migrating):


      Exception while loading the app
      org.glassfish.deployment.common.DeploymentException: Exception #0 :java.lang.RuntimeException: java.lang.IllegalArgumentException: Can not set static javassist.util.proxy.MethodHandler field com.sun.jersey.server.impl.jcdi.JCDIComponentExtension_$$_javassist_0.default_interceptor to org.jboss.weld.util.CleanableMethodHandler
              at org.glassfish.weld.WeldDeployer.event(WeldDeployer.java:167)
              at org.glassfish.kernel.event.EventsImpl.send(EventsImpl.java:125)
              at org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:224)
              at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:338)
              at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:183)
              at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:272)
              at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:310)
              at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:320)
              at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1176)
              at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$900(CommandRunnerImpl.java:83)
              at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1235)
              at org.glassfish.deployment.autodeploy.AutoOperation.run(AutoOperation.java:141)
              at org.glassfish.deployment.autodeploy.AutoDeployer.deploy(AutoDeployer.java:573)
              at org.glassfish.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:459)
              at org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:391)
              at org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:376)
              at org.glassfish.deployment.autodeploy.AutoDeployService$1.run(AutoDeployService.java:195)
              at java.util.TimerThread.mainLoop(Timer.java:512)
              at java.util.TimerThread.run(Timer.java:462)
      Caused by: org.jboss.weld.exceptions.DefinitionException: Exception #0 :java.lang.RuntimeException: java.lang.IllegalArgumentException: Can not set static javassist.util.proxy.MethodHandler field com.sun.jersey.server.impl.jcdi.JCDIComponentExtension_$$_javassist_0.default_interceptor to org.jboss.weld.util.CleanableMethodHandler
              at org.jboss.weld.bootstrap.events.AbstractDefinitionContainerEvent.fire(AbstractDefinitionContainerEvent.java:45)
              at org.jboss.weld.bootstrap.events.AbstractProcessInjectionTarget.fire(AbstractProcessInjectionTarget.java:40)
              at org.jboss.weld.manager.BeanManagerImpl.fireProcessInjectionTarget(BeanManagerImpl.java:1212)
              at org.glassfish.weld.WeldDeployer.fireProcessInjectionTargetEvents(WeldDeployer.java:240)
              at org.glassfish.weld.WeldDeployer.event(WeldDeployer.java:164)
              ... 18 more


      Has anyone seen this before?  I'll try one of the sample apps and see if I get the same error.