Skip to Content
author's profile photo Former Member
Former Member

SfCJavaVm: exit hook is called. (rc = 2150)

Hi Experts,

I am facing problem in starting java server in Portal system.I am attaching the log files from work directory. Please help me to resolve this.

Below is a section of dev_server0 log file.It seems memory issue to me.plz suggest.

********************************************************************************

J : [258] 10:00:25 ***Warning: Omitting automatic activation of GC history: Only 471.29 MB usable disk space available.

J JVMX version - Nov 2 2012 03:57:47 - 61_REL - optU - aix ppc64 - 6 - bas2:182728 (mixed mode)

J (CompilerOracle read from file /usr/sap/EPD/J01/exe/sapjvm_6/jre/.hotspot_compiler)

F [Thr 258] *** LOG => SfCJavaVm: Java VM started.

F

F Tue Feb 4 10:00:26 2014

F ********************************************************************************

F Main method call:

F com/sap/engine/boot/Start.main()

F ********************************************************************************

J

J Tue Feb 4 10:00:29 2014

J 3.392: [GC 3.392: [ParNew: 343552K->3825K(381696K), 0.0668230 secs] 343558K->3832K(2059008K), 0.0671560 secs] [Times: user=0.00 sys=0.08, real=0.07 secs]

F

F [Thr 258] Tue Feb 4 10:00:29 2014

F [Thr 258] *** LOG => State changed from 0 (Initial) to 1 (Waiting to start).

F [Thr 258] *** LOG state real time: 4.872 CPU time: 0.520 sys, 6.060 usr

F [Thr 258] *** LOG total real time: 4.872 CPU time: 0.520 sys, 6.060 usr

F [Thr 258]

F [Thr 258] *** LOG => State changed from 1 (Waiting to start) to 2 (Starting framework).

F [Thr 258] *** LOG state real time: 0.000 CPU time: 0.000 sys, 0.000 usr

F [Thr 258] *** LOG total real time: 4.873 CPU time: 0.520 sys, 6.060 usr

F [Thr 258]

J

J Tue Feb 4 10:00:36 2014

J 11.103: [GC 11.103: [ParNewJ

J Tue Feb 4 10:00:37 2014

: 347377K->34828K(381696K), 0.1847490 secs] 347432K->34884K(2059008K), 0.1851530 secs] [Times: user=0.00 sys=0.26, real=0.19 secs]

J

J Tue Feb 4 10:00:45 2014

J 20.235: [GC 20.235: [ParNewJ

J Tue Feb 4 10:00:46 2014

: 378380K->38144K(381696K), 0.4181470 secs] 378599K->62251K(2059008K), 0.4184690 secs] [Times: user=0.01 sys=0.57, real=0.42 secs]

J

J Tue Feb 4 10:00:51 2014

