Hi,
I too am getting this error.
In my project I am using SendMail.java servlet (the standard one supplied with 
JavaMail) to send mail. I call this servlet through another servlet (say ServletX) via 
a method call sendMail().
This works fine.
Now when I do some change in the ServletX not related to the mail function and then 
copy it in the servlets directory of Jsdk2.1 and then I run the part where the mail 
goes I get the same error.
<b>java.lang.LinkageError: trying to refine class SendMail (bad class loader?)</b>
I have tried compiling the ServletX, related classes and SendMail servlet too but what 
I cannot understand is why the error should occur if the classes are not changed.



On Thu, 17 Jun 1999 23:38:54 -0400, Eytan Seidman <[EMAIL PROTECTED]> wrote:

>This message s not directly related to servlets but I got the error while
>trying to rrun a servlet it ran as follows.
>
>java.lang.LinkageError: trying to refine class
>com/wired/service/OrderEntryServlet<bad class loader? >
>at java.lang.ClassLoader.defineClass0<Native Method>
>at java.lang.ClassLoaser.defineClass<ClassLoader.java:378
>
>Has anyone ever seen this before or know what it stems from?
>
>- Eytan
>
>___________________________________________________________________________
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff SERVLET-INTEREST".
>
>Archives: http://archives.java.sun.com/archives/servlet-interest.html
>Resources: http://java.sun.com/products/servlet/external-resources.html
>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to