OPMN Can't Find In-Process Reports Server
Hi,
OracleAS 10g (9.0.4.2), Middle-tier, BI_Forms installation.
When I attempt to restart the in-process Reports server with Enterprise Manager 10g (9.0.4), I get the following error:
An error occurred while restarting "Reports Server: rep_204".
An error occurred while talking to OPMN. Could not find entity for "rep_204".
However, if I restart the OC4J_BI_Forms component, the in-process Reports server restarts normally.
I removed the <security></security> tags and the "securityId=" from the job tags in the Report server's .conf file per Oracle Note:210224.1. I also changed SINGLESIGNON=YES to SINGLESIGNON=NO in the rwservlet.properties file. No other configuration chages have been made - this is fresh middle-tier install. Our application does not use Single Sign-On (which is enabled by default for Reports servers).
I know in-process Reports servers exist in the OC4J_BI_Forms instance, but is it possible to restart them without restarting OC4J? Or is the inclusion of a "Restart" button on the in-process Reports server's control page just one of those "to be added" features?
Hi Evris,
REP-50125 : java.lang.StringIndexOutOfBoundsException: String index out of range: -1
Follow the below metalink id
Start Report Server Failed, Javalang String Indexoutof Boundexception Rep-50125 [ID 372362.1]
Hope this will be helpful,
Regards,
Fabian
Similar Messages
-
Reports 11gR2 - The in-process Reports Server failed to start
Hello,
I recently installed the new Forms Reports 11gR2 on an Oracle Linux 5 update 6 64bit. Firstly, I installed the JDK1.6.29 64bit. Then, I installed the Weblogic Server 10.3.5 (jar version). Finally, I installed the Forms Reports 11gR2. After installation I reboot the machine. When it came up I manually started the Weblogic Server (10.3.5), the WLS_Forms, the WLS_Reports and OPMN. Everything looks fine except the in-process reports server.
I can access the page (http://apps8.orasys.gr:8888/reports/rwservlet) without any problems but when I try to access the showjobs (http://apps8.orasys.gr:8888/reports/rwservlet/showjobs?)
I get this message “REP-52266: The in-process Reports Server rep_wls_reports_apps8_asinst_1 failed to start.oracle.reports.RWException: IDL:oracle/reports/RWException:1.0”
The status of the In-process Reports Server is down. When I try to start it, it fails. This is what I get in the log files:
#SEARCH_CRITERIA
# START_TIME: 2011-11-15T09:36:20.036+02:00
# END_TIME: 2011-11-15T10:36:20.036+02:00
# MESSAGE_TYPES:INCIDENT_ERROR, ERROR, UNKNOWN
#SELECTED_TARGETS_LIST
# /Farm_ClassicDomain/ClassicDomain/WLS_REPORTS/reports(11.1.2):oracle_repapp
[2011-11-15T10:06:53.414+02:00] [WLS_REPORTS] [INCIDENT_ERROR] [REP-50125] [oracle.reports.server] [host: apps8.orasys.gr] [nwaddr: 212.205.62.203] [tid: Thread-34] [userId: <anonymous>] [ecid: 004gS5sBFOS0RtdePdaQPP00017Y00000O,1:27964] [probKey: 33] [APP: reports#11.1.2] [URI: /reports/rwservlet/showjobs] 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:1937)
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:107)
at oracle.reports.server.RWServer.startServer(RWServer.java:985)
at oracle.reports.server.RWServer.run(RWServer.java:358)
at java.lang.Thread.run(Thread.java:662)
[2011-11-15T10:07:02.729+02:00] [WLS_REPORTS] [INCIDENT_ERROR] [] [oracle.reports.servlet] [host: apps8.orasys.gr] [nwaddr: 212.205.62.203] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 004gS5sBFOS0RtdePdaQPP00017Y00000O,0:1:0x5f5e102] [probKey: 34] [APP: reports#11.1.2] [URI: /reports/rwservlet/showjobs] ServerManager:getServer Bind to Reports Server rep_wls_reports_apps8_asinst_1 failed.
[2011-11-15T10:36:05.110+02:00] [WLS_REPORTS] [INCIDENT_ERROR] [REP-50125] [oracle.reports.server] [host: apps8.orasys.gr] [nwaddr: 212.205.62.203] [tid: Thread-68] [userId: weblogic] [ecid: 9abaf3e65885e557:23d03fee:133a635b091:-8000-0000000000000296,0] [probKey: 35] [APP: reports#11.1.2] 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:1937)
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:107)
at oracle.reports.server.RWServer.startServer(RWServer.java:985)
at oracle.reports.server.RWServer.run(RWServer.java:358)
at java.lang.Thread.run(Thread.java:662)
[2011-11-15T10:36:11.798+02:00] [WLS_REPORTS] [INCIDENT_ERROR] [] [oracle.reports.servlet] [host: apps8.orasys.gr] [nwaddr: 212.205.62.203] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: weblogic] [ecid: 9abaf3e65885e557:23d03fee:133a635b091:-8000-0000000000000296,1:27966] [probKey: 36] [APP: reports#11.1.2] ServerManager:getServer Bind to Reports Server rep_wls_reports_apps8_asinst_1 failed.
#MESSAGE_COUNT: 4
Please help. I really need to evaluate version in order to move to it as soon as possible.
Thank you in advance,
EvrisHi Evris,
REP-50125 : java.lang.StringIndexOutOfBoundsException: String index out of range: -1
Follow the below metalink id
Start Report Server Failed, Javalang String Indexoutof Boundexception Rep-50125 [ID 372362.1]
Hope this will be helpful,
Regards,
Fabian -
REP-52266: The in-process Reports Server rep_myhostname failed to start
Hi Everyone,
My name is John and I've a small 10g report configuration issue which I would like to share and, hopefully, some of you might already have come across it and able to assist and guide me through it.
First, I've installed Oracle Developer Suite 10g 10.1.2.0.2 together with Report Builder 10.1.2.0.2 and Oracle Forms Developer 10.1.2.0.2 onto a 32bit Window 2000 Professional machine.
I've tried to run the following URL which test for the servlet connectivity and it returns fine with all the valid reports servlet commands page.
http://myhostname:8889/reports/rwservlet
However, as I've tried to run the 'test.rdf' report using the following link:
http://myhostname:8889/reports/rwservlet?destype=cache&desformat=PDF&report=test.rdf&userid=user/pass@host
And it returns the following error on the browser:
REP-52266: The in-process Reports Server rep_myhostname failed to start.oracle.reports.RWException: IDL:oracle/reports/RWException:1.0
Then I set trace option on in the myhostname.conf file and restart the OC4J instance. And the trace file has the following results:
*[2009/2/18 11:21:31:687] Info 56021 (EngineManager:spawnEngine): Engine rwURLEng-0 has been launched*
*[2009/2/18 11:21:31:687] State 56004 (EngineInfo:setState): Engine rwURLEng-0 state is: Initial*
*[2009/2/18 11:21:31:687] Debug 50103 (JobStore:writePersistFile): Purge persistent file*
*[2009/2/18 11:21:31:717] Debug 50103 (JobStore:writePersistFile): Purge persistent file done*
*[2009/2/18 11:21:51:766] Warning 50103 (EngineManager:registerEngine): REP-55103: API URLEngine:getEngineEnvs not applicable to URL engine*
*[2009/2/18 11:21:51:766] Info 56026 (EngineManager:registerEngine): Reports Server started up engine rwURLEng-0*
*[2009/2/18 11:21:51:856] Debug 50103 (EngineManager:updateEngineState): Engine rwURLEng-0 status is 1*
*[2009/2/18 11:21:51:856] State 56004 (EngineInfo:setState): Engine rwURLEng-0 state is: Ready*
*[2009/2/18 11:23:1:687] Info 56106 (EngineManager:manage): Engine rwEng-0 is destroyed due to timeout*
*[2009/2/18 11:23:1:687] Exception 56097 (): Engine rwEng-0 callback timeout*
oracle.reports.RWException: IDL:oracle/reports/RWException:1.0
* at oracle.reports.utility.Utility.newRWException(Utility.java:756)*
* at oracle.reports.server.EngineManager.manage(EngineManager.java:291)*
* at oracle.reports.server.IdleThread.run(IdleThread.java:88)*
*[2009/2/18 11:23:1:707] Debug 50103 (ServerPacketReceiver:handlePacket): Got a request packet*
*[2009/2/18 11:23:1:717] Info 56029 (EngineManager:shutdownEngine): Shutting down engine rwURLEng-0*
*[2009/2/18 11:23:1:717] State 56004 (EngineInfo:setState): Engine rwURLEng-0 state is: Shutdown*
*[2009/2/18 11:23:1:727] Info 56047 (EngineManager:remove): Reports Server shut down engine rwURLEng-0*
*[2009/2/18 11:23:5:813] Info 50103 (ServerPacketHandler:stop): Multicastmanager stopped successfully*
*[2009/2/18 11:23:5:813] Info 50002 (RWServer:shutdown): Server is shutting down*
*[2009/2/18 11:23:5:813] Info 50103 (RWServer:startServer): Notify thread to exit*
*[2009/2/18 11:23:5:843] Info 50103 (RWServer:startServer): RWServer thread exits*
*[2009/2/18 11:23:5:843] Exception 56097 (): Engine rwEng-0 callback timeout*
oracle.reports.RWException: IDL:oracle/reports/RWException:1.0
* at oracle.reports.utility.Utility.newRWException(Utility.java:756)*
* at oracle.reports.server.EngineManager.manage(EngineManager.java:291)*
* at oracle.reports.server.IdleThread.run(IdleThread.java:88)*
I've not changed any of the report's related configuration files and the java version of the machine is 1.4.2_06. I do not know whether I need to apply a patch for this particular Developer Suite version or is there something which I've not done in terms of post-installation tasks. Thank you for your time and effort. Any feedback is much appreciated as I've been spending a number of days to solve this problem. Thank you and have a nice day.
Kind Regards,
JohnHi,
Thanks for your reply and here is the output of the rwEng-0.trc file. I could not find anything "interesting" as you mentioned. Please let me know if you find anything missing in there. Also, currently there is only one network printer setup on the machine. Can you please elaborate on the printer bit as I'm unsure of what to troubleshoot. Also, I forgot to inform you that I have a previous version of Developer 2000 Form and Report installed prior to the 10g Developer Suite installation. Does it ring a bell to any other problem? Thank you again for your time and effort. Have a nice day.
Kind Regards,
John
*[2009/2/18 11:21:35:773] Debug 50103 (RWEngine:init): args[0]=name=rwEng-0*
*[2009/2/18 11:21:35:773] Debug 50103 (RWEngine:init): args[1]=server=rep_myhostname*
*[2009/2/18 11:21:35:773] Debug 50103 (RWEngine:init): args[2]=ORACLE_HOME=C:\oracle\ora10g1*
*[2009/2/18 11:21:35:773] Debug 50103 (RWEngine:init): args[3]=engineimplclass=oracle.reports.engine.EngineImpl*
*[2009/2/18 11:21:35:773] Debug 50103 (RWEngine:init): args[4]=traceopts=trace_all*
*[2009/2/18 11:21:35:773] Debug 50103 (RWEngine:init): args[5]=tracefile=C:\oracle\ora10g1\reports\logs\rep_EZRA\rwEng-0.trc*
*[2009/2/18 11:21:35:773] Debug 50103 (RWEngine:init): args[6]=tracemode=trace_replace*
*[2009/2/18 11:21:35:773] Debug 50103 (RWEngine:init): args[7]=cacheDir=C:\oracle\ora10g1\reports\cache*
*[2009/2/18 11:21:35:783] Debug 50103 (RWEngine:init): args[8]=server_ior=C:\TEMP\tmp_1440568*
*[2009/2/18 11:21:36:284] Info 50128 (RWEngine:init): orb init succeeded*
*[2009/2/18 11:21:37:45] Info 55007 (EngineImpl:loadLibrary): Load rw.dll succeeded*
*[2009/2/18 11:21:37:45] Debug 50103 (EngineImpl:init): useDataCache = null*
*[2009/2/18 11:21:37:45] Debug 50103 (EngineImpl:init): ignoreDataParameter = null*
*[2009/2/18 11:21:37:75] Debug 50103 (EngineImpl:EngineImpl): start CInitEngine()*
*[2009/2/18 11:21:37:75] Debug 50103 (EngineImpl:EngineImpl): commandline[0] = rw*
*[2009/2/18 11:21:37:75] Debug 50103 (EngineImpl:EngineImpl): commandline[1] = ora_rw20_3tng*
*[2009/2/18 11:21:37:75] Debug 50103 (EngineImpl:EngineImpl): commandline[2] = rep_myhostname*
*[2009/2/18 11:21:37:75] Debug 50103 (EngineImpl:EngineImpl): commandline[3] = C:\oracle\ora10g1\reports\cache*
*[2009/2/18 11:21:37:85] Debug 50103 (EngineImpl:EngineImpl): commandline[4] = null*
*[2009/2/18 11:21:37:85] Debug 50103 (EngineImpl:EngineImpl): commandline[5] = null*
*[2009/2/18 11:21:37:85] Debug 50103 (EngineImpl:EngineImpl): commandline[6] = trace_all*
*[2009/2/18 11:21:37:85] Debug 50103 (EngineImpl:EngineImpl): commandline[7] = C:\oracle\ora10g1\reports\logs\rep_EZRA\rwEng-0.trc*
*[2009/2/18 11:21:37:85] Debug 50103 (EngineImpl:EngineImpl): commandline[8] = trace_replace*
*[2009/2/18 11:21:37:85] Debug 50103 (EngineImpl:EngineImpl): commandline[9] = null*
*[2009/2/18 11:21:37:85] Debug 50103 (EngineImpl:EngineImpl): commandline[10] = null*
*[2009/2/18 11:21:37:85] Debug 50103 (EngineImpl:EngineImpl): commandline[11] = null* -
Starting Up In-Process report server.
There's a way to automatically starting up the in-process report server when i start standalone report server from Windows services or simply starting up the in-process report server from Windows command line?
I have created the "beasvc <DOMAIN>_WLS_REPORTS" service but when i reboot my application server i can't run reports until launch the URL:
http://<IP>:<PORT>/reports/rwservlet/showenv
or
http://<IP>:<PORT>/reports/rwservlet/startserver
Thank you
Bye
Edited by: user10834776 on 13-apr-2012 3.11There's a way to automatically starting up the in-process report server when i start standalone report server from Windows services or simply starting up the in-process report server from Windows command line?
I have created the "beasvc <DOMAIN>_WLS_REPORTS" service but when i reboot my application server i can't run reports until launch the URL:
http://<IP>:<PORT>/reports/rwservlet/showenv
or
http://<IP>:<PORT>/reports/rwservlet/startserver
Thank you
Bye
Edited by: user10834776 on 13-apr-2012 3.11 -
In-Process Report Server error
Hi,
I use Oracle Database 10g and Oracle Developer 10g (Forms and Reports)
In Windows 2000 SP4 platform.
I am having difficulties with the OracleAS Reports Service page.
http://localhost:8889/reports/rwservlet
It showed OracleAS Reports Services - Servlet Command Help
Next, I tried to navigate to the following URL
http://localhost:8889/reports/rwservlet/showjobs
Suddenly another window message popup showing an error
The window's title is : javaw.exe - Entry Point Not Found
The procedure entry point kguuseg could not be located in the dynamic link library oraclient10.dll
with only one button "Ok" to click
After I clicked the button, the following error appear in the web browser
REP-52266: The in-process Reports Server rep_<computer_name> failed to start.oracle.reports.RWException: IDL:oracle/reports/RWException:1.0
The same error happens to all commands listed in the Servlet Command Help page.
I also noticed that inside the OC4J command prompt which is running, the following error listed
Not able to load oracle.reports.util.EnvironmentGlobal class
Using oracle.reports.util.Environment class
REP-56105: Engine rwEng-0 died with error:
Is there anybody who has the same problem?
Is there any solution for this problem?
Many thanks,
BuntoroHi,
Problem solved.
I got the solution from another post.
Re: REP-51002: Bind to Reports Server rep failed
Here are the step I did.
Note : Please make backup for the following file : rwnetwork.conf
- In file rwnetwork.conf, remove or commented the following
<multicast channel="228.5.6.7" port="14021" timeout="1000" retry="3"/>
- And then uncommented
<namingService name="Cos" host="%NAMING_HOST%" port="%NAMING_PORT%"/>
- replace the
%NAMING_HOST% with your computer name or specify an IP address
%NAMING_PORT% with 14021
It should look like this :
<namingService name="Cos" host="blahblah" port="14021"/>
- I did not change the : name="Cos", since I do not understand what does it for
- Save you changes.
- Start the OC4J.
- Find the location of : namingservice.bat (on Windows platform)
- execute in the command line : namingservice.bat 14021
- finally start the report in the web browser
Note:
To shutdown the namingservice, use : namingservice.bat 14021 shutdown
Regards.
Buntoro -
How can I find out the mail server from email address?
Hi:
How can I find out the mail server from email address?
for example: If I know the email address is [email protected],
how to find the pop3 and smtp mail server?
THANK YOUYou can't tell by the email address since you can pretty much put whatever you want in there (especially if the SMTP server is not filtering anything).
The header may be able to tell you something. There is a Received header value which looks like it has the routing information although I am not sure if this is a complete trace or just the last hop the message took.
Sean -
How to setup in-process report server 11g on linux for destype=printer
Currently, I'm facing following error when send RDF report directly on printer with destype=printer using run_report_object built-in
REP-50159: The report generated successfully but distribution to destinations failed.
REP-50157: Destination ID TESTREP failed with error An error occurred while sending the file to printer \\hostname\printername. Exit with error code 1..
When i check on report server cache PDF file is generated /wls/asinst_1/reports/cache/\\askit\PRN01F8gFTQkG5v.pdf but job not go to printer as mention in trace rwlpr.trc file output below.
Note: rwlpr.trc file generated by following 268295.1
==============================================================
XAUTHORITY=/tmp/.gdmT93JDW
_=/usr/bin/env
Parameters : -P "\\askit\PRN01F8" -#1 "/wls/asinst_1/reports/cache/\\askit\PRN01F8gFTQkG5v.pdf"
+ '[' '!' 4 -gt 0 ']'
+ '[' -P = -help ']'
++ uname -s
+ '[' Linux = HP-UX ']'
+ PRNCMDS='lpr lp'
+ for CMD in '$PRNCMDS'
++ which lpr
++ grep lpr
+ PRNCMDPATH=/usr/bin/lpr
+ '[' '!' -x /usr/bin/lpr ']'
+ '[' -x /usr/bin/lpr ']'
++ basename /usr/bin/lpr
+ '[' lpr = lpr ']'
++ uname -s
+ '[' Linux = Linux ']'
++ echo -P '"\\askit\PRN01F8"' -#1 '"/wls/asinst_1/reports/cache/\\askit\PRN01F8gFTQkG5v.pdf"'
++ tr -d '"'
+ /usr/bin/lpr -P '\\askit\PRN01F8' -#1 '/wls/asinst_1/reports/cache/\\askit\PRN01F8gFTQkG5v.pdf'
/usr/bin/lpr: The printer or class was not found.
+ exit 1
=============================================================
I didn't do any configuration in Enterprise Manager for Printer Configuration. Is this the reason? Is any thing I missed out?
Environment Setup:
Server Side:
Oracle Linux 5 (No printer is setup)
Oracle Weblogic Server 10.3.6
Oracle FMW Forms and Report 11.1.2
Configure: In-Process Report Server
Client Side:
Window 7
Printer: Default network printer set with client
Best Regards,
FaniHi,
the first thing you need to check is if you are able to print from the OS using the same lpr command that reports is using and using the printer queue being used when you submitted the report request.
Try to print any file from command line using lpr and your print queue \\askit\PRN01F8. If this does not work then that needs to be fixed from the OS standpoint before running report to printer.
Hope it helps
Regards, RZ -
How to setup in-process report server 11g on linux for destype=mail
Currently, getting Error when send report as an email attachment destype=mail. Is there any thing missed out during Mail server configuration?
REP-50159: The report generated successfully but distribution to destinations failed.
REP-50152: Destination ID ProfitLoss failed with error An error occurred while sending mail: null..
Call report via Oracle form with destype=mail, desformat=PDF and [email protected]
Log file: rwserver_diagnostic.log
[2012-05-13T17:04:39.273+03:00] [WLS_REPORTS] [INCIDENT_ERROR] [REP-50152] [oracle.reports.server] [tid: 16] [userId: <anonymous>] [ecid: 0000JT6ULwsATOG6yz6iMG1Ffvn4000000,1:18567] [APP: reports#11.1.2] REP-50152 : An error occurred while sending mail: null. [[
oracle.reports.RWException: IDL:oracle/reports/RWException:1.0
at oracle.reports.utility.Utility.newRWException(Utility.java:1053)
at oracle.reports.server.MailService.send(MailService.java:588)
at oracle.reports.server.DesMail.sendFile(DesMail.java:186)
at oracle.reports.server.Destination.send(Destination.java:578)
at oracle.reports.server.JobObject.distribute(JobObject.java:2041)
at oracle.reports.server.JobManager.updateJobStatus(JobManager.java:2763)
at oracle.reports.server.EngineCommImpl.updateEngineJobStatus(EngineCommImpl.java:154)
at oracle.reports.server.EngineCommPOA._invoke(EngineCommPOA.java:94)
at com.sun.corba.se.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:637)
at com.sun.corba.se.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:189)
at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1682)
at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1540)
at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:922)
at com.sun.corba.se.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:181)
at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:694)
at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.dispatch(SocketOrChannelConnectionImpl.java:451)
at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.doWork(SocketOrChannelConnectionImpl.java:1213)
at com.sun.corba.se.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.performWork(ThreadPoolImpl.java:471)
at com.sun.corba.se.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:500
Able to print report via Oracle form with destype=CACHE, desformat=PDF.
Mail Server Parameters are defined.
EM > Reports Application Basic Configuration > Mail Server Parameters
Mail Server, Mail Server Port, Mail Server Username, Mail Server Password Key.
Environment:
Server Side:
Oracle Linux 5
Oracle Weblogic Server 10.3.6
Oracle FMW Forms and Report 11.1.2
Configure: In-Process Report Server
Client Side:
Window 7Now, reported issue is resolved, able to send report when destype=mail
Go to EM > Report Server > Administrator > Advanced Configuration:
Under this section "Reports Pluggable Destinations" add
New Destination Name: mail
Class: oracle.reports.server.DesMail -
PFRD 11.1.1.4 - How to stop the In-process Reports Server
I'm running an "out-of-the-box" PFRD 11.1.1.4 installation in Windows XP SP3.
According with documentation:
http://docs.oracle.com/cd/E17904_01/bi.1111/b32121/pbr_strt006.htm#BEHDJFHD
To directly start or stop the in-process Reports Server using a URL, enter the following in your Web browser:
http://machine_name:port/reports/rwservlet/startserver
http://machine_name:port/reports/rwservlet/stopserver
startserver works.
stopserver returns:
REP-50171 : Authentication failed.
Tried
http://machine_name:port/reports/rwservlet/stopserver?authid=weblogic/passwd
same error.
Commented the line:
<!--security class="oracle.reports.server.RWJAZNSecurity" id="rwJaznSec"/-->
in rwserver.conf.
Same error.
The only uncomented elements in "rwservlet.properties" (original configuration) are
<server>rep_wls_reports_pfurtado-lap_asinst_1</server>
<singlesignon>no</singlesignon>
<inprocess>yes</inprocess>
Did any of you managed to stop "in-process" reports server using the reports servlet?
What credentials did you use?
Thanks & Best Regards
PauloThanks RZ!
The line you mentioned was already as you described.
According with the documentation:
[Starting and Stopping Reports Server|http://docs.oracle.com/cd/E17904_01/bi.1111/b32121/pbr_strt001.htm#i1005629]
If Reports Server is running as an in-process server through the Reports Servlet, issue the following URL:
http://your_host_name:port_number/reports/rwservlet/stopserver?authid=admin user/admin password
Note:
authid is Reports Server's administration user name and password. In Oracle Reports 11g Release 1 (11.1.1), the default security is based on standards-based Java EE security model through Oracle Platform Security Services. For a non-secure Reports Server, this user is defined in the identifier element.
I added the identifier element to rwserver.conf and restarted WLS_REPORTS, but after this the in-process reports server failed to start with the usual generic exception.
I finally found the missing step in:
How To Secure Showjobs Web Command In A Non Secured Reports Server In Oracle Report 11g? (Doc ID 1242614.1)
The thing is that the identifier element has to be placed in the right location inside rwserver.conf:
The needed change is:
FROM
<queue maxQueueSize="1000"/>
<pluginParam name="mailServer" value="%MAILSERVER_NAME%"/>
TO
<queue maxQueueSize="1000"/>
<identifier encrypted="no">....type here your user/password....</identifier>
<pluginParam name="mailServer" value="%MAILSERVER_NAME%"/>
So although using the default non-secure reports server, the identifier element has to be present in rwserver.conf for rwservlet/stopserver to work as described above.
Otherwise the needed authentication will fail as described.
Regards
Paulo -
Can 10g OAS run 10g Report server and 6i reports together?
Re-posted from the OAS thread: Can 10g OAS run 10g Report server and 6i reports together?
We have need to run 6i and 10g reports from the same physical server running OAS 10g.
Are there issues / conflicts?
There are hundreds of 6i reports called from many applications. Converting completely is a separate project on the books.
The need is to utilize 10g graphs on this urgent project. The graphing in 6i has not gotten along here with RAC and other distributed architecture. Additionally, I believe the 6i graph runtime would have to be installed on each client workstation... again, hundreds.
Thank you.Hello,
You can install OAS 10g and Reports 6i on the same server as long as they are installed in different ORACLE_HOME ..
Take car to the value of the variable PATH ..
Regards -
Where can i find class files in server
Hi Gurus,where can i find class files in server.
KranthiHi,
Class files:
Common\JAVA_TOP
Pages:
Appl\mds
Regards
Meher Irk -
Hi,
I have installed oracle forms and reports 11gR2 on Windows 7 Professional 64bit (and configured in development mode), the forms are working fine but when i run a report i get this message
REP-52266: The in-process Reports Server rep_adminserver_ikit_asinst_1 failed to start.oracle.reports.RWException: IDL:oracle/reports/RWException:1.0I was trying to add a new destination:
<destination class="oracle.reports.server.DesMail" destype="mail"/>
I couldn't make it work , so I commented my changes.
In fact, I should have gone back to a backup file , as weblogic seemed to have changed the file itself!! (attributes of the xml tags were in different order, and more things ...) but just undoing what I have done did the trick.
This file seems to be quite picky, I left this tag uncommented
</pluginParam>
and the same REP-5226 error happened. -
I can't find my 'incoming mail server' menu/buttons on my iTouch 4g
I mean from Home > Settings > iCloud > Account > Advanced Mail I can see where my Outgoing Mail Server is but I can't find my incoming mail server. My Mail does not work (it can only send emails, and cannot receive emails) and I think it's because I don't have an incoming mail server menu/button(s)?
No. That is not the reason. I do not have any information/button for an incoming server and it works fine.I would delete the account on the iPod and then recreate it.
-
Where can I find mac OS X server serial number, i am trying to set up a new mac mini server
where can I find mac OS X server serial number, i am trying to set up a new mac mini server
You should find a card (size like a cd jacket) with serial no. It should be put all together with an installation DVD and user manual etc.
-
Object locked in v$locked_object but can't find session/process blocking
Hi,
I am on database 10.2.0.5, windows x64.
A developer calls me and tells me there are locks on 3 tables, and the locks are not released.
So I run this to see which objects are locked by which session
select vlo.object_id, vlo.session_id, vlo.oracle_username, vlo.process
, DECODE(vlo.LOCKED_MODE, 0,'NONE', 1,'NULL', 2,'ROW SHARE', 3,'ROW EXCLUSIVE', 4,'SHARE', 5,'SHARE ROW EXCLUSIVE', 6,'EXCLUSIVE', NULL) LOCK_MODE
, do.owner, do.object_name, do.object_type
, vs.saddr, vs.serial#, vs.paddr, vs.username, vs.ownerid, vs.status, vs.server, vs.schemaname, vs.osuser, vs.machine, vs.program, vs.type, vs.logon_time, vs.last_call_et
, vs.blocking_session_status, vs.event#, vs.event, vs.wait_class#, vs.wait_class, vs.wait_time, vs.seconds_in_wait, vs.state
from v$locked_object vlo
inner join dba_objects do on (vlo.object_id = do.object_id)
left outer join v$session vs on (vlo.session_id = vs.sid)-----------
I get (after finding out my table locks come from SID 514)
OBJECT_ID SESSION_ID ORACLE_USERNAME PROCESS LOCK_MODE OWNER OBJECT_NAME OBJECT_TYPE SADDR SERIAL# PADDR USERNAME OWNERID STATUS SERVER SCHEMANAME OSUSER MACHINE PROGRAM TYPE LOGON_TIME LAST_CALL_ET BLOCKING_SESSION_STATUS EVENT# EVENT WAIT_CLASS# WAIT_CLASS WAIT_TIME SECONDS_IN_WAIT STATE
373122 514 IRMFIN 22AB7298 ROW EXCLUSIVE IRMFIN IC_PRODUCT_STATUS TABLE 000007FF3E1A9070 1301 000007FF3E639120 IRMFIN 2147483644 INACTIVE DEDICATED IRMFIN IRMTEST IRM DSA0:[GEMBASE730.][RUN]GEM.EXE USER 2012/09/05 13:55:51 702 NO HOLDER 263 SQL*Net message from client 6 Idle 0 702 WAITING
373025 514 IRMFIN 22AB7298 ROW EXCLUSIVE IRMFIN IC_BIN_DETAIL_STATUS TABLE 000007FF3E1A9070 1301 000007FF3E639120 IRMFIN 2147483644 INACTIVE DEDICATED IRMFIN IRMTEST IRM DSA0:[GEMBASE730.][RUN]GEM.EXE USER 2012/09/05 13:55:51 702 NO HOLDER 263 SQL*Net message from client 6 Idle 0 702 WAITING
373055 514 IRMFIN 22AB7298 ROW EXCLUSIVE IRMFIN IC_LOT_STATUS TABLE 000007FF3E1A9070 1301 000007FF3E639120 IRMFIN 2147483644 INACTIVE DEDICATED IRMFIN IRMTEST IRM DSA0:[GEMBASE730.][RUN]GEM.EXE USER 2012/09/05 13:55:51 702 NO HOLDER 263 SQL*Net message from client 6 Idle 0 702 WAITING -----------
I run it again and I get something different, this time the lock is still there, but no session. select * from v$session where sid= 514 returns nothing.
I get
OBJECT_ID SESSION_ID ORACLE_USERNAME PROCESS LOCK_MODE OWNER OBJECT_NAME OBJECT_TYPE SADDR SERIAL# PADDR USERNAME OWNERID STATUS SERVER SCHEMANAME OSUSER MACHINE PROGRAM TYPE LOGON_TIME LAST_CALL_ET BLOCKING_SESSION_STATUS EVENT# EVENT WAIT_CLASS# WAIT_CLASS WAIT_TIME SECONDS_IN_WAIT STATE
373122 514 ROW EXCLUSIVE IRMFIN IC_PRODUCT_STATUS TABLE
373025 514 ROW EXCLUSIVE IRMFIN IC_BIN_DETAIL_STATUS TABLE
373055 514 ROW EXCLUSIVE IRMFIN IC_LOT_STATUS TABLE When I run the query later, I sometimes get another session, but the lock stays. It seems here, that I am catching the same SID on new sessions, but it is probably a different serial # than the original session locking the table rows.
I get nothing from
select * from dba_waiters;
select * from dba_blockers;
Now why are those 3 tables row locked on some rows and I can't find the session responsible? The developer tells me his application crashed and the rows are locked since.
So far ( keep in mind I am not a locking expert) the only way I found to release the locks is a DB bounce, its a test DB so no biggy.
Is this a bug? Am I missing something?
This is the second time this has happened. How can I solve this issue?
Best wishes to all.Thank you for your reply.
I do not think I can kill the session (514) it does not exist, even though v$locked_object reports tables are locked by session 514
see below
select * from v$locked_object
XIDUSN XIDSLOT XIDSQN OBJECT_ID SESSION_ID ORACLE_USERNAME OS_USER_NAME PROCESS LOCKED_MODE
9 26 351467 373122 514 3
10 41 339655 373025 514 3
11 6 92004 373055 514 3
select * from v$session order by sid
( no session 514)
SADDR SID SERIAL# AUDSID PADDR USER# USERNAME COMMAND OWNERID TADDR LOCKWAIT STATUS SERVER SCHEMA# SCHEMANAME OSUSER PROCESS MACHINE PORT TERMINAL PROGRAM TYPE SQL_ADDRESS SQL_HASH_VALUE SQL_ID SQL_CHILD_NUMBER PREV_SQL_ADDR PREV_HASH_VALUE PREV_SQL_ID PREV_CHILD_NUMBER PLSQL_ENTRY_OBJECT_ID PLSQL_ENTRY_SUBPROGRAM_ID PLSQL_OBJECT_ID PLSQL_SUBPROGRAM_ID MODULE MODULE_HASH ACTION ACTION_HASH CLIENT_INFO FIXED_TABLE_SEQUENCE ROW_WAIT_OBJ# ROW_WAIT_FILE# ROW_WAIT_BLOCK# ROW_WAIT_ROW# LOGON_TIME LAST_CALL_ET PDML_ENABLED FAILOVER_TYPE FAILOVER_METHOD FAILED_OVER RESOURCE_CONSUMER_GROUP PDML_STATUS PDDL_STATUS PQ_STATUS CURRENT_QUEUE_DURATION CLIENT_IDENTIFIER BLOCKING_SESSION_STATUS BLOCKING_INSTANCE BLOCKING_SESSION SEQ# EVENT# EVENT P1TEXT P1 P1RAW P2TEXT P2 P2RAW P3TEXT P3 P3RAW WAIT_CLASS_ID WAIT_CLASS# WAIT_CLASS WAIT_TIME SECONDS_IN_WAIT STATE SERVICE_NAME SQL_TRACE SQL_TRACE_WAITS SQL_TRACE_BINDS ECID
582 41322092 000007FF3E6279B0 88 IRMFIN 0 2147483644 INACTIVE NONE 88 IRMFIN IRM-NTSERVER\ttoupet 2768:5812 IRM-NTSERVER\IRM-WINDEV 2091 IRM-WINDEV WDMAP.EXE USER 00 0 000007FF296D46B0 1249880231 gkm8w8157za57 0 WDMAP.EXE 3924246850 0 4272871 480874 5 109733 0 2012/09/06 08:54:26 369 NO NONE NONE NO DISABLED ENABLED ENABLED 0 NO HOLDER 55 263 SQL*Net message from client driver id 1297371904 000000004D545300 #bytes 1 0000000000000001 0 00 2723168908 6 Idle 0 369 WAITING irtrcs01.ivacorm.com DISABLED FALSE FALSE
000007FF3E1A0FA0 508 55443 41321967 000007FF3E62E488 93 RODMILL 0 2147483644 INACTIVE DEDICATED 93 RODMILL flong 4144 IT011 49450 unknown SQL Developer USER 00 0 000007FF126A6BC0 293046999 7jjvy5s8rg2qr 0 SQL Developer 1012150930 0 4280261 373579 5 348686 0 2012/09/06 08:39:23 218 NO NONE NONE NO DISABLED ENABLED ENABLED 0 NO HOLDER 5486 263 SQL*Net message from client driver id 675562835 0000000028444553 #bytes 1 0000000000000001 0 00 2723168908 6 Idle 0 218 WAITING irtrcs01.ivacorm.com DISABLED FALSE FALSE
000007FF3E1A2518 509 3086 41287084 000007FF3E628A20 64 SYSMAN 47 2147483644 000007FF3D7C21D8 ACTIVE SHARED 64 SYSMAN 1234 IRMFAX 1341 OMS USER 000007FF357CE418 4281219134 2b064ybzkwf1y 0 000007FF357A8BF0 2532399038 5dwsqwabg2pxy 0 178612 8 OEM.SystemPool 2960518376 NotificationMgr 3664650334 IRMFAX.ivacorm.com:4889_Management_Service 4281687 177737 14 40683 0 2012/09/03 11:44:37 7 NO NONE NONE NO DISABLED ENABLED ENABLED 0 UNKNOWN 48888 45 wait for unread message on broadcast channel channel context 8792836163648 000007FF3DE04840 channel handle 8792836060256 000007FF3DDEB460 0 00 2723168908 6 Idle 0 7 WAITING irtrcs01.ivacorm.com DISABLED FALSE FALSE
000007FF3E1A3A90 510 35277 41286699 000007FF3E6279B0 64 SYSMAN 0 2147483644 INACTIVE NONE 64 SYSMAN 1234 IRMFAX 3154 OMS USER 00 0 000007FF3E844AD8 3275117642 43c5ykm1mcp2a 1 OEM.CacheModeWaitPool 796036576 0 IRMFAX.ivacorm.com:4889_Management_Service 4280509 -1 0 0 0 2012/09/03 10:58:32 169 NO NONE NONE NO DISABLED ENABLED ENABLED 0 NO HOLDER 29909 263 SQL*Net message from client driver id 1297371904 000000004D545300 #bytes 1 0000000000000001 0 00 2723168908 6 Idle 0 169 WAITING irtrcs01.ivacorm.com DISABLED FALSE FALSE
000007FF3E1A5008 511 51686 41287085 000007FF3E6279B0 64 SYSMAN 0 2147483644 INACTIVE NONE 64 SYSMAN 1234 IRMFAX 1342 OMS USER 00 0 000007FF36C3CED8 2539923080 6v7n0y2bq89n8 0 OEM.SystemPool 2960518376 JobDispatcher 875884737 IRMFAX.ivacorm.com:4889_Management_Service 4281706 -1 0 0 0 2012/09/03 11:44:37 5 NO NONE NONE NO DISABLED ENABLED ENABLED 0 NO HOLDER 38929 263 SQL*Net message from client driver id 1297371904 000000004D545300 #bytes 1 0000000000000001 0 00 2723168908 6 Idle 0 5 WAITING irtrcs01.ivacorm.com DISABLED FALSE FALSE
000007FF3E1A6580 512 28994 41293063 000007FF3E6279B0 64 SYSMAN 0 2147483644 INACTIVE NONE 64 SYSMAN 1234 IRMFAX 3636 OMS USER 00 0 000007FF32990C90 1763828656 44nz3b1nk3sxh 1 OEM.CacheModeWaitPool 796036576 0 IRMFAX.ivacorm.com:4889_Management_Service 4280509 -1 0 0 0 2012/09/04 00:00:02 169 NO NONE NONE NO DISABLED ENABLED ENABLED 0 NO HOLDER 20902 263 SQL*Net message from client driver id 1297371904 000000004D545300 #bytes 1 0000000000000001 0 00 2723168908 6 Idle 0 169 WAITING irtrcs01.ivacorm.com DISABLED FALSE FALSE
000007FF3E1ABB60 516 48427 41292026 000007FF3E62DC50 93 RODMILL 0 2147483644 INACTIVE DEDICATED 93 RODMILL ebesner 10808 Fingers 59004 unknown SQL Developer USER 00 0 000007FF127B0A58 351849430 bkcpdnnagjkyq 0 SQL Developer 1012150930 0 4049825 533716 21 17036 0 2012/09/03 21:53:47 61389 NO NONE NONE NO DISABLED ENABLED ENABLED 0 NO HOLDER 2578 263 SQL*Net message from client driver id 675562835 0000000028444553 #bytes 1 0000000000000001 0 00 2723168908 6 Idle 0 61389 WAITING irtrcs01.ivacorm.com DISABLED FALSE FALSE
000007FF3E1AD0D8 517 2 0 000007FF3E635FD0 0 0 2147483644 ACTIVE DEDICATED 0 SYS SYSTEM 4292 CHARLIE 0 CHARLIE ORACLE.EXE (q001) BACKGROUND 00 0 0 00 0 0 0 0 112 -1 0 0 0 2012/08/22 17:46:54 1264692 NO NONE NONE NO DISABLED ENABLED ENABLED 0 UNKNOWN 2685 281 Streams AQ: qmn slave idle wait 0 00 0 00 0 00 2723168908 6 Idle 0 16 WAITING SYS$BACKGROUND DISABLED FALSE FALSE
000007FF3E1AE650 518 2 4294967295 000007FF3E635798 0 SYS 3 2147483644 INACTIVE DEDICATED 0 SYS IRM-NTSERVER\cluster 3704:1572 IRM-NTSERVER\CHARLIE 49181 CHARLIE rhs.exe USER 000007FF3EA55E08 654885888 bcfjz80mhjj00 0 000007FF3EA55E08 654885888 bcfjz80mhjj00 0 rhs.exe 1733424889 0 4281686 -1 0 0 0 2012/08/22 17:46:54 16 NO NONE NONE NO DISABLED ENABLED ENABLED 0 NO HOLDER 58582 263 SQL*Net message from client driver id 1413697536 0000000054435000 #bytes 1 0000000000000001 0 00 2723168908 6 Idle 0 16 WAITING SYS$USERS DISABLED FALSE FALSE
Maybe you are looking for
-
Hi everyone, I just received my Smartband 30 yersterday, and today a band on the screen frooze. Actually it frozze on the minute part so basicaly there is a lighter band on the screen with the 26 of the minute (when it frooze). When i change pages t
-
Hi, after updating to the newest iOS version (iOS 8.3) I have experienced a lot of graphics issues. I experiensed it in the keyboard with some of the "button pop-ups" lingers. Also, when I rotate the phone it kinda shows a negative version of the scr
-
Does Aperture support RAW 3F (*.fff) file format?
I am scanning all of my film with a Hasselblad FlexTight F1 scanner. I saved the files in their RAW format called 3F (*.fff). I am completely schocked that Aperture doesn't recognize the file format. After all, isn't Apple selling Aperture as "Profes
-
Use of Spl GL in document parking
We have a defined Spl GL for Salary Advance as "S". Advances are paid as down payments and the recovery happens through the monthly payroll processing. This is not through SAP and we only pass a JV through F-02. This JV contains line items with Spl G
-
Namespace lost when transforming using Xalan
Hi Java experts, I'm trying to output a DOM object to a file. I used Xerces to create the DOM object: DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); factory.setNamespaceAware(true); DocumentBuilder docBuilder =