cancel
Showing results for 
Search instead for 
Did you mean: 

j2ee server failed to start

Former Member
0 Kudos

Hi My J2ee server did not start up I have tried many time even system

shutdown but still it is not coming up

The std_server0.out file contains the following data please help

Server0 always end up with exit code -11113

Please help

stdout/stderr redirect

-


-


node name : server0

pid : 4604

system name : BS1

system nr. : 01

started at : Wed May 28 16:29:05 2008

Reserved 1610612736 (0x60000000) bytes before loading DLLs.

[Thr 5240] MtxInit: -2 0 0

CompilerOracle: exclude

com/sapportals/portal/pb/layout/taglib/ContainerTag addIviewResources

CompilerOracle: exclude

com/sap/engine/services/keystore/impl/security/CodeBasedSecurityConnecto

r 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

SAP J2EE Engine Version 7.00 PatchLevel is starting...

Loading: LogManager ... 1141 ms.

Loading: PoolManager ... 16 ms.

Loading: ApplicationThreadManager ... 156 ms.

Loading: ThreadManager ... 47 ms.

Loading: IpVerificationManager ... 15 ms.

Loading: ClassLoaderManager ... 32 ms.

Loading: ClusterManager ... 469 ms.

Loading: LockingManager ... 141 ms.

Loading: ConfigurationManager ... 5344 ms.

Loading: LicensingManager ... 46 ms.

Loading: CacheManager ... 329 ms.

Loading: ServiceManager ...

Loading services.:

Service memory started. (32 ms).

Service cross started. (15 ms).

Service userstore started. (15 ms).

Service file started. (156 ms).

Service cafeucc~api started. (15 ms).

Service timeout started. (94 ms).

Service runtimeinfo started. (0 ms).

Service trex.service started. (406 ms).

Service jmx_notification started. (250 ms).

Service p4 started. (547 ms).

Service classpath_resolver started. (15 ms).

Service log_configurator started. (6063 ms).

Service locking started. (0 ms).

Service http started. (672 ms).

Service naming started. (735 ms).

Service failover started. (141 ms).

Service jmsconnector started. (250 ms).

Service appclient started. (281 ms).

Service javamail started. (562 ms).

Service ts started. (500 ms).

Service licensing started. (15 ms).

Service cafeugpmailcf started. (469 ms).

Service connector started. (812 ms).

Service webservices started. (968 ms).

Service iiop started. (672 ms).

Service deploy started. (17797 ms).

Service MigrationService started. (47 ms).

Service configuration started. (47 ms).

Service bimmrdeployer started. (31 ms).

Service dbpool started. (3750 ms).

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

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(SecurityServe

rFrame.java:179)

at

com.sap.engine.core.service630.container.ServiceRunner.startApplicationS

erviceFrame(ServiceRunner.java:211)

at

com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner

.java:142)

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:

Anonymous principal not configured

at

com.sap.engine.services.security.login.SecurityContext.setAnonymousPrinc

ipal(SecurityContext.java:513)

at

com.sap.engine.services.security.SecurityServerFrame.start(SecurityServe

rFrame.java:139)

... 5 more

Caused by: com.sap.security.core.server.userstore.UserstoreException:

Could not get user j2ee_guest

at

com.sap.security.core.server.userstore.UserContextUME.engineGetUserInfo(

UserContextUME.java:196)

at

com.sap.engine.services.security.userstore.context.UserContext.getUserIn

fo(UserContext.java:102)

at

com.sap.engine.services.security.login.SecurityContext.setAnonymousPrinc

ipal(SecurityContext.java:507)

... 6 more

Caused by: com.sap.security.api.NoSuchUserAccountException:

USER_AUTH_FAILED: User account for logonid "j2ee_guest" not found!

at

com.sap.security.core.imp.AbstractUserAccount.<init>(AbstractUserAccount

.java:364)

at

com.sap.security.core.imp.DBTextFileUserAccount.<init>(DBTextFileUserAcc

ount.java:56)

