Unable to connect through Reports
Hi,
I am unable to connect to Oracle using Reports alone.
Whereas I can connect /work through forms /SQL/ Discoverer.
When I try to connect from reports, I get the following error message appears:
PDE-PXC002 Program unit exception. aborted due to unhandled exception (4062).
Can somone tell how I can make the reports connect?
Thanking you in advance,
Srini
Hi Srini,
It looks like you actually was able to connect to database, otherwise, you won't get Program unix exception.
Please check your program unix code to make sure the plsql code handles exception as error pointed.
Thanks,
-Shaun Lin
Similar Messages
-
Error calling report FRM-41213 unable to connect to Report Server
Hi,
I have installed Oracle Database 10g R2 and Oracle Developer 10gR2.
I installed it in both Windows 2000 SP4 and Windows XP SP2.
I would like to call a Report using a button inside Oracle Form.
I create my own Report Server, using : rwserver server=repsrv
A Java-based window appear OracleAS Reports Sevice, and showed that repsrv is ready.
In Form (inside a button -> WHEN-BUTTON-PRESSED) :
1. Using RUN_REPORT_OBJECT()
rep_id := find_report_object('REPORT10');
if not id_null(rep_id) then
v_rep := run_report_object(rep_id);
else
message('Null');
end if;
a. If I did not specify the name of the Report Server in Reports node of Form's property object
(I leave it blank)
The following error appear :
FRM-41211: Integration error, SSL failure running another product
b. If I specify the name of the Report Server : repsrv
The following error appear :
FRM-41213: Unable to connect to Reports Server repsrv
2. Using WEB.SHOW_DOCUMENT()
a. If did not I specify the server name in the parameter
WEB.SHOW_DOCUMENT('http://localhost:8889/reports/rwservlet/getjobid'|| SUBSTR(v_rep,INSTR(v_rep,'_',-1)+1)||'?'||,'_blank');Another web browser appear and the following error appear :
REP-51002: Bind to Reports Server rep_<computer_name> failed
b. If I specify the server name in the parameter --> server='repsrv'
WEB.SHOW_DOCUMENT('http://localhost:8889/reports/rwservlet/getjobid'|| SUBSTR(v_rep,INSTR(v_rep,'_',-1)+1)||'?'||'server=repsrv','_blank');Another web browser appear and the following error appear :
REP-51002: Bind to Reports Server repsrv failed
In Report :
If I try to navigate manually to :
1. http://localhost:8889/reports/rwservlet using web browser.
It showed OracleAS Report Services - Servlet Command Help page.
2. http://localhost:8889/reports/rwservlet?userid=scott/tiger@orcl&report=D:\PRACTICE\FORM\MODULE1.JSP&destype=cache&desformat=html
The following error occured
REP-51002: Bind to Reports Server rep_<computer_name> failed
3. Finally,
http://localhost:8889/reports/rwservlet?server=REPSRV&userid=scott/tiger@orcl&report=C:\PRACTICE\FORM\MODULE1.JSP&destype=cache&desformat=html
The following error occured
REP-51002: Bind to Reports Server repsrv failed
4. Any attempt to different command (i.e showenv, showjobs, etc) seems failed
If I did not specify the server then REP-51002: Bind to Reports Server rep_<computer_name> failed
If I specify the server - 'repsrv' then REP-51002: Bind to Reports Server repsrv failed
5. I have tried to use rwrun in command line.
rwrun report="D:\My Documents\form\module1.jsp" userid=scott/tiger@orcl destype=file desformat=pdf desname="D:\My Documents\form\module2.pdf"
The PDF file created and it looks exactly as the web layout as in Oracle Report Builder (Run Web Layout CTRL-R)
Question :
1. What supposed to be done?
The Report server is ready, but the web browser seems unable to connect to Report Server.
2. Can we used or call or executed an executable command line from Form (using PL/SQL inside button)?
Any help would be grateful.
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 -
Unable to connect to report server - on Win 8.1 and SQL Server 2014
unable to connect to report server on Win 8.1 and SQL Server 2014 version
Microsoft SQL Server 2014 - 12.0.2000.8 (Intel X86)
Feb 20 2014 19:20:46
Copyright (c) Microsoft Corporation
Express Edition on Windows NT 6.3 <X64> (Build 9600: ) (WOW64)
ThanksHi,
I suggest you check out the following article for the steps of installing
Database Engine Services and SQL Server Reporting Service.
http://msdn.microsoft.com/en-us/library/ms143711.aspx
Best Regards,
Tracy
Tracy Cai
TechNet Community Support -
Unable to connect XL Reporter in 2007 B
Hi Experts,
I'm facing a problem in XL Reporter as whenever I click on Tools-XL Reporter, I get an error message as
Unable to connect XL Reporter
Error! User Authentication Failed
Cause: Invalid use of Null
I've upgraded from 2005 B to 2007 B and database is SQL Server 2005.
Help is needed urgently.
Thanks & Regards,
Kaps.Hi Kaps,
Based on the error message, it is User Authentication problem. Have you checked if the user has proper User Authentication?
Thanks,
Gordon -
Unable to connect to report server Error: Message : ErrorCode : 10061
I have configured a report server oracle 10.1.0.2 app server on solaris 10. when the user tries to connect through the front end application web he gets the below error:
Type : System.Net.WebException, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=
Message : Unable to connect to the remote server
Source : System
Help link :
Status : ConnectFailure
Response :
Data : System.Collections.ListDictionaryInternal
Inner Exception
Type : System.Net.Sockets.SocketException, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=
Message : No connection could be made because the target machine actively refused it 10.10.1.180:4444
Source : System
Help link :
ErrorCode : 10061
SocketErrorCode : ConnectionRefused
NativeErrorCode : 10061
Data : System.Collections.ListDictionaryInternal
TargetSite : Void DoConnect(System.Net.EndPoint, System.Net.SocketAddress)
Can anyone please let me know which files or conf files I need to look at.
I did not see any errors in the server trace files. The tnsnames look good. They connect to a oracle DBIn the ssl.conf I put the listen port as 4444 ,
but when I go to the OEM of the report server - ports , it does not show me the port used as 4444 , the field is blank.
is there any place I need to make the port change to 4444
thanks -
Unable to connect to report server
I am using developer suite 10g.
i am able to run form and report.
but when i want to run report through form (when button press) then i got error message Unable to connect report server.
can i run report from form 10g without application server.
my mail id is [email protected]
Thanks in advance
sachin malikMake sure your OC4J Instance is running for reports.
-
Unable to connect through sqldeveloper vendor error code 17002
I am using sqldeveloper on windows 7 . The sql developer version is given below
Java(TM) Platform 1.6.0_23
Oracle IDE 2.1.1.64.45
Versioning Support 2.1.1.64.45
I am getting this error while connecting to the db.
IO exception: The Network Adaptor couldnt establish the connection.
Vendor code: 17002
I am able to connect the db through the command prompt.
Listener status
C:\Users\Dev D>lsnrctl status
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on 19-DEC-2010 12:43:52
Copyright (c) 1991, 2005, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Production
Start Date 19-DEC-2010 12:26:31
Uptime 0 days 0 hr. 17 min. 21 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Default Service XE
Listener Parameter File C:\oraclexe\app\oracle\product\10.2.0\server\network\admin\listener.ora
Listener Log File C:\oraclexe\app\oracle\product\10.2.0\server\network\log\listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=DevD-PC)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=8080))(Presentation=HTTP)(Session=RAW))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "XEXDB" has 1 instance(s).
Instance "xe", status READY, has 1 handler(s) for this service...
Service "XE_XPT" has 1 instance(s).
Instance "xe", status READY, has 1 handler(s) for this service...
Service "xe" has 1 instance(s).
Instance "xe", status READY, has 1 handler(s) for this service...
The command completed successfully
tnsping
C:\Users\Dev D>tnsping xe
TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 19-DEC-2010 12:49:39
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Used parameter files:
C:\oraclexe\app\oracle\product\10.2.0\server\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = DevD-PC)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = XE)))
OK (14000 msec)
tnsnames.ora
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = DevD-PC)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
listener.ora
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\oraclexe\app\oracle\product\10.2.0\server)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
(ADDRESS = (PROTOCOL = TCP)(HOST = DevD-PC)(PORT = 1521))
DEFAULT_SERVICE_LISTENER = (XE)
Could someone help me what am i missing hereHi Deepak,
How did you find that out?
I'm havng the same problem, unable to connect via sqldev but command prompt is okay.
Checked everything I can possibly check and I really dont know what to do -
Unable to connect to reports server
Hi All,
I have an oracle forms application available on a machine server1 with url http://server1:7777/forms/frmservlet?config=x and the same application also available from another machine server2 with url http://server2:7777/forms/frmservlet?config=x
The reports server name is stored in a database table as rep_server2.
When i attempt to call a report from a form running on the server server2, the report call is successful. However when i attempt to call a report from the same form running on the server server1, i get an error FRM-41213: Unable to connect to the report server rep_server2
How do i get the call to rep_server2 to work from the url http://server1:7777/forms/frmservlet?config=x
Thanks1 Are the server 1 & 2 in the same network?
2 Are the reports versions in 1 & 2 are same ?
3 Could you use the below fmx and check if you are able to find the reports server from the server where
it doesnt work
[Finding List of reports Server from Forms|http://alexyscorp.com/products.htm]
(Download the Reports Server Form (Windows FMX) )
Rajesh
Edited by: RajeshAlex on Sep 5, 2008 10:58 AM
Edited by: RajeshAlex on Sep 5, 2008 10:59 AM -
Hi,
I am getting a problem when i am login to XL Reports.
The error is
Unable to connect to XL Reports
Error! Server communication failed!
Cause: Error! Unable to get document!
Type:36
Cause: Application-defined or object-defined error
I am using
OS: Windows XP sp2 Professional version 2002
SQL: Microsoft SQL Server 2005 Developer Edition
Framework : 2.0
MS Office 2003
SAP B1: 2007B SP00 PL08
Can any body suggest me is their any problem with above system software requirements or any other internal error. If any applications is required, suggest me to solve my XL Reports problem.
Thanks,
Santhosh.K
Edited by: Santhosh kamarapu on Feb 6, 2009 9:00 AMHi Santosh,
Please make sure the following things to be installed in the machine in which you are going to install XL reporter.
-Microsoft® .NET Framework 1.1 (.NET Framework Redistributable Package version 1.1).
-Microsoft® MDAC 2.7 or higher.
Also please refer to the SAP note: 903032, 898635.
hope it helps,
Regards,
Ladislav
SAP Business One Forum Team -
Unable to connect Forms, Reports to Personal Oracle8i
Hi everyone
I have installed Oracle 8i Personal Edition on Windows 98, and I have installed Oracle Developer. I am unable to connect to the Oracle Database from either Forms or Reports to the Personal Oracle Database. I tried connecting using
User : scott
password : tiger
database : oracle
orcl
<with no database>
But nothing helped..
I am able to connect to the database from SQLPLUS with no connect string.
I would appreciate, if someone could give me the solution for this problem.. and if it is possible to do so.
Thanks in advance
Satish
nullThis is what I tried:
1. sqlnet.ora, listener.ora and tnsnames.ora are in the C:\oracle\ora81\NETWORK\ADMIN directory.
2. sqlnet.ora and tnsnames.ora are in the C:\ORAWIN95\NET80\ADMIN directory (On my machine the
sqlnet.ora and tnsnames.ora file belong in the C:\ORAWIN95\NET80\ADMIN directory rather than ORAWIN95\NETWORK directory)
3. Here is what my listern.ora file looks like:
# LISTENER.ORA Network Configuration File:#
C:\oracle\ora81\network\admin\listener.ora
# Generated by Oracle Net8 Assistant.
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = HAL-9001)(PORT = 1521))
(DESCRIPTION =
(PROTOCOL_STACK =
(PRESENTATION = GIOP)
(SESSION = RAW)
(ADDRESS = (PROTOCOL = TCP)(HOST = HAL-9001)(PORT = 2481))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\oracle\ora81)
(PROGRAM = extproc)
4. Here is what my tnsnames.ora file looks like:
# TNSNAMES.ORA Network Configuration File:#
C:\oracle\ora81\NETWORK\ADMIN\tnsnames.ora
# Generated by Oracle Net8 Assistant.
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
ORACLE =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = HAL-9001)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = oracle)
(SID = ORCL)
5. Here is what my sqlnet.ora file looks like:
TRACE_LEVEL_LISTENER=OFF
TRACE_DIRECTORY=C:\ORACLE\ORA81\NETWORK\LOG
trace_level_client = off
trace_directory_client = c:\orawin95\net80\log
#sqlnet.authentication_services=(NONE)
names.directory_path=(TNSNAMES,HOSTNAME)
#names.default_domain=world
#name.default_zone=world
automatic_ipc = off# c:\oracle\ora81\network\admin\tnsnames.ora
TRACE_LEVEL_CLIENT=OFF
TRACE_DIRECTORY_CLIENT=C:\ORAWIN95\NET80\LOG
6. I start PO8i, Developer and the listener. All start ok.
7. Cannot connect from Forms Builder via scott/tiger/orcl
8. is the HOST setting supposed to be the HOST listed within my TCP/IP settings? If so, I tried that and it did not work.
any suggestions?
Chris Mazur
null -
Unable to Connect Crystal Reports 2008
Hii All,
Plz help...I am unable to connect to my Crystal Reports 2008 software with SAP Buiseness one.
When i create new connection from the Database Exoert ->Selected SAP Buiseness One->After Selecting ->Asking Creditintials like License server Server Type, But when it comes to Company Databae>Drop down the company i am not getting the company list??
Please let me know the Problem and Solution
Thanks & Regards
CherryGood days,
Because you enter invalid SQL Server authentication.
Please enter your :
License Server : localhost
Database Server Type : (your sql server version)
Database Server : (your database connection) eg : localhost\SQLEXPRESS
Click the DOT( . ) button.
Database User ID : (your sql ID) eg : sa
Database Password : (your sql Password) eg: p@ssw0rd
Then click connect server.
If Successful then
Company Database : eg : SBODemoUs
Username : manager
Password : manager
Else
Goto (Please enter your
End If -
Dear All
I'm using SAP Business One 2007A with PL 47.My O.S is Windows 2003 server with SP2.
I'm facing problem with XL Reporter. When I'm going to connect XL Reporter it give me error as follows.
Error! Server communication failed!
Cause: Error! Unable to get document!
Type: 36
Cause:XML document must have to top level element.
Your earlier response will be highly appreciated.
Warm Regards
Sohail Anwar AliDear Sohail Anwar Ali,
Is this problem with one client or all clients?
Thanks,
Gordon -
Unable to connect through Smart Update tool
Hi,
Needing to check for some patch for WebLogic Portal, I tried to access to support service through Smart Update tool. My status can't be verified on the login phase (I still obtain an error message "Unable to verfiy your status") and can only work offline; so I can't download any patch.
Launching the tool in through command line, I got the stacktrace I suppose to be the reason for the error :
javax.xml.rpc.ServiceException: Error processing WSDL document:
java.net.ConnectException: Connection refused: connect
at org.apache.axis.client.Service.initService(Service.java:250)
at org.apache.axis.client.Service.<init>(Service.java:165)
at org.apache.axis.client.ServiceFactory.createService(ServiceFactory.java:198)
at com.bea.plateng.patch.AbstractPatchServicesImpl.init(AbstractPatchServicesImpl.java:90)
at com.bea.plateng.patch.DefaultPatchProducerServicesImpl.<init>(DefaultPatchProducerServicesImpl.java:8)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.bea.plateng.patch.PatchServicesFactory.create(PatchServicesFactory.java:180)
at com.bea.plateng.patch.PatchLoginManager.login(PatchLoginManager.java:90)
at com.bea.plateng.patch.gui.PatchGUIHelper$1.call(PatchGUIHelper.java:192)
at com.bea.plateng.patch.gui.PatchGUIHelper$1.call(PatchGUIHelper.java:189)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
I tried to use several Smart Update releases (3.1.0.0 and 3.2.0.0) and to work with several JVM (32 and 64 bits, Sun and Jrockit) : none of this tries were OK.
My environment : Windows 7 Pro, 64 bits.
Is this an issue on my side or on Smart Update tool ? Is this due to my system (W7 ? 64 bits ?) Is there any system property I could use to pass the WSDL process ? Something else ...
Any help will be welcome !!
Thanks in advance.
Adrien.Hi Rakesh,
Thanks for your answer but I have already tested in both environement with and without proxy. And when I had a proxy I tried with and without proxy information configured in the preferences. I'd never been able to connect.
I don't know if the main error is the "can't connect" or the "WSDL error". Which of these two may be the real one ?
Turning one some trace features, I got an interesting information : the connection refused may be from the address http://pmlb.bea.com/axis/services/PatchConsumerService?wsdl -
Again FRM-41213: Unable to connect to Report Server
Hi all
I've been fighting with this problem a week, but I can not understand why my form, which works fine in the Oracle DS Report Server, can not run the report in the Oracle AS.
I'm using the Oracle AS 10g. All forms and reports are done in the DS 10g too. All testing stuff I've made at once:
1. rwclient works good
2. rwservlet works too
3. SSL is switched off
The report server, which I use is in-proc sservice (installed during the installation of AS). I did not make any other service of reports - I think it must work too.
I've made such code:
PROCEDURE RUN_REPORT(pReportParams Report_Params_Type)
AS
lParamList ParamList;
lReport REPORT_OBJECT;
lReturn VARCHAR2(100);
lRepServer VARCHAR2(100);
lHost VARCHAR2(20);
lPort VARCHAR2(6);
lURLStr VARCHAR2(100);
lStatus VARCHAR2(100);
ljobID VARCHAR2(100);
BEGIN
lReport := FIND_REPORT_OBJECT(pReportParams.ReportName);
TOOL_ENV.GETVAR('REPORTSERVERNAME', lRepServer);
IF TRIM(lRepServer) IS NULL THEN
SHOW_ERROR_MESSAGE('Report server name is not defined in the .env file');
ELSE
lRepServer := TRIM(lRepServer);
END IF;
TOOL_ENV.GETVAR('HOSTNAME', lHost);
IF TRIM(lHost) IS NULL THEN
SHOW_ERROR_MESSAGE('Report server host is not defined in the .env file');
END IF;
TOOL_ENV.GETVAR('REPORTSERVERPORT', lPort);
/*IF TRIM(lPort) IS NULL THEN
SHOW_ERROR_MESSAGE('Report server port is not defined in the .env file');
END IF; */
IF ID_NULL(lReport) THEN
Show_Error_Message('Report '||pReportParams.ReportName||' is not found');
END IF;
lParamList := GET_PARAMETER_LIST('REPORT_PARAMS');
IF NOT ID_NULL(lParamList) THEN
DESTROY_PARAMETER_LIST(lParamList);
END IF;
lParamList := CREATE_PARAMETER_LIST('REPORT_PARAMS');
SET_REPORT_OBJECT_PROPERTY(lReport, REPORT_EXECUTION_MODE,BATCH);
SET_REPORT_OBJECT_PROPERTY(lReport, REPORT_COMM_MODE, ASYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(lReport, REPORT_DESTYPE, CACHE); --cache/printer
SET_REPORT_OBJECT_PROPERTY(lReport, REPORT_DESFORMAT, pReportParams.Format);
SET_REPORT_OBJECT_PROPERTY(lReport, REPORT_SERVER, lRepServer);
lReturn := RUN_REPORT_OBJECT(lReport, lParamList);
ljobID := SUBSTR(lReturn, LENGTH(lRepServer) + 2, LENGTH(lReturn));
IF ljobID IS NOT NULL THEN
lStatus := REPORT_OBJECT_STATUS(lReturn);
WHILE lStatus in ('RUNNING','OPENING_REPORT','ENQUEUED')
LOOP
lStatus := REPORT_OBJECT_STATUS(lReturn);
END LOOP;
IF lStatus = 'FINISHED' THEN
IF TRIM(lPort) IS NOT NULL THEN
lURLStr := 'http://'||lHost||':'||lPort||'/reports/rwservlet/getjobid'||ljobID||'?server='||lRepServer;
ELSE
lURLStr := 'http://'||lHost||'/reports/rwservlet/getjobid'||ljobID||'?server='||lRepServer;
END IF;
SHOW_INFO_MESSAGE(lURLStr);
WEB.SHOW_DOCUMENT(lURLStr, '_blank');
ELSE
Message('Report can not be run with status '|| lStatus);
END IF;
END IF;
DESTROY_PARAMETER_LIST(lParamList);
END;
END;
The parameters: REPORTSERVERNAME, HOSTNAME, REPORTSERVERPORT are decribed in the env file. the name of the server is defined correctly.
I noticed that the procedure
lReturn := RUN_REPORT_OBJECT(lReport, lParamList);
returns <server_name_0>. In the result, the job=0 - I think the forms service can not access to the report service, but I can not understand why.
Could anyone help me?
Thanks in advance1) pls make sure inproc server is up
inproc server is hosted in oc4_bi_forms j2ee container. so oc4j_bi_forms should also be up
give
http://host:port/reports/rwservlet/getserverinfo?server=server_name
and you can see status of server. (or you can in oracle enterprise manager)
You can also see status of submitted jobs using
http://host:port/reports/rwservlet/showjobs?server=server_name
2) any reports servlet command will automatically start inproc server.
but submitting a request thru run_report_object will not make it start automatically
[ All Docs for all versions ]
http://otn.oracle.com/documentation/reports.html
[ Publishing reports to web - 10G ]
http://download.oracle.com/docs/html/B10314_01/toc.htm (html)
http://download.oracle.com/docs/pdf/B10314_01.pdf (pdf)
[ Building reports - 10G ]
http://download.oracle.com/docs/pdf/B10602_01.pdf (pdf)
http://download.oracle.com/docs/html/B10602_01/toc.htm (html)
[ Forms Reports Integration whitepaper 9i ]
http://otn.oracle.com/products/forms/pdf/frm9isrw9i.pdf
--------------------------------------------------------------------------------- -
Unable to connect through windows live messenger o...
When i try to sign in to Windows Live Messenger, I get the meesage "cannot sign you in to messenger. This maybe because your phone is in flight mode or you do not have a data connection. Please check your access point and network settings and try again"
how can i successfully run messenger.Following are the versions:-
Oracle:-
*10g Release 2 (10.2) for Microsoft Windows (32-Bit)*
Windows:-
Windows Vista Home Premium version 6(Build 6002: Service Pack 2)
But may i know, is Windows Home edition is a real issue ? If yes, then how am i able to connect with SQL*Plus and not with iSQL*Plus ?
Maybe you are looking for
-
I have an iphone4 and I can only hear calls when I put them on speakerphone. The people I'm on the phone with can hear me I just cant hear them. I am about to try a master reset but how do i backup my contacts from my address book? Does itunes do t
-
Is there any way to see a monthly view in the calendar app instead of a daily/weekly view? I had an older blackberry that show the whole month and allow you to scroll through the days. It would show a mark on the day if you had an appointment.
-
[SOLVED] Problem with tiacx
Hi, I got a problem with tiacx when I try to update my system. $pacman -Syu produces the following result looking for inter-conflicts... error: failed to prepare transaction (could not satisfy dependencies) :: tiacx: requires kernel26<2.6.37 Any idea
-
I cant sign into photo elements 10 on my desktop
I can not sign into photoshop elements 10 on my desktop. I can sign into my account online.
-
Organizing podcasts that have been dragged and dropped
I normally get my podcasts thru iTunes, so they are nice and organized in the Podcast section of iTunes. But I've just started getting some non-iTunes podcasts and can't figure out best way to organize. Most of the podcasts are episodes from a series