Eric,
Thanks for your reply. You are most probably right. I said crash, but it
really starts by Jrun hanging and then eventually, the default server stop
responding and the server stops.
I'm going to try the technote you sent.
Thanks again,
Zeina
Eric Anderson
<[EMAIL PROTECTED] To: Jrun-Talk <[EMAIL
PROTECTED]>
media.com> cc:
Subject: RE: help! jrun 3.1 crashing!!!
03/07/2003 04:56
PM
Please respond
to jrun-talk
Because JRun is a pure Java server it should never crash -- unless there is a
problem with the JVM and/or native code running in the JVM with JRun. Does the
"crash" produce a core file or does JRun hang (cannot serve requests even though
there is a process running for JRun.
If a core is being produced it sounds more like a JVM issue. Check your patch
levels on your JVM and you OS. Also, try another JVM if possible. If you
currently use Sun's JVM try IBM's.
If JRun is hanging generate a thread dump when the server hangs. You can find
information on how to do this in the following technote:
http://www.macromedia.com/support/jrun/ts/documents/tn18359.htm. You can either
contact Macromedia support for assistance interpreting it, or possibly post it
to this list (if it is not too large) and someone in the community may be able
to help.
Hope this helps
Eric
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, March 07, 2003 4:19 PM
To: JRun-Talk
Subject: help! jrun 3.1 crashing!!!
Jrun 3.1 has been crashing quite often, and lately with more users and more
applications being hosted, the default Jrun server has been crashing too often!
I can't find a consistent error to track the problem. I'm pretty sure it's with
the jdbc driver because it crashes when pulling data from the db.
I tried to make sense out of the logs but here are some that I found could mean
something.
Can someone help me figure out what I need to do to stop this from happening?
Thanks
Under default-out.log I found this error (am not sure if it's related or not)
Cannot load the driver, reason:java.lang.ClassNotFoundException:
JData2_0.sql.$Driver [JData2_0.sql.$Driver]
Most likely the Java class path is incorrect.
Under default-event.log, I found the following different errors:
- debug (JRun)
getResourceURL(/WEB-INF/classes/com/sun/jndi/url/java/javaURLContextFactory.class):
No such resource [real path:E:
\webdocs\wpa\WEB-INF\classes\com\sun\jndi\url\java\javaURLContextFactory.class]
- 03/07 14:17:31 debug (JRun)
getResourceURL(/WEB-INF/lib/com/sun/jndi/url/java/javaURLContextFactory.class):
No such resource [real path:E:
\webdocs\wpa\WEB-INF\lib\com\sun\jndi\url\java\javaURLContextFactory.class]
- 03/07 13:45:41 debug (jcp) jcp-2 caught Exception while swapping
[java.lang.InterruptedException]
I am not using any threads, so I am assuming this error is from JRUN server and
not my code java.lang.InterruptedException
at allaire.jrun.jrpp.ProxyService.swapRunnable(ProxyService.java, Compiled
Code)
at allaire.jrun.ThreadPool.swapRunnable(ThreadPool.java, Compiled Code)
at allaire.jrun.WorkerThread.run(WorkerThread.java, Compiled Code)
03/07 13:39:37 debug (jcp) jcp-1 caught Exception while swapping
[java.lang.InterruptedException] java.lang.InterruptedException
at allaire.jrun.jrpp.ProxyService.swapRunnable(ProxyService.java:51)
at allaire.jrun.ThreadPool.swapRunnable(ThreadPool.java, Compiled Code)
at allaire.jrun.WorkerThread.run(WorkerThread.java, Compiled Code)
03/07 14:26:54 debug (jcp) jcp-6 caught Exception while swapping
[java.lang.InterruptedException] java.lang.InterruptedException
at allaire.jrun.jrpp.ProxyService.swapRunnable(ProxyService.java, Compiled
Code)
at allaire.jrun.ThreadPool.swapRunnable(ThreadPool.java, Compiled Code)
at allaire.jrun.WorkerThread.run(WorkerThread.java, Compiled Code)
-03/07 14:27:05 debug (jcp) jcp-4 caught Exception while swapping
[java.lang.InterruptedException] java.lang.InterruptedException
at allaire.jrun.jrpp.ProxyService.swapRunnable(ProxyService.java, Compiled
Code)
at allaire.jrun.ThreadPool.swapRunnable(ThreadPool.java, Compiled Code)
at allaire.jrun.WorkerThread.run(WorkerThread.java, Compiled Code)
-03/07 13:21:24 error (jms) Can not create JNDI initial context:
QueueConnectionFactory not found 03/07 13:21:24 info (JRun) Loading jndi 03/07
13:21:24 debug (JRun) Instantiating allaire.jrun.jndi.JNDIService as jndi in
default
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=8
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=8
Get the JRun Web Application Construction Kit - the only book written specifically for
JRun developers.
http://www.amazon.com/exec/obidos/ASIN/0789726009/houseoffusion