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

Java Server0 failing - rc = -11113

Hi

We have installed SCM 5.0 with the ABAP+Java stack, i noticed that the java stack was not running, and when i checked the std_server0.out file, it was giving an error saying user/password was incorrect for user SAPJSF, I reset the password for user SAPJSF in SU01 and reset the password to match in the config tool global server :

ume.r3.connection.master.passwd

That appears to have cleared that error, now when I start Java, the server0 its erroring in dev_server0 :

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

[Thr 5996] **********************************************************************

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

Looking in the std_server0.out file, there are 2 errors :

Service com.sap.security.core.ume.service started. (1250 ms).

Jul 10, 2007 12:19:51... ...xt.<init>(UserContextSpi, Properties) [SAPEngine_System_Thread[impl:5]_16] Fatal: <b>Can not instantiate UserContext with given properties.</b> 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: <b>No active userstore is set.</b>

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

Here is the full std_server0.out file :

-


stdout/stderr redirect

-


node name : server0

pid : 3728

system name : ***

system nr. : 00

started at : Tue Jul 10 12:19:42 2007

[Thr 2760] MtxInit: -2 0 0

CompilerOracle: exclude com/sapportals/portal/pb/layout/taglib/ContainerTag addIviewResources

CompilerOracle: exclude com/sap/engine/services/keystore/impl/security/CodeBasedSecurityConnector getApplicationDomain

CompilerOracle: exclude com/sap/engine/services/rmi_p4/P4StubSkeletonGenerator generateStub

CompilerOracle: exclude com/sapportals/portal/prt/util/StringUtils escapeToJS

CompilerOracle: exclude com/sapportals/portal/prt/core/broker/PortalServiceItem startServices

CompilerOracle: exclude com/sap/engine/services/webservices/server/deploy/WSConfigurationHandler downloadFile

CompilerOracle: exclude com/sapportals/portal/prt/jndisupport/util/AbstractHierarchicalContext lookup

CompilerOracle: exclude com/sapportals/portal/navigation/cache/CacheNavigationNode getAttributeValue

CompilerOracle: exclude com/sapportals/portal/navigation/TopLevelNavigationiView PrintNode

CompilerOracle: exclude com/sapportals/wcm/service/ice/wcm/ICEPropertiesCoder encode

CompilerOracle: exclude com/sap/lcr/pers/delta/importing/ObjectLoader loadObjects

CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/InstanceBuilder readElement

CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/InstanceBuilder readSequence

CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/TypeMappingImpl initializeRelations

CompilerOracle: exclude com/sap/engine/services/webservices/jaxrpc/encoding/GeneratedComplexType _loadInto

SAP J2EE Engine Version 7.00 PatchLevel is starting...

Loading: LogManager ... 313 ms.

Loading: PoolManager ... 0 ms.

Loading: ApplicationThreadManager ... 47 ms.

Loading: ThreadManager ... 16 ms.

Loading: IpVerificationManager ... 15 ms.

Loading: ClassLoaderManager ... 0 ms.

Loading: ClusterManager ... 110 ms.

Loading: LockingManager ... 47 ms.

Loading: ConfigurationManager ... 1140 ms.

Loading: LicensingManager ... 16 ms.

Loading: CacheManager ... 78 ms.

Loading: ServiceManager ...

Loading services.:

Service cross started. (16 ms).

Service memory started. (31 ms).

Service runtimeinfo started. (16 ms).

Service file started. (93 ms).

Service timeout started. (31 ms).

Service userstore started. (62 ms).

Service trex.service started. (109 ms).

Service jmx_notification started. (78 ms).

Service p4 started. (172 ms).

Service classpath_resolver started. (16 ms).

Service deploy started. (2312 ms).

Service MigrationService started. (32 ms).

Service bimmrdeployer started. (16 ms).

Service log_configurator started. (2578 ms).

Service locking started. (0 ms).

Service http started. (109 ms).

Service naming started. (157 ms).

Service failover started. (31 ms).

Service appclient started. (31 ms).

Service javamail started. (46 ms).

Service ts started. (46 ms).

Service jmsconnector started. (46 ms).

Service licensing started. (0 ms).

Service connector started. (94 ms).

Service iiop started. (78 ms).

Service configuration started. (16 ms).

Service webservices started. (281 ms).

Service dbpool started. (562 ms).

Service com.sap.security.core.ume.service started. (1250 ms).

Jul 10, 2007 12:19:51... ...xt.<init>(UserContextSpi, Properties) [SAPEngine_System_Thread[impl:5]_16] 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.

Jul 10, 2007 12:19:51... com.sap.engine.core.Framework [SAPEngine_System_Thread[impl:5]_16] Fatal: Critical shutdown was invoked. Reason is: Core service security failed. J2EE Engine cannot be started.

Anywhere else I can get more info on the error ?

Any help appreciated.

Add a comment
10|10000 characters needed characters exceeded

Related questions

5 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jul 10, 2007 at 02:09 PM

    Hi Jafer

    Thanks for the response.

    Its really strange, the users :

    J2EE_ADMIN - should have role SAP_J2EE_ADMIN.

    J2EE_GUEST - should have role SAP_J2EE_GUEST

    did not exist in the ABAP system, so I have created them with the roles above and passwords used during install , now Java works fine and starts ok.

    This system was only built 2 weeks ago and we patched it straight after, i've just reviewed the install documents and we were asked for the passwords for administration (J2EE_ADMIN) and communication (SAPJSF) user passwords as part of the install; so why they were not created I've got no idea, the install worked ok, unless the patching removed them, i've checked SUIM and there is no history for this users being changed.

    The SCM team are not using Java as I only noticed the problem by trying to logon Java and look at the system info.

    Paul.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 10, 2007 at 01:23 PM

    Hello ecnirp,

    -> Check that users J2EE_ADMIN, J2EE_GUEST and SAPJSF are not locked

    ( SU01 and Visual Administrator).

    -> Also Look at the 'defaultTrace' trace files under:

    /usr/sap/<your SID>/DVEBMGS<nr>/j2ee/cluster/server0/log

    Check permission of all the 3 usrs,

    J2EE_ADMIN - should have role SAP_J2EE_ADMIN.

    J2EE_GUEST - should have role SAP_J2EE_GUEST

    SAPJSF - should have role SAP_BC_JSF_COMMUNICATION_RO

    Regards,

    Jafer

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 11, 2007 at 09:41 AM

    Hi!

    Also keep in mind the client in ABAP where the Java stack is checking the users.

    Regards,

    Fermí

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 11, 2007 at 05:13 PM

    Hi,

    Have u resolved the issue? Do u need any help on the same

    regards,

    Anand

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 12, 2007 at 08:54 AM

    Hi Anand

    Java Instance is now up and running after creating the users J2EE_ADMIN and J2EE_GUEST, so I set the post as answered.

    The only thing I am still not sure on is why the J2EE_ADMIN and J2EE_GUEST were not created as part of the install, I have reviewed the install document I created with the screen shots from SAPINST and it asked me to enter passwords for these users, which I did, so I presumed these users would be created in the install as with my previous NW04 installs, but this is my first SCM 5.0 on NW04S, so maybe its changed on NW04S ?

    I Patched ABAP to SP Stack 10 and used JSPM to patch from 9.2 to 10.1 straight after the install.

    Its only when I created users J2EE_ADMIN and J2EE_GUEST with the correct roles assigned that Java started correctly.

    Looking at the SAP Help supplied above, it says that dependant on type of install, different JAVA users are created, but I installed ABAP + JAVA, so I think these users should be created.

    Paul.

    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.