Hi !

I've been boxing around a problem on tomcat 4.01 which I didn't have on 3.2.1.

I have a repository of servlets in a DB2-database. To add a servlet I have another 
servlet responsible for looking at uploaded data, load the data, fetch the packagename 
of the uploaded class. Finally I store both the class data and the packagename in the 
DB2 table.

This should enable me to deploy programs to a farm of applicationservers. This works 
just fine for regular java classes, but when I try to upload a compiled servlet I'll 
receive error like this:

PackageChecker.findClass() - Loading class :  through custom loader
PackageChecker.findClass() - Loading class : javax.servlet.http.HttpServlet through 
custom loader
java.lang.ClassCircularityError: javax/servlet/http/HttpServlet
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at servlet.server.PackageChecker.findClass(PackageChecker.java:34)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)

Any ideas would be much appreciated !!

/Jacob Christensen, Aglet Technologies

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to