Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

J2EE Critical shutdown with exit code 2150

Hi Guys.

Im facing an odd issue while running a Netweaver 7.3 PI JAVA+ABAP under a Microsoft Windows Clustered System

The whole installation ended successfully without errors, from First Cluster Node thru Additional Application  Server

Nodes names are sb-pipro2 and sb-pipro1

DVEBMGS20 is on sb-pipro1

D20 is on sb-pipro2

After being able to login to NWA, I have installed licenses for both hardware keys, but as you can see on the screen for sb-pipro1 Hardware Key P106921719 is shown as invalid while for sb-pipro2 is valid.

The main issues happens when starting J2EE,

When i move the SAP Instance to Node #2 (valid license) it starts succesfully, but when i move SAP to the Node #1 it shows Exit Code 2150, as you can see on the bottom of the log.

Anyone else experienced this kind of issue? System is currently at SPS7 of Netweaver 7.3

Thanks!

Node #2

Node #1

Log from Node #1

AS Java version [7.30.3710.182851.20120417060734NW730CORE_07_REL] is starting server process [ID203251350] on host [SB-PIPRO1.SINERGIUM.LOCAL] ...

Loading [LogManager]... [112] ms

Loading [PoolManager]... [4] ms

Loading [ApplicationThreadManager]... 2.746: [GC 2.746: [ParNew: 343552K->3612K(381696K), 0.0096572 secs] 343559K->3620K(2059008K), 0.0097992 secs] [Times: user=0.00 sys=0.00, real=0.01 secs]

[116] ms

Loading [ThreadManager]... [24] ms

Loading [ClassLoaderManager]... [27] ms

Loading [ClusterManager]... [325] ms

Loading [LockingManager]... [145] ms

Loading [ConfigurationManager]... [3288] ms

Loading [CacheManager]... [344] ms

Loading [DatabaseManager]... [697] ms

Loading [SessionManager]... [533] ms

Loading [LicensingManager]... [41] ms

Loading [ServiceManager]...

8.558: [GC 8.558: [ParNew: 347164K->17676K(381696K), 0.0326852 secs] 347233K->17745K(2059008K), 0.0328795 secs] [Times: user=0.19 sys=0.03, real=0.03 secs]

Initialize components for : 314 ms.

Resolve components for : 39 ms.

Load components for 3580 ms.

Loading services.

Calculate startup service set for 1833 ms.

  Service [security.destination.facade] started. [11] ms / [0] CPU ms

  Service [tc~je~security~api] started. [10] ms / [0] CPU ms

  Service [tc~je~mngt_model~srv] started. [12] ms / [0] CPU ms

  Service [tc~je~cross~api] started. [11] ms / [0] CPU ms

  Service [engine.dsr.facade] started. [10] ms / [0] CPU ms

  Service [tc~je~content~classification~handler] started. [5] ms / [0] CPU ms

  Service [tc~je~sca~ws.plugin] started. [5] ms / [0] CPU ms

  Service [tc~esi~uddi~content~handler] started. [9] ms / [0] CPU ms

  Service [webservices] started. [9] ms / [0] CPU ms

  Service [engine.lm.log.facade] started. [9] ms / [0] CPU ms

  Service [r3startup] started. [9] ms / [0] CPU ms

  Service [tc~je~sca~jco.plugin] started. [26] ms / [0] CPU ms

  Service [cluster] started. [16] ms / [0] CPU ms

  Service [runtimeinfo] started. [34] ms / [15] CPU ms

  Service [memory] started. [160] ms / [46] CPU ms

  Service [jmx_notification] started. [164] ms / [46] CPU ms

  Service [timeout] started. [178] ms / [31] CPU ms

  Service [userstore] started. [161] ms / [46] CPU ms

  Service [log_configurator] started. [272] ms / [171] CPU ms

  Service [cross] started. [271] ms / [62] CPU ms

  Service [locking] started. [26] ms / [0] CPU ms

  Service [tc~bl~accounting_infra~srv] started. [519] ms / [109] CPU ms

  Service [tc~sec~destinations~provider] started. [572] ms / [187] CPU ms

  Service [p4] started. [305] ms / [171] CPU ms

  Service [msp] started. [16] ms / [15] CPU ms

  Service [classload] started. [2] ms / [0] CPU ms

  Service [classload.facade] started. [1] ms / [0] CPU ms

  Service [classpath_resolver] started. [44] ms / [15] CPU ms