at

com.sap.security.core.imp.UserAccountFactory.getReadonlyUserAccountByLog

onId(UserAccountFactory.java:643)

at

com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(Use

rAccountFactory.java:459)

at

com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(Use

rAccountFactory.java:445)

at

com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(Use

rAccountFactory.java:693)

at

com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(Use

rAccountFactory.java:679)

at

com.sap.security.core.server.userstore.UserContextUME.engineGetUserInfo(

UserContextUME.java:192)

... 8 more

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

Unexpected exception:

at

com.sap.engine.services.security.SecurityServerFrame.start(SecurityServe

rFrame.java:179)

at

com.sap.engine.core.service630.container.ServiceRunner.startApplicationS

erviceFrame(ServiceRunner.java:211)

at

com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner

.java:142)

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:

Anonymous principal not configured

at

com.sap.engine.services.security.login.SecurityContext.setAnonymousPrinc

ipal(SecurityContext.java:513)

at

com.sap.engine.services.security.SecurityServerFrame.start(SecurityServe

rFrame.java:139)

... 5 more

Caused by: com.sap.security.core.server.userstore.UserstoreException:

Could not get user j2ee_guest

at

com.sap.security.core.server.userstore.UserContextUME.engineGetUserInfo(

UserContextUME.java:196)

at

com.sap.engine.services.security.userstore.context.UserContext.getUserIn

fo(UserContext.java:102)

at

com.sap.engine.services.security.login.SecurityContext.setAnonymousPrinc

ipal(SecurityContext.java:507)

... 6 more

Caused by: com.sap.security.api.NoSuchUserAccountException:

USER_AUTH_FAILED: User account for logonid "j2ee_guest" not found!

at

com.sap.security.core.imp.AbstractUserAccount.<init>(AbstractUserAccount

.java:364)

at

com.sap.security.core.imp.DBTextFileUserAccount.<init>(DBTextFileUserAcc

ount.java:56)

at

com.sap.security.core.imp.UserAccountFactory.getReadonlyUserAccountByLog

onId(UserAccountFactory.java:643)

at

com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(Use

rAccountFactory.java:459)

at

com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(Use

rAccountFactory.java:445)

at

com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(Use

rAccountFactory.java:693)

at

com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(Use

rAccountFactory.java:679)

at

com.sap.security.core.server.userstore.UserContextUME.engineGetUserInfo(

UserContextUME.java:192)

... 8 more

[Framework -> criticalShutdown] Core service security failed. J2EE

Engine cannot be started.

May 28, 2008 4:29:52 PM com.sap.engine.core.Framework

[SAPEngine_System_Thread[impl:5]_45] Fatal: Critical shutdown was

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

started.

Thanks & Regards,

Bhupinder Singh

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Tried both ways still same result

Former Member
0 Kudos

Bhupinder,

Try this:

Server Startup Error

Check your SAP Backend System Client (which you have specified in config tool) whether J2EE_Guest user has been created or not.If not create it manually.

Go to Transaction PFCG and edit the user roles SAP_BC_JSF_COMMUNICATION, SAP_BC_JSF_COMMUNICATION_RO and SAP_J2EE_ADMIN for users J2EE_Admin , SAPJSF if something shown in RED color,edit it , save it and restart the J2EE Server.

It should resolve your issue.

Regards,

Karthick Eswaran

Former Member
0 Kudos

Did the same now got this result in std_server0

-


stdout/stderr redirect

-


node name : server0

pid : 3472

system name : BS1

system nr. : 01

started at : Tue Jun 03 10:07:35 2008

Reserved 1610612736 (0x60000000) bytes before loading DLLs.

[Thr 6120] 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 109044.44 is starting...

Loading: LogManager ... 640 ms.

Loading: PoolManager ... 0 ms.

Loading: ApplicationThreadManager ... 94 ms.

Loading: ThreadManager ... 16 ms.

Loading: IpVerificationManager ... 15 ms.

