1 Reply Latest reply on Apr 6, 2016 9:04 AM by Galder Zamarreño

    can't startup infinispan 7.2.5 on Weblogic 12.1.2.0.0 due to java.lang.ClassNotFoundException: infinispan.org.iq80.snappy.Snappy

    ofer baranes Newbie

      Infinispan 7.2.5 would not startup on WL 12.1.2.0.0 (sun jdk1.7.0_75) due to missing class (truly not exists on any ISPN jars).

       

      This is the stack:

       

      weblogic.management.DeploymentException: java.lang.ClassNotFoundException: infinispan.org.iq80.snappy.Snappy

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

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

        at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:61)

        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:222)

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

        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:191)

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

        at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)

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

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

      Caused By: java.lang.ClassNotFoundException: infinispan.org.iq80.snappy.Snappy

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

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

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

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

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

        at infinispan.org.iq80.leveldb.util.Snappy$IQ80Snappy.maxCompressedLength(Snappy.java:130)

        at infinispan.org.iq80.leveldb.util.Snappy$IQ80Snappy.compress(Snappy.java:122)

        at infinispan.org.iq80.leveldb.util.Snappy$IQ80Snappy.<clinit>(Snappy.java:67)

        at java.lang.Class.forName0(Native Method)

        at java.lang.Class.forName(Class.java:274)

        at com.oracle.injection.provider.weld.BasicResourceLoader.classForName(BasicResourceLoader.java:27)

        at org.jboss.weld.bootstrap.BeanDeployer.loadClass(BeanDeployer.java:107)

        at org.jboss.weld.bootstrap.BeanDeployer.addClass(BeanDeployer.java:77)

        at org.jboss.weld.bootstrap.BeanDeployer.addClasses(BeanDeployer.java:135)

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

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

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

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

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

        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.EarDeployment.activate(EarDeployment.java:61)



      What went wrong?

       

      this is the code on infinispan.org.iq80.leveldb.util.Snappy:

       

           public int maxCompressedLength(int length) {

                 return infinispan.org.iq80.snappy.Snappy.maxCompressedLength(length);

               }

       

      Thanks

      Ofer