Uploaded image for project: 'JBoss ClassLoader'
  1. JBoss ClassLoader
  2. JBCL-175

java.lang.IncompatibleClassChangeError during deployment of Liferay

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate Issue
    • Affects Version/s: JBossCL.2.2.0.Alpha8
    • Fix Version/s: JBossCL.2.2.0.GA
    • Component/s: ClassLoader
    • Labels:
      None
    • Steps to Reproduce:
      Hide

      Build or download Liferay 5.2.3 and try to deploy it on JBoss 6.

      Show
      Build or download Liferay 5.2.3 and try to deploy it on JBoss 6.

      Description

      During startup of Liferay Portal server I get exception:

      [ClassLoaderManager] Unexpected error during load of:com.liferay.portlet.flags.service.http.Portlet_Flags_FlagsEntryServiceSoapBindingStub: java.lang.IncompatibleClassChangeError: Implementing class

      The .war was build from source using the same JDK running the JBoss. The .war runs fine in JBoss 4.0.5, 5.0.1 and 5.1.0 so I think it might be a bug inside JBoss 6.

      Trace:
      08:39:50,885 WARN [ClassLoaderManager] Unexpected error during load of:com.liferay.portlet.flags.service.http.Portlet_Flags_FlagsEntryServiceSoapBindingStub: java.lang.IncompatibleClassChangeError: Implementing class
      at java.lang.ClassLoader.defineClass1(Native Method) [:1.6.0_16]
      at java.lang.ClassLoader.defineClass(ClassLoader.java:621) [:1.6.0_16]
      at org.jboss.classloader.spi.base.BaseClassLoader.access$200(BaseClassLoader.java:52) [jboss-classloader.jar:2.2.0.Alpha8]
      ...
      08:39:50,910 ERROR [AbstractKernelController] Error installing to PostClassLoader: name=vfs:///usr/local/inubit/tf/ibis-head/javainstall/JBoss/server/default/deploy/ROOT.war state=ClassLoader mode=Manual requiredState=PostClassLoader: org.jboss.deployers.spi.DeploymentException: Error during deploy: vfs:///usr/local/inubit/tf/ibis-head/javainstall/JBoss/server/default/deploy/ROOT.war
      at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49) [:2.2.0.Alpha7]
      at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:185) [:2.2.0.Alpha7]
      ...
      Caused by: java.lang.Error: Error visiting "/usr/local/inubit/tf/ibis-head/javainstall/JBoss/server/default/deploy/ROOT.war/WEB-INF/lib/portal-client.jar/com/liferay/portlet/flags/service/http/Portlet_Flags_FlagsEntryServiceSoapBindingStub.class"
      at org.jboss.classloading.plugins.vfs.VFSResourceVisitor.visit(VFSResourceVisitor.java:268) [jboss-classloading-vfs.jar:2.2.0.Alpha8]
      at org.jboss.vfs.VirtualFile.visit(VirtualFile.java:407) [jboss-vfs.jar:3.0.0.CR5]
      ...
      Caused by: java.lang.RuntimeException: Error visiting resource: VFSResourceContext @ com/liferay/portlet/flags/service/http/Portlet_Flags_FlagsEntryServiceSoapBindingStub.class / BaseClassLoader@139cf9c

      {vfs:///usr/local/inubit/tf/ibis-head/javainstall/JBoss/server/default/deploy/ROOT.war}

      , visitor: org.jboss.scanning.annotations.plugins.GenericAnnotationVisitor@f05c2f
      at org.jboss.scanning.plugins.visitor.IgnoreSetErrorHandler.handleError(IgnoreSetErrorHandler.java:56) [:1.0.0.Alpha6]
      ...
      Caused by: java.lang.ClassNotFoundException: Unexpected error during load of: com.liferay.portlet.flags.service.http.Portlet_Flags_FlagsEntryServiceSoapBindingStub, msg=Implementing class
      at org.jboss.classloader.spi.base.ClassLoaderManager.process(ClassLoaderManager.java:176) [jboss-classloader.jar:2.2.0.Alpha8]
      ...
      Caused by: java.lang.IncompatibleClassChangeError: Implementing class
      at java.lang.ClassLoader.defineClass1(Native Method) [:1.6.0_16]
      at java.lang.ClassLoader.defineClass(ClassLoader.java:621) [:1.6.0_16]
      ...

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              alesj AleŇ° Justin
              Reporter:
              tfromm Thomas Fromm (Inactive)
              Archiver:
              samahaja Sagar Mahajan

                Dates

                Created:
                Updated:
                Resolved:
                Archived: