[jboss-jira] [JBoss JIRA] Commented: (JBCL-175) java.lang.IncompatibleClassChangeError during deployment of Liferay
Thomas Fromm (JIRA)
jira-events at lists.jboss.org
Wed Sep 29 06:45:39 EDT 2010
[ https://jira.jboss.org/browse/JBCL-175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12553912#action_12553912 ]
Thomas Fromm commented on JBCL-175:
-----------------------------------
Thanks for the fast answer.
I've got three questions at this point. The documentation to jboss-scanning.xml is not really clear at
http://community.jboss.org/wiki/JBoss5custommetadatafiles
1) I've put the jboss-scanning.xml at ROOT.war/WEB-INF with the content:
<scanning xmlns="urn:jboss:scanning:1.0">
<path name="ROOT.war/WEB-INF/lib/portal-client.jar"><exclude name="com"/></path>
</scanning>
Is this the right way? How can I ignore a complete .jar?
2) Can I use jboss-scanning.xml to avoid scanning a foobar.ear/lib/foo.ja/META-INF/persistence.xml?
How the scanning file must look like in this case, and where to place it?
3) Where to configure the exceptions to be ignored?
> java.lang.IncompatibleClassChangeError during deployment of Liferay
> -------------------------------------------------------------------
>
> Key: JBCL-175
> URL: https://jira.jboss.org/browse/JBCL-175
> Project: JBoss ClassLoader
> Issue Type: Bug
> Components: ClassLoader
> Affects Versions: JBossCL.2.2.0.Alpha8
> Environment: JBoss 6(M5), JDK 6u16 (also tested with Update21), Liferay 5.2.3
> Reporter: Thomas Fromm
> Assignee: Ales Justin
> Fix For: JBossCL.2.2.0.Beta1
>
>
> 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 at 139cf9c{vfs:///usr/local/inubit/tf/ibis-head/javainstall/JBoss/server/default/deploy/ROOT.war}, visitor: org.jboss.scanning.annotations.plugins.GenericAnnotationVisitor at 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]
> ...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list