My Oracle Support Banner

OPSS - Unable start Managed server seeing InvalidStateException: JPS-00250: OPSS Is Already Pre-started (Doc ID 2396832.1)

Last updated on MARCH 01, 2023

Applies to:

Oracle Platform Security for Java - Version 12.2.1.3.0 and later
Information in this document applies to any platform.

Symptoms

Unable to start the managed servers, in a SOA domain

After disable the listen port on Weblogic, for this Server

Seeing the next error:

<Security> <BEA-090169> <Loading trusted certificates from the kss keystore file kss://keystore/trust.>
oracle.security.jps.JpsStartup startWithRetry
INFO: Jps initializing.
oracle.security.opss.internal.runtime.ServiceContextManagerImpl createContextInternal
WARNING: JPS-00193
oracle.security.jps.internal.config.OpssCommonStartup start
INFO: Jps startup failed.
<Error> <Security> <BEA-090929> <Unable to load key store [keyStoreType="KSS", source="kss://keystore/trust", exception="java.lang.RuntimeException", message="oracle.security.jps.JpsException: JPS-00056: Failed to create identity store service instance idstore.ldap.provider:idstore.ldap. Reason: weblogic.security.service.SecurityServiceRuntimeException: The WLS ManagementService has not been initialized.."]>
<Warning> <Security> <BEA-090164> <Failed to load trusted certificates from keystore kss://keystore/trust of type kss>
<Info> <Management> <BEA-141307> <Unable to connect to the Administration Server. Waiting 5 second(s) to retry (attempt number 1 of 3).>
<Info> <Management> <BEA-141307> <Unable to connect to the Administration Server. Waiting 5 second(s) to retry (attempt number 2 of 3).>
<Info> <Management> <BEA-141307> <Unable to connect to the Administration Server. Waiting 5 second(s) to retry (attempt number 3 of 3).>
<Info> <Management> <BEA-141298> <Could not register with the Administration Server: java.rmi.RemoteException: [Deployer:<DEPLOYER>]An IOException occurred while reading the input.; nested exception is:
javax.net.ssl.SSLException: java.lang.RuntimeException: java.lang.IllegalStateException: TrustManagerFactoryImpl is not initialized>
<Info> <Management> <BEA-141107> <Version: WebLogic Server 12.2.1.3.0 Thu Aug 17 13:39:49 PDT 2017 1882952>
<Alert> <Management> <BEA-141151> <The Administration Server could not be reached at https://<IP_ADDRESS>:<HTTP_PORT>.>
<Info> <Configuration Management> <BEA-150018> <This server is being started in Managed Server independence mode in the absence of the Administration Server.>
<Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING.>
<Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool.>
<Info> <WorkManager> <BEA-002942> <CMM memory level becomes 0. Setting standby thread pool size to 256.>
<Notice> <Log Management> <BEA-170019> <The server log file weblogic.logging.FileStreamHandler instance=<INSTANCE_ID>
Current log file=$DOMAIN_HOME/servers/<SERVER>/logs/server.log
Rotation dir=$DOMAIN_HOME/servers/<SERVER>/logs
is opened. All server side log events will be written to this file.>
oracle.security.jps.wls.JpsDefaultService start
INFO: JPS default service started.
<Critical> <WebLogicServer> <BEA-000386> <Server subsystem failed. Reason: A MultiException has 2 exceptions. They are:
1. oracle.security.jps.InvalidStateException: JPS-00250: OPSS is already pre-started.
2. java.lang.IllegalStateException: Unable to perform operation: post construct on oracle.security.jps.wls.JpsDefaultService

A MultiException has 2 exceptions. They are:
1. oracle.security.jps.InvalidStateException: JPS-00250: OPSS is already pre-started.
2. java.lang.IllegalStateException: Unable to perform operation: post construct on oracle.security.jps.wls.JpsDefaultService

   at org.jvnet.hk2.internal.ClazzCreator.create(ClazzCreator.java:392)
   at org.jvnet.hk2.internal.SystemDescriptor.create(SystemDescriptor.java:487)
   at org.glassfish.hk2.runlevel.internal.AsyncRunLevelContext.findOrCreate(AsyncRunLevelContext.java:305)
   at org.glassfish.hk2.runlevel.RunLevelContext.findOrCreate(RunLevelContext.java:85)
   at org.jvnet.hk2.internal.Utilities.createService(Utilities.java:2126)
   Truncated. see log file for complete stacktrace
Caused By: oracle.security.jps.InvalidStateException: JPS-00250: OPSS is already pre-started.
   at oracle.security.jps.JpsStartup.preStart(JpsStartup.java:355)
   at oracle.security.jps.JpsStartup.start(JpsStartup.java:248)
   at oracle.security.jps.wls.JpsDefaultService.start(JpsDefaultService.java:92)
   at weblogic.server.AbstractServerService.postConstruct(AbstractServerService.java:76)
   at sun.reflect.GeneratedMethodAccessor58.invoke(Unknown Source)
   Truncated. see log file for complete stacktrace
>
<Notice> <WebLogicServer> <BEA-000365> <Server state changed to FAILED.>

 

 

Changes

If enable only SSL port, for this managed server, observing the problem

If enable both listen port and SSL port, for this managed server, then able to start the managed servers.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.