on 09-24-2008 7:30 AM
All
How to kill a single Java thread ID without recycling the entire Java process, via SMICM or jcmon?
Kindly let me know if there any method followed for the same.
Regards
Jim
Hi,
Login to http://<hostname>:50000/nwa/start-stop.
2.Goto Java EE Services.
3.Search for service <thread>
4.Restart this service.
5.Go back to MMC and refresh . All red threads will become green.
*If NWA is not accessible , then the service has to be restarted from telnet .*
1.login through putty or if it is wondows go to cmd
2.Give command telnet localhost 50008
3.login via j2ee_admin & master pwd
4.STOPSERVICE <Thread>
5.STARTSERVICE <Thread>
6.Refresh in MMC
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
I have the same problem. I have a NW'04 Java Stack in which one thread has been running for several days and I would like to kill it.
I have telnetted but I cannt find the correct syntax. The information I have is: "SAPEngine_Application_Thread[impl:3]_15" but stopservice SAPEngine_Application_Thread[impl:3]_15
stopservice SAPEngine_Application_Thread_15
do not work. I cannot seem to figure out what to put in and in the meantime CPU is going up and GC is also still extremely frequent.
Hello,
I have the same problem. I have a NW'04 Java Stack in which one thread has been running for several days and I would like to kill it.
I have telnetted but I cannt find the correct syntax. The information I have is: "SAPEngine_Application_Thread[impl:3]_15" but stopservice SAPEngine_Application_Thread[impl:3]_15
stopservice SAPEngine_Application_Thread_15
do not work. I cannot seem to figure out what to put in and in the meantime CPU is going up and GC is also still extremely frequent.
Hi,
There is no way to stop a thread gracefully in Java.
Check the javadoc of http://docs.oracle.com/javase/6/docs/api/java/lang/Thread.html#stop() - it is similar also in earlier releases of Java.
Correspondingly there are no tools, commands or UI in the Java server which allow or try to do this.
The startservice/stopservice commands try to stop and start Java AS services (and you cannot stop core services).
The stopapp/startapp commands will try to stop and start Java EE applications deployed on the Engine but will not stop any threads which are currently executing in those applications. This will especially not help you if due to faulty coding the application has fallen into an infinite loop or deadlock.
Best Regards,
Iavor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.