Anonymous principal
Dear All,
I am getting the following exception when my J2EE is starting up. Can anyone give me a hint as to what may have gone wrong? This happened in the process of setting up SLD for XI.
com.sap.engine.services.security.BasesecurityException: Anonymous prinicipal not configured!!
Thanks in Advance/Farshad
I am getting the same error in my console log, right after a fresh install of J2EE Add-in to my central instance. It's a unicode installation in preparation for XI installation too, and the version of the J2EE Engine is 6.30. Please kindly help in deciphering this error:
service security ================= ERROR =================
CORE SERVICE ERROR! security
com.sap.engine.services.security.exceptions.SecurityServiceException: Unexpected exception:
at com.sap.engine.services.security.SecurityServerFrame.start(SecurityServerFrame.java:162)
at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(ServiceRunner.java:144)
at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:107)
at com.sap.engine.core.thread.impl4.SingleThread.execute(SingleThread.java:86)
at com.sap.engine.core.thread.impl4.SingleThread.run(SingleThread.java:140)
Caused by: com.sap.engine.services.security.exceptions.BaseSecurityException: Anonymous principal not cofnigured!!
at com.sap.engine.services.security.login.SecurityContext.setAnonymousPrincipal(SecurityContext.java:345)
at com.sap.engine.services.security.SecurityServerFrame.start(SecurityServerFrame.java:129)
... 4 more
caused by -
com.sap.engine.services.security.exceptions.BaseSecurityException: Anonymous principal not cofnigured!!
at com.sap.engine.services.security.login.SecurityContext.setAnonymousPrincipal(SecurityContext.java:345)
at com.sap.engine.services.security.SecurityServerFrame.start(SecurityServerFrame.java:129)
at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(ServiceRunner.java:144)
at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:107)
at com.sap.engine.core.thread.impl4.SingleThread.execute(SingleThread.java:86)
at com.sap.engine.core.thread.impl4.SingleThread.run(SingleThread.java:140)
Similar Messages
-
Anonymous user login - failed to start EP server
Hi all,
I changed UME properties to allow anonymous access on EP.
1. Created a user "anonymous" on ABAP system ( i m using ABAP system for users no ldap)
2. On ep.. System admin ->system configuration -> UM configuration -> Direct editing
3. Changed ume.login.guest_user.uniqueids to "anonymous"
4. ume.login.anonymous_user.mode = 1. This property was already 1.. so kept it as it is
5. Save all changes and restarted the Server using MMC control. Ep dint start
Developer trace:
[Thr 3832] Thu Dec 15 11:04:23 2005
[Thr 3832] JHVM_RegisterNatives: registering methods in com.sap.bc.proj.jstartup.JStartupFramework
[Thr 3832] JLaunchISetClusterId: set cluster id 3930150
[Thr 3832] JLaunchISetState: change state from [Initial (0)] to [Waiting for start (1)]
[Thr 3832] JLaunchISetState: change state from [Waiting for start (1)] to [Starting (2)]
[Thr 5760] Thu Dec 15 11:05:06 2005
[Thr 5760] JLaunchIExitJava: exit hook is called (rc=-11113)
[Thr 5760] JLaunchCloseProgram: good bye (exitcode=-11113)
I have reseted all the changes i have done, but still its not starting. I used configtool to reset the changes.
please help me on this as its critical now.. we are in testing phase..
regards
ashutoshCore 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:173)
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:74)
at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:141)
Caused by: com.sap.engine.services.security.exceptions.BaseSecurityException: <b>Anonymous principal not configured</b> at com.sap.engine.services.security.login.SecurityContext.setAnonymousPrincipal(SecurityContext.java:513)
at com.sap.engine.services.security.SecurityServerFrame.start(SecurityServerFrame.java:138)
... 5 more
Caused by: com.sap.security.core.server.userstore.UserstoreException: <b>Could not get user J2EE_GUEST</b> at com.sap.security.core.server.userstore.UserContextUME.engineGetUserInfo(UserContextUME.java:193)
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:340)
at com.sap.security.core.imp.DBTextFileUserAccount.<init>(DBTextFileUserAccount.java:56)
at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:426)
at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:277)
at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:458)
at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:453)
at com.sap.security.core.server.userstore.UserContextUME.engineGetUserInfo(UserContextUME.java:189)
... 8 more
i have j2ee_guest user on my abap system... and i have not set the anonymous access
regards
ashutosh -
Error in starting J2ee Engine-- Pls Help!!!
I am getting the following error. i have checked the property sheet within "services" folder many times but not sure how to change or what to change the value for "guest" user too...
=======================ERROR=============================
Service dbpool started. (3108 ms).
Service com.sap.security.core.ume.service started. (2608 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:186)
at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(ServiceRunner.java:201)
at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:142)
at com.sap.engine.frame.core.thread.Task.run(Task.java:60)
at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:73)
at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:145)
Caused by: com.sap.engine.services.security.exceptions.BaseSecurityException: Anonymous principal not configured
at com.sap.engine.services.security.login.SecurityContext.setAnonymousPrincipal(SecurityContext.java:504)
at com.sap.engine.services.security.SecurityServerFrame.start(SecurityServerFrame.java:150)
... 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:187)
at com.sap.engine.services.security.userstore.context.UserContext.getUserInfo(UserContext.java:87)
at com.sap.engine.services.security.login.SecurityContext.setAnonymousPrincipal(SecurityContext.java:498)
... 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:334)
at com.sap.security.core.imp.DBTextFileUserAccount.<init>(DBTextFileUserAccount.java:56)
at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:339)
at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:277)
at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:371)
at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:366)
at com.sap.security.core.server.userstore.UserContextUME.engineGetUserInfo(UserContextUME.java:183)
... 8 more
com.sap.engine.services.security.exceptions.SecurityServiceException: Unexpected exception:
at com.sap.engine.services.security.SecurityServerFrame.start(SecurityServerFrame.java:186)
at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(ServiceRunner.java:201)
at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:142)
at com.sap.engine.frame.core.thread.Task.run(Task.java:60)
at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:73)
at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:145)
Caused by: com.sap.engine.services.security.exceptions.BaseSecurityException: Anonymous principal not configured
at com.sap.engine.services.security.login.SecurityContext.setAnonymousPrincipal(SecurityContext.java:504)
at com.sap.engine.services.security.SecurityServerFrame.start(SecurityServerFrame.java:150)
... 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:187)
at com.sap.engine.services.security.userstore.context.UserContext.getUserInfo(UserContext.java:87)
at com.sap.engine.services.security.login.SecurityContext.setAnonymousPrincipal(SecurityContext.java:498)
... 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:334)
at com.sap.security.core.imp.DBTextFileUserAccount.<init>(DBTextFileUserAccount.java:56)
at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:339)
at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:277)
at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:371)
at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:366)
at com.sap.security.core.server.userstore.UserContextUME.engineGetUserInfo(UserContextUME.java:183)
... 8 more
[Framework -> criticalShutdown] Core service security failed. J2EE Engine cannot be started.
Mar 6, 2005 9:41:21 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.
==========================================================Hi Tony,
This is a known issue:
Please check
SAP Note 956867 - USER_AUTH_FAILED: User account for logonid "Guest" not found
Regards,
Siddhesh -
Can't see /Resource[SchemaElement in RES.GETCLOBVAL()
Hello
I try to make a simple example like purchaseorder in XML DB Doc.
I can see the attribute /Resource[SchemaElement in RESOURCE_VIEW
XML doc is (compagnieRepository.xml)
<?xml version="1.0" encoding="ISO-8859-1"?>
<compagnie
xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance"
xsi:NamespaceSchemaLocation="http://www.soutou.net/compagnies.xsd">
<comp>EA</comp>
<pilotes>
<pilote brevet="PL-9">
<nom>J. Nouveau</nom>
<salaire>9000</salaire>
</pilote>
</pilotes>
<nomComp>EuralaiR</nomComp>
</compagnie>
XML Schema is (compagniesannote.xsd)
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xdb="http://xmlns.oracle.com/xdb"
xdb:storeVarrayAsTable="true" version="1.0"
xdb:schemaURL="http://www.soutou.net/compagnies.xsd"
xdb:schemaOwner="SOUTOU">
<xsd:element name="compagnie" type="compagnieType" xdb:defaultTable="COMPAGNIE"/>
<xsd:complexType name="compagnieType" xdb:SQLType="COMPAGNIE_TYPE">
<xsd:sequence>
<xsd:element name="comp" type="compType" minOccurs="1" xdb:SQLName="COMP"/>
<xsd:element name="pilotes" type="pilotesType" xdb:SQLName="PILOTES"/>
<xsd:element name="nomComp" type="nomCompType" minOccurs="1" xdb:SQLName="NOMCOMP"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="pilotesType" xdb:SQLType="PILOTES_TYPE">
<xsd:sequence>
<xsd:element minOccurs="1" maxOccurs="unbounded"
name="pilote" type="piloteType"
xdb:SQLName="PILOTE" xdb:SQLCollType="PILOTE_VRY"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="piloteType" xdb:SQLType="PILOTE_TYPE">
<xsd:sequence>
<xsd:element name="nom" type="nomType" xdb:SQLName="NOM" xdb:SQLType="VARCHAR2"/>
<xsd:element name="salaire" type="salaireType" minOccurs="0"
xdb:SQLName="SALAIRE" xdb:SQLType="NUMBER"/>
</xsd:sequence>
<xsd:attribute name="brevet" xdb:SQLName="BREVET" xdb:SQLType="VARCHAR2">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:minLength value="1"/>
<xsd:maxLength value="4"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
</xsd:complexType>
<xsd:simpleType name="compType">
<xsd:restriction base="xsd:string">
<xsd:minLength value="1"/>
<xsd:maxLength value="6"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="nomCompType">
<xsd:restriction base="xsd:string">
<xsd:minLength value="1"/>
<xsd:maxLength value="40"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="nomType">
<xsd:restriction base="xsd:string">
<xsd:minLength value="1"/>
<xsd:maxLength value="30"/>
</xsd:restriction>
</xsd:simpleType>
<xsd:simpleType name="salaireType">
<xsd:restriction base="xsd:decimal">
<xsd:fractionDigits value="2"/>
<xsd:totalDigits value="6"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:schema>
XML schema registration is
BEGIN
DBMS_XMLSCHEMA.REGISTERSCHEMA(
SCHEMAURL => 'http://www.soutou.net/compagnies.xsd',
SCHEMADOC => BFILENAME('REPXML','compagniesannote.xsd'),
LOCAL => TRUE,
GENTYPES => TRUE,
GENTABLES => TRUE,
CSID => NLS_CHARSET_ID('AL32UTF8'));
END;
loading OK xml file in DB repository
DECLARE
v_resultat BOOLEAN;
BEGIN
IF (DBMS_XDB.EXISTSRESOURCE('/home/SOUTOU/general/compagnieRepository.xml')) THEN DBMS_XDB.DELETERESOURCE('/home/SOUTOU/general/compagnieRepository.xml',4);
END IF;
v_resultat := DBMS_XDB.CREATERESOURCE('/home/SOUTOU/general/compagnieRepository.xml',
BFILENAME('REPXML','compagnieRepository.xml'),NLS_CHARSET_ID('AL32UTF8'));
COMMIT;
END;
--resource_view does not contain /Resource[SchemaElement...
R.RES.GETCLOBVAL()
<Resource xmlns="http://xmlns.oracle.com/xdb/XDBResource.xsd" Hidden="false" Invalid="false" Container="false" CustomRslv="false" VersionHistory="false" StickyRef="true">
<CreationDate>2007-12-17T10:24:09.515000</CreationDate>
<ModificationDate>2007-12-17T10:24:09.515000</ModificationDate>
<DisplayName>compagnieRepository.xml</DisplayName>
<Language>en-US</Language>
<CharacterSet>UTF-8</CharacterSet>
<ContentType>text/xml</ContentType>
<RefCount>1</RefCount>
<ACL>
<acl description="Protected:Readable by PUBLIC and all privileges to OWNER"
xmlns="http://xmlns.oracle.com/xdb/acl.xsd" xmlns:dav="DAV:" xmlns:xsi="http://w
ww.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.oracle.com/x
db/acl.xsd http://xmlns.oracle.com/xdb/acl.xsd" shared="false">
<ace>
<grant>true</grant>
<principal>dav:owner</principal>
<privilege>
<all/>
</privilege>
</ace>
<ace>
<grant>true</grant>
<principal>XDBADMIN</principal>
<privilege>
<all/>
</privilege>
</ace>
<ace>
<grant>true</grant>
<principal>PUBLIC</principal>
<privilege>
<read-properties/>
<read-contents/>
<read-acl/>
<resolve/>
</privilege>
</ace>
<ace>
<grant>true</grant>
<principal>ANONYMOUS</principal>
<privilege>
<read-properties/>
<resolve/>
</privilege>
</ace>
</acl>
</ACL>
<Owner>SOUTOU</Owner>
<Creator>SOUTOU</Creator>
<LastModifier>SOUTOU</LastModifier>
<Contents>
<compagnie xmlns="" xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance"
xsi:NamespaceSchemaLocation="http://www.soutou.net/compagnies.xsd">
<comp>EA</comp>
<pilotes>
<pilote brevet="PL-9">
<nom>J. Nouveau</nom>
<salaire>9000</salaire>
</pilote>
</pilotes>
<nomComp>EuralaiR</nomComp>
</compagnie>
</Contents>
</Resource>
Many SQL queries ar OK except
SELECT ANY_PATH FROM RESOURCE_VIEW
WHERE EXISTSNODE(RES, '/Resource[SchemaElement="http://www.soutou.net/compagnies.xsd#compagnie"]')=1;Thanks Ants
Your query returns to me 6021 rows. I talk about the example 3-65 and 3-70 of XML DB doc
Accessing Resources Using EQUALS_PATH and RESOURCE_VIEW
SELECT r.RES.getCLOBVal() FROM RESOURCE_VIEW r
WHERE equals_path(res, '/home/QUINE/NurseryRhyme.txt') = 1;
R.RES.GETCLOBVAL()
<Resource xmlns="http://xmlns.oracle.com/xdb/XDBResource.xsd"
Hidden="false"
Invalid="false"
Container="false"
CustomRslv="false"
VersionHistory="false"
StickyRef="true">
<CreationDate>2005-06-13T13:19:20.566623</CreationDate>
<ModificationDate>2005-06-13T13:19:22.997831</ModificationDate>
<DisplayName>NurseryRhyme.txt</DisplayName>
<Language>en-US</Language>
<CharacterSet>UTF-8</CharacterSet>
<ContentType>text/plain</ContentType>
<RefCount>1</RefCount>
<ACL>
<acl description=
"Private:All privileges to OWNER only and not accessible to others"
xmlns="http://xmlns.oracle.com/xdb/acl.xsd" xmlns:dav="DAV:"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.oracle.com/xdb/acl.xsd
http://xmlns.oracle.com/xdb/acl.xsd"
shared="true">
<ace>
<grant>true</grant>
<principal>dav:owner</principal>
<privilege>
<all/>
</privilege>
</ace>
</acl>
</ACL>
<Owner>QUINE</Owner>
<Creator>QUINE</Creator>
<LastModifier>QUINE</LastModifier>
<SchemaElement>http://xmlns.oracle.com/xdb/XDBSchema.xsd#text</SchemaElement>
<Contents>
example 3-70 : Finding Paths to Resources that Contain Purchase-Order XML Documents.
SELECT ANY_PATH FROM RESOURCE_VIEW
WHERE existsNode(RES, '/Resource[SchemaElement="...]')= 1; -
Dispatcher Running Server Not Connected
Hi,
I have the same problem on Windows 2003 Server EP6 WAS640 SR1 SP9
I have the WAS640 for ABAP with the Java Add In and the Enterprise Portal installed on top.
When I try to connect to the Portal through a browser I get the message:
Dispatcher Running Server Not Connected
In the JCMON I cannot start Server0 and I get the errors 1,2,3,4 and it tries to start and then goes to status STOPPED
Does anyone know the solution ?
My system was working, the last change I made was to authenticate users against an SAP system and then I did a reboot and now the J2EE won't start.
Any help is much appreciated.
Thanks,
Tomas.some more info, this problem started after I configured the Portal to authenticate against the SAP system
In the portal system log for server.0.log there is the following info:
Caused by: com.sap.engine.services.security.exceptions.BaseSecurityException: Anonymous principal not configured
at com.sap.engine.services.security.login.SecurityContext.setAnonymousPrincipal(SecurityContext.java:504)
at com.sap.engine.services.security.SecurityServerFrame.start(SecurityServerFrame.java:150)
... 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:187)
at com.sap.engine.services.security.userstore.context.UserContext.getUserInfo(UserContext.java:87)
at com.sap.engine.services.security.login.SecurityContext.setAnonymousPrincipal(SecurityContext.java:498)
... 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:334)
at com.sap.security.core.imp.DBTextFileUserAccount.<init>(DBTextFileUserAccount.java:56)
at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:339)
at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:277)
at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:371)
at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:366)
at com.sap.security.core.server.userstore.UserContextUME.engineGetUserInfo(UserContextUME.java:183)
... 8 more
#1.5#00A0D1BC74B6001E0000000C0000118C0003F7536153ADF0#1116362417365#/System/Server##com.sap.engine.core.service630.container.ServiceRunner#######SAPEngine_System_Thread[impl:5]_51##0#0#Error#1#/System/Server#Plain###Core service security failed. J2EE Engine cannot be started.#
#1.5#00A0D1BC74B6001E0000000E0000118C0003F7536153BD59#1116362417365#/System/Server##com.sap.engine.core.Framework#######SAPEngine_System_Thread[impl:5]_51##0#0#Fatal#1#com.sap.engine.core.Framework#Plain###Critical shutdown was invoked. Reason is: Core service security failed. J2EE Engine cannot be started.#
Is it possible to reset the configuration back to what it was, or back to a default configuration\like in EP5 ?
Thanks,
Tomas. -
Server0 never comes up J2EE down- Urgent!!!!!
Hi,
Ihave installed a SM 4.0 system with ABAP+Java.
After all done with SP10, I had changed the master client from 001 to 100 which I created. From then my Server0 is not starting at all.
I tried all the below:
1. Created a new client 120, did a client copy with SAP_ALL of 000 client and users of 001 client.
2. CHanged the productive cleint in configtool to 120 and gave SAPJSF as the ume.r3.connection.master.user
3. I changed my data source to datasource_abap.xml from the portal data source. (I was not able to follow note 718383, as my server0 was already down.
Now I still get UME error and the server0 does not start at all.
In between, I enabled the superadmin user SAP* and the server0 came up, but all my SLD, Useradmin pages were balnk and had no data at all.
Now I get errors which are below: Please help, as I did all that I could. May be still I miss something.
My hostname is also correct, but the log says MSGHOST, MSSERv is wrong.
Not sure where is the mistake.
security.0.log
#1.5#000C29F94F1B001E00000006000010FC00042D46241F5B62#1175679183796#/System/Security/Usermanagement##com.sap.security.core.persistence#######SAPEngine_System_Thread[impl:5]_53##0#0#Fatal#1#com.sap.security.core.persistence#Java#Initialization of UME persistence adapter "" failed.##Initialization of UME persistence adapter "" failed.#1#R3_DATASOURCE#
#1.5#000C29F94F1B001E00000009000010FC00042D46241F6332#1175679183796#/System/Security/Usermanagement##com.sap.security.core.server.ume.service.UMEServiceFrame#######SAPEngine_System_Thread[impl:5]_53##0#0#Error#1#com.sap.security.core.server.ume.service.UMEServiceFrame#Plain###UME initialization failed.#
#1.5#000C29F94F1B001E000000000000127000042D4630837790#1175679391718#/System/Security/Usermanagement##com.sap.security.core.persistence#######SAPEngine_System_Thread[impl:5]_70##0#0#Fatal#1#com.sap.security.core.persistence#Java#User Management Engine (com.sap.security.core.persistence.datasource.imp.R3Persistence) failed to connect to the ABAP backend system. Check that connection data are correct and the backend system is available. Error message: "". Connection data (obtained from properties of UME service in section "ume.r3.connection.master.": "".##User Management Engine (com.sap.security.core.persistence.datasource.imp.R3Persistence) failed to connect to the ABAP backend system. Check that connection data are correct and the backend system is available. Error message: "". Connection data (obtained from properties of UME service in section "ume.r3.connection.master.": "".#2#Connect to message server host failed
Connect_PM TYPE=B MSHOST=rockcrystal GROUP=PUBLIC R3NAME=SM4 MSSERV=rockcrystal PCS=1
ERROR service 'rockcrystal' unknown
TIME Wed Apr 04 18:36:31 2007
RELEASE 700
COMPONENT NI (network interface)
VERSION 38
RC -3
MODULE ninti.c
LINE 530
DETAIL NiPGetServByName2: service 'rockcrystal' not found
SYSTEM CALL getservbyname_r
COUNTER 1
passwd=********
receiverid=master
sysnr=01
client=120
poolmaxsize=10
mshost=rockcrystal
user=SAPJSF
gwserv=sapgw01
r3name=SM4
msserv=rockcrystal
receiverid_guest=master
ashost=rockcrystal
#1.5#000C29F94F1B001E000000020000127000042D4630838782#1175679391718#/System/Security/Usermanagement##com.sap.security.core.persistence.datasource.imp.R3PersistenceBase.init()#######SAPEngine_System_Thread[impl:5]_70##0#0#Error#1#com.sap.security.core.persistence.datasource.imp.R3PersistenceBase#Java#An exception was thrown in the UME/ABAP user management connector. Message: .##An exception was thrown in the UME/ABAP user management connector. Message: .#1#Connect to message server host failed
Connect_PM TYPE=B MSHOST=rockcrystal GROUP=PUBLIC R3NAME=SM4 MSSERV=rockcrystal PCS=1
ERROR service 'rockcrystal' unknown
TIME Wed Apr 04 18:36:31 2007
RELEASE 700
COMPONENT NI (network interface)
VERSION 38
RC -3
MODULE ninti.c
LINE 530
DETAIL NiPGetServByName2: service 'rockcrystal' not found
SYSTEM CALL getservbyname_r
COUNTER 1
#1.5#000C29F94F1B001E000000040000127000042D4630839041#1175679391718#/System/Security/Usermanagement##com.sap.security.core.persistence#######SAPEngine_System_Thread[impl:5]_70##0#0#Error#1#com.sap.security.core.persistence#Java#User Management Engine (com.sap.security.core.persistence.datasource.imp.R3Persistence) failed to initialize the ABAP data source: ##User Management Engine (com.sap.security.core.persistence.datasource.imp.R3Persistence) failed to initialize the ABAP data source: #1#Connect to message server host failed
Connect_PM TYPE=B MSHOST=rockcrystal GROUP=PUBLIC R3NAME=SM4 MSSERV=rockcrystal PCS=1
ERROR service 'rockcrystal' unknown
TIME Wed Apr 04 18:36:31 2007
RELEASE 700
COMPONENT NI (network interface)
VERSION 38
RC -3
MODULE ninti.c
LINE 530
DETAIL NiPGetServByName2: service 'rockcrystal' not found
SYSTEM CALL getservbyname_r
COUNTER 1
#1.5#000C29F94F1B001E000000060000127000042D4630839B1C#1175679391734#/System/Security/Usermanagement##com.sap.security.core.persistence#######SAPEngine_System_Thread[impl:5]_70##0#0#Fatal#1#com.sap.security.core.persistence#Java#Initialization of UME persistence adapter "" failed.##Initialization of UME persistence adapter "" failed.#1#R3_DATASOURCE#
#1.5#000C29F94F1B001E000000090000127000042D463083A2E8#1175679391734#/System/Security/Usermanagement##com.sap.security.core.server.ume.service.UMEServiceFrame#######SAPEngine_System_Thread[impl:5]_70##0#0#Error#1#com.sap.security.core.server.ume.service.UMEServiceFrame#Plain###UME initialization failed.#
I followed the Note to change productive client also. Still same issue.
Regards,
KPHi Markus,
I had changed the settings in config tool and configured the datasource.abap.xml properly with all the required ume.r3.connection paramteres.
Nowe everything is fine except only one error. I get an error on the anonymous user.
The security.0.log file gives the below error.
"Anonymous principal not configured"
#1.5#000C29F94F1B001E000000030000125400042D421AD2D242#1175661847906#/System/Security/UserStoreUME##com.sap.security.core.server.userstore.UserContextUME#######SAPEngine_System_Thread[impl:5]_16##0#0#Error#1#/System/Security/UserStoreUME#Java###Error while trying to get the anonymous user: #1#Cannot find first configured anonymous user: J2EE_GUEST: USER_AUTH_FAILED: User account for logonid "J2EE_GUEST" not found!#
#1.5#000C29F94F1B001E000000050000125400042D421AD2F1E8#1175661847906#/System/Security##com.sap.engine.services.userstore.UserContext.(UserContextSpi, Properties)#######SAPEngine_System_Thread[impl:5]_16##0#0#Fatal#1#com.sap.engine.services.userstore#Plain###Can not instantiate UserContext with given properties.#
So I enabled the superadmin user and password in config tool to SAP* and now the server0 starts. But the issue is, now if I go to the useradminscreen, it is blank. I am not sure what is to be done.
How do I proceed further in this? Do I have to make any changes in Visual administrator, so that I can correct the UME in-consistencies.??? Why is my browser blank???
Please do help...
This is my useradmin URL that is showing in the browser address bar:
http://172.27.1.2:50100/webdynpro/dispatcher/sap.com/tcsecumewdumeadmin/UmeAdminApp
Only my J2EE index.html page has a proper URL. All other pages like, SLD, UME, etc has tcsecumewd kind of URL. Not sure if this would be an issue.
I tried to follow the below SAP help, but I do not find those parameter anonymous user ID in the UME properties.
2.1. Activate SAP* (emergency user)
Change the UME properties:
○ ume.superadmin.activated=true
○ ume.superadmin.password=
Restart the server.
Log on to the UME Web application (/useradmin), where you can search for users and groups. You can also create missing users and groups or fix the mapping between them.
If you even see an error like Anonymous principal not found or Anonymous principal not configured, the guest user may have been deleted. In addition to the properties mentioned above, you have to change the guest/anonymous user settings:
○ UMEproperty:
ume.login.guest_user.uniqueids=SAP*
○ J2EE Engine Security:
In the Config Tool, switch to configuration editor mode and choose Security ® Userstores ® UME User Store. Set anonymous-user=SAP.*
○ J2EE Engine Security:
In the Config Tool, switch to configuration editor mode and choose Security ® Userstores ® UME User Store ® Configuration. Set anonymous-user=SAP.*
When you have finished, change these settings back again and restart the server.
Regards,
PK -
Disp+work.exe startup error
Hi
While doing Portal Configuration I change dataSourceConfiguration_abap.xml file but then somehow the original file is also got deleted the new file doesnu2019t contain any data.
Noe While starting the Instance my disp+work.exe is showing following status and then shut down
u201Crunning but not connected to message server j2ee status info unavailableu201D
The developer trace is as following
trc file: "dev_disp", trc level: 1, release: "700"
sysno 01
sid BS1
systemid 560 (PC with Windows NT)
relno 7000
patchlevel 0
patchno 52
intno 20050900
make: multithreaded, Unicode, optimized
pid 3148
Wed May 28 13:00:00 2008
kernel runs with dp version 210000(ext=109000) (@(#) DPLIB-INT-VERSION-210000-UC)
length of sys_adm_ext is 572 bytes
SWITCH TRC-HIDE on ***
***LOG Q00=> DpSapEnvInit, DPStart (01 3148) [dpxxdisp.c 1231]
shared lib "dw_xml.dll" version 52 successfully loaded
shared lib "dw_xtc.dll" version 52 successfully loaded
shared lib "dw_stl.dll" version 52 successfully loaded
shared lib "dw_gui.dll" version 52 successfully loaded
rdisp/softcancel_sequence : -> 0,5,-1
use internal message server connection to port 3901
Wed May 28 13:00:05 2008
WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 5 seconds
***LOG GZZ=> 1 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c 5233]
MtxInit: 30000 0 0
DpSysAdmExtInit: ABAP is active
DpSysAdmExtInit: VMC (JAVA VM in WP) is not active
DpIPCInit2: start server >sapserver2_BS1_01 <
DpShMCreate: sizeof(wp_adm) 22528 (1408)
DpShMCreate: sizeof(tm_adm) 3954072 (19672)
DpShMCreate: sizeof(wp_ca_adm) 24000 (80)
DpShMCreate: sizeof(appc_ca_adm) 8000 (80)
DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528056/528064
DpShMCreate: sizeof(comm_adm) 528064 (1048)
DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
DpShMCreate: sizeof(file_adm) 0 (72)
DpShMCreate: sizeof(vmc_adm) 0 (1452)
DpShMCreate: sizeof(wall_adm) (38456/34360/64/184)
DpShMCreate: sizeof(gw_adm) 48
DpShMCreate: SHM_DP_ADM_KEY (addr: 065A0040, size: 4617368)
ERROR => DpShMCreate: ShmCreate SHM_DP_CA_KEY(rc=4) [dpxxca.c 181]
ERROR => DpIPCInit2: DpShMCreate [dpxxtool2.c 461]
DP_FATAL_ERROR => DpSapEnvInit: DpIPCInit2
DISPATCHER EMERGENCY SHUTDOWN ***
NiWait: sleep (5000ms) ...
NiISelect: timeout 5000ms
NiISelect: maximum fd=1
NiISelect: read-mask is NULL
NiISelect: write-mask is NULL
Wed May 28 13:00:10 2008
NiISelect: TIMEOUT occured (5000ms)
DpHalt: shutdown server >sapserver2_BS1_01 < (normal)
DpJ2eeDisableRestart
Switch off Shared memory profiling
ShmProtect( 57, 3 )
ShmProtect(SHM_PROFILE, SHM_PROT_RW
ShmProtect( 57, 1 )
ShmProtect(SHM_PROFILE, SHM_PROT_RD
wait for end of work processes
not attached to the message server
cleanup EM
EmCleanup() -> 0
Es2Cleanup: Cleanup ES2
***LOG Q05=> DpHalt, DPStop ( 3148) [dpxxdisp.c 10087]
Good Bye .....
The Extract of trace file as is follows
#1.5#0016E69E70D200210000000C0000140400044E44486B7825#1211955086610#com.sap.engine.core.Framework##com.sap.engine.core.Framework#######SAPEngine_System_Thread[impl:5]_23##0#0#Fatal#1#/System/Server#Plain###Critical shutdown was invoked. Reason is: Core service security failed. J2EE Engine cannot be started.#
#1.5#0016E69E70D2000F000000000000134400044E44538E57C2#1211955273431#com.sap.caf.eu.gp.mail.cf.core.service.impl.AbstractMailCFServiceFrame##com.sap.caf.eu.gp.mail.cf.core.service.impl.AbstractMailCFServiceFrame#######SAPEngine_System_Thread[impl:5]_62##0#0#Info#1#/System/Security#Plain###Mail CF Service is starting up. #
#1.5#0016E69E70D2000F000000020000134400044E445390B4ED#1211955273587#com.sap.caf.eu.gp.mail.cf.core.registration.impl.JNDIRegistration##com.sap.caf.eu.gp.mail.cf.core.registration.impl.JNDIRegistration#######SAPEngine_System_Thread[impl:5]_62##0#0#Info#1#/System/Security#Plain###IMailCFService registered successfully in JNDI.#
#1.5#0016E69E70D2000F000000040000134400044E445392C628#1211955273728#com.sap.caf.eu.gp.mail.cf.core.registration.impl.JNDIRegistration##com.sap.caf.eu.gp.mail.cf.core.registration.impl.JNDIRegistration#######SAPEngine_System_Thread[impl:5]_62##0#0#Warning#1#/System/Security#Plain###createSubcontext operation failed; context sap.com already exists.#
#1.5#0016E69E70D2000F000000060000134400044E445392C878#1211955273728#com.sap.caf.eu.gp.mail.cf.core.registration.impl.JNDIRegistration##com.sap.caf.eu.gp.mail.cf.core.registration.impl.JNDIRegistration#######SAPEngine_System_Thread[impl:5]_62##0#0#Warning#1#/System/Security#Plain###createSubcontext operation failed; context com.sap.nw.eu.gp already exists.#
#1.5#0016E69E70D2000F000000080000134400044E445392D471#1211955273728#com.sap.caf.eu.gp.mail.cf.core.registration.impl.JNDIRegistration##com.sap.caf.eu.gp.mail.cf.core.registration.impl.JNDIRegistration#######SAPEngine_System_Thread[impl:5]_62##0#0#Info#1#/System/Security#Plain###IMailCFGatewayFactory registered successfully in JNDI.#
#1.5#0016E69E70D2000F0000000A0000134400044E445393BAEA#1211955273791#com.sap.caf.eu.gp.mail.cf.core.common.CoreThreadController##com.sap.caf.eu.gp.mail.cf.core.common.CoreThreadController#######SAPEngine_System_Thread[impl:5]_62##0#0#Info#1#/System/Security#Plain###Starting J2EE thread.#
#1.5#0016E69E70D20015000000000000134400044E445394AC0A#1211955273853#com.sap.caf.eu.gp.mail.cf.core.multithreading.TimerTask##com.sap.caf.eu.gp.mail.cf.core.multithreading.TimerTask#######SAPEngine_Application_Thread[impl:3]_9##0#0#Info#1#/System/Security#Plain###The timer task:com.sap.caf.eu.gp.mail.cf.core.multithreading.ResendMailTimerTask@1ed8741 is started#
#1.5#0016E69E70D2001E000000050000134400044E445488F89F#1211955289861#com.sap.engine.services.security##com.sap.engine.services.security#######SAPEngine_System_Thread[impl:5]_25##0#0#Error#1#/System/Security#Java#security_0001##Unexpected exception:##
#1.5#0016E69E70D2001E000000060000134400044E445488FBEE#1211955289861#com.sap.engine.services.security##com.sap.engine.services.security#######SAPEngine_System_Thread[impl:5]_25##0#0#Error#1#/System/Audit#Java###Exception #1#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
#1.5#0016E69E70D2001E000000080000134400044E44548902E5#1211955289861#com.sap.engine.core.service630.container.ServiceRunner##com.sap.engine.core.service630.container.ServiceRunner#######SAPEngine_System_Thread[impl:5]_25##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: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
#1.5#0016E69E70D2001E0000000A0000134400044E44548906C0#1211955289877#com.sap.engine.core.service630.container.ServiceRunner##com.sap.engine.core.service630.container.ServiceRunner#######SAPEngine_System_Thread[impl:5]_25##0#0#Error#1#/System/Server#Java###Core service security failed. J2EE Engine cannot be started.
[EXCEPTION]
#1#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
#1.5#0016E69E70D2001E0000000C0000134400044E44548909A3#1211955289877#com.sap.engine.core.Framework##com.sap.engine.core.Framework#######SAPEngine_System_Thread[impl:5]_25##0#0#Fatal#1#/System/Server#Plain###Critical shutdown was invoked. Reason is: Core service security failed. J2EE Engine cannot be started.#
Plzzzzz help I m struck up
Thanks & Regards,
BhupinderHi after changing ume persistenace to abap now getting the following log in std_server0.out
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. -
Dispatcher running, but no server connected - EP
Hai All,
we have installed EP 6.0 Sp9 on Web As ABAP + Java.Actaully we were not able to create user in EP for that we done some changes in UME.But,Now J2ee engine itslef is not running.Can u please help us to solve this problem.
Changes we made:
1.In System Administration -> System Configuration -> UM Configuration
Data source is "Database Only"
dataSourceConfiguration_database_only.xml
2 : in <drive:\> usr\sap\<sid>\JC<instance number>\J2EE\configtool\configtool.bat
Under Cluster Data -> Global Server Configuration -> services -> com.sap.security.core.ume.services
in : ume.persistence.data_source_configuration
The default was : - dataSourceConfiguration_database_only.xml
changed the value to :- dataSourceConfiguration_r3.xml
Restarted the server
The problem begins from this stage we are getting only
503 Service Unavailable 6.40
Dispatcher running, but no server connected!
Details: No details available
Message And to avoid this we changed
in <drive:\> usr\sap\<sid>\JC<instance number>\J2EE\configtool\configtool.bat
Under Cluster Data -> Global Server Configuration -> services -> com.sap.security.core.ume.services
selcted " Restore all to default" and restarted the server
But the same error message is repeated here.
and in error log we found J2EE Engine is not running
Here is the Error log
stdout/stderr redirect
node name : server0
pid : 5588
system name : NET
system nr. : 00
started at : Fri Jan 27 16:11:05 2006
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 iaik/security/md/SHA a
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 6.40 PatchLevel 87289.311 is starting...
Loading: LogManager ... 812 ms.
Loading: PoolManager ... 0 ms.
Loading: ApplicationThreadManager ... 719 ms.
Loading: ThreadManager ... 359 ms.
Loading: IpVerificationManager ... 16 ms.
Loading: ClassLoaderManager ... 297 ms.
Loading: ClusterManager ... 641 ms.
Loading: LockingManager ... 125 ms.
Loading: ConfigurationManager ... 5406 ms.
Loading: LicensingManager ... 890 ms.
Loading: ServiceManager ...
0.000: [GC 0.000: [DefNew: 43460K->13407K(65280K), 0.0494406 secs] 43460K->13407K(502528K), 0.0494957 secs]
Loading services.:
Service memory started. (16 ms).
Service jmx_notification started. (16 ms).
Service trex.service started. (47 ms).
Service cross started. (16 ms).
Service file started. (0 ms).
Service runtimeinfo started. (219 ms).
Service userstore started. (110 ms).
Service tcsecwssec~service started. (297 ms).
Service p4 started. (547 ms).
Service classpath_resolver started. (94 ms).
Service timeout started. (594 ms).
Service tcsecvsi~service started. (640 ms).
8.396: [GC 8.396: [DefNew: 56926K->16242K(65280K), 0.0719262 secs] 56926K->16242K(502528K), 0.0719818 secs]
11.596: [GC 11.596: [DefNew: 59762K->21504K(65280K), 0.0509115 secs] 59762K->21504K(502528K), 0.0509688 secs]
14.549: [GC 14.549: [DefNew: 65024K->16354K(65280K), 0.0402456 secs] 65024K->18525K(502528K), 0.0403001 secs]
22.052: [GC 22.052: [DefNew: 59874K->9304K(65280K), 0.2409281 secs] 62045K->11475K(502528K), 0.2409831 secs]
Service deploy started. (17266 ms).
Service log_configurator started. (20688 ms).
Service locking started. (0 ms).
26.707: [GC 26.707: [DefNew: 52824K->11370K(65280K), 0.0384353 secs] 54995K->13541K(502528K), 0.0384932 secs]
Service apptracing started. (2234 ms).
Service http started. (953 ms).
Service naming started. (985 ms).
Service failover started. (16 ms).
Service jmsconnector started. (140 ms).
Service javamail started. (265 ms).
Service appclient started. (172 ms).
Service ts started. (390 ms).
Service licensing started. (15 ms).
Service connector started. (359 ms).
Service configuration started. (141 ms).
Service webservices started. (1797 ms).
Service bimmrdeployer started. (1500 ms).
31.120: [GC 31.120: [DefNew: 54890K->13349K(65280K), 0.0445098 secs] 57061K->15520K(502528K), 0.0445668 secs]
Service dbpool started. (7328 ms).
35.235: [GC 35.235: [DefNew: 56869K->13551K(65280K), 0.0415078 secs] 59040K->15722K(502528K), 0.0415653 secs]
Service com.sap.security.core.ume.service started. (1813 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:186)
at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(ServiceRunner.java:201)
at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:142)
at com.sap.engine.frame.core.thread.Task.run(Task.java:60)
at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:73)
at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:98)
Caused by: com.sap.engine.services.security.exceptions.BaseSecurityException: Anonymous principal not configured
at com.sap.engine.services.security.login.SecurityContext.setAnonymousPrincipal(SecurityContext.java:504)
at com.sap.engine.services.security.SecurityServerFrame.start(SecurityServerFrame.java:150)
... 5 more
Caused by: com.sap.security.core.server.userstore.UserstoreException: Could not get user Guest
at com.sap.security.core.server.userstore.UserContextUME.engineGetUserInfo(UserContextUME.java:187)
at com.sap.engine.services.security.userstore.context.UserContext.getUserInfo(UserContext.java:87)
at com.sap.engine.services.security.login.SecurityContext.setAnonymousPrincipal(SecurityContext.java:498)
... 6 more
Caused by: com.sap.security.api.NoSuchUserAccountException: USER_AUTH_FAILED: User account for logonid "Guest" not found!
at com.sap.security.core.imp.AbstractUserAccount.<init>(AbstractUserAccount.java:334)
at com.sap.security.core.imp.DBTextFileUserAccount.<init>(DBTextFileUserAccount.java:56)
at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:339)
at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:277)
at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:371)
at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:366)
at com.sap.security.core.server.userstore.UserContextUME.engineGetUserInfo(UserContextUME.java:183)
... 8 more
com.sap.engine.services.security.exceptions.SecurityServiceException: Unexpected exception:
at com.sap.engine.services.security.SecurityServerFrame.start(SecurityServerFrame.java:186)
at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(ServiceRunner.java:201)
at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:142)
at com.sap.engine.frame.core.thread.Task.run(Task.java:60)
at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:73)
at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:98)
Caused by: com.sap.engine.services.security.exceptions.BaseSecurityException: Anonymous principal not configured
at com.sap.engine.services.security.login.SecurityContext.setAnonymousPrincipal(SecurityContext.java:504)
at com.sap.engine.services.security.SecurityServerFrame.start(SecurityServerFrame.java:150)
... 5 more
Caused by: com.sap.security.core.server.userstore.UserstoreException: Could not get user Guest
at com.sap.security.core.server.userstore.UserContextUME.engineGetUserInfo(UserContextUME.java:187)
at com.sap.engine.services.security.userstore.context.UserContext.getUserInfo(UserContext.java:87)
at com.sap.engine.services.security.login.SecurityContext.setAnonymousPrincipal(SecurityContext.java:498)
... 6 more
Caused by: com.sap.security.api.NoSuchUserAccountException: USER_AUTH_FAILED: User account for logonid "Guest" not found!
at com.sap.security.core.imp.AbstractUserAccount.<init>(AbstractUserAccount.java:334)
at com.sap.security.core.imp.DBTextFileUserAccount.<init>(DBTextFileUserAccount.java:56)
at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:339)
at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:277)
at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:371)
at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:366)
at com.sap.security.core.server.userstore.UserContextUME.engineGetUserInfo(UserContextUME.java:183)
... 8 more
[Framework -> criticalShutdown] Core service security failed. J2EE Engine cannot be started.
Jan 27, 2006 4:12:08 PM com.sap.engine.core.Framework [SAPEngine_System_Thread[impl:5]_68] Fatal: Critical shutdown was invoked. Reason is: Core service security failed. J2EE Engine cannot be started.
stdout/stderr redirect
node name : server0
pid : 5588
system name : NET
system nr. : 00
started at : Fri Jan 27 16:12:14 2006
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 iaik/security/md/SHA a
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 6.40 PatchLevel 87289.311 is starting...
Loading: LogManager ... 735 ms.
Loading: PoolManager ... 0 ms.
Loading: ApplicationThreadManager ... 547 ms.
Loading: ThreadManager ... 62 ms.
Loading: IpVerificationManager ... 16 ms.
Loading: ClassLoaderManager ... 16 ms.
Loading: ClusterManager ... 328 ms.
Loading: LockingManager ... 63 ms.
Loading: ConfigurationManager ... 890 ms.
Loading: LicensingManager ... 32 ms.
Loading: ServiceManager ...
0.000: [GC 0.000: [DefNew: 43510K->13478K(65280K), 0.0451557 secs] 43510K->13478K(502528K), 0.0452105 secs]
Loading services.:
Service memory started. (16 ms).
Service jmx_notification started. (31 ms).
Service trex.service started. (31 ms).
Service cross started. (16 ms).
Service tcsecwssec~service started. (94 ms).
Service file started. (16 ms).
Service runtimeinfo started. (31 ms).
7.006: [GC 7.006: [DefNew: 56996K->8393K(65280K), 0.0401062 secs] 56996K->8393K(502528K), 0.0401629 secs]
Service tcsecvsi~service started. (2250 ms).
Service userstore started. (15 ms).
Service p4 started. (1204 ms).
10.666: [GC 10.666: [DefNew: 51912K->7609K(65280K), 0.0269909 secs] 51912K->7609K(502528K), 0.0270462 secs]
Service timeout started. (5719 ms).
Service classpath_resolver started. (0 ms).
13.087: [GC 13.087: [DefNew: 51129K->21715K(65280K), 0.0585885 secs] 51129K->28181K(502528K), 0.0586443 secs]
Service log_configurator started. (10906 ms).
Service locking started. (0 ms).
Service http started. (922 ms).
18.041: [GC 18.041: [DefNew: 65235K->17537K(65280K), 0.0559546 secs] 71701K->26170K(502528K), 0.0560113 secs]
23.773: [GC 23.773: [DefNew: 61057K->10193K(65280K), 0.0422406 secs] 69690K->18826K(502528K), 0.0422981 secs]
Service deploy started. (13312 ms).
Service naming started. (10250 ms).
Service failover started. (0 ms).
Service appclient started. (313 ms).
Service bimmrdeployer started. (296 ms).
Service apptracing started. (734 ms).
Service jmsconnector started. (485 ms).
Service connector started. (234 ms).
Service javamail started. (704 ms).
Service configuration started. (187 ms).
Service ts started. (782 ms).
Service licensing started. (16 ms).
Service webservices started. (1140 ms).
27.459: [GC 27.459: [DefNew: 53713K->13319K(65280K), 0.0451208 secs] 62346K->21952K(502528K), 0.0451775 secs]
31.709: [GC 31.709: [DefNew: 56839K->12871K(65280K), 0.0373383 secs] 65472K->21504K(502528K), 0.0373955 secs]
Service dbpool started. (6547 ms).
Service com.sap.security.core.ume.service started. (1468 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:186)
at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(ServiceRunner.java:201)
at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:142)
at com.sap.engine.frame.core.thread.Task.run(Task.java:60)
at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:73)
at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:98)
Caused by: com.sap.engine.services.security.exceptions.BaseSecurityException: Anonymous principal not configured
at com.sap.engine.services.security.login.SecurityContext.setAnonymousPrincipal(SecurityContext.java:504)
at com.sap.engine.services.security.SecurityServerFrame.start(SecurityServerFrame.java:150)
... 5 more
Caused by: com.sap.security.core.server.userstore.UserstoreException: Could not get user Guest
at com.sap.security.core.server.userstore.UserContextUME.engineGetUserInfo(UserContextUME.java:187)
at com.sap.engine.services.security.userstore.context.UserContext.getUserInfo(UserContext.java:87)
at com.sap.engine.services.security.login.SecurityContext.setAnonymousPrincipal(SecurityContext.java:498)
... 6 more
Caused by: com.sap.security.api.NoSuchUserAccountException: USER_AUTH_FAILED: User account for logonid "Guest" not found!
at com.sap.security.core.imp.AbstractUserAccount.<init>(AbstractUserAccount.java:334)
at com.sap.security.core.imp.DBTextFileUserAccount.<init>(DBTextFileUserAccount.java:56)
at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:339)
at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:277)
at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:371)
at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:366)
at com.sap.security.core.server.userstore.UserContextUME.engineGetUserInfo(UserContextUME.java:183)
... 8 more
com.sap.engine.services.security.exceptions.SecurityServiceException: Unexpected exception:
at com.sap.engine.services.security.SecurityServerFrame.start(SecurityServerFrame.java:186)
at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(ServiceRunner.java:201)
at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:142)
at com.sap.engine.frame.core.thread.Task.run(Task.java:60)
at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:73)
at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:98)
Caused by: com.sap.engine.services.security.exceptions.BaseSecurityException: Anonymous principal not configured
at com.sap.engine.services.security.login.SecurityContext.setAnonymousPrincipal(SecurityContext.java:504)
at com.sap.engine.services.security.SecurityServerFrame.start(SecurityServerFrame.java:150)
... 5 more
Caused by: com.sap.security.core.server.userstore.UserstoreException: Could not get user Guest
at com.sap.security.core.server.userstore.UserContextUME.engineGetUserInfo(UserContextUME.java:187)
at com.sap.engine.services.security.userstore.context.UserContext.getUserInfo(UserContext.java:87)
at com.sap.engine.services.security.login.SecurityContext.setAnonymousPrincipal(SecurityContext.java:498)
... 6 more
Caused by: com.sap.security.api.NoSuchUserAccountException: USER_AUTH_FAILED: User account for logonid "Guest" not found!
at com.sap.security.core.imp.AbstractUserAccount.<init>(AbstractUserAccount.java:334)
at com.sap.security.core.imp.DBTextFileUserAccount.<init>(DBTextFileUserAccount.java:56)
at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:339)
at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:277)
at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:371)
at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:366)
at com.sap.security.core.server.userstore.UserContextUME.engineGetUserInfo(UserContextUME.java:183)
... 8 more
[Framework -> criticalShutdown] Core service security failed. J2EE Engine cannot be started.
Jan 27, 2006 4:12:56 PM com.sap.engine.core.Framework [SAPEngine_System_Thread[impl:5]_70] Fatal: Critical shutdown was invoked. Reason is: Core service security failed. J2EE Engine cannot be started.
stdout/stderr redirect
node name : server0
pid : 5588
system name : NET
system nr. : 00
started at : Fri Jan 27 16:13:01 2006
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 iaik/security/md/SHA a
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 6.40 PatchLevel 87289.311 is starting...
Loading: LogManager ... 735 ms.
Loading: PoolManager ... 0 ms.
Loading: ApplicationThreadManager ... 485 ms.
Loading: ThreadManager ... 62 ms.
Loading: IpVerificationManager ... 16 ms.
Loading: ClassLoaderManager ... 15 ms.
Loading: ClusterManager ... 375 ms.
Loading: LockingManager ... 110 ms.
Loading: ConfigurationManager ... 922 ms.
Loading: LicensingManager ... 31 ms.
Loading: ServiceManager ...
0.000: [GC 0.000: [DefNew: 43514K->13478K(65280K), 0.0440883 secs] 43514K->13478K(502528K), 0.0441436 secs]
Loading services.:
Service memory started. (16 ms).
Service jmx_notification started. (16 ms).
Service trex.service started. (47 ms).
Service cross started. (16 ms).
6.252: [GC 6.252: [DefNew: 56989K->8212K(65280K), 0.0389008 secs] 56989K->8212K(502528K), 0.0389575 secs]
Service runtimeinfo started. (15 ms).
Service file started. (125 ms).
10.582: [GC 10.582: [DefNew: 51732K->7298K(65280K), 0.0252968 secs] 51732K->7298K(502528K), 0.0253529 secs]
Service tcsecwssec~service started. (5094 ms).
Service tcsecvsi~service started. (5109 ms).
Service log_configurator started. (9125 ms).
Service p4 started. (125 ms).
Service locking started. (344 ms).
Service classpath_resolver started. (328 ms).
Service naming started. (1687 ms).
13.742: [GC 13.742: [DefNew: 50801K->21705K(65280K), 0.0628049 secs] 50801K->25098K(502528K), 0.0628605 secs]
Service failover started. (94 ms).
Service appclient started. (125 ms).
Service timeout started. (2250 ms).
Service jmsconnector started. (281 ms).
Service userstore started. (172 ms).
Service http started. (375 ms).
Service javamail started. (828 ms).
Service ts started. (781 ms).
Service bimmrdeployer started. (797 ms).
Service licensing started. (0 ms).
Service webservices started. (937 ms).
Service connector started. (437 ms).
17.769: [GC 17.769: [DefNew: 65225K->19615K(65280K), 0.0575732 secs] 68618K->25175K(502528K), 0.0576297 secs]
23.830: [GC 23.830: [DefNew: 63135K->7515K(65280K), 0.0463654 secs] 68695K->15444K(502528K), 0.0464241 secs]
Service deploy started. (13969 ms).
Service configuration started. (156 ms).
Service apptracing started. (1406 ms).
29.979: [GC 29.979: [DefNew: 51035K->11222K(65280K), 0.0385214 secs] 58964K->19151K(502528K), 0.0385778 secs]
Service dbpool started. (7391 ms).
34.371: [GC 34.371: [DefNew: 54742K->13470K(65280K), 0.0351478 secs] 62671K->21399K(502528K), 0.0352056 secs]
Service com.sap.security.core.ume.service started. (1765 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:186)
at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(ServiceRunner.java:201)
at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:142)
at com.sap.engine.frame.core.thread.Task.run(Task.java:60)
at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:73)
at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:145)
Caused by: com.sap.engine.services.security.exceptions.BaseSecurityException: Anonymous principal not configured
at com.sap.engine.services.security.login.SecurityContext.setAnonymousPrincipal(SecurityContext.java:504)
at com.sap.engine.services.security.SecurityServerFrame.start(SecurityServerFrame.java:150)
... 5 more
Caused by: com.sap.security.core.server.userstore.UserstoreException: Could not get user Guest
at com.sap.security.core.server.userstore.UserContextUME.engineGetUserInfo(UserContextUME.java:187)
at com.sap.engine.services.security.userstore.context.UserContext.getUserInfo(UserContext.java:87)
at com.sap.engine.services.security.login.SecurityContext.setAnonymousPrincipal(SecurityContext.java:498)
... 6 more
Caused by: com.sap.security.api.NoSuchUserAccountException: USER_AUTH_FAILED: User account for logonid "Guest" not found!
at com.sap.security.core.imp.AbstractUserAccount.<init>(AbstractUserAccount.java:334)
at com.sap.security.core.imp.DBTextFileUserAccount.<init>(DBTextFileUserAccount.java:56)
at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:339)
at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:277)
at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:371)
at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:366)
at com.sap.security.core.server.userstore.UserContextUME.engineGetUserInfo(UserContextUME.java:183)
... 8 more
com.sap.engine.services.security.exceptions.SecurityServiceException: Unexpected exception:
at com.sap.engine.services.security.SecurityServerFrame.start(SecurityServerFrame.java:186)
at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(ServiceRunner.java:201)
at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:142)
at com.sap.engine.frame.core.thread.Task.run(Task.java:60)
at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:73)
at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:145)
Caused by: com.sap.engine.services.security.exceptions.BaseSecurityException: Anonymous principal not configured
at com.sap.engine.services.security.login.SecurityContext.setAnonymousPrincipal(SecurityContext.java:504)
at com.sap.engine.services.security.SecurityServerFrame.start(SecurityServerFrame.java:150)
... 5 more
Caused by: com.sap.security.core.server.userstore.UserstoreException: Could not get user Guest
at com.sap.security.core.server.userstore.UserContextUME.engineGetUserInfo(UserContextUME.java:187)
at com.sap.engine.services.security.userstore.context.UserContext.getUserInfo(UserContext.java:87)
at com.sap.engine.services.security.login.SecurityContext.setAnonymousPrincipal(SecurityContext.java:498)
... 6 more
Caused by: com.sap.security.api.NoSuchUserAccountException: USER_AUTH_FAILED: User account for logonid "Guest" not found!
at com.sap.security.core.imp.AbstractUserAccount.<init>(AbstractUserAccount.java:334)
at com.sap.security.core.imp.DBTextFileUserAccount.<init>(DBTextFileUserAccount.java:56)
at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:339)
at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:277)
at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:371)
at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:366)
at com.sap.security.core.server.userstore.UserContextUME.engineGetUserInfo(UserContextUME.java:183)
... 8 more
[Framework -> criticalShutdown] Core service security failed. J2EE Engine cannot be started.
Jan 27, 2006 4:13:45 PM com.sap.engine.core.Framework [SAPEngine_System_Thread[impl:5]_49] Fatal: Critical shutdown was invoked. Reason is: Core service security failed. J2EE Engine cannot be started.
stdout/stderr redirect
node name : server0
pid : 5588
system name : NET
system nr. : 00
started at : Fri Jan 27 16:13:47 2006
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 iaik/security/md/SHA a
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 6.40 PatchLevel 87289.311 is starting...
Loading: LogManager ... 766 ms.
Loading: PoolManager ... 0 ms.
Loading: ApplicationThreadManager ... 515 ms.
Loading: ThreadManager ... 63 ms.
Loading: IpVerificationManager ... 15 ms.
Loading: ClassLoaderManager ... 16 ms.
Loading: ClusterManager ... 328 ms.
Loading: LockingManager ... 63 ms.
Loading: ConfigurationManager ... 890 ms.
Loading: LicensingManager ... 31 ms.
Loading: ServiceManager ...
0.000: [GC 0.000: [DefNew: 43510K->13486K(65280K), 0.0444079 secs] 43510K->13486K(502528K), 0.0444643 secs]
Loading services.:
Service memory started. (16 ms).
Service jmx_notification started. (31 ms).
Service trex.service started. (32 ms).
Service cross started. (0 ms).
Service file started. (0 ms).
Service runtimeinfo started. (16 ms).
Service timeout started. (16 ms).
Service userstore started. (16 ms).
Service p4 started. (422 ms).
Service classpath_resolver started. (16 ms).
Service tcsecwssec~service started. (2016 ms).
5.903: [GC 5.903: [DefNew: 56982K->11503K(65280K), 0.0494446 secs] 56982K->11503K(502528K), 0.0495007 secs]
8.195: [GC 8.195: [DefNew: 55023K->21728K(65280K), 0.0692351 secs] 55023K->34468K(502528K), 0.0692909 secs]
14.811: [GC 14.811: [DefNew: 65248K->21760K(65280K), 0.1160254 secs] 77988K->37386K(502528K), 0.1160810 secs]
Service deploy started. (14000 ms).
Service tcsecvsi~service started. (21031 ms).
Service apptracing started. (1609 ms).
26.396: [GC 26.396: [DefNew: 65279K->9915K(65280K), 0.0420456 secs] 80906K->28046K(502528K), 0.0421023 secs]
30.124: [GC 30.124: [DefNew: 53435K->8994K(65280K), 0.0249515 secs] 71566K->27125K(502528K), 0.0250074 secs]
Service log_configurator started. (27922 ms).
Service locking started. (0 ms).
Service http started. (453 ms).
Service naming started. (860 ms).
Service failover started. (15 ms).
Service appclient started. (141 ms).
Service jmsconnector started. (219 ms).
Service bimmrdeployer started. (469 ms).
Service connector started. (422 ms).
Service javamail started. (781 ms).
Service ts started. (750 ms).
Service configuration started. (172 ms).
Service licensing started. (32 ms).
Service webservices started. (1156 ms).
33.942: [GC 33.942: [DefNew: 52514K->10382K(65280K), 0.0368606 secs] 70645K->28513K(502528K), 0.0369161 secs]
37.763: [GC 37.763: [DefNew: 53902K->9946K(65280K), 0.0276264 secs] 72033K->28077K(502528K), 0.0276837 secs]
Service dbpool started. (5891 ms).
Service com.sap.security.core.ume.service started. (1563 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:186)
at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(ServiceRunner.java:201)
at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:142)
at com.sap.engine.frame.core.thread.Task.run(Task.java:60)
at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:73)
at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:98)
Caused by: com.sap.engine.services.security.exceptions.BaseSecurityException: Anonymous principal not configured
at com.sap.engine.services.security.login.SecurityContext.setAnonymousPrincipal(SecurityContext.java:504)
at com.sap.engine.services.security.SecurityServerFrame.start(SecurityServerFrame.java:150)
... 5 more
Caused by: com.sap.security.core.server.userstore.UserstoreException: Could not get user Guest
at com.sap.security.core.server.userstore.UserContextUME.engineGetUserInfo(UserContextUME.java:187)
at com.sap.engine.services.security.userstore.context.UserContext.getUserInfo(UserContext.java:87)
at com.sap.engine.services.security.login.SecurityContext.setAnonymousPrincipal(SecurityContext.java:498)
... 6 more
Caused by: com.sap.security.api.NoSuchUserAccountException: USER_AUTH_FAILED: User account for logonid "Guest" not found!
at com.sap.security.core.imp.AbstractUserAccount.<init>(AbstractUserAccount.java:334)
at com.sap.security.core.imp.DBTextFileUserAccount.<init>(DBTextFileUserAccount.java:56)
at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:339)
at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:277)
at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:371)
at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:366)
at com.sap.security.core.server.userstore.UserContextUME.engineGetUserInfo(UserContextUME.java:183)
... 8 more
com.sap.engine.services.security.exceptions.SecurityServiceException: Unexpected exception:
at com.sap.engine.services.security.SecurityServerFrame.start(SecurityServerFrame.java:186)
at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(ServiceRunner.java:201)
at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:142)
at com.sap.engine.frame.core.thread.Task.run(Task.java:60)
at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:73)
at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:98)
Caused by: com.sap.engine.services.security.exceptions.BaseSecurityException: Anonymous principal not configured
at com.sap.engine.services.security.login.SecurityContext.setAnonymousPrincipal(SecurityContext.java:504)
at com.sap.engine.services.security.SecurityServerFrame.start(SecurityServerFrame.java:150)
... 5 more
Caused by: com.sap.security.core.server.userstore.UserstoreException: Could not get user Guest
at com.sap.security.core.server.userstore.UserContextUME.engineGetUserInfo(UserContextUME.java:187)
at com.sap.engine.services.security.userstore.context.UserContext.getUserInfo(UserContext.java:87)
at com.sap.engine.services.security.login.SecurityContext.setAnonymousPrincipal(SecurityContext.java:498)
... 6 more
Caused by: com.sap.security.api.NoSuchUserAccountException: USER_AUTH_FAILED: User account for logonid "Guest" not found!
at com.sap.security.core.imp.AbstractUserAccount.<init>(AbstractUserAccount.java:334)
at com.sap.security.core.imp.DBTextFileUserAccount.<init>(DBTextFileUserAccount.java:56)
at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:339)
at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:277)
at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:371)
at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:366)
at com.sap.security.core.server.userstore.UserContextUME.engineGetUserInfo(UserContextUME.java:183)
... 8 more
[Framework -> criticalShutdown] Core service security failed. J2EE Engine cannot be started.
Jan 27, 2006 4:14:35 PM com.sap.engine.core.Framework [SAPEngine_System_Thread[impl:5]_56] Fatal: Critical shutdown was invoked. Reason is: Core service security failed. J2EE Engine cannot be started.
Can any one help us to recover our server.Please...
Thanks in Advance...So simple answer then, create a user called Guest. What it will be is that the anonymous user parameters will point at that user and it will not start if that user does not exist.
If you are unable to add the user Guest in one of your user stores, then look in the config tool at the paramter ume..something.guestuser.unique ids or something like that. It will refer to a user called guest. Change it to a user that does exist. Restart. Done
Paul -
CallerPrincipal when calling one sessionbean from another
Hi all,
I have a little problem when calling one sessionbean from another sessionbean. The problem is, that in the method, which is called, is used SessionContext's getCallerPrincipal().getName(). This works great from client, but from other sessionbeans getCallerPrincipal() retuns an "ANONYMOUS" principal. How can I set the correct principal (the principal from the first sessionbean)?
Thank you
My env: Glassfish 2.1.1, Netbeans 6.8, Eclipselink 2.0.0, Java 1.6.0.18
My code:
@Stateless
public class ABean implements ASessionRemote{
@Resource
SessionContext ctx;
@Override
public void aMethod(){
String name = ctx.getCallerPrincipal().getName(); // the name is ANONYMOUS, when the call is done from other sessionbean
@Stateless
public class BBean implements BSessionRemote{
@Resource
SessionContext ctx;
@EJB
private ASessionRemote aSessionBean;
@Override
public void bMethod(){
aSessionBean.aMethod();
}"This works great from client"
What do you mean by this, i.e what sort of client are you using (stand alone app, servlet) ?
what shows up if you printout the caller principal in the calling bean ?
are the two ejbs in the same ear ?
what security meta-information are you using in ejb-jar.xml and sun-ejb-jar.xml, if any ? -
I have a heavy-weight client that accesses remote ejbs. I have this successfully setup using a jndi.properties file. I am not using the appclient. The client also needs to access protected ejbs. I have set up the client with a security manager with all permissions and a login.conf file using the shipped ClientPasswordLoginModule with debug on. On the server side I am using the jdbcRealm also shipped. Not that logging in work fine via the web. I create a login context and login. My callback handler is called and is set to a valid username and password. Yet if I print the callerPrincipal.getName() in my bean, it is still ANONYMOUS. What am I doing wrong? Both side, the client and server, appear to have functional JAAS setups, but they are not working together. I have also tried to use the appclient with JAAS and no success. I also tried to use it with out and provide the username and password via the textauth and it still sets me as ANONYMOUS. Any ideas?
Thanks,
MattI have client container calling a session EJB working as a facade.
The module has one role mapped to a group used in the file realm.
Running it from Visual Studio, I get to enter username/password. I get Anonymous principal (methods are set he defined role)
I really don't know what I am doing wrong. this help didn't work for me either.
Any idea of where to look?
clogon -
Hello Friends,
I installed my CRM 5 weeks ago, it was working fine till
yesterday. I was triying to restar my CRM but j2ee
never wanted to start. I didn't know what happened that
caused him never want to restart. i looked into mmc
console and i saw " java not active " ..
i saw the logs and found these lines :
com.sap.engine.core.Framework##com.sap.engine.core.Framework#######SAPEngine_System_Thread[impl:5]_53##0#0#Fatal#1#/System/Server#Plain###Critical shutdown was invoked. Reason is: Core service security failed. J2EE Engine cannot be started.#
#1.5#000423A6E1B4001F00000005000009CC00041D2FDDB1AD3C#1157991326917#com.sap.engine.services.security##com.sap.engine.services.security#######SAPEngine_System_Thread[impl:5]_31##0#0#Error#1#/System/Security#Java#security_0001##Unexpected exception:##
#1.5#000423A6E1B4001F00000006000009CC00041D2FDDB1C77D#1157991326933#com.sap.engine.services.security##com.sap.engine.services.security#######SAPEngine_System_Thread[impl:5]_31##0#0#Error#1#/System/Audit#Java###Exception #1#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)
i don't understand what the meanning of these lines..
i searched in this forum and found some post about VMC
but did not know what to do to activate java..
plz help me and i promise a lot pts..
Message was edited by: Blackmanthnx,
but i used config tools to change the entries :
sap.com.core.security.master.ahost
sap.com.core.security.master.user
sap.com.core.security.master.pass
sap.com.core.security.master.syncn
i gave the new user RFC authorizations, then the j2EE server restarted, but i have new porblemes :
i don't know what i have done , i can't access to my applications ( B2B, XCM, Useradmin) i have one of the two messages :
Application cannot be started.
Details: com.sap.engine.services.deploy.container.ExceptionInfo: Naming error.
or
You are not authorized to view the requested resource. Details: No details available
i think i lost J2EE_ADMIN pass because i tried it 3 times wrongly..
what to do?
lots of pts if help
Message was edited by: Blackman -
Hello!!
My EP server was working fine until this morning. The intance went down and when I tried to started it up, everything was in green but the jcontrol that was in yellow with the message Some proccess running.
When I checked the jcontrol developer trace I got this:
Thr 2616] JControlICheckProcessList: process server1 started (PID:4968)
[Thr 2616] Wed May 10 12:34:41 2006
[Thr 2616] JControlICheckProcessList: process server1 (pid:4968) died (RUN-FLAG)
[Thr 2616] JControlIResetProcess: reset process server1
[Thr 2616] JControlIResetProcess: [server1] not running -> increase error count (4)
[Thr 2616] Wed May 10 12:34:46 2006
[Thr 2616] JControlICheckProcessList: process server0 (pid:6028) died (RUN-FLAG)
[Thr 2616] JControlIResetProcess: reset process server0
[Thr 2616] JControlIResetProcess: [server0] not running -> increase error count (4)
So, then I check the std_server1.out file and I can see that there is some kind of user problem:
15.478: [ParNew 96310K->14086K(1004800K), 0.0451567 secs]
Service com.sap.security.core.ume.service started. (3375 ms).
19.729: [ParNew 101638K->17093K(1004800K), 0.0521440 secs]
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: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: 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 Guest
at com.sap.security.core.server.userstore.UserContextUME.engineGetUserInfo(UserContextUME.java:193)
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.DuplicateKeyException: USER_AUTH_FAILED: Logonid "Guest" is not unique!
at com.sap.security.core.imp.AbstractUserAccount.<init>(AbstractUserAccount.java:354)
at com.sap.security.core.imp.DBTextFileUserAccount.<init>(DBTextFileUserAccount.java:56)
at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:427)
at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:278)
at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:459)
at com.sap.security.core.imp.UserAccountFactory.getUserAccountByLogonId(UserAccountFactory.java:454)
at com.sap.security.core.server.userstore.UserContextUME.engineGetUserInfo(UserContextUME.java:189)
... 8 more
Why if the server was working fine now I am having this problem????
PLEASE HELP!!!
Thanks again to everyone,Hi,
I think you are trying anonymous user logon correct me if i am wrong,
I think Guset user is already there on your portal server and is not unique as stated in error you have pasted,as this user is not unique server is unable to find it,have done any configurations on server in UME properties??if yes then roll back all and try.
Regards,
Ameya -
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 SinghSeems 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 -
DBMS_XDB.CREATEFOLDER Access denied error
Hi,
I am trying to create folder in XML DB using procedure call DBMS_XDB.CREATEFOLDER.
It works fine when I run the command using PL SQL block.
declare
l_Bln boolean;
begin
l_Bln := DBMS_XDB.CREATEFOLDER('/images/themes/sfatest');
if l_Bln then
dbms_output.put_line('Folder Created');
else
dbms_output.put_line('Folder NOT Created');
end if;
COMMIT;
end;
But it gives me access denied error if I try to run the same inside a procedure.
CREATE OR REPLACE PROCEDURE TT AS
l_Bln boolean;
begin
l_Bln := DBMS_XDB.CREATEFOLDER('/images/themes/sfatest');
if l_Bln then
dbms_output.put_line('Folder Created');
else
dbms_output.put_line('Folder NOT Created');
end if;
COMMIT;
end;
exec tt;
ORA-31050: Access denied
ORA-06512: at "XDB.DBMS_XDB", line 316
ORA-06512: at "SFA.TT", line 4
ORA-06512: at line 1
USER from which I am running this procedure has the XDBADMIN role.
I am using Oracle 11g/ PL SQL Gateway. I don't know how to configure ACL for this situation.
Can anyone help me please?
Thanks
Balaji ChellappaHi
I read through the entire documentation and followed the steps to grant the access.
-- Granting to user SFA
DECLARE
r PLS_INTEGER;
ace XMLType;
ace_data VARCHAR2(2000);
BEGIN
ace_data := '<ace xmlns="http://xmlns.oracle.com/xdb/acl.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.oracle.com/xdb/acl.xsd
http://xmlns.oracle.com/xdb/acl.xsd
DAV:http://xmlns.oracle.com/xdb/dav.xsd">
<principal>SFA</principal>
<grant>true</grant>
<privilege><all/></privilege>
</ace>';
ace := XMLType.createXML(ace_data);
r := DBMS_XDB.changePrivileges('/images/themes/sfatest', ace);
COMMIT;
END;
-- Granting to Public
DECLARE
r PLS_INTEGER;
ace XMLType;
ace_data VARCHAR2(2000);
BEGIN
ace_data := '<ace xmlns="http://xmlns.oracle.com/xdb/acl.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.oracle.com/xdb/acl.xsd
http://xmlns.oracle.com/xdb/acl.xsd
DAV:http://xmlns.oracle.com/xdb/dav.xsd">
<principal>PUBLIC</principal>
<grant>true</grant>
<privilege><all/></privilege>
</ace>';
ace := XMLType.createXML(ace_data);
r := DBMS_XDB.changePrivileges('/images/themes/sfatest', ace);
COMMIT;
END;
-- sfatest ACL
SELECT DBMS_XDB.getACLDocument('/public').getCLOBVal() FROM DUAL;
<acl description="Read-only privileges to anonymous" xmlns="http://xmlns.oracle.com/xdb/acl.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.oracle.com/xdb/acl.xsd http://xmlns.oracle.com/xdb/acl.xsd" shared="false">
<ace>
<grant>true</grant>
<principal>ANONYMOUS</principal>
<privilege>
<read-properties/>
<read-contents/>
<resolve/>
</privilege>
</ace>
<ace>
<grant>true</grant>
<principal>SFA</principal>
<privilege>
<all/>
</privilege>
</ace>
<ace>
<grant>true</grant>
<principal>PUBLIC</principal>
<privilege>
<all/>
</privilege>
</ace>
</acl>
-- sfatest privileges
SELECT DBMS_XDB.getPrivileges('/images/themes/sfatest').getCLOBVal() FROM DUAL;
<privilege xmlns="http://xmlns.oracle.com/xdb/acl.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.oracle.com/xdb/acl.xsd http://xmlns.oracle.com/xdb/acl.xsd DAV: http://xmlns.oracle.com/xdb/dav.xsd" xmlns:xdbacl="http://xmlns.oracle.com/xdb/acl.xsd" xmlns:dav="DAV:">
<read-properties/>
<read-contents/>
<write-config/>
<link/>
<unlink/>
<read-acl/>
<write-acl-ref/>
<update-acl/>
<resolve/>
<link-to/>
<unlink-from/>
<dav:lock/>
<dav:unlock/>
<dav:write-properties/>
<dav:write-content/>
<dav:execute/>
<dav:take-ownership/>
<dav:read-current-user-privilege-set/>
</privilege>
Now everyone has full control over sfatest
But still when I try this command through procedure it fails.
CREATE OR REPLACE PROCEDURE TT AS
--declare
l_Bln boolean;
begin
l_Bln := DBMS_XDB.CREATEFOLDER('/images/themes/sfatest/test');
if l_Bln then
dbms_output.put_line('Folder Created');
else
dbms_output.put_line('Folder NOT Created');
end if;
COMMIT;
end;
exec tt;
ORA-31050: Access denied
ORA-06512: at "XDB.DBMS_XDB", line 316
ORA-06512: at "SFA.TT", line 5
ORA-06512: at line 1
Can any one help me please? -
SRDemo migrated to TP2, jbo.user.principal set to anonymous in UnitTests
Hi, I have a SRDemo 10.1.3 project migrated to TP2 according to the instructions on http://www.oracle.com/technology/products/jdev/tips/muench/1013srdemo/index.html. The unit tests of the same project gave different results on two different jdeveloper tp2 on two desktops. One jdev is encontering oracle.jbo.common.ampool.ApplicationPoolException: JBO-30003: The application pool (oracle.srdemo.model.SRServiceLocalTesting) failed to checkout an application module due to the following exception:
oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2152)
oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2952)
oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)
oracle.jbo.client.Configuration.getApplicationModule(Configuration.java:1300)
oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1268)
oracle.srdemo.tests.model.fixtures.SRServiceFixture.setUp(SRServiceFixture.java:36)
oracle.srdemo.tests.model.unittests.SRUnitTestBase.setUp(SRUnitTestBase.java:111)
junit.framework.TestCase.runBare(TestCase.java:125)
junit.framework.TestResult$1.protect(TestResult.java:106)
junit.framework.TestResult.runProtected(TestResult.java:124)
junit.framework.TestResult.run(TestResult.java:109)
junit.framework.TestCase.run(TestCase.java:118)
junit.framework.TestSuite.runTest(TestSuite.java:208)
junit.framework.TestSuite.run(TestSuite.java:203)
junit.framework.TestSuite.runTest(TestSuite.java:208)
junit.framework.TestSuite.run(TestSuite.java:203)
I traced the code and the jbo.user.princiapl in session is set to anonymous while the working one is set to ngreenbe.
Since these two projects are identical, what could be in the environment affecting the jbo.user.principal?It turns out that this is caused by the following section <!-- Login Module Data -->
<jazn-loginconfig>...</jazn-loginconfig> missing in \jdev11tp2\j2ee\home\config\system-jazn-data.xml.
I suspect that this is due to I had the TP2 migrated from a previous environment instead of starting anew.
Maybe you are looking for
-
i would need to extract data for payroll data from data source 0HR_PY_1 to BW based on the period of time say for example 01.2007 to 12.2007, the infopackage in Production is in full load i would need to initalise it to Delta. for this, i can first r
-
Why the blackberry desktop wont work on windows8
please can someone please help me
-
Hello All, We are working on an IDOC to flat file scenario where Idoc is containing some Russian characters. I have done the required settings in RFC destination, and able to get the russian characters in PI. But when I am posting the file on FTP ser
-
Hi all, I need to know if there's any Master Data management tool (like MDG)? Preferably SAP product. NRX Asset Hub is one which my client is using but it may not fulfill the complex requirement of client. Best Regards, Anish
-
Firmware update ends with 3256 error
os many times tried to download 4.3.3 firmware updtes so many times it failed