My Oracle Support Banner

Oracle Cloud(OCI) 12.2.1.4.0 InProcess Reports Server Keeps Spinning for Admin Commands /startserver, /showjobs (Doc ID 2880011.1)

Last updated on APRIL 26, 2023

Applies to:

Oracle Reports Developer - Version 12.2.1.4.0 and later
Oracle Forms for OCI - Version 12.2.1.4.0 and later
Information in this document applies to any platform.

Symptoms

Performed Lift-Shift of Oracle Forms and Reports 11.1.2.2.0(Weblogic 10.3.6) into Oracle Cloud Compute infrastructure and installed Oracle Forms/Reports 12c.

Upgraded 11gR2 domain with 12.2.1.4.0 using steps from "Upgrading Oracle Forms from 11g to 12c" and "Using the Upgrade Assistant".

https://docs.oracle.com/en/middleware/developer-tools/forms/12.2.1.4/install-fnr/upgrading-oracle-forms.html#GUID-C4C23CC1-771F-4066-B3F0-D4D034E6FF0D

WLS_REPORTS starts fine, when running Reports Server admin commands like below, the URL keeps spinning and causing StuckThreads and no entry found in the access.log.

HTTP://<HOSTNAME>:<WLS_REPORTS_PORT>/reports/rwservelet/startserver

HTTP://<HOSTNAME>:<WLS_REPORTS_PORT>/reports/rwservelet/showjobs

Found below error in the log.

rwserver_diagnostic.log

[<TIMESTAMP>] [WLS_REPORTS] [INCIDENT_ERROR] [REP-50125] [oracle.reports.server] [tid: 162] [userId: <anonymous>] [ecid: <ECID>] [APP: reports] [partition-name: DOMAIN] [tenant-name: GLOBAL] REP-50125 : java.lang.StringIndexOutOfBoundsException: String index out of range: -1 [[
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1967)
at oracle.reports.server.LDAPManager.createDirContext(LDAPManager.java:260)
at oracle.reports.server.LDAPManager.createOIDContext(LDAPManager.java:176)
at oracle.reports.server.RWSecurity.start(RWSecurity.java:122)
at oracle.reports.server.SecurityHelper.start(SecurityHelper.java:111)
at oracle.reports.server.RWServer.startServer(RWServer.java:935)
at oracle.reports.server.RWServer.run(RWServer.java:340)
at java.lang.Thread.run(Thread.java:750)

]]

WLS_REPORTS.out

<> <Warning> <Socket> <BEA-000449> <Closing the socket, as no data read from it on <IPADDRESS> during the configured idle timeout of 5 seconds.>
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1967)
at oracle.reports.server.LDAPManager.createDirContext(LDAPManager.java:260)
at oracle.reports.server.LDAPManager.createOIDContext(LDAPManager.java:176)
at oracle.reports.server.RWSecurity.start(RWSecurity.java:122)
at oracle.reports.server.SecurityHelper.start(SecurityHelper.java:111)
at oracle.reports.server.RWServer.startServer(RWServer.java:935)
at oracle.reports.server.RWServer.run(RWServer.java:340)
at java.lang.Thread.run(Thread.java:750)
<> <Emergency> <oracle.dfw.incident> <BEA-000000> <incident <ID> created with problem key "DFW-99998 [java.lang.UnsatisfiedLinkError][oracle.jdbc.driver.T2CConnection$1.run][reports]">
<> <Warning> <Socket> <BEA-000449> <Closing the socket, as no data read from it on <IPADDRESS> during the configured idle timeout of 5 seconds.>
<> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '15' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "604" seconds working on the request "Http Request Information: weblogic.servlet.internal.ServletRequestImpl@1a3d3a22[GET /reports/rwservlet/showjobs]
", which is more than the configured time (StuckThreadMaxTime) of "600" seconds in "server-failure-trigger". Stack trace:
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:502)
oracle.reports.rwclient.RWClient.startInProcessServer(RWClient.java:1139)
oracle.reports.rwclient.ServletCmdMgr.handleWebCommand(ServletCmdMgr.java:314)
oracle.reports.rwclient.RWClient.handleWebCommand(RWClient.java:1312)
oracle.reports.rwclient.RWClient.processRequest(RWClient.java:1900)
oracle.reports.rwclient.RWClient.doGet(RWClient.java:521)
javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:295)
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:260)
weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:137)
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:353)
weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
oracle.security.jps.ee.http.JpsAbsFilter$3.run(JpsAbsFilter.java:175)
java.security.AccessController.doPrivileged(Native Method)
oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:650)
oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:112)
oracle.security.jps.ee.http.JpsAbsFilter.doFilterInternal(JpsAbsFilter.java:293)
oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:150)
oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:94)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:248)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
oracle.jrf.servlet.ExtensibleGlobalFilter.doFilter(ExtensibleGlobalFilter.java:92)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3797)
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3763)
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:344)
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:2451)
weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2299)
weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2277)
weblogic.servlet.internal.ServletRequestImpl.runInternal(ServletRequestImpl.java:1720)
weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1680)
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:655)
weblogic.work.ExecuteThread.execute(ExecuteThread.java:420)
weblogic.work.ExecuteThread.run(ExecuteThread.java:360)
>

Changes

 Upgraded 11gR2 Reports Domain with 12.2.1.4.0 version using "Upgrade Assistant"

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
References


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