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/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

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(SecurityServerFrame.java:179)

at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(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.setAnonymousPrincipal(SecurityContext.java:513)

at com.sap.engine.services.security.SecurityServerFrame.start(SecurityServerFrame.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.getUserInfo(UserContext.java:102)

at com.sap.engine.services.security.login.SecurityContext.setAnonymousPrincipal(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>(DBTextFileUserAccount.java:56)

at com.sap.security.core.imp.UserAccountFactory.getReadonlyUserAccountByLogonId(UserAccountFactory.java:643)

at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:459)

at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:445)

at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:693)

at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.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(SecurityServerFrame.java:179)

at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(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.setAnonymousPrincipal(SecurityContext.java:513)

at com.sap.engine.services.security.SecurityServerFrame.start(SecurityServerFrame.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.getUserInfo(UserContext.java:102)

at com.sap.engine.services.security.login.SecurityContext.setAnonymousPrincipal(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>(DBTextFileUserAccount.java:56)

at com.sap.security.core.imp.UserAccountFactory.getReadonlyUserAccountByLogonId(UserAccountFactory.java:643)

at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:459)

at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:445)

at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:693)

at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.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

Hi,

Go to the configtool. C:\usr\sap\<SID>\JC<xx>\j2ee\configtool

Run the configtool.bat file.

Global server configuration> services> com.sap.security.core.ume.service

Change the property ume.persistence.data_source_configuration to dataSourceConfiguration_database_only.xml

Restart the instance. It will come up.. Any queries revert back.

Regards,

Nayana

Former Member
0 Kudos

it is already database only but i still changed still no result

former_member185954
Active Contributor
0 Kudos

duplicate question

Former Member
0 Kudos

Hi

Have you checked SAP note 956867 mentioned above ??

Rahul

Answers (3)

Answers (3)

Former Member
0 Kudos

Hello,

In the configtool, navigate to cluster-data>server>cfg->services>propertysheet-->con.sap.security.core.ume.service

Over here, check for the field guest_user.uniqueids.

Check for the user name here & check if this user exists in the R/3 backend.

The guest user needs to be present with role"sap_j2ee_admin".

Hope this helps.

Regards,Prasanna

Former Member
0 Kudos

i did what u say but still no result

Former Member
0 Kudos

Hello ,

Please check the following SAPNOTE#956867 for USER_AUTH_FAILED.

IF your installation is a double stack one , then check if the role SAP_J2EE_ADMIN is assigned to "j2ee_admin" user.

Regards,Prasanna

Former Member
0 Kudos

Hi,

Go to Configtool

/usr/sap/<SID>/JCxx/j2ee/configtool

Then Navigate to

Global Server configuration-----services----com.sap.security.core.ume.service

Here it could be possible,that the login user details could be changes.

So,restore all the values to "Default"

You can see this option on the right hand side.

Save and restart.

It worked for us once.

Regards

Usha

Former Member
0 Kudos

i did what u say but still no result

JPReyes
Active Contributor
0 Kudos

Seems like a problem with the UME user store.. j2ee_guest seems to be missing or just wasnt created

NoSuchUserAccountException: USER_AUTH_FAILED: User account for logonid "j2ee_guest"

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

Read,

http://help.sap.com/saphelp_nw04/helpdata/en/22/2ca0856c9d0c41beae4dcbeba6f0dc/content.htm

Regards

Juan