Anonymous | Login | Signup for a new account | 12-17-2024 11:49 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0003009 | [Resin] | minor | always | 10-19-08 07:36 | 11-04-08 08:37 | ||||
Reporter | stbu | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 3.1.7 | ||||||
Summary | 0003009: NullPointerException when Resin-3.1.7a is killed using ./httpd.sh kill | ||||||||
Description |
[2008/10/19 15:59:16.059] WatchdogProcess[Watchdog[],1] stopping Resin Exception in thread "watchdog-" java.lang.NullPointerException at com.caucho.boot.WatchdogTask.run(WatchdogTask.java:112) at java.lang.Thread.run(Thread.java:619) Steps to reproduce: Resin was started with stbu@linuxhost:~/resin-pro-3.1.7a$ bin/httpd.sh start Resin/3.1.7a started -server '' for watchdog at 127.0.0.1:6600 Logfiles showing that Resin successfully is starting up: ==> jvm-default.log <== [15:57:48.696] {main} WebApp[http://localhost:8080/resin-admin] [^] active [15:57:48.697] {main} expanding /home/stbu/resin-pro-3.1.7a/webapps/resin-doc.war to /home/stbu/resin-pro-3.1.7a/webapps/resin-doc [15:57:50.483] {main} WebApp[http://localhost:8080/resin-doc] [^] active [15:57:50.486] {main} Host[] active [15:57:50.495] {main} Loaded Socket JNI library. [15:57:50.501] {main} hmux listening to localhost:6800 [15:57:50.516] {main} http listening to *:8080 [15:57:50.520] {main} Server[id=,cluster=app-tier] active [15:57:50.522] {main} Resin started in 4789ms [15:58:30.189] {http--8080-1} Loading .tld files from global classpath ==> watchdog-manager.log <== [2008/10/19 15:57:43.134] Java HotSpot(TM) Client VM 10.0-b22, 32, mixed mode, sharing, Sun Microsystems Inc. [2008/10/19 15:57:43.134] user.name: stbu [2008/10/19 15:57:43.150] resin.home = /home/stbu/resin-pro-3.1.7a/ [2008/10/19 15:57:43.150] [2008/10/19 15:57:43.191] Host[resin-admin] active [2008/10/19 15:57:43.197] Loaded Socket JNI library. [2008/10/19 15:57:43.201] hmux listening to localhost:6600 [2008/10/19 15:57:43.214] Server[id=,cluster=] active [2008/10/19 15:57:43.300] WebApp[http://resin-admin] [^] active [2008/10/19 15:57:43.411] WatchdogProcess[Watchdog[],1] starting Resin Now, I killed it with stbu@linuxhost:~/resin-pro-3.1.7a/bin$ ./httpd.sh kill Resin/3.1.7a killed -server '' for watchdog at 127.0.0.1:6600 ==> watchdog-manager.log <== [2008/10/19 15:57:43.300] WebApp[http://resin-admin] [^] active [2008/10/19 15:57:43.411] WatchdogProcess[Watchdog[],1] starting Resin [2008/10/19 15:59:14.492] Watchdog kill: [2008/10/19 15:59:16.059] WatchdogProcess[Watchdog[],1] stopping Resin Exception in thread "watchdog-" java.lang.NullPointerException at com.caucho.boot.WatchdogTask.run(WatchdogTask.java:112) at java.lang.Thread.run(Thread.java:619) |
||||||||
Additional Information |
This also applies to the latest available snapshot: stbu@linuxhost:~/resin-pro-3.1.s080919/bin$ ./httpd.sh kill Resin/3.1.s080919 killed -server '' for watchdog at 127.0.0.1:6600 ==> watchdog-manager.log <== [2008/10/19 16:12:41.266] Watchdog kill: [2008/10/19 16:12:43.014] WatchdogProcess[Watchdog[],1] stopping Resin Exception in thread "watchdog-" java.lang.NullPointerException at com.caucho.boot.WatchdogTask.run(WatchdogTask.java:112) at java.lang.Thread.run(Thread.java:619) |
||||||||
Attached Files | |||||||||
|
Notes | |
(0003512) stbu 10-19-08 07:43 |
On the lasted 3.2 Snapshot it's similar: stbu@linuxhost:~/resin-pro-3.2.s081008/bin$ ./resin.sh start Resin/3.2.s081008 started -server '' for watchdog at 127.0.0.1:6600 stbu@linuxhost:~/resin-pro-3.2.s081008/bin$ ./resin.sh kill Resin/3.2.s081008 killed -server '' for watchdog at 127.0.0.1:6600 stbu@linuxhost:~/resin-pro-3.2.s081008/bin$ ==> watchdog-manager.log <== [2008/10/19 16:40:55.029] WebApp[http://resin-admin] [^] starting [2008/10/19 16:40:55.030] WebApp[http://resin-admin] [^] active [2008/10/19 16:40:55.030] ServletServer clearCache [2008/10/19 16:40:55.031] ServletServer clearCache [2008/10/19 16:40:55.031] WebAppController$23971937[] active [2008/10/19 16:40:55.031] WebAppAdmin[resin:type=WebApp,name=/] lifecycleEvent `active' [2008/10/19 16:40:55.031] ServletServer clearCache [2008/10/19 16:40:55.044] servlet-mapping /watchdog -> watchdog [2008/10/19 16:40:55.045] ServletServer clearCache Exception in thread "watchdog-" java.lang.NullPointerException at com.caucho.boot.WatchdogTask.run(WatchdogTask.java:119) at java.lang.Thread.run(Thread.java:619) |
(0003513) stbu 10-19-08 07:46 |
Just to make it clear: Normally Resin is stopped with './httpd.sh stop' and that works as expected without a NPE. Just in case one would kill Resin with './httpd.sh kill' a NPE should be avoided when possible. |
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
32 total queries executed. 27 unique queries executed. |