on 06-29-2009 8:42 PM
We are running a J2EE application on NW7.0 and IBM i5 V5R4.
The application server restarts itself after the server0 proces terminates with the following messages in the dev_server0.log
[Thr 2057] Sat Jun 20 09:34:12 2009
[Thr 2057] JLaunchIExitJava: exit hook is called (rc = -337)
[Thr 2057]
**********************************************************************
ERROR => The Java VM terminated with a non-zero exit code.
Please see SAP Note 943602 , section 'J2EE Engine exit codes'
for additional information and trouble shooting.
**********************************************************************
[Thr 2057] SigISetIgnoreAction : SIG_IGN for signal 20
[Thr 2057] JLaunchCloseProgram: good bye (exitcode = -337)
The mentioned Sapnote 943602 refers to Note 940893, which suggest to send the logfiles to Support (which we did).
But can anyone shed a light on this? What can we learn from the mentioned exit codes?
Thanks
Anita
Hello,
What is the error that you get in std_dispatcher.out and also paste the error that which is present in the latest log in the path
D:\usr\sap\<SID>\DVEBMGS<nr>\j2ee\cluster\dispatcher\log
Regards,
Sangeetha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Denish,
64 bit system
Server:
-xms768M
java.max.heap.size = 4096
greetings,
David.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you provide information about the your system. I mean whether you are using 32 bit or 64 bit system.
Also provide the memory parameters set for the system.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sunny,
And here's the last part of the server.0 log:
The error is: com.sap.engine.services.servlets_jsp.server.exceptions.InvalidSessionException: Method [getAttribute()] is called in an invalid session.
Exception id: [001A64925A0300230000000E0000566A00046D168B75F748]#
#1.5 #001A64925A03002A000000020000566A00046D168B90C9F1#1245843505072#/System/Server/WebRequests#getronics.com/civmg~basisear#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#J2EE_GUEST#0####87290b0060b311de8c8e001a64925a03#SAPEngine_Application_Thread[impl:3]_15##0#0#Error#1#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#Plain###application [CiVMK] Processing HTTP request to servlet [action] finished with error.
The error is: java.lang.NullPointerException: null
Exception id: [001A64925A03002A000000010000566A00046D168B90C83F]#
#1.5 #001A64925A03002B000000020000566A00046D168B9118A4#1245843505092#/System/Server/WebRequests#getronics.com/civmg~basisear#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#J2EE_GUEST#0####872b2de060b311decae6001a64925a03#SAPEngine_Application_Thread[impl:3]_19##0#0#Error#1#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#Plain###application [CiVMK] Processing HTTP request to servlet [action] finished with error.
The error is: com.sap.engine.services.servlets_jsp.server.exceptions.InvalidSessionException: Method [getAttribute()] is called in an invalid session.
Exception id: [001A64925A03002B000000010000566A00046D168B90FE73]#
#1.5 #001A64925A03001B000001E70000566A00046D168C4FC9CC#1245843517589#/System/Server/WebRequests#getronics.com/civmg~basisear#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#MAKELAAR#966532####8e95fba060b311dec4d8001a64925a03#SAPEngine_Application_Thread[impl:3]_8##0#0#Error#1#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#Plain###application [CiVMK] Processing HTTP request to servlet [action] finished with error.
The error is: com.sap.engine.services.servlets_jsp.server.exceptions.WebServletException: The requested resource is not in the application root directory.
Exception id: [001A64925A03001B000001E60000566A00046D168C4FC873]#
#1.5 #001A64925A03001B0000021A0000566A00046D283B71FF20#1245919470288#/System/Server/WebRequests#sap.com/tcwddispwda#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#J2EE_GUEST#0####65efc5d0616411dec979001a64925a03#SAPEngine_Application_Thread[impl:3]_8##0#0#Error#1#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#Plain###application [webdynpro/dispatcher] Processing HTTP request to servlet [dispatcher] finished with error.
The error is: java.lang.NullPointerException: null
Exception id: [001A64925A03001B000002190000566A00046D283B7177E2]#
#1.5 #001A64925A03001B0000021D0000566A00046D283B746831#1245919470446#/System/Server/WebRequests#sap.com/tcwddispwda#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#J2EE_GUEST#0####65efc5d0616411dec979001a64925a03#SAPEngine_Application_Thread[impl:3]_8##0#0#Error#1#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#Plain###application [webdynpro/dispatcher] Cannot send an HTTP error response [500 Application error occurred during request processing. (details: java.lang.NullPointerException: null)].
The error is: com.sap.engine.services.servlets_jsp.server.exceptions.WebIOException: An attempt to write after the stream had been closed.
Exception id: [001A64925A03001B0000021C0000566A00046D283B746696]#
#1.5 #001A64925A0300170000010A0000566A00046D2842B11CA6#1245919591865#/System/Server/WebRequests#sap.com/tcwddispwda#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#J2EE_ADMIN#1407624####6c3f3880616411debcb2001a64925a03#SAPEngine_Application_Thread[impl:3]_9##0#0#Error#1#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#Plain###application [webdynpro/dispatcher] Processing HTTP request to servlet [dispatcher] finished with error.
The error is: java.lang.NullPointerException: null
Exception id: [001A64925A030017000001090000566A00046D2842B11A5B]#
#1.5 #001A64925A0300170000010D0000566A00046D2842B13726#1245919591872#/System/Server/WebRequests#sap.com/tcwddispwda#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#J2EE_ADMIN#1407624####6c3f3880616411debcb2001a64925a03#SAPEngine_Application_Thread[impl:3]_9##0#0#Error#1#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#Plain###application [webdynpro/dispatcher] Cannot send an HTTP error response [500 Application error occurred during request processing. (details: java.lang.NullPointerException: null)].
The error is: com.sap.engine.services.servlets_jsp.server.exceptions.WebIOException: An attempt to write after the stream had been closed.
Exception id: [001A64925A0300170000010C0000566A00046D2842B122EB]#
#1.5 #001A64925A030017000001180000566A00046D2848171B60#1245919682435#/System/Server/WebRequests#sap.com/tcwddispwda#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#J2EE_ADMIN#1407624##NLGEMHUS_P01_11412750#J2EE_ADMIN#6c3f3880616411debcb2001a64925a03#SAPEngine_Application_Thread[impl:3]_9##0#0#Error#1#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#Plain###application [webdynpro/dispatcher] Processing HTTP request to servlet [dispatcher] finished with error.
The error is: java.lang.NullPointerException: null
Exception id: [001A64925A030017000001170000566A00046D28481716BF]#
#1.5 #001A64925A0300170000011B0000566A00046D2848172234#1245919682437#/System/Server/WebRequests#sap.com/tcwddispwda#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#J2EE_ADMIN#1407624##NLGEMHUS_P01_11412750#J2EE_ADMIN#6c3f3880616411debcb2001a64925a03#SAPEngine_Application_Thread[impl:3]_9##0#0#Error#1#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#Plain###application [webdynpro/dispatcher] Cannot send an HTTP error response [500 Application error occurred during request processing. (details: java.lang.NullPointerException: null)].
The error is: com.sap.engine.services.servlets_jsp.server.exceptions.WebIOException: An attempt to write after the stream had been closed.
Exception id: [001A64925A0300170000011A0000566A00046D2848172124]#
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try also to inspect other log files in the same folder where dev_server0.log is located. Check also the logs in sub-folder log/server.
While inspecting the log files check the date/time of the last modification.
BR, Sergei
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
ehhh Sunny, how to upload an attachment, besides linking to it using http://.. which is not a direct option for us....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sunny,
Here's the last part of the dev_server0 log:
Sat Jun 20 09:17:38 2009
GC 12352: live objects 6177736; collected objects 7188118; collected(KB) 775717.
GC 12352: queued for finalization 0; total soft references 8982; cleared soft references 0.
GC 12352: current heap(KB) 2416964; current threshold(KB) 786432.
GC 12352: collect (milliseconds) 3423.
GC 12352: current cycle allocation(KB) 317872; previous cycle allocation(KB) 786457.
GC 12352: total weak references 15151; cleared weak references 0.
GC 12352: total final references 11901; cleared final references 7466.
GC 12352: total phantom references 0; cleared phantom references 0.
GC 12352: total JNI global weak references 0; cleared JNI global weak references 0.
GC 12352: collection ending 20/06/09 09:17:38
Sat Jun 20 09:17:41 2009
GC 12353: starting collection, threshold allocation reached.
GC 12353: collection starting 20/06/09 09:17:41
Sat Jun 20 09:17:44 2009
GC 12353: live objects 6220831; collected objects 7043383; collected(KB) 785764.
GC 12353: queued for finalization 0; total soft references 8974; cleared soft references 0.
GC 12353: current heap(KB) 2415944; current threshold(KB) 786432.
GC 12353: collect (milliseconds) 3003.
GC 12353: current cycle allocation(KB) 294375; previous cycle allocation(KB) 786464.
GC 12353: total weak references 15151; cleared weak references 0.
GC 12353: total final references 10853; cleared final references 6411.
GC 12353: total phantom references 0; cleared phantom references 0.
GC 12353: total JNI global weak references 0; cleared JNI global weak references 0.
GC 12353: collection ending 20/06/09 09:17:44
Sat Jun 20 09:17:47 2009
GC 12354: starting collection, threshold allocation reached.
GC 12354: collection starting 20/06/09 09:17:47
Sat Jun 20 09:17:54 2009
GC 12355: starting collection, threshold allocation reached.
Sat Jun 20 09:18:23 2009
GC 12355: starting collection, threshold allocation reached.
Sat Jun 20 09:20:10 2009
GC 12355: starting collection, threshold allocation reached.
Sat Jun 20 09:20:23 2009
GC 12355: starting collection, threshold allocation reached.
Sat Jun 20 09:20:30 2009
GC 12355: starting collection, maximum allocation reached.
Sat Jun 20 09:20:31 2009
GC 12355: starting collection, maximum allocation reached.
GC 12355: starting collection, maximum allocation reached.
GC 12355: starting collection, maximum allocation reached.
Sat Jun 20 09:20:32 2009
GC 12355: starting collection, maximum allocation reached.
Sat Jun 20 09:20:34 2009
GC 12355: starting collection, maximum allocation reached.
GC 12355: starting collection, maximum allocation reached.
Sat Jun 20 09:20:35 2009
GC 12355: starting collection, maximum allocation reached.
Sat Jun 20 09:20:36 2009
GC 12355: starting collection, maximum allocation reached.
GC 12355: starting collection, maximum allocation reached.
Sat Jun 20 09:20:38 2009
GC 12355: starting collection, maximum allocation reached.
Sat Jun 20 09:20:39 2009
GC 12355: starting collection, maximum allocation reached.
GC 12355: starting collection, maximum allocation reached.
Sat Jun 20 09:20:45 2009
GC 12355: starting collection, maximum allocation reached.
Sat Jun 20 09:20:46 2009
GC 12355: starting collection, maximum allocation reached.
Sat Jun 20 09:20:50 2009
GC 12355: starting collection, maximum allocation reached.
GC 12355: starting collection, maximum allocation reached.
Sat Jun 20 09:20:58 2009
GC 12355: starting collection, maximum allocation reached.
Sat Jun 20 09:21:00 2009
GC 12355: starting collection, maximum allocation reached.
Sat Jun 20 09:21:21 2009
GC 12355: starting collection, maximum allocation reached.
Sat Jun 20 09:21:50 2009
GC 12355: starting collection, maximum allocation reached.
Sat Jun 20 09:22:40 2009
GC 12355: starting collection, maximum allocation reached.
Sat Jun 20 09:22:42 2009
GC 12355: starting collection, maximum allocation reached.
Sat Jun 20 09:22:50 2009
GC 12355: starting collection, maximum allocation reached.
Sat Jun 20 09:24:46 2009
GC 12355: starting collection, maximum allocation reached.
Sat Jun 20 09:24:47 2009
GC 12355: starting collection, maximum allocation reached.
Sat Jun 20 09:24:50 2009
GC 12355: starting collection, maximum allocation reached.
Sat Jun 20 09:25:06 2009
GC 12355: starting collection, maximum allocation reached.
Sat Jun 20 09:25:51 2009
GC 12355: starting collection, maximum allocation reached.
Sat Jun 20 09:27:04 2009
GC 12355: starting collection, maximum allocation reached.
Sat Jun 20 09:28:28 2009
GC 12355: starting collection, maximum allocation reached.
Sat Jun 20 09:28:42 2009
GC 12355: starting collection, maximum allocation reached.
GC 12355: starting collection, maximum allocation reached.
Sat Jun 20 09:29:19 2009
GC 12355: starting collection, maximum allocation reached.
Sat Jun 20 09:30:46 2009
GC 12355: starting collection, maximum allocation reached.
Sat Jun 20 09:31:08 2009
GC 12354: live objects 6994240; collected objects 6961336; collected(KB) 789682.
GC 12354: queued for finalization 0; total soft references 8976; cleared soft references 3.
GC 12354: current heap(KB) 4194292; current threshold(KB) 786432.
GC 12354: collect (milliseconds) 801210.
GC 12354: current cycle allocation(KB) 0; previous cycle allocation(KB) 4242195.
GC 12354: total weak references 15151; cleared weak references 0.
GC 12354: total final references 10905; cleared final references 6451.
GC 12354: total phantom references 0; cleared phantom references 0.
GC 12354: total JNI global weak references 0; cleared JNI global weak references 0.
GC 12354: collection ending 20/06/09 09:31:08
GC 12355: collection starting 20/06/09 09:31:08
Sat Jun 20 09:31:18 2009
GC 12356: starting collection, maximum allocation reached.
Sat Jun 20 09:32:38 2009
GC 12356: starting collection, maximum allocation reached.
Sat Jun 20 09:33:48 2009
GC 12355: collected class sun/reflect/GeneratedMethodAccessor3620979168.
Sat Jun 20 09:33:59 2009
GC 12355: live objects 6717156; collected objects 29066552; collected(KB) 3256489.
GC 12355: queued for finalization 0; total soft references 8973; cleared soft references 89.
GC 12355: current heap(KB) 4193652; current threshold(KB) 786432.
GC 12355: collect (milliseconds) 170434.
GC 12355: current cycle allocation(KB) 75; previous cycle allocation(KB) 0.
GC 12355: total weak references 15164; cleared weak references 0.
GC 12355: total final references 32619; cleared final references 28210.
GC 12355: total phantom references 0; cleared phantom references 0.
GC 12355: total JNI global weak references 0; cleared JNI global weak references 0.
GC 12355: collection ending 20/06/09 09:33:59
GC 12356: collection starting 20/06/09 09:33:59
Sat Jun 20 09:34:01 2009
GC 12356: collected class sun/reflect/GeneratedSerializationConstructorAccessor746382538.
GC 12356: collected class sun/reflect/GeneratedSerializationConstructorAccessor3780712466.
GC 12356: collected class sun/reflect/GeneratedSerializationConstructorAccessor168496322.
GC 12356: collected class sun/reflect/GeneratedSerializationConstructorAccessor980237086.
GC 12356: collected class sun/reflect/GeneratedSerializationConstructorAccessor1886738503.
GC 12356: collected class sun/reflect/GeneratedSerializationConstructorAccessor1251676621.
GC 12356: collected class sun/reflect/GeneratedSerializationConstructorAccessor1433437257.
GC 12356: collected class sun/reflect/GeneratedSerializationConstructorAccessor1328663959.
GC 12356: collected class sun/reflect/GeneratedSerializationConstructorAccessor3914321935.
GC 12356: collected class sun/reflect/GeneratedConstructorAccessor333360639.
GC 12356: collected class sun/reflect/GeneratedSerializationConstructorAccessor3292847473.
GC 12356: collected class sun/reflect/GeneratedSerializationConstructorAccessor752085389.
GC 12356: collected class sun/reflect/GeneratedSerializationConstructorAccessor416310187.
GC 12356: collected class sun/reflect/GeneratedMethodAccessor3620979168.
GC 12356: collected class sun/reflect/GeneratedMethodAccessor2138604126.
GC 12356: collected class sun/reflect/GeneratedConstructorAccessor2058455930.
GC 12356: collected class sun/reflect/GeneratedSerializationConstructorAccessor599442064.
GC 12356: collected class sun/reflect/GeneratedSerializationConstructorAccessor853421746.
GC 12356: collected class sun/reflect/GeneratedSerializationConstructorAccessor1143931263.
GC 12356: collected class sun/reflect/GeneratedSerializationConstructorAccessor379179616.
GC 12356: collected class sun/reflect/GeneratedSerializationConstructorAccessor1925696964.
GC 12356: collected class sun/reflect/GeneratedSerializationConstructorAccessor57815531.
GC 12356: collected class sun/reflect/GeneratedMethodAccessor843740711.
GC 12356: collected class sun/reflect/GeneratedMethodAccessor2093346596.
GC 12356: collected class sun/reflect/GeneratedConstructorAccessor1446511408.
GC 12356: collected class sun/reflect/GeneratedConstructorAccessor1446703216.
GC 12356: collected class sun/reflect/GeneratedConstructorAccessor1522492322.
Sat Jun 20 09:34:02 2009
GC 12356: collected class sun/reflect/GeneratedMethodAccessor1786850049.
GC 12356: collected class sun/reflect/GeneratedMethodAccessor515968301.
GC 12356: collected class sun/reflect/GeneratedMethodAccessor1786794657.
GC 12356: collected class sun/reflect/GeneratedMethodAccessor516161133.
GC 12356: collected class sun/reflect/GeneratedConstructorAccessor2753180717.
GC 12356: live objects 4366863; collected objects 2655706; collected(KB) 255573.
GC 12356: queued for finalization 0; total soft references 8976; cleared soft references 0.
GC 12356: current heap(KB) 3147644; current threshold(KB) 786432.
GC 12356: collect (milliseconds) 3478.
GC 12356: current cycle allocation(KB) 25809; previous cycle allocation(KB) 0.
GC 12356: total weak references 15164; cleared weak references 0.
GC 12356: total final references 4422; cleared final references 11.
GC 12356: total phantom references 0; cleared phantom references 0.
GC 12356: total JNI global weak references 0; cleared JNI global weak references 0.
GC 12356: collection ending 20/06/09 09:34:02
[Thr 2057] Sat Jun 20 09:34:12 2009
[Thr 2057] JLaunchIExitJava: exit hook is called (rc = -337)
[Thr 2057] **********************************************************************
ERROR => The Java VM terminated with a non-zero exit code.
Please see SAP Note 943602 , section 'J2EE Engine exit codes'
for additional information and trouble shooting.
**********************************************************************
[Thr 2057] SigISetIgnoreAction : SIG_IGN for signal 20
[Thr 2057] JLaunchCloseProgram: good bye (exitcode = -337)
-
trc file: "/usr/sap/P01/DVEBMGS01/work/dev_server0", trc level: 1, release: "700"
-
Hi
> > Sat Jun 20 09:20:23 2009
> GC 12355: starting collection, threshold allocation reached.
>
> Sat Jun 20 09:20:30 2009
> GC 12355: starting collection, maximum allocation reached.
>
> Sat Jun 20 09:20:31 2009
> GC 12355: starting collection, maximum allocation reached.
> GC 12355: starting collection, maximum allocation reached.
> GC 12355: starting collection, maximum allocation reached.
>
>
> Sat Jun 20 09:30:46 2009
> GC 12355: starting collection, maximum allocation reached.
>
Check why garbage collection is reaching to maximum.
Thanks
Sunny
Edited by: Sunny Pahuja on Jun 30, 2009 1:33 PM
Hi,
Check below link:
Also, check SAP Note 724452 - Central Note for SAP NetWeaver Java Server 04/2004s.
also, could you please paste dev_server0 and std_server0 logs here so that we can see exact problem...
Thanks
Sunny
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
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.