15.091: [GC 15.091: [ParNew: 361228K->38144K(381696K), 0.0612162 secs] 361316K->43327K(2059008K), 0.0614223 secs] [Times: user=0.30 sys=0.01, real=0.06 secs]

  Service [http] started. [584] ms / [358] CPU ms

  Service [naming] started. [587] ms / [405] CPU ms

  Service [tc~je~sca~ejb.plugin] started. [3] ms / [0] CPU ms

  Service [file] started. [8] ms / [0] CPU ms

  Service [objectanalyzing] started. [31] ms / [31] CPU ms

  Service [javamail] started. [170] ms / [62] CPU ms

  Service [connector] started. [199] ms / [93] CPU ms

  Service [library_container] started. [41] ms / [31] CPU ms

  Service [schemaprocessor~srv] started. [2281] ms / [1341] CPU ms

  Service [tc~je~sca~integration] started. [2477] ms / [2012] CPU ms

  Service [deploy] started. [3007] ms / [624] CPU ms

  Service [deploy.facade] started. [0] ms / [0] CPU ms

  Service [metadatarepository] started. [16] ms / [0] CPU ms

  Service [MigrationService] started. [32] ms / [15] CPU ms

  Service [engine.migration.facade] started. [0] ms / [0] CPU ms

  Service [engine.migservice.facade] started. [1] ms / [0] CPU ms

  Service [orpersistence] started. [52] ms / [31] CPU ms

18.583: [GC 18.583: [ParNew: 381696K->38144K(381696K), 0.1834426 secs] 387632K->77740K(2059008K), 0.1836207 secs] [Times: user=0.83 sys=0.08, real=0.18 secs]

  Service [dbpool] started. [1719] ms / [561] CPU ms

  Service [dbpool.facade] started. [0] ms / [0] CPU ms

  Service [tc~je~dbcontainer~srv] started. [57] ms / [0] CPU ms

  Service [ts] started. [76] ms / [78] CPU ms

  Service [licensing] started. [5] ms / [0] CPU ms

  Service [engine.license.facade] started. [0] ms / [0] CPU ms

  Service [tc~je~cachemgmt~srv] started. [544] ms / [265] CPU ms

  Service [tc~lm~nzdm~crrsrv] started. [2640] ms / [2074] CPU ms

  Service [com.sap.security.core.ume.service] start ================= ERROR =================

  CSN Component [BC-JAS-SEC-UME], DC Name [sap.com/com.sap.security.core.ume.service]

com.sap.engine.frame.ServiceException: Start of UME service failed. Check help topic "Start of UME Service Failed". Technical details: com.sap.conn.jco.JCoException: (103) JCO_ERROR_LOGON_FAILURE: Logon not possible (error in license check) on localhost sysnr 20

    at com.sap.security.core.server.ume.service.UMEServiceFrame.start(UMEServiceFrame.java:465)

    at com.sap.engine.frame.ApplicationFrameAdaptor.start(ApplicationFrameAdaptor.java:31)

    at com.sap.engine.core.service630.container.ServiceRunner.startFrame(ServiceRunner.java:165)

    at com.sap.engine.core.service630.container.ServiceRunner.startService(ServiceRunner.java:118)

    at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:65)

    at com.sap.engine.frame.core.thread.Task.run(Task.java:73)

    at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:178)

    at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:316)

Caused by: com.sap.security.core.persistence.datasource.PersistenceException: com.sap.conn.jco.JCoException: (103) JCO_ERROR_LOGON_FAILURE: Logon not possible (error in license check) on localhost sysnr 20

    at com.sap.security.core.persistence.imp.PrincipalDatabagFactoryInstance.<init>(PrincipalDatabagFactoryInstance.java:675)

    at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.getNewInstance(PrincipalDatabagFactory.java:205)

    at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.newInstance(PrincipalDatabagFactory.java:155)

    at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.newInstance(PrincipalDatabagFactory.java:217)

    at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.getInstance(PrincipalDatabagFactory.java:141)

    at com.sap.security.core.persistence.imp.PrincipalDatabagFactory.getInstance(PrincipalDatabagFactory.java:96)

    at com.sap.security.core.InternalUMFactory.initializeUME(InternalUMFactory.java:211)

    at com.sap.security.core.server.ume.service.UMEServiceFrame.start(UMEServiceFrame.java:288)

    ... 7 more

