JAVA could not start with NON - zero exit code after Config UME

Dear Expert,
I found some problem with JAVA. We have been success to install for JAVA.
We can logon to that. But since we configuration for UME. We found the problem
with startup JAVA. We can not startup for JAVA. It show for error.
====================================
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.
====================================
Critical shutdown was invoked. Reason is Core service security failed.
J2EE Engine can not be started.
====================================
MAC ADDRESS can not be access
====================================
Java framework can not be find .... D:\usr\sap\...\jvm.jsp    ==> can not remember
Could you analyze for me ? How to solved for this problem ?
Regards,
Somkeit

Somkeit,
What did you change in UME Configuration? 
Please look in defaulttrace_# log and paste error here.
What is exit code ?
Can you revert back your UME changes and see if system starts or no.
Thanks,
Digesh Joshi

Similar Messages

  • *** ERROR = The Java VM terminated with a non-zero exit code.

    DEAR MASTERS
              after configuring SLD on integerated ABAP+JAVA   server0 not starting   
    trc file: "D:\usr\sap\W55\DVEBMGS00\work\dev_server0", trc level: 1, release: "700"
    node name   : ID9278150
    pid         : 4140
    system name : W55
    system nr.  : 00
    started at  : Sat Mar 21 08:45:23 2009
    arguments       :
           arg[00] : D:\usr\sap\W55\DVEBMGS00\exe\jlaunch.exe
           arg[01] : pf=D:\usr\sap\W55\SYS\profile\W55_DVEBMGS00_wipro5
           arg[02] : -DSAPINFO=W55_00_server
           arg[03] : pf=D:\usr\sap\W55\SYS\profile\W55_DVEBMGS00_wipro5
           arg[04] : -DSAPSTART=1
           arg[05] : -DCONNECT_PORT=1060
           arg[06] : -DSAPSYSTEM=00
           arg[07] : -DSAPSYSTEMNAME=W55
           arg[08] : -DSAPMYNAME=wipro5_W55_00
           arg[09] : -DSAPPROFILE=D:\usr\sap\W55\SYS\profile\W55_DVEBMGS00_wipro5
           arg[10] : -DFRFC_FALLBACK=ON
           arg[11] : -DFRFC_FALLBACK_HOST=localhost
    JHVM_BuildArgumentList: main method arguments of node [server0]
    [Thr 4668] Sat Mar 21 08:58:30 2009
    [Thr 4668] JHVM_RegisterNatives: registering methods in com.sap.bc.krn.perf.PerfTimes
    [Thr 4668] JHVM_RegisterNatives: registering methods in com.sap.bc.proj.jstartup.JStartupFramework
    [Thr 4668] JLaunchISetClusterId: set cluster id 9278150
    [Thr 4668] JLaunchISetState: change state from [Initial (0)] to [Waiting for start (1)]
    [Thr 4668] JLaunchISetState: change state from [Waiting for start (1)] to [Starting (2)]
    [Thr 4428] Sat Mar 21 08:59:58 2009
    [Thr 4428] JHVM_RegisterNatives: registering methods in com.sap.mw.rfc.driver.CpicDriver
    [Thr 4428] JHVM_RegisterNatives: registering methods in com.sap.i18n.cp.ConverterJNI
    [Thr 4616] JLaunchIExitJava: exit hook is called (rc = -11113)
    [Thr 4616] **********************************************************************
    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.

    Hi,
    Please find the link below for J2EE start up problem.
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e09e4a5e-8280-2a10-ca98-a59dd47d396d]
    Please refer to following note for VM settings.
    [https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=723909]
    Please also check the license validity on this server.
    Hope this helps.
    Manoj Chintawar

  • Java VM terminated with a non-zero exit code (rc = -337)

    Hi,
    It seems that our portal (7.0) was unavailable for five minutes (all users experienced problems which after a few minutes solved itself). We had a look at the logs, and dev_server0 shows that the server node did shut down and start again:
    [Thr 6688] Wed Aug 13 10:19:36 2014
    [Thr 6688] JLaunchIExitJava: exit hook is called (rc = -337)
    [Thr 6688] **********************************************************************
    [Thr 6688] *** ERROR => The Java VM terminated with a non-zero exit code.
    [Thr 6688] *** Please see SAP Note 943602 , section 'J2EE Engine exit codes'
    [Thr 6688] *** for additional information and trouble shooting.
    [Thr 6688] **********************************************************************
    [Thr 6688] JLaunchCloseProgram: good bye (exitcode = -337)
    The referenced note doesn't offer much help. I've tried to find more info about rc -337, and the only info I've found is that rc -337 is: "Exiting listener loop - restart the node (MSLib)."
    Do you guys know what exiting listener loop means, or what the rc -377 is?
    Thanks!
    M.

    Hi Moye,
    Hope you are doing good.
    Such issues can also be caused due to a network failure. Can you check the below notes along with the network administrator to ascertain that there are no network related issues presently:
    #124562     Hostname resolution problems (DNS timeouts)
    #500235     Network Diagnosis with NIPING
    #413330     Network timeout
    If you run the niping tool at the time the issue occurred, it should check the whole network and report the error.
    It is also possible to optimize the j2ee server in the manner it interacts with the message server for better performance. As Divyanshu mentioned, the note 1658385 - J2EE System fails with "exitcode = -334" explains, you need to optimize the manner in which the message server reconnects with the Java instances.
    This can happen sometimes if you have quite a few nodes in cluster. To make sure the issue does not happen again, you need to increase for each server node the timeout it waits for the confirmation,
    that is the value of 'ms.confirmation.timeout' property of ClusterManager along with the other parameters mentioned in the note. Also add the below parameters to the SCS instance file:
    <sid>_SCS01_<host> in folder /usr/sap/<sid>/SYS/profile
    ms/max_clients = 600
    ms/max_open_requests = 2000
    ms/audit=1
    and
    jstartup/keep_old_logfiles=3
    The latter 2 parameters will prevent  overwritting log files in case of restart. Once the values are increased, the time for the timeout should increase enabling the server to connect to the message server.
    Thank you!
    Kind Regards,
    Hemanth
    SAP AGS

  • Java VM terminated with a non-zero exit code (-337)

    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

    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"

  • The Java VM terminated with a non-zero exit code.

    Hi,expert,
    I have got this error when I am trying to restart the sap Instance use
    command STARTSAP,
    The error log as below:
    ERROR => The Java VM terminated with a non-zero exit code.
    Please see SAP Note 940893 , section 'J2EE Engine exit codes'
    for additional information and trouble shooting.
    trc file: "/usr/sap/J2E/JC00/work/dev_jcontrol", trc level: 1,
    release: "640"
    ERROR => can't retrieve client list (rc=24) [jcntrms_mt.c960]
    May 21, 2010 12:53:14... com.sap.engine.core.Framework [SAP
    J2EE Engi
    ne|MS Socket Listener] Fatal: Critical shutdown was invoked. Reason is:
    Exiting
    Listener Loop. This requires a restart of the node. Possible reason is
    an interr
    upted reconnect session to the message server.
    Thanks and Best regards,
    Michael

    Hi Michael,
    I am also facing the same issue, can you please let me know where to find the ms.hostname and enqu.hostname...It's very urgent.
    Thanks in advance..
    Regards,
    Krishna.M

  • My iphone can't back up to pc,because a session could not started with iphone.how fix the itunes

    my iphone can't back up to pc,because a session could not started with iphone.how fix the itunes or iphone,this problem is after update ios7.0.4 and update itunes.pls teach me fix my pc,my pc is windows vista....

    i have this problem too >> but i try other iphone ios7.0.3 i ok and work
    but my ios7.0.4 cant back up and keep pop out session could not started with iphone !
    really hope someone can help it ..
    thank a lot !

  • Non-zero exit code

    Hi experts,
    im facing a porblem in starting the j2ee engine,
    The error in the developer trace says :
    [Thr 4768] Sat Oct 14 13:26:47 2006
    [Thr 4768] JHVM_RegisterNatives: registering methods in com.sap.bc.krn.perf.PerfTimes
    [Thr 4768] JHVM_RegisterNatives: registering methods in com.sap.bc.proj.jstartup.JStartupFramework
    [Thr 4768] JLaunchISetClusterId: set cluster id 318458550
    [Thr 4768] Sat Oct 14 13:26:48 2006
    [Thr 4768] JLaunchISetState: change state from [Initial (0)] to [Waiting for start (1)]
    [Thr 4768] JLaunchISetState: change state from [Waiting for start (1)] to [Starting (2)]
    [Thr 4628] Sat Oct 14 13:27:15 2006
    [Thr 4628] JLaunchIExitJava: exit hook is called
    (rc = -11113)
    [Thr 4628] *****************************************************
    ERROR => The Java VM terminated with a non-zero exit code.
    is any one familiar with this error ?

    Hi Ahmed,
    Please have a look at <a href="https://service.sap.com/sap/support/notes/940893">SAP Note 940893</a>. In short, rc = -11113 means that some essential service has failed to start. More information could be found in:
    \usr\sap\<SID>\<instance>\j2ee\cluster\server<N>\log\system\server.log
    \usr\sap\<SID<\<instance>\j2ee\cluster\server<N>\log\defaultTrace.trc
    HTH!
    -Vladimir

  • Export failing with non zero return code on windows

    exp returning non zero return code on windows .
    we have some scrips that depends on return code of exp .
    There are two tables one is present (test1) and other is not present (test2)
    and we are exporting
    screen shot --
    WITH EXP :-
    on windows --
    C:\>exp tables= test1,test2
    Export: Release 10.2.0.2.0 - Production on Fri Jun 11 13:55:16 2010
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Username: dev
    Password:
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    About to export specified tables via Conventional Path ...
    . . exporting table TEST1 6291456 rows exported
    EXP-00011: DEV.TEST2 does not exist
    Export terminated successfully with warnings.
    C:\>echo %ERRORLEVEL%
    3
    Edited by: user2015671 on Jun 11, 2010 4:32 AM

    no the issue is there.we have problem with non zero return code by exp on windows not on unix .
    I had done same on unix it returning zero return code.
    Screen shot:-
    > exp tables=temp,temp3
    Export: Release 10.2.0.1.0 - Production on Fri Jun 11 16:52:48 2010
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Username: dev
    Password:
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Export done in US7ASCII character set and AL16UTF16 NCHAR character set
    About to export specified tables via Conventional Path ...
    . . exporting table TEMP 3 rows exported
    EXP-00011: DEV.TEMP3 does not exist
    Export terminated successfully with warnings.
    echo $?0
    Edited by: user2015671 on Jun 11, 2010 4:59 AM

  • After BI install SIA and Tomcat could not start with service account.

    Hi BO Gurus,
    I want to install BO child node (Expand the parent install)
    Client IT prepared a system with MS Server 2012 with Windows 8 as OS, and assigned a Service Account for me.
    I gave service account following permissions -
    Act as a part of operating system
    log on as a batch
    log on as a service
    After this I rebooted the system and logged in with Service Account credentials. Started the installer, performed custom/expand install.
    the install was successful.
    When I opened CCM, both Tomcat and SIA are running under 'localsystem' account.
    I want them to run under service account --> i sopped SIA and changed credentials in 'Log on as' box under SIA properties.--> Click on 'apply' and 'OK'
    When I go on and start SIA I get following error -
    ' The Service did not start due to log on failure'.
    The same service account runs services on 3 other BO boxes including parent node of the above install and 2 other DS boxes and everything apart from this machine works exactly fine.
    Please help!
    Thanks,
    Maitreyee

    Maitreyee,
          BI 4.x Platform will NOT work on Desktop OS like Windows 7 / 8.x / 8.1, it required 64bit Server Operating system.   See attached screenshot.
    Regards,
    Ajay

  • ShellScriptResourceAdapter ignores STDERR and non zero exit codes?

    My ShellScript Resource seems to ignore any output to STDERR and also ignores script commands failing with exit codes other than 0.
    Let's say I run this in bash:
    meh@moo ~$ perl -e 'print(STDERR "Error "); die("foo");' 1>/dev/null
    Error foo at -e line 1.
    meh@moo ~$ echo $?
    255Perl clearly exits with STDERR Output and exit code -1.
    Now, if I run this as the "Update User" ResourceAction in IDM 6 SP1, it always tells me everything went fine without any errors.
    Running it as "Create User" ResourceAction at least gives me:
    Error foo at -e line 1.
    null
    Result Code = 255
    And the CREATE actually fails.
    But Update and Delete seem to ignore STDERR and exit codes.
    Or am I missing something? It would be great to see any error in IDM when one of the ResourceAction scripts' steps is failing...

    Somkeit,
    What did you change in UME Configuration? 
    Please look in defaulttrace_# log and paste error here.
    What is exit code ?
    Can you revert back your UME changes and see if system starts or no.
    Thanks,
    Digesh Joshi

  • The Java VM terminated with a non-zero exit code.(rc = -11113)

    Hi All,
    We are having ABAP + JAVA stack but server0 process is not coming up.
    Please find the below logs.
    ...xt.<init>(UserContextSpi, Properties) [Session Reader for cluster node 9680100] Fatal: Can not instantiate UserContext with given properties.
      service security ================= ERROR =================
    Core service security failed. J2EE Engine cannot be started.
    com.sap.engine.services.security.exceptions.SecurityServiceException: Unexpected exception:
         at com.sap.engine.services.security.SecurityServerFrame.start(SecurityServerFrame.java:179)
         at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(ServiceRunner.java:214)
         at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:144)
         at com.sap.engine.frame.core.thread.Task.run(Task.java:64)
         at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:79)
         at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:150)
    Caused by: com.sap.engine.services.security.exceptions.BaseSecurityException: No active userstore is set.
         at com.sap.engine.services.security.server.UserStoreFactoryImpl.getActiveUserStore(UserStoreFactoryImpl.java:77)
         at com.sap.engine.services.security.server.jaas.LoginModuleHelperImpl.update(LoginModuleHelperImpl.java:402)
         at com.sap.engine.services.security.server.jaas.LoginModuleHelperImpl.<init>(LoginModuleHelperImpl.java:81)
         at com.sap.engine.services.security.server.SecurityContextImpl.<init>(SecurityContextImpl.java:57)
         at com.sap.engine.services.security.SecurityServerFrame.start(SecurityServerFrame.java:135)
         ... 5 more
    com.sap.engine.services.security.exceptions.SecurityServiceException: Unexpected exception:
         at com.sap.engine.services.security.SecurityServerFrame.start(SecurityServerFrame.java:179)
         at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(ServiceRunner.java:214)
         at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:144)
         at com.sap.engine.frame.core.thread.Task.run(Task.java:64)
         at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:79)
         at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:150)
    Caused by: com.sap.engine.services.security.exceptions.BaseSecurityException: No active userstore is set.
         at com.sap.engine.services.security.server.UserStoreFactoryImpl.getActiveUserStore(UserStoreFactoryImpl.java:77)
         at com.sap.engine.services.security.server.jaas.LoginModuleHelperImpl.update(LoginModuleHelperImpl.java:402)
         at com.sap.engine.services.security.server.jaas.LoginModuleHelperImpl.<init>(LoginModuleHelperImpl.java:81)
         at com.sap.engine.services.security.server.SecurityContextImpl.<init>(SecurityContextImpl.java:57)
         at com.sap.engine.services.security.SecurityServerFrame.start(SecurityServerFrame.java:135)
         ... 5 more
    Please help me out asap.
    Thanks

    I have checked and found this also
    ION    CPIC (TCP/IP) on local host with Unicode
    ERROR       service 'sapgw000' unknown
    TIME        Thu Apr 03 11:37:43 200
    RELEASE     700
    COMPONENT   NI (network interface)
    VERSION     38
    RC          -3
    MODULE      ninti.c
    LINE        530
    DETAIL      NiPGetServByName2: service 'sapgw000' not found
    SYSTEM CALL getservbyname_r
    COUNTER     1
      passwd=********
      receiverid=master
      sysnr=$$
      client=001
      poolmaxsize=10
      user=SAPJSF
      receiverid_guest=master
      ashost=localhost
      poolmaxwait=10000
    #1.5#001D0904A999001D0000000200001EE4000449F1D1D4C30F#1207202863171#/System/Security/Usermanagement##com.sap.security.core.persistence.datasource.imp.R3PersistenceBase.init()#######SAPEngine_System_Thread[impl:5]_66##0#0#Error#1#com.sap.security.core.persistence.datasource.imp.R3PersistenceBase#Java#An exception was thrown in the UME/ABAP user management connector. Message: .##An exception was thrown in the UME/ABAP user management connector. Message: .#1#Connect to SAP gateway failed
    Connect_PM  TYPE=A ASHOST=localhost SYSNR=000 GWHOST=localhost GWSERV=sapgw000 PCS=1
    LOCATION    CPIC (TCP/IP) on local host with Unicode
    ERROR       service 'sapgw000' unknown
    TIME        Thu Apr 03 11:37:43 200
    RELEASE     700
    COMPONENT   NI (network interface)
    VERSION     38
    RC          -3
    MODULE      ninti.c
    LINE        530
    DETAIL      NiPGetServByName2: service 'sapgw000' not found
    SYSTEM CALL getservbyname_r
    COUNTER     1
    #1.5#001D0904A999001D0000000400001EE4000449F1D1D4C611#1207202863171#/System/Security/Usermanagement##com.sap.security.core.persistence#######SAPEngine_System_Thread[impl:5]_66##0#0#Error#1#com.sap.security.core.persistence#Java#User Management Engine (com.sap.security.core.persistence.datasource.imp.R3Persistence) failed to initialize the ABAP data source: ##User Management Engine (com.sap.security.core.persistence.datasource.imp.R3Persistence) failed to initialize the ABAP data source: #1#Connect to SAP gateway failed
    Connect_PM  TYPE=A ASHOST=localhost SYSNR=000 GWHOST=localhost GWSERV=sapgw000 PCS=1
    LOCATION    CPIC (TCP/IP) on local host with Unicode
    ERROR       service 'sapgw000' unknown
    TIME        Thu Apr 03 11:37:43 200
    RELEASE     700
    COMPONENT   NI (network interface)
    VERSION     38
    RC          -3
    MODULE      ninti.c
    LINE        530
    DETAIL      NiPGetServByName2: service 'sapgw000' not found
    SYSTEM CALL getservbyname_r
    COUNTER     1
    #1.5#001D0904A999001D0000000600001EE4000449F1D1D4C775#1207202863171#/System/Security/Usermanagement##com.sap.security.core.persistence#######SAPEngine_System_Thread[impl:5]_66##0#0#Fatal#1#com.sap.security.core.persistence#Java#Initialization of UME persistence adapter "" failed.##Initialization of UME persistence adapter "" failed.#1#R3_DATASOURCE#
    #1.5#001D0904A999001D0000000900001EE4000449F1D1D4CA16#1207202863171#/System/Security/Usermanagement##com.sap.security.core.server.ume.service.UMEServiceFrame#######SAPEngine_System_Thread[impl:5]_66##0#0#Error#1#com.sap.security.core.server.ume.service.UMEServiceFrame#Plain###UME initialization failed.#

  • Java VM terminated with a non-zero exit code

    hi all,
    the java process dies down after startup. analyzing the logs, the jvm_bootstrap contains the following text:
    Bootstrap MODE:
    <INSTANCE GLOBALS>
    determined by parameter [ID0034352].
    Exception occurred:
    com.sap.engine.bootstrap.SynchronizationException: Database initialization failed! Check database properties!
         at com.sap.engine.bootstrap.Bootstrap.initDatabaseConnection(Bootstrap.java:476)
         at com.sap.engine.bootstrap.Bootstrap.<init>(Bootstrap.java:146)
         at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:971)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
    ==[ Caused by: ]==----
    com.sap.engine.frame.core.configuration.ConfigurationException: Error while connecting to DB.
         at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.createConnection(DBConnectionPool.java:360)
         at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.<init>(DBConnectionPool.java:125)
         at com.sap.engine.core.configuration.impl.persistence.rdbms.PersistenceHandler.<init>(PersistenceHandler.java:38)
         at com.sap.engine.core.configuration.impl.cache.ConfigurationCache.<init>(ConfigurationCache.java:149)
         at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.init(ConfigurationManagerBootstrapImpl.java:236)
         at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.<init>(ConfigurationManagerBootstrapImpl.java:49)
         at com.sap.engine.bootstrap.Synchronizer.<init>(Synchronizer.java:74)
         at com.sap.engine.bootstrap.Bootstrap.initDatabaseConnection(Bootstrap.java:473)
         at com.sap.engine.bootstrap.Bootstrap.<init>(Bootstrap.java:146)
         at com.sap.engine.bootstrap.Bootstrap.main(Bootstrap.java:971)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)
    Caused by: java.sql.SQLException: ORA-28000: the account is locked
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:283)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:278)
         at oracle.jdbc.driver.T4CTTIoauthenticate.receiveOauth(T4CTTIoauthenticate.java:790)
         at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:362)
         at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:420)
         at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
         at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
         at com.sap.sql.jdbc.NativeConnectionFactory.createNativeConnection(NativeConnectionFactory.java:215)
         at com.sap.sql.connect.OpenSQLDataSourceImpl.createPooledConnection(OpenSQLDataSourceImpl.java:608)
         at com.sap.sql.connect.OpenSQLDataSourceImpl.getPooledConnection(OpenSQLDataSourceImpl.java:285)
         at com.sap.engine.core.configuration.impl.persistence.rdbms.DBConnectionPool.createConnection(DBConnectionPool.java:302)
         ... 14 more
    [Bootstrap module]> Problem occurred while performing synchronization.
    checking the database log, i found the ORA-01017 and subsequent ORA-28000 errors. the log reads as follows:
    <!LOGHEADER[START]/>
    <!HELP[Manual modification of the header may cause parsing problem!]/>
    <!LOGGINGVERSION[1.5.3.7185 - 630]/>
    <!NAME[./log/system/database.log]/>
    <!PATTERN[database.log]/>
    <!FORMATTER[com.sap.tc.logging.ListFormatter]/>
    <!ENCODING[UTF8]/>
    <!FILESET[0, 5, 10485760]/>
    <!PREVIOUSFILE[database.4.log]/>
    <!NEXTFILE[database.1.log]/>
    <!LOGHEADER[END]/>
    #1.5 #001E0B45D0F6004600000197000037F600045C9F24E45E5A#1227738495312#/System/Database/sql/jdbc##com.sap.sql.jdbc.NativeConnectionFactory####n/a##1d2e0e50a92311dda473001e0b45d0f6#SAPEngine_System_Thread[impl:5]_27##0#0#Error#1#com.sap.sql.jdbc.NativeConnectionFactory#Java#com.sap.sql_0002#com.sap.sql.log.OpenSQLResourceBundle#SQL error occurred on connection : code={0,number,integer}, state="", message="".#5#1017#72000#ORA-01017: invalid username/password; logon denied
    #jdbc:oracle:thin:@nakeqas1:1527:EQA#<null>#
    #1.5 #001E0B45D0F6004600000199000037F600045C9F2505B6B6#1227738497528#/System/Database/sql/jdbc##com.sap.sql.jdbc.NativeConnectionFactory####n/a##1d2e0e50a92311dda473001e0b45d0f6#SAPEngine_System_Thread[impl:5]_27##0#0#Error#1#com.sap.sql.jdbc.NativeConnectionFactory#Java#com.sap.sql_0002#com.sap.sql.log.OpenSQLResourceBundle#SQL error occurred on connection : code={0,number,integer}, state="", message="".#5#1017#72000#ORA-01017: invalid username/password; logon denied
    #jdbc:oracle:thin:@nakeqas1:1527:EQA#<null>#
    #1.5 #001E0B45D0F600460000019B000037F600045C9F25269BAC#1227738499684#/System/Database/sql/jdbc##com.sap.sql.jdbc.NativeConnectionFactory####n/a##1d2e0e50a92311dda473001e0b45d0f6#SAPEngine_System_Thread[impl:5]_27##0#0#Error#1#com.sap.sql.jdbc.NativeConnectionFactory#Java#com.sap.sql_0002#com.sap.sql.log.OpenSQLResourceBundle#SQL error occurred on connection : code={0,number,integer}, state="", message="".#5#1017#72000#ORA-01017: invalid username/password; logon denied
    #jdbc:oracle:thin:@nakeqas1:1527:EQA#<null>#
    #1.5 #001E0B45D0F600460000019D000037F600045C9F2547B441#1227738501853#/System/Database/sql/jdbc##com.sap.sql.jdbc.NativeConnectionFactory####n/a##1d2e0e50a92311dda473001e0b45d0f6#SAPEngine_System_Thread[impl:5]_27##0#0#Error#1#com.sap.sql.jdbc.NativeConnectionFactory#Java#com.sap.sql_0002#com.sap.sql.log.OpenSQLResourceBundle#SQL error occurred on connection : code={0,number,integer}, state="", message="".#5#1017#72000#ORA-01017: invalid username/password; logon denied
    #jdbc:oracle:thin:@nakeqas1:1527:EQA#<null>#
    #1.5 #001E0B45D0F600460000019F000037F600045C9F2568BE7C#1227738504018#/System/Database/sql/jdbc##com.sap.sql.jdbc.NativeConnectionFactory####n/a##1d2e0e50a92311dda473001e0b45d0f6#SAPEngine_System_Thread[impl:5]_27##0#0#Error#1#com.sap.sql.jdbc.NativeConnectionFactory#Java#com.sap.sql_0002#com.sap.sql.log.OpenSQLResourceBundle#SQL error occurred on connection : code={0,number,integer}, state="", message="".#5#1017#72000#ORA-01017: invalid username/password; logon denied
    #jdbc:oracle:thin:@nakeqas1:1527:EQA#<null>#
    #1.5 #001E0B45D0F60046000001A1000037F600045C9F2589BEDD#1227738506181#/System/Database/sql/jdbc##com.sap.sql.jdbc.NativeConnectionFactory####n/a##1d2e0e50a92311dda473001e0b45d0f6#SAPEngine_System_Thread[impl:5]_27##0#0#Error#1#com.sap.sql.jdbc.NativeConnectionFactory#Java#com.sap.sql_0002#com.sap.sql.log.OpenSQLResourceBundle#SQL error occurred on connection : code={0,number,integer}, state="", message="".#5#1017#72000#ORA-01017: invalid username/password; logon denied
    #jdbc:oracle:thin:@nakeqas1:1527:EQA#<null>#
    #1.5 #001E0B45D0F60046000001A3000037F600045C9F25AAA2B5#1227738508336#/System/Database/sql/jdbc##com.sap.sql.jdbc.NativeConnectionFactory####n/a##1d2e0e50a92311dda473001e0b45d0f6#SAPEngine_System_Thread[impl:5]_27##0#0#Error#1#com.sap.sql.jdbc.NativeConnectionFactory#Java#com.sap.sql_0002#com.sap.sql.log.OpenSQLResourceBundle#SQL error occurred on connection : code={0,number,integer}, state="", message="".#5#1017#72000#ORA-01017: invalid username/password; logon denied
    #jdbc:oracle:thin:@nakeqas1:1527:EQA#<null>#
    #1.5 #001E0B45D0F60046000001A5000037F600045C9F25CB6176#1227738510482#/System/Database/sql/jdbc##com.sap.sql.jdbc.NativeConnectionFactory####n/a##1d2e0e50a92311dda473001e0b45d0f6#SAPEngine_System_Thread[impl:5]_27##0#0#Error#1#com.sap.sql.jdbc.NativeConnectionFactory#Java#com.sap.sql_0002#com.sap.sql.log.OpenSQLResourceBundle#SQL error occurred on connection : code={0,number,integer}, state="", message="".#5#1017#72000#ORA-01017: invalid username/password; logon denied
    #jdbc:oracle:thin:@nakeqas1:1527:EQA#<null>#
    #1.5 #001E0B45D0F60046000001A7000037F600045C9F25EC3271#1227738512633#/System/Database/sql/jdbc##com.sap.sql.jdbc.NativeConnectionFactory####n/a##1d2e0e50a92311dda473001e0b45d0f6#SAPEngine_System_Thread[impl:5]_27##0#0#Error#1#com.sap.sql.jdbc.NativeConnectionFactory#Java#com.sap.sql_0002#com.sap.sql.log.OpenSQLResourceBundle#SQL error occurred on connection : code={0,number,integer}, state="", message="".#5#1017#72000#ORA-01017: invalid username/password; logon denied
    #jdbc:oracle:thin:@nakeqas1:1527:EQA#<null>#
    #1.5 #001E0B45D0F60046000001A9000037F600045C9F260D07AE#1227738514785#/System/Database/sql/jdbc##com.sap.sql.jdbc.NativeConnectionFactory####n/a##1d2e0e50a92311dda473001e0b45d0f6#SAPEngine_System_Thread[impl:5]_27##0#0#Error#1#com.sap.sql.jdbc.NativeConnectionFactory#Java#com.sap.sql_0002#com.sap.sql.log.OpenSQLResourceBundle#SQL error occurred on connection : code={0,number,integer}, state="", message="".#5#1017#72000#ORA-01017: invalid username/password; logon denied
    #jdbc:oracle:thin:@nakeqas1:1527:EQA#<null>#
    #1.5 #001E0B45D0F60046000001AB000037F600045C9F262E03A2#1227738516946#/System/Database/sql/jdbc##com.sap.sql.jdbc.NativeConnectionFactory####n/a##1d2e0e50a92311dda473001e0b45d0f6#SAPEngine_System_Thread[impl:5]_27##0#0#Error#1#com.sap.sql.jdbc.NativeConnectionFactory#Java#com.sap.sql_0002#com.sap.sql.log.OpenSQLResourceBundle#SQL error occurred on connection : code={0,number,integer}, state="", message="".#5#28000#99999#ORA-28000: the account is locked
    exactly which user is the system pointing to as locked? can this be the cause of the java process dying down? the R3trans -d check returns 0000 and database connection is normal.
    ur help is greatly appreciated.
    regards,
    Amer

    hi raghu,
    thanx for your replies.
    i found that the user for java instance "SAPSR3DB" was locked and unlocked the user account. additionally, i also tried connecting to the database with this user and got connected successfully.
    tried restarting the instance again but no success.
    the jvm_bootstrap.out file still shows ORA-01017: invalid username/password - logon denied.
    any suggestions?
    kind regards,
    Amer

  • Java cryption not compatible with non-java?

    I can encrypt/decrypt my text with misc algorithms using the Java crypto API:
    SecretKeySpec key = new SecretKeySpec(key.getBytes(CHARSET), algorithm);
    Cipher cipher = Cipher.getInstance(algorithm);
    cipher.init(Cipher.ENCRYPT_MODE, key);
    byte[] stringBytes = plainText.getBytes(CHARSET); //encode
    byte[] rawBytes = cipher.doFinal(stringBytes); //encrypt
    BASE64Encoder encoder = new BASE64Encoder();
    result = encoder.encodeBuffer(rawBytes); //encode bytes to base64 to get a stringHowever, when using other en-/decryption tools with the same algorithms, keys and plain/crypted texts, it doesn't work anymore, i.e. I can't decrypt text with such a tool that was crypted with Java and vica versa. Is there something missing in my code?

    @ggainey:
    Okay, but how do I get these transformation strings with mode and padding? When I try read the algorithms via
                String [] result = null;
                Set set = new HashSet();
                String serviceType = "KeyGenerator";
                Provider[] providers = Security.getProviders(); //all providers
                for (int i = 0; i < providers.length; i++) {
                    Set keys = providers.keySet(); //Get services provided by each provider
    for (Iterator it = keys.iterator(); it.hasNext(); ) {
    String key = (String) it.next();
    System.out.println("key :"+key);
    key = key.split(" ")[0];
    if (key.startsWith(serviceType+".")) {
    set.add(key.substring(serviceType.length()+1));
    } else if (key.startsWith("Alg.Alias."+serviceType+".")) { // This is an alias
    set.add(key.substring(serviceType.length()+11));
    }//next service
    }//next provider
    result = (String[])set.toArray(new String[set.size()]);
    System.out.println("Algos: "+de.icomps.ICUtils.toString(result));
    I just get this output for DES:
    key :KeyGenerator.DES
    key :Alg.Alias.SecretKeyFactory.TripleDES
    key :Cipher.PBEWithMD5AndTripleDES
    key :AlgorithmParameters.PBE
    key :SecretKeyFactory.DES
    key :Cipher.AES
    key :Alg.Alias.KeyPairGenerator.DH
    key :Alg.Alias.AlgorithmParameters.DH
    key :Alg.Alias.KeyGenerator.TripleDES
    key :KeyAgreement.DiffieHellman
    How can I get/generate the "DES/CBC/PKCS5Padding" style strings?

  • None exist error  code after a graceful shutdown

    I'd like to return a none zero exit code after a normal graceful shutdown.
    My end task is to be able to send a restart event to a number of machines running my application that will gracefully shutdown and inform the shell script that started it that it wants to be restarted.
    One option would be System.exit with a shutdown hook that monitors the current threads, and does not end until the other threads have also exited, but I would have to inform this hook of threads that should be allowed to finish naturally. But that seams a little [t]icky.
    I guess I could write to a file, and then close down naturally. But this leaves files drifting about. I'm not overly keen on that either.
    Any other suggestions? Thanks, Mike

    The "worker" thread should
    not be interupted, and told to exit, just left to
    exit under there own steam. (when they have finished
    the current job). What is the "worker" thread ? Is it what I meant with "watcher" thread ? Is that what you said or what I said ?
    And, I assumed we are talking about a server-like application, that is one running indefinitely, as opposed to one that would perform a specific task and then terminate. Am I correct ?
    The initalization of this new type of
    shutdown/restart is currently undefined, but will
    likely that the application start listening on a
    socket connection. I'm sorry, I don't understand that at all.
    I want this to ease deployment,
    currently when I deploy a new version I type "ant
    deploy", then VNC on to each of the computer
    (currently just 3, but likely to be more soon) and
    manually restart. What I want is to just type "ant
    deploy" it sends a signal to the running copies, and
    they restart themselfs. (I'm a lazy brsatard).You know this quote by Larry Wall (?) about the three most important characteristics of a programmer, don't you ?
    >
    and thus the exit code is already defined.Not so with what I would consider a "graceful
    shutdown". Then the application would shut down as
    all the threads have completed.It depends on whether having "all threads completed" is a normal part of the application's flow. If I assumed correctly we were talking about a server-like app, then it's not. Ergo the command to terminate has to be issued at some point. The question is how that gets done. For instance, if you send a CTRL-C from the shell, your application shuts down with an error code != 0.
    A graceful shutdown needs to be initiated somewhere. How do you plan to do it ?

  • Java server0 its not starting  with error -11113

    Dear Experts team,
    When We are starting SAP Solution Manager 7.10, Its ABAP Instance is running file ,
    But Java Instance not running , In this Java Process table , SDM and dispatcher is working file (green)
    But in server0 its not starting  and -11113 (core service or addition service start fails)
    When check Developer Trace of dev_server0 , it show last few lines as given below,
    Thr 5464] JLaunchIExitJava: exit hook is called (rc = -11113)
    [Thr 5464] **********************************************************************
    [Thr 5464] *** ERROR => The Java VM terminated with a non-zero exit code.
    [Thr 5464] *** Please see SAP Note 943602 , section 'J2EE Engine exit codes'
    [Thr 5464] *** for additional information and trouble shooting.
    [Thr 5464] **********************************************************************
    [Thr 5464] JLaunchCloseProgram: good bye (exitcode = -11113)
    Please suggest ...
    Thanks
    Regards
    Sunil k

    Hi,
    Hope you are doing good.
    Please check the latest STD_SERVER0 and the default traces and attach the contents here. This should have the error details. Exit code 11113 means that some essential service fails to start so the server/dispatcher process fails.
    Thank you!
    Kind Regards,
    Hemanth
    SAP AGS

Maybe you are looking for

  • Networking issues with MacBook Pro

    I have tried to find this issue on line and in the forums and couldn't   I have seen many people have similar issues using VPN connections or Citrix but nothing what I am seeing.  I have 3 MacBook Pros that connect fine to our company network.  They

  • Link text boxes and duplicate contents?

    I'm working on a template for business cards in CS4 and was wondering if it was possible to link text boxes together in a way so that when information is entered/changed in one it would do the same in all the others.  There are 8 business cards on on

  • IOS 4.2.1 have performance problem?

    I use iOS 4.2.1 on iPhone 4. While many background applications run, my iPhone4 is very slowly. I think iOS4.2.1 have performance problem. So, Apple should release maintenance release for iOS 4.2. Do you think?

  • Communication channel - cache problem?

    Hi experts, sometimes when I change parameters in communication channels that have thrown an error (in order to solve the problem), this modification is not immediatly working after activation of CC: the CC still works with old configuration. To solv

  • Lost movie rental after syncing Photos!?

    Hi there. I plug in my cord to sync some photos and moments later I wanted to add another movie to the phone before I head out on a road trip but as I was doing that I lost my movie RENTAL icon I was rentaking Jack the GIant Slayer. Why did it dissap