Loading: ClassLoaderManager ... 16 ms.

Loading: ClusterManager ... 219 ms.

Loading: LockingManager ... 78 ms.

Loading: ConfigurationManager ... 2953 ms.

Loading: LicensingManager ... 31 ms.

Loading: CacheManager ... 188 ms.

Loading: ServiceManager ...

Loading services.:

Service memory started. (16 ms).

Service DQE started. (0 ms).

Service userstore started. (0 ms).

Service cross started. (15 ms).

Service file started. (187 ms).

Service timeout started. (156 ms).

Service cafeucc~api started. (94 ms).

Service runtimeinfo started. (110 ms).

Service trex.service started. (156 ms).

Service jmx_notification started. (47 ms).

Service p4 started. (359 ms).

Service classpath_resolver started. (31 ms).

Service log_configurator started. (14313 ms).

Service locking started. (0 ms).

Service http started. (485 ms).

Service naming started. (1531 ms).

Service failover started. (203 ms).

Service appclient started. (375 ms).

Service ts started. (422 ms).

Service javamail started. (531 ms).

Service licensing started. (63 ms).

Service jmsconnector started. (781 ms).

Service cafeugpmailcf started. (547 ms).

Service connector started. (640 ms).

Service webservices started. (1156 ms).

Service iiop started. (1250 ms).

Service deploy started. (18703 ms).

Service MigrationService started. (62 ms).

Service configuration started. (78 ms).

Service bimmrdeployer started. (32 ms).

Service dbpool started. (2391 ms).

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

Jun 3, 2008 10:08:09 AM ...xt.<init>(UserContextSpi, Properties) [SAPEngine_System_Thread[impl:5]_32] 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:181)

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

... 5 more

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

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

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

... 5 more

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

Jun 3, 2008 10:08:09 AM com.sap.engine.core.Framework [SAPEngine_System_Thread[impl:5]_32] Fatal: Critical shutdown was invoked. Reason is: Core service security failed. J2EE Engine cannot be started.

Former Member
0 Kudos

Bhupinder,

Check this SAP Note.

Note 1042418 - "No active userstore is set

This error is because you have given wrong value for one or more Parameter in UME settings.

Check out the note and let me know if any issues.

Regards,

Karthick Eswaran

Former Member
0 Kudos

i have tried that note but still no use i have restored all the ume setting to its default still i am facing the problem j2ee server always fail to start with exit code -11113

Former Member
0 Kudos

Bhupinder,

Have you recently tried to change UME Datasource?

If yes , Check below SAP Notes:

Note 718383 - NetWeaver: Supported UME Data Sources and Change Options

Note 810434 - J2EE does not start after switching UME persistence.

Exit code -11113 looks like it the problem with LDAP/UME Datasource connectivity issue.

Please read the last few lines of server0.log, dev_server0.log std_server0.log. Post it here , we will get a hint of is the problem.

Regards,

Karthick Eswaran

Answers (2)

Answers (2)

Former Member
0 Kudos

Hai,

The following error log mentions that -

USER_AUTH_FAILED: User account for logonid "j2ee_guest" not found! -


>

Make sure the parameter ume.login.guest_user.uniqueids in the service com.sap.security.core.ume.service is set to J2EE_GUEST and also whether the J2EE_GUEST is locked or not in the ABAP stack in the client - 001( if the ume.r3.connection.master.client is set to - 001)

Thanks and Regards,

Former Member
0 Kudos

Hi,

your problem come from the user : J2EE_GUEST and J2EE_ADMIN !

In your SAP logs you can read:

USER_AUTH_FAILED: User account for logonid "j2ee_guest" not found!

Control with the config tool which SAP client is used by the UME Engine. The default client is 001.

With your SAP Gui in transaction code SU01, you need to have the users:

J2EE_GUEST and J2EE_ADMIN.

Let's control if there aren't locked.

Best regards,

Mathieu

PS : reward points if helpful.