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

Sap Java instance not coming up after system refresh

Hello All,

Our Q system has ABAP and Java and ABAP has come up normally but not Java one. All the users like j2ee_admiin, j2ee_guest, sapjsf etc are fine.

Here is the tracefile:

#1.#001279B38D2B000E00000008000048380004D70AA8CBBD0A#1362340688412#com.sap.engine.services.security##com.sap.engine.services.security#######SAPEngine_System_Thread[impl:5]_47##0#0#Error#1#/System/Audit#Java###Exception {0}#1#com.sap.engine.services.security.exceptions.SecurityServiceException: Unexpected exception:

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

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

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

... 5 more

#

#1.#001279B38D2B000E0000000A000048380004D70AA8CBD05E#1362340688416#com.sap.engine.core.service630.container.ServiceRunner##com.sap.engine.core.service630.container.ServiceRunner#######SAPEngine_System_Thread[impl:5]_47##0#0#Error#1#/System/Server#Plain###Service security error. Nested exception is: com.sap.engine.services.security.exceptions.SecurityServiceException: Unexpected exception:

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

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

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

... 5 more

#

#1.#001279B38D2B000E0000000C000048380004D70AA8CBD4CF#1362340688417#com.sap.engine.core.service630.container.ServiceRunner##com.sap.engine.core.service630.container.ServiceRunner#######SAPEngine_System_Thread[impl:5]_47##0#0#Error#1#/System/Server#Java###Core service security failed. J2EE Engine cannot be started.

[EXCEPTION]

{0}#1#com.sap.engine.services.security.exceptions.SecurityServiceException: Unexpected exception:

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

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

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

... 5 more

#

#1.#001279B38D2B000E0000000E000048380004D70AA8CBD9A2#1362340688419#com.sap.engine.core.Framework##com.sap.engine.core.Framework#######SAPEngine_System_Thread[impl:5]_47##0#0#Fatal#1#/System/Server/Critical#Plain###Critical shutdown was invoked. Reason is: Core service security failed. J2EE Engine cannot be started.#

<b> std_server0.out log </b>

--------------------------------------------------------------------------------

stdout/stderr redirect

--------------------------------------------------------------------------------

node name : server0

pid : 2555

system name : BQN

system nr. : 51

started at : Sun Mar 3 14:57:20 2013

[Thr 01] MtxInit: 10001 0 2

(CompilerOracle read from file /sapmnt/BQN/exe/jvm/hpia64/sapjvm_4.1.023/sapjvm_4/jre/.hotspot_compiler)

SAP J2EE Engine Version 7.01 PatchLevel 75592. is starting...

Loading: LogManager ... 2527 ms.

Loading: PoolManager ... 19 ms.

Loading: ApplicationThreadManager ... 6.396: [GC 6.396: [ParNew: 409600K->3189K(512000K), 0.0409202 secs] 409600K->3189K(19947

52K), 0.0414696 secs] [Times: user=0.17 sys=0.01, real=0.04 secs]

722 ms.

Loading: ThreadManager ... 135 ms.

Loading: IpVerificationManager ... 16 ms.

Loading: ClassLoaderManager ... 137 ms.

Loading: ClusterManager ... 504 ms.

Loading: LockingManager ... 165 ms.

Loading: ConfigurationManager ... 4727 ms.

Loading: LicensingManager ... 171 ms.

Loading: CacheManager ... 224 ms.

Loading: ServiceManager ...

Loading services.:

Service DQE started. (1 ms).

Service memory started. (78 ms).

Service cross started. (122 ms).

Service file started. (218 ms).

Service caf~eu~odi~mnuacc started. (4 ms).

Service runtimeinfo started. (95 ms).

Service timeout started. (154 ms).

Service trex.service started. (238 ms).

Service caf~eu~cc~api started. (499 ms).

Service p4 started. (546 ms).

Service userstore started. (74 ms).

Service classpath_resolver started. (136 ms).

Service jmx_notification started. (120 ms).

23.397: [GC 23.397: [ParNew: 412789K->19905K(512000K), 0.0897167 secs] 412789K->19905K(1994752K), 0.0902025 secs] [Times: user

=0.44 sys=0.01, real=0.09 secs]

29.823: [GC 29.823: [ParNew: 429505K->26042K(512000K), 0.0720009 secs] 429505K->26042K(1994752K), 0.0723633 secs] [Times: user

=0.45 sys=0.00, real=0.08 secs]

Service log_configurator started. (11615 ms).

Service locking started. (11 ms).

Service http started. (408 ms).

Service naming started. (1255 ms).

Service failover started. (102 ms).

Service licensing started. (92 ms).

Service appclient started. (114 ms).

Service javamail started. (217 ms).

Service jmsconnector started. (233 ms).

Service ts started. (280 ms).

Service connector started. (294 ms).

Service iiop started. (286 ms).

Service deploy started. (15980 ms).

Service com.sap.portal.runtime.config.kmreadonly started. (7 ms).

Service MigrationService started. (64 ms).

Service configuration started. (118 ms).

Service bi~mmr~deployer started. (10 ms).

Service dbpool started. (3371 ms).

Service UT started. (21 ms).

Service caf~eu~gp~mail~cf started. (130 ms).

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

Mar 3, 2013 2:58:08 PM ...xt.<init>(UserContextSpi, Properties) [SAPEngine_System_Thread[impl:5]_47] Fatal: Can not instanti

ate 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:194)

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

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

... 5 more

com.sap.engine.services.security.exceptions.SecurityServiceException: Unexpected exception:

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

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

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

... 5 more

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

Mar 3, 2013 2:58:08 PM com.sap.engine.core.Framework [SAPEngine_System_Thread[impl:5]_47] Fatal: Critical shutdow

n was invoked. Reason is: Core service security failed. J2EE Engine cannot be started.

Heap

par new generation reserved 614400K, committed 614400K, used 304855K [0x0000000000010000, 0x0000000025810000, 0x00000000258

10000)

eden space 409600K, 68% used [0x0000000000010000, 0x0000000011057240, 0x0000000019010000)

from space 102400K, 25% used [0x000000001f410000, 0x0000000020d7e9f0, 0x0000000025810000)

to space 102400K, 0% used [0x0000000019010000, 0x0000000019010000, 0x000000001f410000)

concurrent mark-sweep generation reserved 1482752K, committed 1482752K, used 0K [0x0000000025810000, 0x0000000080010000, 0x00

00000080010000)

concurrent-mark-sweep perm gen reserved 524288K, committed 524288K, used 40910K [0x0000000080010000, 0x00000000a0010000, 0x00

000000a0010000)

PLEASE SUGGEST ME AS EARLY AS POSSIBLE.. Thank you all

Add a comment
10|10000 characters needed characters exceeded

Related questions

5 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Mar 04, 2013 at 11:31 PM

    The UME of AS JAVA is probably still pointing to production AS ABAP or in case you used localhost it is using the credentials of the SAPJSF user in production AS ABAP. Anyway, re-configure the UME and if required adjust SAPJSF authorizations, password, etc. on AS ABAP.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 05, 2013 at 01:28 AM

    Hi,

    Please see the followings for the solution:

    http://scn.sap.com/thread/19290

    http://scn.sap.com/thread/898277

    http://scn.sap.com/thread/1179414

    Regards,

    Shahab

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 05, 2013 at 05:05 AM

    Hi,

    The UME is still pointing to the Source System, re-configure the UME and also adjust SAPJSF authorizations(change password).

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

    You can use configtool to fix this problem

    http://help.sap.com/saphelp_nw04s/helpdata/en/20/361941edd5ef23e10000000a155106/frameset.htm

    Also have a look into the following parameters

    ume.r3.connection.master.client -

    ume.r3.connection.master.user -

    ume.r3.connection.master.passwrd

    ume.r3.connection.master.ashost

    ume.r3.connection.master.sysnr

    ume.persistence.data_source_configuration

    Regards,

    Sandeep

    Message was edited by: Sandeep Singh DeviSingh

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Mar 05, 2013 at 05:31 AM

    Hi,

    In addition to Sandeep, please open the config tool -> secstore data and update the password for SAPSR3DB as well as SAPJSF or J2EE_ADMIN or Administrator users.

    Then try to restart and check whether it resolves the issue.

    If not, please attach the latest log for further analysis.

    Thanks and Regards,

    Vimal

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Mar 05, 2013 at 06:21 AM

    Hi Basis,

    1. logon to configtool

    2. select the com.sap.security.core.ume.service

    check the host and also the below parameters suggested by sandeep

    ume.r3.connection.master.client -

    ume.r3.connection.master.user -

    ume.r3.connection.master.passwrd

    ume.r3.connection.master.ashost

    ume.r3.connection.master.sysnr

    ume.persistence.data_source_configuration

    With Regards

    Ashutosh Chaturvedi

    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.