Skip to Content
avatar image
Former Member

JAVA does not start

On a Solution Manager the JAVA Stack does not start.

The only message I get is:

(UserContextSpi, Properties) [SAPEngine_System_Thread[impl:5]_26] 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:205)

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:83)

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

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:80)

at com.sap.engine.services.security.server.jaas.LoginModuleHelperImpl.update(LoginModuleHelperImpl.java:415)

at com.sap.engine.services.security.server.jaas.LoginModuleHelperImpl.<init>(LoginModuleHelperImpl.java:84)

at com.sap.engine.services.security.server.SecurityContextImpl.<init>(SecurityContextImpl.java:58)

at com.sap.engine.services.security.SecurityServerFrame.start(SecurityServerFrame.java:151)

Does anyone know this error?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    May 28, 2012 at 04:51 AM

    Caused by: com.sap.engine.services.security.exceptions.BaseSecurityException: No active userstore is set.

    It seems JAVA can't connect to ABAP system.

    Go to this tool: /usr/sap/<SID>/DVEBMGS<SNO>/j2ee/configtool/configtool.sh (LINUX) or configtool.bat (Windows)

    Global server configuration -> services -> com.sap.security.core***

    check this parameter:

    ume.persistence.data_source_configuration -> your data source (usually dataSourceConfiguration_abap.xml)

    ume.r3.connection.master.ashost -> your java hostname (localhost if it's local)

    ume.r3.connection.master.client -> your production client

    ume.r3.connection.master.user -> usually SAPJSF

    ume.r3.connection.master.passwd -> user password


    Then make sure the user SAPJSF exist in your production client, along with correct password.

    Then restart the JAVA cluster.

    Regards,


    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Nicholas Chang

      User was not locked but the profile of role sap_bc_jsf_communication was not generated.

      After generation of the profile and restart of java the following error appears:

      Error occurred during initialization of VM

      Could not reserve enough space for object heap

  • avatar image
    Former Member
    May 29, 2012 at 09:39 AM

    i had a same error to after restart system

    so in my solving way u should follow this steps:

    login as database user and start lsnrctl

    for example:

    for oracle database:

    ora<sid> lsnrctl start

    after that login as a sap user admin and startsap i mean;

    <sid>adm startsap

    after these steps it worked on my sytem i help it will help you too


    Add comment
    10|10000 characters needed characters exceeded