on 05-25-2012 9:25 AM
On a Solution Manager the JAVA Stack does not start.
The only message I get is:
(UserContextSpi, Properties) [SAPEngine_System_Thread[impl:5]_26] 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:205)
at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(ServiceRunner.java:214)
at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:144)
at com.sap.engine.frame.core.thread.Task.run(Task.java:64)
at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:83)
at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:156)
Caused by: com.sap.engine.services.security.exceptions.BaseSecurityException: No active userstore is set.
at com.sap.engine.services.security.server.UserStoreFactoryImpl.getActiveUserStore(UserStoreFactoryImpl.java:80)
at com.sap.engine.services.security.server.jaas.LoginModuleHelperImpl.update(LoginModuleHelperImpl.java:415)
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:151)
Does anyone know this error?
i had a same error to after restart system
so in my solving way u should follow this steps:
login as database user and start lsnrctl
for example:
for oracle database:
ora<sid> lsnrctl start
after that login as a sap user admin and startsap i mean;
<sid>adm startsap
after these steps it worked on my sytem i help it will help you too
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Messages in the file dev_server0:
Error occurred during initialization of VM
Could not reserve enough space for object heap
[Thr 3460] JLaunchIAbortJava: abort hook is called
[Thr 3460] **********************************************************************
[Thr 3460] *** ERROR => The Java VM aborted unexpectedly.
[Thr 3460] *** Please see SAP Note 943602 , section 'Java VM crashes'
[Thr 3460] *** for additional information and trouble shooting.
[Thr 3460] **********************************************************************
[Thr 3460] JLaunchCloseProgram: good bye (exitcode = -2)
dev_dispatcher has no error messages. it seems that there is all ok
std_server0:
--------------------------------------------------------------------------------
stdout/stderr redirect
--------------------------------------------------------------------------------
node name : server0
pid : 6360
system name : SID
system nr. : 00
started at : Tue May 29 12:36:48 2012
[Thr 5180] MtxInit: 10001 0 2
Error occurred during initialization of VM
Could not reserve enough space for object heap
--------------------------------------------------------------------------------
stdout/stderr redirect
--------------------------------------------------------------------------------
node name : server0
pid : 6360
system name : SID
system nr. : 00
started at : Tue May 29 12:36:59 2012
[Thr 4708] MtxInit: 10001 0 2
Error occurred during initialization of VM
Could not reserve enough space for object heap
--------------------------------------------------------------------------------
stdout/stderr redirect
--------------------------------------------------------------------------------
node name : server0
pid : 6360
system name : SID
system nr. : 00
started at : Tue May 29 12:37:08 2012
[Thr 5100] MtxInit: 10001 0 2
Error occurred during initialization of VM
Could not reserve enough space for object heap
--------------------------------------------------------------------------------
stdout/stderr redirect
--------------------------------------------------------------------------------
node name : server0
pid : 6360
system name : SID
system nr. : 00
started at : Tue May 29 12:37:13 2012
[Thr 4220] MtxInit: 10001 0 2
Error occurred during initialization of VM
Could not reserve enough space for object heap
--------------------------------------------------------------------------------
stdout/stderr redirect
--------------------------------------------------------------------------------
node name : server0
pid : 6360
system name : SID
system nr. : 00
started at : Tue May 29 12:38:22 2012
[Thr 4840] MtxInit: 10001 0 2
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.02 PatchLevel 129818. is starting...
Loading: LogManager ... 1030 ms.
Loading: PoolManager ... 16 ms.
Loading: ApplicationThreadManager ... 46 ms.
Loading: ThreadManager ... 16 ms.
Loading: IpVerificationManager ... 16 ms.
Loading: ClassLoaderManager ... 15 ms.
Loading: ClusterManager ... 250 ms.
Loading: LockingManager ... 78 ms.
Loading: ConfigurationManager ... 2638 ms.
Loading: LicensingManager ... 125 ms.
Loading: CacheManager ... 125 ms.
Loading: ServiceManager ...
Loading services.:
Service memory started. (46 ms).
Service cross started. (46 ms).
Service timeout started. (124 ms).
Service file started. (140 ms).
Service runtimeinfo started. (16 ms).
Service trex.service started. (31 ms).
Service p4 started. (765 ms).
13.540: [GC 13.540: [DefNew: 174592K->12482K(261888K), 0.0484275 secs] 174592K->12482K(2009856K), 0.0485092 secs]
Service classpath_resolver started. (78 ms).
Service userstore started. (31 ms).
17.214: [GC 17.214: [DefNew: 187074K->15053K(261888K), 0.0433955 secs] 187074K->15053K(2009856K), 0.0434647 secs]
21.593: [GC 21.593: [DefNew: 189645K->24174K(261888K), 0.0633588 secs] 189645K->24174K(2009856K), 0.0634250 secs]
Service log_configurator started. (9578 ms).
Service jmx_notification started. (6177 ms).
Service locking started. (16 ms).
Service naming started. (250 ms).
Service ts started. (31 ms).
Service licensing started. (0 ms).
Service failover started. (0 ms).
Service javamail started. (109 ms).
Service appclient started. (172 ms).
Service iiop started. (500 ms).
Service jmsconnector started. (31 ms).
Service connector started. (156 ms).
Service http started. (514 ms).
Service deploy started. (13337 ms).
Service configuration started. (203 ms).
Service MigrationService started. (221 ms).
Service bi~mmr~deployer started. (47 ms).
Service dbpool started. (1423 ms).
31.003: [GC 31.003: [DefNew: 198766K->29612K(261888K), 0.0572789 secs] 198766K->29612K(2009856K), 0.0573476 secs]
Service UT started. (265 ms).
Service tc~lm~nzdm~crrsrv started. (609 ms).
Service com.sap.security.core.ume.service started. (5008 ms).
May 29, 2012 12:38:59... ...xt.<init>(UserContextSpi, Properties) [SAPEngine_System_Thread[impl:5]_26] 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:205)
at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(ServiceRunner.java:214)
at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:144)
at com.sap.engine.frame.core.thread.Task.run(Task.java:64)
at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:83)
at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:156)
Caused by: com.sap.engine.services.security.exceptions.BaseSecurityException: No active userstore is set.
at com.sap.engine.services.security.server.UserStoreFactoryImpl.getActiveUserStore(UserStoreFactoryImpl.java:80)
at com.sap.engine.services.security.server.jaas.LoginModuleHelperImpl.update(LoginModuleHelperImpl.java:415)
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:151)
... 5 more
com.sap.engine.services.security.exceptions.SecurityServiceException: Unexpected exception:
at com.sap.engine.services.security.SecurityServerFrame.start(SecurityServerFrame.java:205)
at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(ServiceRunner.java:214)
at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:144)
at com.sap.engine.frame.core.thread.Task.run(Task.java:64)
at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:83)
at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:156)
Caused by: com.sap.engine.services.security.exceptions.BaseSecurityException: No active userstore is set.
at com.sap.engine.services.security.server.UserStoreFactoryImpl.getActiveUserStore(UserStoreFactoryImpl.java:80)
at com.sap.engine.services.security.server.jaas.LoginModuleHelperImpl.update(LoginModuleHelperImpl.java:415)
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:151)
... 5 more
[Framework -> criticalShutdown] Core service security failed. J2EE Engine cannot be started.
May 29, 2012 12:38:59... com.sap.engine.core.Framework [SAPEngine_System_Thread[impl:5]_26] Fatal: Critical shutdown was invoked. Reason is: Core service security failed. J2EE Engine cannot be started.
There is 2 GB memory in the system
Hi,
The error is still surrounding on your UME.
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:205)
at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(ServiceRunner.java:214)
at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:144)
at com.sap.engine.frame.core.thread.Task.run(Task.java:64)
at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:83)
at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:156)
Caused by: com.sap.engine.services.security.exceptions.BaseSecurityException: No active userstore is set.
Please refer to below thread and check the UME setting. http://scn.sap.com/thread/898277 Thanks, Nicholas Chang
Caused by: com.sap.engine.services.security.exceptions.BaseSecurityException: No active userstore is set.
It seems JAVA can't connect to ABAP system.
Go to this tool: /usr/sap/<SID>/DVEBMGS<SNO>/j2ee/configtool/configtool.sh (LINUX) or configtool.bat (Windows)
Global server configuration -> services -> com.sap.security.core***
check this parameter:
ume.persistence.data_source_configuration -> your data source (usually dataSourceConfiguration_abap.xml)
ume.r3.connection.master.ashost -> your java hostname (localhost if it's local)
ume.r3.connection.master.client -> your production client
ume.r3.connection.master.user -> usually SAPJSF
ume.r3.connection.master.passwd -> user password
Then make sure the user SAPJSF exist in your production client, along with correct password.
Then restart the JAVA cluster.
Regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
After set the parameters I got the following error:
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:205)
at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(ServiceRunner.java:214)
at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:144)
at com.sap.engine.frame.core.thread.Task.run(Task.java:64)
at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:83)
at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:156)
Caused by: com.sap.engine.services.security.exceptions.BaseSecurityException: No active userstore is set.
at com.sap.engine.services.security.server.UserStoreFactoryImpl.getActiveUserStore(UserStoreFactoryImpl.java:80)
at com.sap.engine.services.security.server.jaas.LoginModuleHelperImpl.update(LoginModuleHelperImpl.java:415)
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:151)
... 5 more
How can I activate the userstore?
Hi,
please set the parameter ume.r3.connection.master.client as your productin client in the config tool
please check the list of parameters http://help.sap.com/saphelp_47x200/helpdata/en/f0/06093f7c392e5ae10000000a114084/content.htm
Thanks,
Jansi
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.