REP-51002 REP-50125 Although Reports Servers are Displayed Up and Running (Doc ID 1370658.1)

Last updated on NOVEMBER 30, 2016

Applies to:

Oracle Reports Developer - Version 10.1.2.3 and later
Information in this document applies to any platform.

Symptoms


In Reports 10g, OC4J_BI_FORMS is ALIVE, the in process looks alive but it is not processing reports. The standalone reports servers look alive too and rwdiag indicates multicast (broadcast) is in use:

 

./rwdiag.sh -findall

Broadcast mechanism used to locate servers
------------------------------------------
Channel address = 228.5.6.7
Channel port = 14021

(1) Name = in-process_name : Type = server : Host = hostname
(2) Name = standalone_name : Type = server : Host = hostname


opmnctl status -l

-------------------+--------------------+---------+----------+------------+----------+-----------+------
ias-component | process-type | pid | status | uid | memused | uptime | ports
-------------------+--------------------+---------+----------+------------+----------+-----------+------
...
HTTP_Server | HTTP_Server | 21495 | Alive | 1664876650 | 416968 | 15:19:18 | http1:7200,https1:4444
...
OC4J | OC4J_BI_Forms | 21498 | Alive | 1664876654 | 67784 | 15:19:44 | ajp:12503,rmi:12403,jms:12603




When attempting to run any report, a simple test.rdf inclusive, the following error occurs.

REP-51002 (): Bind to Reports Server <repserver_name> failed

and after several pings and urls against the reports server:

REP-56055
(): Exceed max connections allowed: 20

 

In Reports 11g, the error is displayed as follows:

 

http://host:port/reports/rwservlet/getserverinfo?server=repserv11g

REP-50125: oracle.xml.parser.v2.XML.ParseException: Whitespace required

 



In rwservlet.trc, the errors indicates issues with namingService, although multicast is in use, not namingService:

[2011/10/25 1:18:59:196] Info 50103 (ServerManager:getServer): Using Naming service to locate Server
[2011/10/25 1:18:59:196] Exception 50125 (org.omg.CORBA.BAD_PARAM: vmcid: 0x0 minor code: 0 completed: No
at com.sun.corba.se.internal.ior.IIOPAddressImpl.<init>(IIOPAddressImpl.java:28)
at com.sun.corba.se.internal.core.IOR.init(IOR.java:174)
at com.sun.corba.se.internal.core.IOR.<init>(IOR.java:165)
at com.sun.corba.se.internal.corba.InitialNamingClient.getInitialRep(InitialNamingClient.java:1054)
at com.sun.corba.se.internal.corba.InitialNamingClient.resolve(InitialNamingClient.java:1091)
at com.sun.corba.se.internal.corba.InitialNamingClient.resolveUsingBootstrapProtocol(InitialNamingClient.java:788)
at com.sun.corba.se.internal.corba.InitialNamingClient.cachedInitialReferences(InitialNamingClient.java:1186)
at com.sun.corba.se.internal.corba.InitialNamingClient.resolve_initial_references(InitialNamingClient.java:1079)
at com.sun.corba.se.internal.corba.ORB.resolve_initial_references(ORB.java:2436)
at oracle.reports.comm.NetworkUtility.createNamingContext(NetworkUtility.java:338)
at oracle.reports.client.ServerManager.locateServer(ServerManager.java:584)
at oracle.reports.client.ServerManager.pingServer(ServerManager.java:320)
at oracle.reports.rwclient.RWClientUtility.findServer(RWClientUtility.java:1012)
at oracle.reports.rwclient.ServletCmdMgr.handleCmdPingServer(ServletCmdMgr.java:348)
at oracle.reports.rwclient.ServletCmdMgr.handleWebCommand(ServletCmdMgr.java:207)
at oracle.reports.rwclient.RWClient.handleWebCommand(RWClient.java:958)
at oracle.reports.rwclient.RWClient.processRequest(RWClient.java:1442)
at oracle.reports.rwclient.RWClient.doGet(RWClient.java:366)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:674)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:341)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:852)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:231)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:136)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
at java.lang.Thread.run(Thread.java:534)
): Internal error org.omg.CORBA.BAD_PARAM: vmcid: 0x0 minor code: 0 completed: No

[2011/10/25 1:18:59:196] Info 50103 (RWClientUtility:findServer): Failed to bind to server: <rep_server_name>

and

