[
https://issues.apache.org/jira/browse/XMLBEANS-330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12494558
]
David J. M. Karlsen commented on XMLBEANS-330:
----------------------------------------------
Yes - I'm focusing a little on the "maven release" - beacuse it can save me so
much time to automate building++
The stack trace:
Delegation Mode: PARENT_LAST
[1] [EMAIL PROTECTED]
[2] [EMAIL PROTECTED]
[3] [EMAIL PROTECTED]
[4] [EMAIL PROTECTED]
[5] [EMAIL PROTECTED]
---Original exception---
java.lang.LinkageError: Class javax/xml/namespace/QName violates loader
constraints
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at
com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java:526)
at
com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java:477)
at
com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
I'll do a search for the classes in API jars.
We need parent_last delegation (using the application classloader before appsrv
classloader) because we need newer aspectj libraries than the ones included in
the appserver (WebSphere 6.1 / JDK 1.5)
> javax.xml.namespace classes included in archive
> -----------------------------------------------
>
> Key: XMLBEANS-330
> URL: https://issues.apache.org/jira/browse/XMLBEANS-330
> Project: XMLBeans
> Issue Type: Bug
> Affects Versions: Version 2.2
> Environment: N/A
> Reporter: David J. M. Karlsen
> Assigned To: Jacob Danner
> Priority: Blocker
>
> The archive at http://repo1.maven.org/maven2/xmlbeans/xbean/2.2.0/ includes
> javax.xml.namespace classes (QName and NamespaceContext) - which are part of
> the API specification - and thus should not be included in the archive.
> This is especially problematic when using xbeans inside containers which also
> loads these classes, ending up in ClassCast exceptions, LinkageError and the
> likes.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]