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

Hello,

Check the error below from std_server0.out:

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

Solution: Check whether the user j2ee_guest exists.

Thanks & Regards,

Vijith

Former Member
0 Kudos

i have checked and created a user name j2ee_guest in abap still same result

Former Member
0 Kudos

Hello,

assign the role SAP_J2EE_GUEST

Former Member
0 Kudos

did the same ealier while creating account no effect

now the new error is

-


stdout/stderr redirect

-


node name : server0

pid : 4472

system name : BS1

system nr. : 01

started at : Tue Jun 03 11:12:51 2008

Reserved 1610612736 (0x60000000) bytes before loading DLLs.

[Thr 5344] 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 ... 688 ms.

Loading: PoolManager ... 15 ms.

Loading: ApplicationThreadManager ... 63 ms.

Loading: ThreadManager ... 31 ms.

Loading: IpVerificationManager ... 0 ms.

Loading: ClassLoaderManager ... 16 ms.

Loading: ClusterManager ... 265 ms.

Loading: LockingManager ... 125 ms.

Loading: ConfigurationManager ... 3047 ms.

Loading: LicensingManager ... 32 ms.

Loading: CacheManager ... 203 ms.

Loading: ServiceManager ...

Loading services.:

Service DQE started. (0 ms).

Service memory started. (16 ms).

Service userstore started. (0 ms).

Service cross started. (16 ms).

Service file started. (203 ms).

Service p4 started. (172 ms).

Service timeout started. (141 ms).

Service runtimeinfo started. (32 ms).

Service cafeucc~api started. (32 ms).

Service classpath_resolver started. (172 ms).

Service trex.service started. (172 ms).

Service jmx_notification started. (78 ms).

Service deploy started. (14172 ms).

Service MigrationService started. (94 ms).

Service bimmrdeployer started. (16 ms).

Service log_configurator started. (21047 ms).

Service locking started. (0 ms).

Service naming started. (359 ms).

Service http started. (359 ms).

Service appclient started. (250 ms).

Service failover started. (297 ms).

Service javamail started. (375 ms).

Service jmsconnector started. (406 ms).

Service ts started. (297 ms).

Service cafeugpmailcf started. (234 ms).

Service licensing started. (31 ms).

Service connector started. (328 ms).

Service configuration started. (15 ms).

Service webservices started. (1000 ms).

Service iiop started. (797 ms).

Service dbpool started. (2422 ms).

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

Jun 3, 2008 11:13:29 AM ...xt.<init>(UserContextSpi, Properties) [SAPEngine_System_Thread[impl:5]_24] 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 11:13:29 AM com.sap.engine.core.Framework [SAPEngine_System_Thread[impl:5]_24] Fatal: Critical shutdown was invoked. Reason is: Core service security failed. J2EE Engine cannot be started.

former_member185954
Active Contributor
0 Kudos

Hello Bhupinder,

Check your UME policies using the config tool

as per note :

SAP Note Number: 1042418 - "No active userstore is set." after upgrade to SPS11/12

Regards,

Siddhesh

former_member185954
Active Contributor
0 Kudos

Looks like a duplicate question, i didn't notice that i have already answered this in some other question of yours and you have said that the note is not applicable to you

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Bhupinder,

Refer to this thread.

/thread/853614 [original link is broken]

Cheers,

Sandeep Tudumu

Former Member
0 Kudos

kindly check if the users J2EE_ADMIN and J2EE_Guest exists and if they are unlocked.