You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Tony <an...@wdr.com> on 1999/10/04 17:42:57 UTC
config/5097: Jserv raises IllegalAccessError trying to access a private class in a JAR file
>Number: 5097
>Category: config
>Synopsis: Jserv raises IllegalAccessError trying to access a private class in a JAR file
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: apache
>State: open
>Class: support
>Submitter-Id: apache
>Arrival-Date: Mon Oct 4 08:50:00 PDT 1999
>Last-Modified:
>Originator: anthony.leon@wdr.com
>Organization:
apache
>Release: 1.0
>Environment:
SunOS ln4d556uss 5.6 Generic_105181-13 sun4u sparc SUNW,Ultra-Enterprise
JDK1.1
>Description:
I am using Javasoft XML package xml.jar. When running a routine via JServ,
JServ raises an error;
java.lang.IllegalAccessError: com/sun/xml/tree/ParentNode.
at org.apache.jserv.JServConnection.processRequest(Compiled Code)
at org.apache.jserv.JServConnection.run(Compiled Code)
at java.lang.Thread.run(Compiled Code)
This is a private class which my code does not explicitly call. If I run the same
app on UNIX JVM (ie UNIX prompt and redirect to System.out...there is no error.
It seems that Apache tries to load all classes used. I suspect I call a class
within the JAR file, which in turn calls the private class.
>How-To-Repeat:
>Fix:
I suggest this is a set-up problem. I've checked FAQ, but I can't see this
problem reported
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or ]
["Re: general/1098:"). If the subject doesn't match this ]
[pattern, your message will be misfiled and ignored. The ]
["apbugs" address is not added to the Cc line of messages from ]
[the database automatically because of the potential for mail ]
[loops. If you do not include this Cc, your reply may be ig- ]
[nored unless you are responding to an explicit request from a ]
[developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]