My Oracle Support Banner

OPSS : JPS-10702: The Datasource Jdbc/OpssDataSource Is Not Found - <JPS-04155> <Scanning of application policy failed. Reason {0} (Doc ID 2710603.1)

Last updated on SEPTEMBER 15, 2020

Applies to:

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

Symptoms

On : 12.2.1.3.0 version, Java Platform Security

When attempting to start the server
the following error occurs.

ERROR
-----------------------
[partition-name: DOMAIN] > <JPS-04155> <Scanning of application policy failed. Reason {0}
oracle.security.jps.service.policystore.PolicyStoreException: JPS-10702: The datasource jdbc/OpssDataSource is not found.
at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.getDataSourceAndSubject(JpsDBDataManager.java:2045)
at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.createEMFAndSubject(JpsDBDataManager.java:1781)
at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.getEMFAndSubject(JpsDBDataManager.java:1754)
at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.init(JpsDBDataManager.java:1402)
at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.jpsObjectListQuery(JpsDBDataManager.java:4147)
at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.jpsObjectListQuery(JpsDBDataManager.java:4140)
at oracle.security.jps.internal.policystore.entitymanager.impl.ApplicationManagerImpl.getAllApplicationsInTransaction(ApplicationManagerImpl.java:366)
at oracle.security.jps.internal.policystore.ldap.StoreManager.getApplicationNames(StoreManager.java:732)
at oracle.security.jps.internal.policystore.entitymanager.impl.InternalQueryManagerImpl.getAllApplicationNames(InternalQueryManagerImpl.java:2366)
at oracle.security.jps.az.internal.management.pd.service.GenericPolicyDistributionService.internalGetAllAppPolicyNames(GenericPolicyDistributionService.java:527)
at oracle.security.jps.az.internal.management.pd.service.GenericPolicyDistributionService.getAllAppPolicyNames(GenericPolicyDistributionService.java:498)
at oracle.security.jps.az.internal.common.scanner.PolicyChangeScanner.processDeletedApplications(PolicyChangeScanner.java:672)
at oracle.security.jps.az.internal.common.scanner.PolicyChangeScanner.scanApplicationPolicies(PolicyChangeScanner.java:466)
at oracle.security.jps.az.internal.common.scanner.PolicyChangeScanner.scan(PolicyChangeScanner.java:295)
at oracle.security.jps.az.internal.common.scanner.PolicyChangeScanner.access$200(PolicyChangeScanner.java:114)
at oracle.security.jps.az.internal.common.scanner.PolicyChangeScanner$ScanTask.run(PolicyChangeScanner.java:246)
at javax.enterprise.concurrent.ManagedExecutors$RunnableAdapter.run(ManagedExecutors.java:211)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at weblogic.work.concurrent.TaskWrapper.call(TaskWrapper.java:151)
at weblogic.work.concurrent.future.AbstractFutureImpl.runTask(AbstractFutureImpl.java:391)
at weblogic.work.concurrent.future.AbstractFutureImpl.doRun(AbstractFutureImpl.java:436)
at weblogic.work.concurrent.future.ManagedScheduledFutureImpl.timerExpired(ManagedScheduledFutureImpl.java:86)
at weblogic.work.concurrent.future.ManagedPeriodFutureImpl.timerExpired(ManagedPeriodFutureImpl.java:97)
at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:301)
at weblogic.work.concurrent.future.ManagedScheduledFutureImpl.run(ManagedScheduledFutureImpl.java:96)
at weblogic.work.concurrent.ScheduledWorkManager$ScheduledWork.run(ScheduledWorkManager.java:174)
at weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:352)
at weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:337)
at weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:57)
at weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
at weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:652)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:420)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:360)
Caused By: javax.naming.NameNotFoundException: While trying to lookup 'jdbc.OpssDataSource' didn't find subcontext 'jdbc'. Resolved ''; remaining name 'jdbc/OpssDataSource'
at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1292)
at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:349)
at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:227)
at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:214)
at weblogic.jndi.internal.ServerNamingNode.lookup(ServerNamingNode.java:532)
at weblogic.jndi.internal.RootNamingNode.lookup(RootNamingNode.java:84)
at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:307)
at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:435)
at javax.naming.InitialContext.lookup(InitialContext.java:417)
at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.getDataSourceInDoAs(JpsDBDataManager.java:2126)
at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.getDataSourceAndSubject(JpsDBDataManager.java:2019)
at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.createEMFAndSubject(JpsDBDataManager.java:1781)
at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.getEMFAndSubject(JpsDBDataManager.java:1754)
at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.init(JpsDBDataManager.java:1402)
at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.jpsObjectListQuery(JpsDBDataManager.java:4147)
at oracle.security.jps.internal.policystore.rdbms.JpsDBDataManager.jpsObjectListQuery(JpsDBDataManager.java:4140)
at oracle.security.jps.internal.policystore.entitymanager.impl.ApplicationManagerImpl.getAllApplicationsInTransaction(ApplicationManagerImpl.java:366)
at oracle.security.jps.internal.policystore.ldap.StoreManager.getApplicationNames(StoreManager.java:732)
at oracle.security.jps.internal.policystore.entitymanager.impl.InternalQueryManagerImpl.getAllApplicationNames(InternalQueryManagerImpl.java:2366)
at oracle.security.jps.az.internal.management.pd.service.GenericPolicyDistributionService.internalGetAllAppPolicyNames(GenericPolicyDistributionService.java:527)
at oracle.security.jps.az.internal.management.pd.service.GenericPolicyDistributionService.getAllAppPolicyNames(GenericPolicyDistributionService.java:498)
at oracle.security.jps.az.internal.common.scanner.PolicyChangeScanner.processDeletedApplications(PolicyChangeScanner.java:672)
at oracle.security.jps.az.internal.common.scanner.PolicyChangeScanner.scanApplicationPolicies(PolicyChangeScanner.java:466)
at oracle.security.jps.az.internal.common.scanner.PolicyChangeScanner.scan(PolicyChangeScanner.java:295)
at oracle.security.jps.az.internal.common.scanner.PolicyChangeScanner.access$200(PolicyChangeScanner.java:114)
at oracle.security.jps.az.internal.common.scanner.PolicyChangeScanner$ScanTask.run(PolicyChangeScanner.java:246)
at javax.enterprise.concurrent.ManagedExecutors$RunnableAdapter.run(ManagedExecutors.java:211)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at weblogic.work.concurrent.TaskWrapper.call(TaskWrapper.java:151)
at weblogic.work.concurrent.future.AbstractFutureImpl.runTask(AbstractFutureImpl.java:391)
<Aug 28, 2020 4:40:45,589 AM IST> <Error> <WebLogicServer> <sflchnwl01> <psMS4> <[ACTIVE] ExecuteThread: '5' for queue: 'weblogic.kernel.Default (self-tuning)'> <> <> <e7ac4db2-c9f4-43c7-b51e-116c1bac5edf-000009d9> <1598569845589> <[severity-value: 8] [rid: 0] [partition-id: 0] [partition-name: DOMAIN] > <BEA-000337> <[STUCK] ExecuteThread: '17' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "636" seconds working on the request "Http Request Information: weblogic.servlet.internal.ServletRequestImpl@82b3f3f[GET /psfleetservice/psiocconsumption]
", which is more than the configured time (StuckThreadMaxTime) of "600" seconds in "server-failure-trigger". Stack trace:
java.net.SocketInputStream.socketRead0(Native Method)
java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
java.net.SocketInputStream.read(SocketInputStream.java:171)
java.net.SocketInputStream.read(SocketInputStream.java:141)
sun.security.ssl.InputRecord.readFully(InputRecord.java:465)
sun.security.ssl.InputRecord.read(InputRecord.java:503)
sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973)
sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:930)
sun.security.ssl.AppInputStream.read(AppInputStream.java:105)
java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
java.io.BufferedInputStream.read(BufferedInputStream.java:345)
sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:735)
sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:678)
sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1569)
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1474)
com.sun.net.ssl.internal.www.protocol.https.HttpsURLConnectionOldImpl.getInputStream(HttpsURLConnectionOldImpl.java:224)
in.sis.ps.PsIOCConsumption.getResponse(PsIOCConsumption.java:293)
in.sis.ps.PsIOCConsumption.doGet(PsIOCConsumption.java:85)
javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:286)
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:260)
weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:137)
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:350)
weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:32)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3706)
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3672)
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:328)
weblogic.security.service.SecurityManager.runAsForUserCode(SecurityManager.java:197)
weblogic.servlet.provider.WlsSecurityProvider.runAsForUserCode(WlsSecurityProvider.java:203)
weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:71)
weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2443)
weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2291)
weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2269)
weblogic.servlet.internal.ServletRequestImpl.runInternal(ServletRequestImpl.java:1705)
weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1665)
weblogic.servlet.provider.ContainerSupportProviderImpl$WlsRequestExecutor.run(ContainerSupportProviderImpl.java:272)
weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:352)
weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:337)
weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:57)
weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:652)
weblogic.work.ExecuteThread.execute(ExecuteThread.java:420)
weblogic.work.ExecuteThread.run(ExecuteThread.java:360)




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