J 26.261: [GC 26.261: [ParNewJ

J Tue Feb 4 10:01:56 2014

J 27.742: [GC 27.742: [ParNew: 381696K->38144K(381696K), 0.4228780 secs] 413672K->111577K(2059008K), 0.4232030 secs] [Times: user=0.00 sys=0.76, real=0.43 secs]

J

J Tue Feb 4 10:02:07 2014

J 39.265: [GC 39.265: [ParNewJ

J Tue Feb 4 10:02:08 2014

: 381696K->38144K(381696K), 0.4925380 secs] 455789K->147872K(2059008K), 0.4928750 secs] [Times: user=0.00 sys=0.72, real=0.49 secs]

J

J Tue Feb 4 10:02:10 2014

J Heap

J par new generation reserved 419840K, committed 419840K, used 58667K [0x0000000040000000, 0x0000000059a00000, 0x0000000059a00000)

J eden space 343552K, 5% used [0x0000000040000000, 0x000000004140ae68, 0x0000000054f80000)

J from space 38144K, 100% used [0x00000000574c0000, 0x0000000059a00000, 0x0000000059a00000)

J to space 38144K, 0% used [0x0000000054f80000, 0x0000000054f80000, 0x00000000574c0000)

J concurrent mark-sweep generation reserved 1677312K, committed 1677312K, used 109729K [0x0000000059a00000, 0x00000000c0000000, 0x00000000c0000000)

J concurrent-mark-sweep perm gen reserved 1048576K, committed 1048576K, used 64534K [0x00000000c0000000, 0x0000000100000000, 0x0000000100000000)

F

F [Thr 1800] Tue Feb 4 10:02:10 2014

F [Thr 1800] *** LOG => SfCJavaVm: exit hook is called. (rc = 2150)

F

F ********************************************************************************

F *** ERROR => Java node 'server0' terminated with exit code 2150.

F ***

F *** Please see section 'Java program exit codes'

F *** in SAP Note 1316652 for additional information and trouble shooting advice.

F ********************************************************************************

F

F [Thr 1800] *** LOG => exiting (exitcode 2150, retcode 1).

M [Thr 1800] CCMS: CCMS Monitoring Cleanup finished successfully.

Thanks

Aditya Roushan

dev_jstart.zip (14.3 kB)
dev_server0.zip (4.9 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

6 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Feb 18, 2014 at 04:52 AM

    Hi All,

    Sorry for delayed response.Actually I had gone on leave.I am mentioning the steps that helped me to resolve the issue (note 1827807).

    1)Create Communication user SAPJSF (if it does not not exist) with appropriate role/profile.

    2)Edit the UMEBackendConnection via the offlinecfgeditor (or via the configtool -> switch to configuration editor mode)

    3)Then navigate to: Configurations => destinations => RFC

    4)Change to edit mode then double click "Propertysheet <UMEBackendConnection>

    5) Maintain Following entries

    jco.client.ashost = <Hostname of the backend system>

    jco.client.client = <Client number of the backend system>

    jco.client.passwd = <Communications users password>

    jco.client.sysnr = <System number of the backend system>

    jco.client.user = <Commuinication user (typically SAPJSF)>

    jco.client.r3name = <SID of backend system>

    6)Restart the cluster using jcmon pf=<profile> => 10:cluster administration menu.

    Thanks to RB and other participants for their guidance.

    Thanks

    Aditya Roushan

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 04, 2014 at 11:22 AM

    Any valid information in the latest default trace ?

    Regards

    RB

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Reagan Benjamin

      Hi RB,

      Thanx a lot for the help.I checked these parameters in configtool and found it missing.I have maintained these details (for all those parameter I cud find in confgtool) however I could not find some of the parameters listed below in configtool.Plz tell me the exact path.I tried searching them using global search but I cud not 😔.I took restart again same error "SfCJavaVm: exit hook is called. (rc = 2150

      jco.destination.auth_type=CONFIGURED_USER,

      propertiesProvider=com.sap.security.core.server.destinations.provider.DestinationsProviderFrame

      jco.client.auth_type=CONFIGURED_USER

      jco.client.type=3

      jco.client.gwserv=sapgw00,

      jco.client.cpic_trace=-1

      jco.destination.peak_limit=10

      jco.client.gwhost=srmdev

      jco.destination.pool_capacity=5

      jco.destination.max_get_client_time=10000

      jco.destination.expiration_time=300000"

      Thanks

      Aditya

  • author's profile photo Former Member
    Former Member
    Posted on Feb 04, 2014 at 08:54 AM
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 04, 2014 at 09:17 PM

    Hi,

    Since you are not able to start AS Java instance, you must edit UME-ABAP connection parameters in offline mode using configtool.

    Go to Global server configuration -> services -> com.sap.security.core.ume.service

    Check these properties:

    ume.r3.connection.master.ashost

    ume.r3.connection.master.sysnr

    ume.r3.connection.master.client

    ume.r3.connection.master.user

    ume.r3.connection.master.passwd

    Unlock the user on the target ABAP stack, make sure that correct password is maintained in UME configuration.

    Finally save changes and restart AS Java.

    Good luck : )

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      Thanks for confirmation. That tells me you use ABAP user source, therefore all these properties

      ume.r3.connection.master.ashost

      ume.r3.connection.master.sysnr

      ume.r3.connection.master.client

      ume.r3.connection.master.user

      ume.r3.connection.master.passwd

      should already be available in service com.sap.security.core.ume.service

      Having said that I see some misunderstanding. Previously you wrote

      I have added the parameters and their custom value in configtool (as they were missing

      So where did you add them?

      Make sure that ume.r3.connection.master.passwd is correctly set for ume.r3.connection.master.user user .

      Make sure that this user is not locked in the ABAP source system.

      Review also remaining properties from above list.

      Alternatively you might switch ume.persistence.data_source_configuration property to dataSourceConfiguration_database_only.xml and try starting system up. As soon as it's running - switch back to dataSourceConfiguration_abap.xml in UME Configuration (host:port/useradmin).

  • Posted on Feb 06, 2014 at 12:31 PM

    Hello Aditya

    Those Jco parameters are not the ones to be manually entered in the configtool.

    com.sap.security.core.ume.service is a service under services part in the Configttol and that contains the UME configuration to the backend system.

    The problem you face is most likely due to a a bad JCO configuration.

    It was possible to modify the JCO using Visual Admin in the older version of NW systems.

    I believe you have a newer NW release system.

    In that case enable the SAP* user and restart the J2EE system.

    Once the Java stack is up then check the JCO's configured.

    Check this link

    Performing Further Configuration Steps - PI (Process Integration) - SAP Library

    Regards

    RB

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      modifying the parameter or any kind of activity not supported by SAP unless stated by SAP. If you Java is not coming then you must change required parameter in configtool. As you mentioned you have modified the parameter but still same error, hope you are modifying correct parameter.

  • author's profile photo Former Member
    Former Member
    Posted on Nov 09, 2015 at 06:06 AM

    Hi Aditya,

    If your SAP server have connection issue with LDAP server, then the UME will not work. Also, you will be facing issue while starting up SAP application.

    Regards,

    ARUN

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.