You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by asookazian2 <as...@gmail.com> on 2014/08/27 01:35:36 UTC

Class com/sun/org/apache/xerces/internal/dom/ElementImpl illegally accessing "package private" member of class com/sun/org/apache/xerces/internal/dom/CoreDocumentImpl

We ran into the following error with our rebranded version of Karaf 3.0.1 on
AIX (does not reproduce on Windows or Linux):

<body>
HTTP ERROR 500

<p>Problem accessing /ws/wf/WorkflowManagerWS. Reason:
<pre>    Server Error</pre></p>
Caused by:
<pre>java.lang.IllegalAccessError: Class
com/sun/org/apache/xerces/internal/dom/ElementImpl illegally accessing
"package private" member of class
com/sun/org/apache/xerces/internal/dom/CoreDocumentImpl

As suggested in the following thread:

http://comments.gmane.org/gmane.comp.apache.cxf.user/30677

we removed the following file:
apache-karaf-3.0.1/lib/endorsed/org.apache.servicemix.specs.saaj-api-1.3-2.4.0.jar,
restarted karaf, re-tested and the error went away on AIX.  We are running
JDK 1.7.

Has anybody else run into this problem and why is that particular JAR and
the others included in the endorsed dir?



--
View this message in context: http://karaf.922171.n3.nabble.com/Class-com-sun-org-apache-xerces-internal-dom-ElementImpl-illegally-accessing-package-private-member-l-tp4034932.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Re: Class com/sun/org/apache/xerces/internal/dom/ElementImpl illegally accessing "package private" member of class com/sun/org/apache/xerces/internal/dom/CoreDocumentImpl

Posted by Achim Nierbeck <bc...@googlemail.com>.
Hi,

this could be an issue of the combination with the IBM JDK on AIX.
But I'll leave that to the AIX experts.

regards, Achim



2014-08-27 1:35 GMT+02:00 asookazian2 <as...@gmail.com>:

> We ran into the following error with our rebranded version of Karaf 3.0.1
> on
> AIX (does not reproduce on Windows or Linux):
>
> <body>
> HTTP ERROR 500
>
> <p>Problem accessing /ws/wf/WorkflowManagerWS. Reason:
> <pre>    Server Error</pre></p>
> Caused by:
> <pre>java.lang.IllegalAccessError: Class
> com/sun/org/apache/xerces/internal/dom/ElementImpl illegally accessing
> "package private" member of class
> com/sun/org/apache/xerces/internal/dom/CoreDocumentImpl
>
> As suggested in the following thread:
>
> http://comments.gmane.org/gmane.comp.apache.cxf.user/30677
>
> we removed the following file:
>
> apache-karaf-3.0.1/lib/endorsed/org.apache.servicemix.specs.saaj-api-1.3-2.4.0.jar,
> restarted karaf, re-tested and the error went away on AIX.  We are running
> JDK 1.7.
>
> Has anybody else run into this problem and why is that particular JAR and
> the others included in the endorsed dir?
>
>
>
> --
> View this message in context:
> http://karaf.922171.n3.nabble.com/Class-com-sun-org-apache-xerces-internal-dom-ElementImpl-illegally-accessing-package-private-member-l-tp4034932.html
> Sent from the Karaf - User mailing list archive at Nabble.com.
>



-- 

Apache Member
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
blog <http://notizblog.nierbeck.de/>

Software Architect / Project Manager / Scrum Master