thisObject
10-12-2006, 03:41 AM
I started getting some issues with Tomcat recently. If you have an idea what might be happening and could share with me it would be grrrrrrrreat!
I have a servlet that is called from html page.
sometimes it goes through nicely but sometimes I get that deathTread error.
java.lang.ThreadDeath
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1221)
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1181)
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1192)
javax.mail.internet.MimeMessage.writeTo(MimeMessage.java:1614)
com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:537)
javax.mail.Transport.send0(Transport.java:151)
javax.mail.Transport.send(Transport.java:80)
MakePosting.SendEmail.sendSSLMessage(SendEmail.java:89)
MakePosting.DataBase.insertInto(DataBase.java:1004)
MakePosting.PostAdd.processRequest(PostAdd.java:32)
MakePosting.PostAdd.doPost(PostAdd.java:57)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
Another strange thing is that my servlet redirects to a some page lets say
http://www.somedomain/ABC/SSN/indexRedirect.jsp
so when servlet's code is executed it takes me to this location but tomcat give an error message:
HTTP Status 404 - /ABC/SSN/indexRedirect.jsp
type Status report
message /ABC/SSN/indexRedirect.jsp
description The requested resource (/ABC/SSN/indexRedirect.jsp is not available.
Apache Tomcat/5.5.9
I refresh the page and page is displayed with no problems.
This makes me think that my Tomcat has some issues.
Would you say reinstallation might/will solve all these issues that came up?
Thank you.
I have a servlet that is called from html page.
sometimes it goes through nicely but sometimes I get that deathTread error.
java.lang.ThreadDeath
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1221)
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1181)
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1192)
javax.mail.internet.MimeMessage.writeTo(MimeMessage.java:1614)
com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:537)
javax.mail.Transport.send0(Transport.java:151)
javax.mail.Transport.send(Transport.java:80)
MakePosting.SendEmail.sendSSLMessage(SendEmail.java:89)
MakePosting.DataBase.insertInto(DataBase.java:1004)
MakePosting.PostAdd.processRequest(PostAdd.java:32)
MakePosting.PostAdd.doPost(PostAdd.java:57)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
Another strange thing is that my servlet redirects to a some page lets say
http://www.somedomain/ABC/SSN/indexRedirect.jsp
so when servlet's code is executed it takes me to this location but tomcat give an error message:
HTTP Status 404 - /ABC/SSN/indexRedirect.jsp
type Status report
message /ABC/SSN/indexRedirect.jsp
description The requested resource (/ABC/SSN/indexRedirect.jsp is not available.
Apache Tomcat/5.5.9
I refresh the page and page is displayed with no problems.
This makes me think that my Tomcat has some issues.
Would you say reinstallation might/will solve all these issues that came up?
Thank you.