Can't run form from Form Builder 10g - Port configuration problem?
Hi,
I have installed the Database (10.2.0.1.0) and the Developer Suite (10.1.2.0.2) on two Linux machines (Red Hat Enterprise Linux ES 4 Basic).
If I enter the frmservlet-URL manually everything seems to be fine.
In one case I enter http://127.0.0.1:8890/forms/frmservlet, in the other http://127.0.0.1:8889/forms/frmservlet; in BOTH cases I get eventually a dark square and the status bar says "Applet oracle.forms.engine.Main started".
HOWEVER, if I create a simple form with Form Builder and click on the Button with the green traffic light ("Run Form"), the form runs only on the machine where frmservlet listens on port 8890.
On the other machine (frmservlet configured to listen on port 8889) Firefox pops up, the URL "http://127.0.0.1:32979/6dOrpwghCqnp8PhMT7KVT533m3IaArqFbPqPBOztZXWYSsNy" gets called, and nothing else happens. The screen displays the string "ORACLE FORMS." and the status bar says "Waiting for 127.0.0.1...", and it stays like this forever.
I assume this is a port configuration problem, but I don't have a clue where to start.
Any suggestions how I should proceed are greatly appreciated.
Thank you very much in advance!
Hi Frank,
Thank you for your reply.
I doublechecked my configuration.
In the dialog Edit --> Preferences --> Runtime the Application Server URL is set to "127.0.0.1:8889/forms/frmservlet".
However, when I attempt to run the form, the URL "http://127.0.0.1:33140/W2dwbV9eXS2fPkuKlxNhCxFWdEihwDviat2uV7ycrSotqwDN" gets called.
The screen displays the string "ORACLE FORMS." and the status bar says "Waiting for 127.0.0.1...", and that's it.
I wonder how the port number 33140 got selected. Interestingly, this time it is a different number; last time it was port 32979. In fact, the port number seems to change each time; I tried again and now it is 33189.
I will now try to set the port number for the frmservlet to 8890.
I choose Edit --> Preferences --> Runtime and set the application server URL to "127.0.0.1:8890/forms/frmservlet".
I stop the container, open /home/oracle/OraHome_1/j2ee/DevSuite/config/default-web-site.xml and change the port number to 8890:
<?xml version="1.0" standalone='yes'?>
<!DOCTYPE web-site PUBLIC "Oracle Application Server 10g XML Web-site" "http://xmlns.oracle.com/ias/dtds/web-site.dtd">
<!-- change the host name below to your own host name. Localhost will -->
<!-- not work with clustering -->
<!-- also add cluster-island attribute as below
<web-site host="localhost" port="0" protocol="ajp13"
display-name="Default Oracle Application Server 10g Java WebSite" cluster-island="1" >
-->
<web-site port="8890" protocol="http"
display-name="Oracle Developer Suite 10g instance of Oracle Containers for J2EE Web Site">
<!-- Uncomment the following line when using clustering -->
<!-- <frontend host="your_host_name" port="80" /> -->
<!-- The default web-app for this site, bound to the root -->
<default-web-app application="default" name="defaultWebApp" root="/j2ee" />
<!-- Do not delete this line. -->
<web-app application="forms" name="formsweb" root="/forms" />
<!-- -->
<!-- <web-app application="forms" name="formsweb" root="/forms" /> -->
<web-app application ="reports" name="web" root="/reports" />
<web-app application = "reports" name="demo" root="/repdemo" />
<!-- Access Log, where requests are logged to -->
<access-log path="../log/default-web-access.log" />
</web-site>
I restart the container, start Form Builder, connect to the database, and open my test form.
When attempting to run the form, the URL "http://127.0.0.1:33437/Pl0n3ky9vmU5z37A7ScBnQhsGwq3jwuzJpgTAKWPMOYIzT8K" gets called (again a new port number, apparently picked radomly within a certain range) and nothing happens: "Waiting for 127.0.0.1...".
However, when I enter the URL http://127.0.0.1:8890/forms/frmservlet I do (eventually, after confirming that I trust the certificate etc.) get a darc rectangle and the status message "Applet oracle.forms.engine.Main started", which tells me that my setup can't be that far off target.
Here is the output of netstat:
[root@localhost ~]# netstat -anp --tcp
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:32769 0.0.0.0:* LISTEN 2779/rpc.statd
tcp 0 0 0.0.0.0:23910 0.0.0.0:* LISTEN 5269/java
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 2759/portmap
tcp 0 0 0.0.0.0:1521 0.0.0.0:* LISTEN 4265/tnslsnr
tcp 0 0 0.0.0.0:113 0.0.0.0:* LISTEN 2983/xinetd
tcp 0 0 127.0.0.1:7830 0.0.0.0:* LISTEN 4429/spamd --port 7
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 2928/cupsd
tcp 0 0 0.0.0.0:9240 0.0.0.0:* LISTEN 5269/java
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 3002/sendmail: acce
tcp 0 0 0.0.0.0:8890 0.0.0.0:* LISTEN 5269/java
tcp 0 0 0.0.0.0:32795 0.0.0.0:* LISTEN 4231/ora_d000_orcl
tcp 0 0 127.0.0.1:1521 127.0.0.1:32817 ESTABLISHED 4265/tnslsnr
tcp 0 0 127.0.0.1:32817 127.0.0.1:1521 ESTABLISHED 4209/ora_pmon_orcl
tcp 0 0 127.0.0.1:33425 127.0.0.1:1521 ESTABLISHED 5298/frmbld
tcp 0 0 127.0.0.1:1521 127.0.0.1:33425 ESTABLISHED 5311/oracleorcl
tcp 1 0 80.133.127.83:33485 209.132.177.100:443 CLOSE_WAIT 4060/python
tcp 1 0 80.133.127.83:33484 209.132.177.100:443 CLOSE_WAIT 4060/python
tcp 1 0 80.133.127.83:33494 209.132.177.100:443 CLOSE_WAIT 4060/python
tcp 1 0 80.133.127.83:33520 209.132.177.100:443 CLOSE_WAIT 4060/python
tcp 0 0 80.133.127.83:33529 209.132.177.100:443 ESTABLISHED 4060/python
tcp 0 0 80.133.127.83:33528 209.132.177.100:443 ESTABLISHED 4060/python
tcp 1 0 80.133.127.83:33460 209.132.177.100:443 CLOSE_WAIT 4060/python
tcp 1 0 80.133.127.83:33470 209.132.177.100:443 CLOSE_WAIT 4060/python
tcp 0 0 :::22 :::* LISTEN 2968/sshd
tcp 0 0 ::ffff:127.0.0.1:33437 :::* LISTEN 5298/frmbld
tcp 697 0 ::ffff:127.0.0.1:33437 ::ffff:127.0.0.1:33439 CLOSE_WAIT -
tcp 348 0 ::ffff:127.0.0.1:33437 ::ffff:127.0.0.1:33440 CLOSE_WAIT -
[root@localhost ~]#
The question remains: Where do those port numbers come from?
Regards,
jme
Similar Messages
-
How can i run report from form?
Hi.
I build a report , the name is test , in this report i have 3 parametrs 'user_id' , 'Date_1' and 'Date_2'.
how can i send those parametrs from form to report?
i have 3 text item in form for get the parametrs.
thanks alotYou can run the report from within a program unit, using following :
Run_Product(REPORTS, report_name, ASYNCHRONOUS, RUNTIME, FILESYSTEM, param_list, NULL);
Here, report_name contains report file's name (test.rdf in your case) its type is Varchar2.
param_list is of ParamList type, it contains the name-value pairs for parameters you want to pass to the report. You'll have to add parameters to this using addParameter() function. see the Help for addParameter().
this will run the report using Report Background Engine.
Regards,
Muhammad Shakeel -
Unable to run the form from Form Builder 10g
HI,
I am having a problem with running a form with form builder 10g.
I have create a form with some text boxes to display values in a table.
When i compile and run the form it does not run The error shown is
HTTP 403(Forbidden) You are not authorised to view this page.
The Link used for the above is:
http://127.0.0.1:1740/sWuCqhMKUT1btA1N5cXLCRshkJzmgKRIlCEUFd9RL520LVq0
The port number 1740 changes everytime. I dont know why.
I have started the OC4J instance before starting the Form Builder.
I have made the changes to the runtime preferences in the form builder.
http://localhost:8889/forms/frmservlet
But it doesn't work when i try to run the form from Form Builder.
ie Program-->Run Form
The form works properly when using the 'Run a form on the Web Utility' provided with Developer Suite.
Can anyone please suggest a solution. I have searched the forum but didnot find a solution.
Thanks
V.S.One of our DBAs has installed the software.
It was a default installation, I believe, as no configuration was done during the installation except for increasing the virtual memory size.
Post installation we changed the tnsnames.ora file and the sqlnet.ora file.
Do i need to configure something ?
Thanks,
V.S. -
Oracle 10g Developer suite
using OC4J
hi experts
can you please share some code here to run report from form with and without passing parameters.
regardsTry This
Declare
v_connect VARCHAR2 (200) := 'userid=nisadmin/nisadmin@abc';
v_report_name VARCHAR2(100) := 'Voucher.rdf';
v_format VARCHAR2(12) :='Htmlcss';
Begin
Web.Show_Document('http://hoitvoltes5:9002/reports/rwservlet?'||v_connect||'&server=ReportsServer_HOITVOLTES5_asin&destype=cache&report='||v_report_name||'&desformat='||v_format||'&companyid='||:voucher.companyid||'&vouno='||:voucher.vouno,'_blank');
End; -
Browser blank when running a form from forms builder ??
Hi,
I am trying to run a form from forms builder.
I have a form , compiles, and when I run the form nothing comes up in my browser.
my browser is completely blank.
I am running everything on my local machine.
the steps I took.
- downloaded jinit.exe, installed it.
- started the OC4j
- restarted my browser
- then connect to my DB from forms builder - connects fine
- Run the form
but nothing is coming up when i run my form.
I even restarted my machine and still nothing.
What am I missing ??
Thanks,This is a fairly common question. If you have the Jnit installed and OC4J running, then I would suggest you add the directory where your FMX is located to the FORMS_PATH in the 'DEFAULT.ENV' file located in the %DEVSUITE_HOME%/forms/server directory. The FORMS_PATH variable defines the SEARCH Path for Forms Applications so Forms can find your .FMX and .PLX files.
You could also modify the URL and specify the Form='your_form_name.fmx', but I prefer adding the directory to the FORMS_PATH so I don't have to add FORMS="" for each different form I'm working on.
Hope this helps,
Craig B-)
If a response is helpful or correct, please mark it accordingly. -
Hi,
I am using Form 6i and copied Forms60Libraries in my local machine. I am developing form which will be registered with oracle apps. Now I want to run this form locally instead of uploading into server everytime while testing which I don't have access depending on other for this move.
So, Please guide me to run this form from Form Builder locally if there is a way.
Thanks in advance.As Alex suggested, you will need local copies of all the required Apps resource files (*.pll, *.plx, etc). Running an Apps form from the Forms Builder does not require any special setup on your workstation beyond this. However, even with all the required resource files you will run into errors each time your form calls one of the standard apps built-ins. It has been a while since I've worked with Apps, but I was able to get around the calls to these built-ins by checking if the Form was running on the web or client/server and only calling the Apps built-in if running on the web. It was a bit of a pain to setup, but it was worth being able to test my form localling from the Forms Builder rather than upload the form to the server in order to test the runtime. Here is how I accomplished this. In each trigger that calls an Apps built-in (eg: APP_STANDARD.Event) do the following. Typically, I only needed to add the following code the Form level triggers, but it depended on each form.
/* Example When-New-Form-Instance */
DECLARE
UI_type VARCHAR2(15) := Get_Application_Property(USER_INTERFACE);
BEGIN
IF ( UI_type = 'WEB' ) THEN
-- Execute Apps built-ins...
APP_STANDARD.EVENT('WHEN-NEW-FORM-INSTANCE');
END IF;
-- Perform the rest of your processing here
END;Hope this helps,
Craig B-)
If someone's response is helpful or correct, please mark it accordingly.
Edited by: CraigB on Dec 6, 2011 12:20 PM -
OC4J service startup & running form from forms builder
Hello everybody,
I have installed Oracle 9i database and Oracle 9i DS on my personal Computer. (O.S. is Windows XP) . Now if I want to run any form from Forms builder I have to everytime start the OC4J service, from oracle-home\j2ee\oracle9i DS\startinst.bat
How to eliminate this? Is there any way to automate this procedure? so that everytime when I open the forms builder, it will automatically start this service or run this bat file.
Or any other way to overcome this prob?
regards
achchaniHi,
unfortunately the answer is no. If you search the Internet you may find lik of how to make bat execution a Windows Service
Frank -
Running form from Forms Builder with IE
Forms 11.1.1.4, IE 8, Windows 7 64-bit.
1. Running form from Forms Builder with IE results in Page cannot be displayed. My Java console doesn't even appear so it's not getting to the servlet part.
2. Running same form stand-alone in IE works fine. The URLs are identical (I've cut/pasted them)
3. Running same form from Forms Builder with Firefox works fine. The only change I made was to the runtime preference for the browser location.
Seems like this has to be something to do with the browser configuration that only occurs from Forms Builder. What could it be?I'm not sure about the specifics of your configuration but I suspect the answer is in formsweb.cfg (and the associated .env file).
I think that generally the configuration that runs for formbuilder is the "default" whereas you could be specifying a different
one on the url not going through formbuilder. (but if you're using em then it's really hard to know what's going on since it seems
to not write changes back to the config and env files until it is stopped. This caused me many days of confusion until I figured it out and
that's why I would highly advise never using it to modify .config or env settings.)
check what jre is installed in ie (tools, manage addons, there is on my machine:
java 2 plugin ssv helper and JQSIEStartDetectorImpl browser helper object.
Not sure which one or both is necessary.
Have your url be a trusted site, unblock it from popup blockage, and most of all stare at your formsweb.cfg default section. It would help
if you specified what was in the url. do you have config=X in there?
Edited by: lake on Jul 23, 2011 12:21 PM -
Unable to run report from forms developer.
hi....
i m not very much in developer 9i.from last 2 month i m doing developer 9i.I m desiging and running
report from report builder.but i m not able to run that report from forms developer.Can anyone help to solve my problem?is there any particular extension i have to follow or any configuration(Application server) i have to made change?What code i have to write to run a report from forms?Hi frank...
Thanx for ur reply...
Actually what i did,i created a report and save that report with .rdf extension.I set reports_path(In Registry) property to the particular folder where i put all of my reports.In forms developer i add the report as report object from that folder.i set the following few lines in a button click event
--=============================================
declare
rep_id report_object;
v_rep varchar2(30);
begin
rep_id :=find_report_object('report4');
v_rep :=run_report_object(rep_id);
end;
--=============================================
when i click the button it is showing a error "You didnot specify the report name".This is all about from me what i did to run a report from forms.So should i do to run report? -
Running reports from forms on the web
On forms and reports 6i we used the following code to run reports from forms.
We need to do the same on 9i forms and reports, we are running into problems.
Any help will be appreciated.
PROCEDURE web (inFileName VARCHAR2,
inRecordGroup RECORDGROUP) IS
outVirtualPath VARCHAR2(200) := '/forms90/f90servlet?p_url=/reports/rwservlet?'; outServer VARCHAR2(200) := 'server=rep_ora-app-4';
outReport VARCHAR2(200) := 'report='||inFileName;
outUserid VARCHAR2(200) :=
'userid='||GET_APPLICATION_PROPERTY(USERNAME)||'/'||GET_APPLICATION_PROPERTY(PAS
SWORD)||'@'||GET_APPLICATION_PROPERTY(CONNECT_STRING);
outDesType VARCHAR2(200) := 'DESTYPE=CACHE';
outDesFormat VARCHAR2(200) := 'DESFORMAT=PDF'; outUser VARCHAR2(2000);
outCount INTEGER;
error we are getting.
FRM-42017:Module name must be specified.S Hatch (guest) wrote:
: I'm thinking that you're going to have to install the Reports
: cartridge, create an entry in the keymap with any parameters
and
: call your report via the url.
: Dessislava Gantcheva (guest) wrote:
: : How do I call a report from a form on the web?
: : I have installed Windows NT Server 4.0 with SP 5, OAS4.0.7
EE
: : with patch 1, Developer 6.0 with patch 1. Developer server
and
: : forms server work fine in a non-cartridge implementation,
but
: I
: : cannot run a report within a form. I just have no any info
how
: : to do this.
I have entries in my keymap file and I can call my reports via
the url, but I cannot run a report WITHIN a form. I mean to call
a report by clicking on a button of a form on the web. The
RUN_PRODUCT built-in does not work (at leas it seems like this)
If any one has expiriense with it, please, give me a hint.
Thanks
null -
How can print a report from form 6i, when I press a button?
hi Friends,
How can print a report from form 6i, when I press a button?
When i press a button from Form 6i, the report should print through printer.
I have done it by using report parameter DESTYPE Printer but problem is that when I press a button printer dialogue box appear and then I give command Print to printer, I don’t want to show Printer dialogue box.
I want when I press a button form Forms 6i , printer will print my report directly.
Please send me the solution of this problem.
Best regards,
ShahzadHi
If You are using Client server application then to passing to Add all Print Parameter in the Host Command.
Means Print command in unix to Host(lp.............) and Other Parameter to file name of the report to print.
If You not Use Client Server Application the Also Passing a Host Command in Button-Pressed Event and Run. -
hi,
I am having problems in running report from form.
I am using oracle 9i on windows 2000 server and no 9iAS at the moment. On client side, i have windows xp and 9iDS installed. I want to run report from forms in 9iDS testing environment.
my forms are running ok but now i need to run report. so what i have done is that i have created a report object in form and following are enteries present in it at the moment.
Name REPORT7
FileName D:\Projects\IBMR\forms\soil_water_quality_data.rdf
Execution Mode Batch
Communication Mode Synchronous
Destination Type Cache
Report Server 9irep
and in when_button_pressed trigger
DECLARE
Report_Id REPORT_OBJECT;
Report_Job_Id VARCHAR2(20);
Report_Status VARCHAR2(80);
Report_Svr VARCHAR2(20);
BEGIN
Report_Id := FIND_REPORT_OBJECT('REPORT7');
Report_Svr := '9irep';
SET_REPORT_OBJECT_PROPERTY(Report_Id,REPORT_EXECUTION_MODE, BATCH);
SET_REPORT_OBJECT_PROPERTY(Report_Id,REPORT_FILENAME, '\projects\ibmr\forms\soil_water_quality_data.rdf');
SET_REPORT_OBJECT_PROPERTY(Report_Id,REPORT_COMM_MODE, SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(Report_Id,REPORT_DESFORMAT,'PDF');
SET_REPORT_OBJECT_PROPERTY(Report_Id,REPORT_OTHER, 'paramform=no');
Report_Job_Id := RUN_REPORT_OBJECT(Report_Id);
Report_Status := REPORT_OBJECT_STATUS(Report_Job_Id);
WHILE Report_Status IN ('RUNNING','OPENING_REPORT','ENQUEUED') LOOP
Report_Status := REPORT_OBJECT_STATUS(Report_Job_Id);
END LOOP;
IF Report_Status = 'FINISHED' then
WEB.SHOW_DOCUMENT('/reports/rwservlet/getjobid'||substr(Report_job_id,instr(Report_Job_Id,'_',-1)+1)||'?'||'server=9irep','_blank');
else
message ('report server failed with error message '||report_status);
END IF;
END;
i have installed report server with following command
rwserver -install 9irep
i have changed entry in rwservlet.properties like
SINGLESIGNON=NO and i have removed the following entire block of 9irep.conf, which i have read from some documentation
<!--security id="rwSec" class="oracle.reports.server.RWSecurity">
<property name="securityUserid" value="%PORTAL_DB_USERNAME%/%PORTAL_DB_PASSWORD%@%PORTAL_DB_TNSNAME%" confidential="yes" encrypted="no"/>
</security-->
i get the following error message when i run my form
frm-41214 Unable to run report
and then next message is
frm-41217 unable to get report job status
i debugged the report id and it is
9irep_0
returned by Report_Job_Id := RUN_REPORT_OBJECT(Report_Id);
When I checked the Report Queue Manager
it is showing status like
(9irep)Terminated with error
and detail it shows is
Unable to connect to the specified database.
Now I am wondering what to do next.
any suggestions???????Hello,
From your description, it seems like the report is faling due to a database authentication problem. When you run your report from Forms, Forms internally passes the its database connection information to Reports automatically. So ensure that you are connected to a valid database in Forms, before the report is called.
Please verify whether a simple report which does not require a database connection, for example, a report containing only a boilerplate text object, is running correctly. Also, in the trigger code that you have specified, you should add the following:
SET_REPORT_OBJECT_PROPERTY(Report_Id, REPORT_DESTYPE, CACHE);
so that the report output gets generated to the server cache, and can be retrieved using rwservlet/getjobid.
Thanks,
The Oracle Reports Team. -
When run report from form(6i) on the web,error FRM-921000
While I was trying to run report from form (6i)on the web,it will give me this error
message FRM-921000 and hang.
But when I try to call form using form,I do
not have the problem.
May I know ehat is the cause?
Anybody encounter this before?
Thanks
nullI am running Forms 6i on the web and attempting to call me report via RUN_REPORT_OBJECT. I am getting the same error as Jenny FRM-92100. I need to pass a parameter list so I don't think I can use WEB.SHOW_DOCUMENT. Any ideas???
Thanks,
Jenny N.
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Joseph Schwertner ([email protected]):
Dear Jenny,
I am running reports from Forms 6i on the WEB. I did not encounter your problem. Nevertheless I would like to share the following with you.
RUN_PRODUCT doesn't work for calling reports ON THE WEB. Instead using RUN_PRODUCT do the following:
1. Install Oracle Reports Server
2. For WEB calls of reports use WEB.SHOW_DOCUMENT
3. Learn how to pass parameters to the reports. It is a litlle bit strange, but it is explaint excellent in the documentation to the Reports Server.
I hope this will help you.
Joseph Schwertner
<HR></BLOCKQUOTE>
null -
I've interview tomorrow , still do not know how to run report from forms
hi all ,
i asked before about running report from forms 10g rel2 , but vainly , because i could not configure the reports server ,
and no one told me .
now i've an interview tomorrow , and sure it will be included in the task which i have to do .
i am in a bad need for your step by step help
thanks in advanceExcuse me for being lazy and not searching your previous threads containing questions about configuring your reports server. As I don't know their content I don't know the links posted, the advices given and what you did, and as this is a new thread I'll go ahead and ask what you tried, where you failed and what exactly did not work out for you.
i am in a bad need for your step by step help Fine, here is an easy one:
Step 1: go to http://tahiti.oracle.com
Step 2: click on "Oracle Application Server, 10g Release 2 (10.1.2)"
Step 3: click in the searchbox, type "Configuring Reports Server"
Step 4: click "search"
Step 5: You will be redirected to some links, the very fist of them is this:http://docs.oracle.com/cd/B14099_19/bi.1012/b14048/pbr_conf.htm
This is as step-by-step as it gets, if you want detailed help ask detailed questions.
cheers -
hi all,
i have tried to run report from forms using below codig(got from online help)
DECLARE
repid REPORT_OBJECT;
v_rep VARCHAR2(100);
rep_status varchar2(20);
v_host varchar2(100):= 'localhost';
v_port varchar2(10);
v_parameter_string varchar2(4000);
v_username varchar2(50);
v_password varchar2(50);
v_database varchar2(50);
BEGIN
repid := find_report_object('REPORT27');
v_rep := RUN_REPORT_OBJECT(repid);
rep_status := REPORT_OBJECT_STATUS(v_rep);
if rep_status = 'FINISHED' then
message('Report Completed');
copy_report_object_output(v_rep,'E:/Rep/local1.pdf');
-- host('MOZILLA E:/Rep/local.pdf');
-- WEB.SHOW_DOCUMENT('http://192.168.0.160:1521/reports/rwservlet/getjobid'||
-- substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server=repserver','_blank');
else
message('Error when running report.');
end if;
-- Get the full domain name of the server from the formsweb.cfg
tool_env.getvar('SERVER_URL',v_host);
-- Get the username/password and database from the .env file
tool_env.getvar('APPLICATION_USERNAME',v_username);
tool_env.getvar('APPLICATION_PASSWORD',v_password);
tool_env.getvar('APPLICATION_DATABASE',v_database);
-- If it is localhost then we are running on windows and need to use the windows port, otherwise we
-- are on AIX and need to use the AIX port
IF v_host = 'localhost' THEN
v_port := '8889';
ELSE
v_port := '8889';
END IF;
-- Now build the parameter string for running the report
v_parameter_string := 'server=repserver';
v_parameter_string := v_parameter_string||'&report= E:\AGE_NoELIGIBLEReport.rdf';
v_parameter_string := v_parameter_string||'&userid='||v_username||'/'||v_password||'@'||v_database;
v_parameter_string := v_parameter_string||'&execution_mode=batch';
v_parameter_string := v_parameter_string||'&comm_mode=synchronous';
v_parameter_string := v_parameter_string||'&destype=cache';
v_parameter_string := v_parameter_string||'&desformat=pdf';
-- Now run the report
web.show_document('http://'||v_host||':'||v_port||'/reports/rwservlet?'||v_parameter_string,'_blank');
END;
REP-110: Unable to open file ' AGE_NoELIGIBLEReport.rdf'.
REP-1070: Error while opening or saving a document.
REP-0110: Unable to open file ' AGE_NoELIGIBLEReport.rdf'.
but i hav report in e:\ then why its getting?Hi,
I suggest you not to use the "E:\" directory letter, but the REPORTS_PATH instead.
<p>
from the Online Help
</p>
<p>
On Windows, edit environment variables through the Registry Editor (Start > Run > Regedit).
</p>
<p>
On UNIX, edit environment variables by revising and running the shell script that defines the initial default values (reports.sh). If you do this, be sure to keep a backup of the original, unaltered reports.sh file.
</p>
<p>
Regards
JeanYves
</p>
Maybe you are looking for
-
Hello experts, I have created an simple ALV Grid report, in that I have implemented double click event n I want to create a new ALV grid with new data to be displayed. So I want to access field value ie using SLIS_SELFIELD or anything. Could anyone p
-
ITunes Video Podcasts and Photoshop CS5 not playing together.
i just got a MBP with all the trimmings and have been having a problem since i got it. As a photographer I need Photoshop CS5 and have installed it as normal on my new MBP. Every time I am playing a video podcast from my iTunes library and let's say
-
When I take photos using my flash, the photos turn out dark?
I cant take photos with my flash because it will show as a black screen or a really dark image as if I did not use the flash. What could be the cause of this? Is there a way to fix it myself?
-
Veho usb microscope and lion os 10.7
Does this device work with Lion? Are there downloads or workarounds. The Veho site says it is compatible with 10.5 an 10.6.
-
Watching rented movie on a macbook air
I rented a movie on my new macbook air. It showed that it was downloading and eventually finished. Now I can't find it anywhere. How can I watch my rented movie? Note that I want to watvh on the notebook not an iPad.thanks