www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tony <anthony.l...@wdr.com>
Subject config/5097: Jserv raises IllegalAccessError trying to access a private class in a JAR file
Date Mon, 04 Oct 1999 15:42:57 GMT

>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
>Originator:     anthony.leon@wdr.com
>Release:        1.0
SunOS ln4d556uss 5.6 Generic_105181-13 sun4u sparc SUNW,Ultra-Enterprise
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.

I suggest this is a set-up problem. I've checked FAQ, but I can't see this 
problem reported
[In order for any reply to be added to the PR database, you need]
[to include <apbugs@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!     ]

View raw message