Caused by: com.sap.security.core.persistence.datasource.PersistenceException: com.sap.conn.jco.JCoException: (103) JCO_ERROR_LOGON_FAILURE: Logon not possible (error in license check) on localhost sysnr 20

    at com.sap.security.core.persistence.datasource.imp.R3PersistenceBase.newPersistenceException(R3PersistenceBase.java:220)

    at com.sap.security.core.persistence.datasource.imp.R3PersistenceBase.init(R3PersistenceBase.java:504)

    at com.sap.security.core.persistence.imp.PrincipalDatabagFactoryInstance.<init>(PrincipalDatabagFactoryInstance.java:526)

    ... 14 more

Caused by: com.sap.conn.jco.JCoException: (103) JCO_ERROR_LOGON_FAILURE: Logon not possible (error in license check) on localhost sysnr 20

    at com.sap.security.core.persistence.datasource.imp.r3persistence.R3JCo700Proxy$Client700.getAttributes(R3JCo700Proxy.java:350)

    at com.sap.security.core.persistence.datasource.imp.R3PersistenceBase.doInitRfc(R3PersistenceBase.java:717)

    at com.sap.security.core.persistence.datasource.imp.R3Persistence.localInitialization(R3Persistence.java:257)

    at com.sap.security.core.persistence.datasource.imp.R3PersistenceBase.init(R3PersistenceBase.java:483)

    ... 15 more

Caused by: com.sap.conn.jco.JCoException: (103) JCO_ERROR_LOGON_FAILURE: Logon not possible (error in license check) on localhost sysnr 20

    at com.sap.conn.jco.rt.MiddlewareJavaRfc.generateJCoException(MiddlewareJavaRfc.java:660)

    at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcClient.connect(MiddlewareJavaRfc.java:1359)

    at com.sap.conn.jco.rt.ClientConnection.connect(ClientConnection.java:736)

    at com.sap.conn.jco.rt.PoolingFactory.init(PoolingFactory.java:107)

    at com.sap.conn.jco.rt.ConnectionManager.createFactory(ConnectionManager.java:288)

    at com.sap.conn.jco.rt.DefaultConnectionManager.createFactory(DefaultConnectionManager.java:46)

    at com.sap.conn.jco.rt.ConnectionManager.getFactory(ConnectionManager.java:275)

    at com.sap.conn.jco.rt.RfcDestination.initialize(RfcDestination.java:747)

    at com.sap.conn.jco.rt.RfcDestination.getAttributes(RfcDestination.java:479)

    at com.sap.conn.jco.rt.RfcDestination.getAttributes(RfcDestination.java:29)

    at com.sap.security.core.persistence.datasource.imp.r3persistence.R3JCo700Proxy$Client700.getAttributes(R3JCo700Proxy.java:347)

    ... 18 more

Caused by: RfcException: [null]

    message: Logon not possible (error in license check) on localhost sysnr 20

    Return code: RFC_SYS_EXCEPTION(3)

    error group: 103

    key: RFC_ERROR_LOGON_FAILURE

    at com.sap.conn.rfc.api.RfcApi.RfcOpen(RfcApi.java:219)

    at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcClient.connect(MiddlewareJavaRfc.java:1326)

    ... 27 more

Caused by: RfcException: [PIP|SB-PIPRO1]

    message: Logon not possible (error in license check)

    Return code: RFC_SYS_EXCEPTION(3)

    error group: 104

    key: RFC_ERROR_SYSTEM_FAILURE

    message class: 00

    message number: 179

Exception raised by PIP|SB-PIPRO1

    at com.sap.conn.rfc.engine.RfcIoOpenCntl.RfcReceive(RfcIoOpenCntl.java:2034)

    at com.sap.conn.rfc.api.RfcApi.RfcOpen(RfcApi.java:187)

    ... 28 more

Caused by: com.sap.conn.rfc.exceptions.RfcGetException: Logon not possible (error in license check)

    at com.sap.conn.rfc.engine.RfcImp.ab_rfcerror(RfcImp.java:1157)

    at com.sap.conn.rfc.engine.RfcGet.rfcget_run(RfcGet.java:131)

    at com.sap.conn.rfc.engine.RfcGet.ab_rfcget(RfcGet.java:23)

    at com.sap.conn.rfc.engine.RfcRcv.ab_rfcreceive(RfcRcv.java:33)

    at com.sap.conn.rfc.engine.RfcIoOpenCntl.RfcReceive(RfcIoOpenCntl.java:1981)

    ... 29 more

FATAL: Critical shutdown with exit code [2150] was requested due to [AS Java cannot be started; core service [com.sap.security.core.ume.service] failed to start]

Heap

Tags:
replied

Hi Nicholas

The only way to apply the license was using new program saplikey which allow me to apply digital licenses.

After that no more license errors during start-up

Regards!

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question