JSP Page threw a non-Exception Throwable

Friends,

I have Servr JRun 3.1. The application has been workin fine since it has been deployed last year.

Suddenly, I have started getting the following error.

javax.servlet.ServletException: JSP Page threw a non-Exception Throwable.

at jrun__*****__***__************ejsp1d._jspService(jrun__******__***__**************2ejsp1d.java, Compiled Code)

at allaire.jrun.jsp.HttpJSPServlet.service(HttpJSPServlet.java, Compiled Code)

at allaire.jrun.jsp.JSPServlet.service(JSPServlet.java, Compiled Code)

at allaire.jrun.jsp.JSPServlet.service(JSPServlet.java, Compiled Code)

at allaire.jrun.servlet.JRunSE.service(JRunSE.java, Compiled Code)

at allaire.jrun.session.JRunSessionService.service(JRunSessionService.java, Compiled Code)

at allaire.jrun.servlet.JRunSE.runServlet(JRunSE.java, Compiled Code)

at allaire.jrun.servlet.JRunRequestDispatcher.forward(JRunRequestDispatcher.java, Compiled Code)

at allaire.jrun.servlet.JRunSE.service(JRunSE.java, Compiled Code)

at allaire.jrun.servlet.JRunSE.service(JRunSE.java, Compiled Code)

at allaire.jrun.servlet.JvmContext.dispatch(JvmContext.java, Compiled Code)

at allaire.jrun.jrpp.ProxyEndpoint.run(ProxyEndpoint.java, Compiled Code)

at allaire.jrun.ThreadPool.run(ThreadPool.java, Compiled Code)

at allaire.jrun.WorkerThread.run(WorkerThread.java, Compiled Code)

I can tell that none of the file has been changed in last one year. I checked the code but did not understand what I should look for.

Can anybody help me out ?

Regards,

Nirav

[1617 byte] By [Nirav_Chhayaa] at [2007-11-27 11:43:49]
# 1

check out here:

http://www.artima.com/legacy/design/exceptions/messages/117.html

skp71a at 2007-7-29 17:52:08 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

Thanks, I will just check out.

Nirav_Chhayaa at 2007-7-29 17:52:09 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3

No Success, I'm not using IBM VisualAge for Java.

Any other possibilities ?

Nirav_Chhayaa at 2007-7-29 17:52:09 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4

Well what does the jsp being invoked do?

at jrun__*****__***__************ejsp1d._jspService(jrun__******__***__**************2ejsp1d.java, Compiled Code)

I presume you have obfuscated this with the asterisks? That should identify which jsp the error is occurring on.

Do you have your own "throwable" which does not extend exception?

Is there a more complete message/stack trace in the logs?

evnafetsa at 2007-7-29 17:52:09 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 5

There is no more stack trace/message in the log, I vil check it out if throwable is extended.

Nirav_Chhayaa at 2007-7-29 17:52:09 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 6

Another thing you can try is to put some logging/debugging in the JSP code.

try{

// java code in the jsp

}

catch(Throwable t){

System.out.println("The error is " + t.getMessage());

t.printStackTrace();

throw t;

}

evnafetsa at 2007-7-29 17:52:09 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 7

Could be an OutOfMemoryError if your code is leaky.

%

duffymoa at 2007-7-29 17:52:09 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 8

Which JVM are you running? What are your GC settings, memory settings, etc.?

%

duffymoa at 2007-7-29 17:52:09 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 9

DON'T crosspost. It's considered rude:

http://forum.java.sun.com/thread.jspa?threadID=5199041&messageID=9789006#9789006

%

duffymoa at 2007-7-29 17:52:09 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 10

JRun? Who uses that anymore?

%

duffymoa at 2007-7-29 17:52:09 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...