[
https://jira.jboss.org/browse/JBCL-175?page=com.atlassian.jira.plugin.sys...
]
Ales Justin commented on JBCL-175:
----------------------------------
There is a bit better documentation here:
*
http://java.dzone.com/articles/jboss-microcontainer-scanning
1) I think that should work.
> How can I ignore a complete .jar?
Simply don't list it
in paths.
Only list the ones that actually need scanning; e.g. JEE artifacts, ...
2) This would actually be jboss-ignore.txt file -- see your "custom metadata
files" link.
3) The scanning-deployers-jboss-beans.xml in deployers/ dir.
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@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]
...
--
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