[2011/10/25 2:44:46:323] Debug 50103 (ReportRunner:connectToServer): New Connection request for userid: RWUser to server: <rep_server_name>
[2011/10/25 2:44:46:324] Debug 50103 (RWClientUtility:isStatusFormat): statusformat: null
[2011/10/25 2:44:46:326] Exception 56055 (): Exceed max connections allowed: 20
oracle.reports.RWException: IDL:oracle/reports/RWException:1.0
at oracle.reports.RWExceptionHelper.read(RWExceptionHelper.java:67)
at oracle.reports.server._ServerClassStub.newConnection(_ServerClassStub.java:57)
at oracle.reports.client.ReportRunner.connectToServer(ReportRunner.java:202)
at oracle.reports.rwclient.ServletCmdMgr.handleWebCommand(ServletCmdMgr.java:290)
at oracle.reports.rwclient.RWClient.handleWebCommand(RWClient.java:958)
at oracle.reports.rwclient.RWClient.processRequest(RWClient.java:1442)


The reports server was found, but unable to process the job:

[2011/10/25 1:32:22:164] Info 65003 (NetworkUtility:getIOR): Request timed out
[2011/10/25 1:32:23:173] Info 65003 (NetworkUtility:getIOR): Request timed out
[2011/10/25 1:32:24:183] Info 65003 (NetworkUtility:getIOR): Request timed out
[2011/10/25 1:32:24:184] Debug 50103 (NetworkUtility:getIOR): No response from server retuning null ior
[2011/10/25 1:32:24:184] Info 50103 (Multicast:registerReceiver): Packet handler unregistered
[2011/10/25 1:32:24:185] Info 50103 (RWClientUtility:findServer): Failed to bind to server: <in-process_reports_server>
...
[2011/10/25 1:34:56:3] Info 50103 (RWClientUtility:findServer): Found existing server: reports_server_name
[2011/10/25 1:34:56:4] Debug 50103 (ServletCmdMgr:handleCmdPingServer): reports server status: 1|0
[2011/10/25 1:34:56:4] Debug 50103 (ServletCmdMgr:handleCmdPingServer): http status code: 200
[2011/10/25 1:34:56:4] (RWClient:doGet) ...exit
[2011/10/25 1:34:57:883] (RWClient:doPost) enter...
[2011/10/25 1:34:57:890] Debug 50103 (RWClientUtility:removeDuplicatePF): first run num: 6
[2011/10/25 1:34:57:890] Debug 50103 (RWClientUtility:removeDuplicatePF): second run num: 10
[2011/10/25 1:34:57:891] Debug 50103 (RWClientUtility:removeDuplicatePF): index: 6
[2011/10/25 1:34:57:891] Debug 50103 (RWClientUtility:removeDuplicatePF): param name: DESTYPE=
[2011/10/25 1:34:57:891] Debug 50103 (RWClientUtility:removeDuplicatePF): separater is:
[2011/10/25 1:34:57:891] Debug 50103 (RWClientUtility:removeDuplicatePF): tempValue is: CACHE desformat=pdf userid=x/y@dbalias DESTYPE=Cache DESNAME=output.pdf
[2011/10/25 1:34:57:892] Debug 50103 (RWClientUtility:removeDuplicatePF): startPos: 92
[2011/10/25 1:34:57:892] Debug 50103 (KeyEntry:removeDuplicatePF): endPos: 106
[2011/10/25 1:34:57:892] Debug 50103 (RWClientUtility:removeDuplicatePF): index: 7
[2011/10/25 1:34:57:892] Debug 50103 (RWClientUtility:removeDuplicatePF): param name: DESNAME=
....
[2011/10/25 1:34:57:894] Debug 50103 (RWClientUtility:appendPFTags): hiddenString server=<repserver_name>&report=test.rdf&destype=CACHE&desformat=pdf&userid=x/y@dbalias&PARAMFORM=YES
[2011/10/25 1:34:57:897] Info 50103 (RWClientUtility:findServer): Found existing server: repserver_name
[2011/10/25 1:34:57:897] Debug 50103 (RWClientUtility:getReportsServer): server: repserver_name
[2011/10/25 1:34:57:897] Debug 50103 (ServerManager:getServer): Found server class object
[2011/10/25 1:34:57:898] Debug 50103 (ServerManager:getServer): ping server successfully
....



The issue can be reproduced at will with the following steps:

http://host:port/reports/rwservlet?server=in_process_repserver_name&report=test.rdf&destype=cache&desformat=html


Forms is working OK and the OC4J_BI_Forms is alive.

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms