2 Replies Latest reply on Jun 7, 2018 10:31 PM by Mark Lindros-Oracle

    ClassNotFoundException: javassist.util.proxy.ProxyObject

    Otto Palenicek-Oracle

      We deployed ORDS 18.1.1.95.1251 on WLS 12.1.3.0.0

       

      Starting the managed server we run into the following Exception:

       

      weblogic.management.DeploymentException: java.lang.ClassNotFoundException: javassist.util.proxy.ProxyObject

       

      Does anyone have an idea how to fix this problem?

       

      Regards,

       

      Otto

       

      Here the complete error stack:

       

      <Error> <Deployer> <XX.XX.XX.XX> <XXXXX_ms> <[STANDBY] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1528362424097> <BEA-149231> <Unable to set the activation state to true for the application "XXXXX [Version=ords-18.1.1.0]".

      weblogic.management.DeploymentException: java.lang.ClassNotFoundException: javassist.util.proxy.ProxyObject

          at weblogic.application.internal.BaseDeployment.throwAppException(BaseDeployment.java:123)

          at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:260)

          at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:48)

          at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:165)

          at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)

          at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:226)

          at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:418)

          at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)

          at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)

          at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)

          at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)

          at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)

          at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)

          at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:211)

          at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:119)

          at weblogic.server.AbstractServerService.postConstruct(AbstractServerService.java:78)

          at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

          at java.lang.reflect.Method.invoke(Method.java:498)

          at org.glassfish.hk2.utilities.reflection.ReflectionHelper.invoke(ReflectionHelper.java:1017)

          at org.jvnet.hk2.internal.ClazzCreator.postConstructMe(ClazzCreator.java:388)

          at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:430)

          at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:456)

          at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:225)

          at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:82)

          at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2488)

          at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:98)

          at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:606)

          at org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:77)

          at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:231)

          at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:254)

          at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:413)

          at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:456)

          at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:225)

          at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:82)

          at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2488)

          at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:98)

          at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:87)

          at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.oneJob(CurrentTaskFuture.java:1162)

          at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.run(CurrentTaskFuture.java:1147)

          at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$UpOneLevel.run(CurrentTaskFuture.java:753)

          at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:553)

          at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)

          at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)

      Caused By: java.lang.ClassNotFoundException: javassist.util.proxy.ProxyObject

          at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:387)

          at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:348)

          at java.lang.ClassLoader.loadClass(ClassLoader.java:424)

          at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

          at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:193)

          at java.lang.ClassLoader.defineClass1(Native Method)

          at java.lang.ClassLoader.defineClass(ClassLoader.java:763)

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

          at java.lang.reflect.Method.invoke(Method.java:498)

          at org.jboss.weld.util.bytecode.ClassFileUtils.toClass2(ClassFileUtils.java:118)

          at org.jboss.weld.util.bytecode.ClassFileUtils.toClass(ClassFileUtils.java:95)

          at org.jboss.weld.bean.proxy.ProxyFactory.createProxyClass(ProxyFactory.java:385)

          at org.jboss.weld.bean.proxy.ProxyFactory.getProxyClass(ProxyFactory.java:275)

          at org.jboss.weld.bean.proxy.ProxyFactory.create(ProxyFactory.java:236)

          at org.jboss.weld.bean.builtin.ee.AbstractEEBean.<init>(AbstractEEBean.java:43)

          at org.jboss.weld.bean.builtin.ee.PrincipalBean.<init>(PrincipalBean.java:52)

          at org.jboss.weld.bootstrap.BeanDeployment.createBeans(BeanDeployment.java:193)

          at org.jboss.weld.bootstrap.WeldBootstrap.deployBeans(WeldBootstrap.java:349)

          at com.oracle.injection.provider.weld.WeldInjectionContainer.deploy(WeldInjectionContainer.java:103)

          at com.oracle.injection.integration.CDIAppDeploymentExtension.initCdi(CDIAppDeploymentExtension.java:74)

          at com.oracle.injection.integration.CDIAppDeploymentExtension.activate(CDIAppDeploymentExtension.java:49)

          at weblogic.application.internal.flow.AppDeploymentExtensionFlow.activate(AppDeploymentExtensionFlow.java:37)

          at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:729)

          at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:42)

          at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:258)

          at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:48)

          at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:165)

          at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)

          at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:226)

          at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:418)

          at weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)

          at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)

          at weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)

          at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)

          at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)

          at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)

          at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:211)

          at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:119)

          at weblogic.server.AbstractServerService.postConstruct(AbstractServerService.java:78)

          at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

          at java.lang.reflect.Method.invoke(Method.java:498)

          at org.glassfish.hk2.utilities.reflection.ReflectionHelper.invoke(ReflectionHelper.java:1017)

          at org.jvnet.hk2.internal.ClazzCreator.postConstructMe(ClazzCreator.java:388)

          at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:430)

          at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:456)

          at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:225)

          at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:82)

          at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2488)

          at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:98)

          at org.jvnet.hk2.internal.ServiceLocatorImpl.getService(ServiceLocatorImpl.java:606)

          at org.jvnet.hk2.internal.ThreeThirtyResolver.resolve(ThreeThirtyResolver.java:77)

          at org.jvnet.hk2.internal.ClazzCreator.resolve(ClazzCreator.java:231)

          at org.jvnet.hk2.internal.ClazzCreator.resolveAllDependencies(ClazzCreator.java:254)

          at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:413)

          at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:456)

          at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:225)

          at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:82)

          at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2488)

          at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:98)

          at org.jvnet.hk2.internal.ServiceHandleImpl.getService(ServiceHandleImpl.java:87)

          at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.oneJob(CurrentTaskFuture.java:1162)

          at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$QueueRunner.run(CurrentTaskFuture.java:1147)

          at org.glassfish.hk2.runlevel.internal.CurrentTaskFuture$UpOneLevel.run(CurrentTaskFuture.java:753)

          at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:553)

          at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)

          at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)

      >

        • 1. Re: ClassNotFoundException: javassist.util.proxy.ProxyObject
          Mark Lindros-Oracle

          I am having this same issue. Ironically, mine happened on the same day. We are upgrading our ords installation on WLS 12.1.3.0.0 to the latest Apex/ords installation.

           

          I ran a class finding program and found javassist.util.proxy.ProxyObject in $WL_HOME/modules.javassist_1.2.0.0_3-14.jar. All jar files within the WLS modules folder should be linked via manifest classpath entries in the features jar file within the WebLogic product. This file is not compatible with JDK 8. If you try to deploy with JDK 7 you get compatibility errors. If you deploy with JDK 8 you get the ProxyObject error even when the class is manually added to the WebLogic classpath.

           

          We tested deployment of the ords.war and i.war files on WebLogic 12.2.1 and it worked as expected. I know the docs say that 12.1.3 is supported but our experience today is that it didn't work. The javassist jar file in WLS 12.2.1 is indeed different from the one on 12.1.3.

           

          12.1.3 circa 2014

          12.2.1 circa 2016

           

          I am an Oracle employee doing this for one of our internal projects. I am going to create a support ticket for this and report the number here.

           

          Mark

          1 person found this helpful
          • 2. Re: ClassNotFoundException: javassist.util.proxy.ProxyObject
            Mark Lindros-Oracle

            Actually, since it is just upgrading WebLogic, I'm opting out of a support ticket. I'm really short on time.