cancel
Showing results for 
Search instead for 
Did you mean: 

J2EE Server not starting

Former Member
0 Kudos

Hi

When system is started, J2EE server is not starting. Dispatcher and SDM is starting. Log show following error:

Thr 4608] Sun Apr 17 15:15:06 2005

[Thr 4608] JHVM_RegisterNatives: registering methods in com.sap.bc.krn.perf.PerfTimes

[Thr 4608] Sun Apr 17 15:15:07 2005

[Thr 4608] JHVM_RegisterNatives: registering methods in com.sap.bc.proj.jstartup.JStartupFramework

[Thr 4608] JLaunchISetClusterId: set cluster id 1826450

[Thr 4608] JLaunchISetState: change state from [Initial (0)] to [Waiting for start (1)]

[Thr 4608] JLaunchISetState: change state from [Waiting for start (1)] to [Starting (2)]

[Thr 5348] Sun Apr 17 15:15:23 2005

[Thr 5348] JHVM_RegisterNatives: registering methods in com.sap.mw.rfc.driver.CpicDriver

[Thr 5348] JHVM_RegisterNatives: registering methods in com.sap.i18n.cp.ConverterJNI

[Thr 4368] Sun Apr 17 15:15:25 2005

[Thr 4368] JLaunchIExitJava: exit hook is called (rc = -11113)

[Thr 4368] **********************************************************************

      • 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 4368] JLaunchCloseProgram: good bye (exitcode = -11113)

Can any body help me on this.

Thanks in advance

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hello sapbasis sapbasis,

The messages you post here are from dev_server0 probably. To get more information about the cause of the problem, please post here the content of std_server0.out in the exact moment when the server node went down. This log is really strange, once the information is from 2005! So, try to restart again the entire java cluster and provide information of file above (std_server0.out).

Regards,

Rafael

Former Member
0 Kudos

Hi following are the details found in dev_server0.out

Apr 17, 2005 3:59:47 PM ...xt.<init>(UserContextSpi, Properties) [SAPEngine_System_Thread[impl:5]_27] 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

[Framework -> criticalShutdown] Core service security failed. J2EE Engine cannot be started.

Apr 17, 2005 3:59:47 PM com.sap.engine.core.Framework [SAPEngine_System_Thread[impl:5]_27] Fatal: Critical shutdown was invoked. Reason is: Core service security failed. J2EE Engine cannot be started.

Former Member
0 Kudos

Hello,

Just to make sure you have all required SDAs, redeploy the following using SDM - Choose upgrade regardless of any version (you can choose options when you click on the little triangle button at the bottom right which shows 3 options then. Select option 3)

- SAPJEECOR*.SCA

Also, check Note 718383

You should also make sure that the communication user, SAPJSF

has the correct authorizations. This is also explained in the above.

You should make sure that you can logon to the R/3 with both SAPJSF

and J2EE_ADMIN.

Finally, you should check that the appropriate settings are in place

for the R3 in the propertysheet com.sap.security.core.ume.service

and also in the Secure Store area of the ConfigTool.

Please also check the help page below:

http://help.sap.com/saphelp_nw04/helpdata/en/49/9dd53f779c4e21e10000000a

1550b0/content.htm

Hope the above helps.

REgards,

Snehal

Former Member
0 Kudos

Thanks snehal for your inputs. I will check the things as per your suggestion and will give you feedback

Thanks once again

Former Member
0 Kudos

Hi snehal

Can you please tell me from where can i download SCA fils for deployment.

Thanks

Former Member
0 Kudos

If you just upgraded/updated your system, then you should find this SCA in usr\trans\EPS\in directory.

Else, you could download it from http:
service.sap.com

Goto download link and search for this particular SCA. You will get multiple hits. Download the one which is right for your SP/Version.

Regards,

Snehal

Former Member
0 Kudos

is it ABAP+JAVA stack?

or only JAVA stack if yes -

you must have made few changes in UME settings

please correct the entries in config tool and try restrating the server

Samrat

Former Member
0 Kudos

Hi samrat

Its ABAP + JAVA stack.

How to check UME settings

Former Member
0 Kudos

are you applying any patches?

please check if there are any aborted patches in ABAP stack

UME setting can be checked in config tool UME LDAP data

please let us know wht are setting in that place

Samrat

Former Member
0 Kudos

check the note 940893

Former Member
0 Kudos

Hi

As I mentioned it was working earlier and neither I was applying patches and nor there are any aborted patches.

Former Member
0 Kudos

UME Setting is as :

Configuration File :

datasourceconfiguration_database_only.xml

Other fields are empty.

Former Member
0 Kudos

in my ABAP+JAVA (04s) system it is

datasourceconfiguration_abap.xml

is it netweaver 04 system or 04s system

also please check user SAPJSF user in abap system if it got locked

Samrat