Forms 11g - web.show_document
Hi!
How can i reach the reports server with web.show_document in Forms 11g?
"opmnctl status" shows the running reportsserver but when i make a call e.g. to
http://pc1:8888/reports/rwservlet?report= ... a.s.o.
the error message: Failure of server apache bridge:
no backend server available for connections ...
is thrown.
any ideas?
thanks in advance!
Magoo
Can you please specify the OS you are using. Because in Windows XP and Vista, only Forms & Reports Builder and Runtime are supported, and the system components (OHS, WC) are not supported.
If you have installed in a Windows 2003 Platform and install is done with the system components, then the issue is with the OHS.
OHS seems to be down.
You can bring up the OHS, Reports Server through OPMN or start menu. And WLS_REPORTS from the start menu.
In the command prompt, cd $ORACLE_INSTANCE\bin (By default - C:\oracle\Middleware\asinst_1\bin) run the command:
opmnctl.bat status -l :- Will give the status of the components. If System components are not installed, this will not work.
opmnctl.bat restartproc ias-component=ohs1 :- Will restart the OHS.
This can be done from the Start Menu also:
StartMenu -> Oracle Classic Instance - <Instance Name> -> Stop Oracle Http Server - ohs1
StartMenu -> Oracle Classic Instance - <Instance Name> -> Start Oracle Http Server - ohs1
You can stop and start the WLS_FORMS from the start menu:
StartMenu -> Oracle Classic Instance - <Instance Name> -> Forms Services -> Stop WebLogic Server - WLS_FORMS
StartMenu -> Oracle Classic Instance - <Instance Name> -> Forms Services -> Start WebLogic Server - WLS_FORMS
Status of the WLS_FORMS can be seen from the Admin Console:
http:<hostname>:7001/console (use the pwd given during the Classic SH install).
Under Environment section, click Server.
Summary of Servers Page will show the status of the WLS_FORMS.
If you want to stop and start, select Control tab. Check the check box and press the corresponding button.
Similar Messages
-
Reports 9i Printing from Forms with WEB.SHOW_DOCUMENT
I want to print a Report from Forms via WEB.SHOW_DOCUMENT directly to the printer and it works fine.
But every time i print it from my web application a new browser-windows opens and shows a message "Printed successfully" or something like that. If I start the printjob again nothing happens - if I press the Browser-Refresh-Button in the new Browser-Windows with the Message ("Printed Successfully") it prints.
So now I have 2 questions:
a) How can I disable the "Printed successfully"-Message
b) What hava I to do that I not must press on the Refresh-Button to start the printing again
I hope I hava explained my problem clearly. 4
Here ist the complet WEB.SHOW_DOCUMENT-Command I fire in Forms when a Button is pressed:
WEB.SHOW_DOCUMENT('http://mymachine:8888/reports/rwservlet?report=testreport.rdf&destype=printer&desname=\\NTS32\VZ_D3&desformat=html&userid='|| sUser ||'/'|| sPW ||'@'|| sDB,'_blank');
Many thanx for your help!
Regards
MarcHello,
for the problem:
b) What hava I to do that I not must press on the Refresh-Button to start the printing again
may be it just a setting in your Browser ?
For Internet Explorer :
go to I.E General Options screen. click on settings button and choose
"Every visit to the page " option.
Regards -
how to call a form from WEB.SHOW_DOCUMENT
I would like to call a form using the WEB.SHOW_DOCUMENT the idea is from the menu that is attached to the form instead of use call_form use WEB.SHOW_DOCUMENT(...my_newform.fmx)
Is this possible?????Hi ,
I think yes...but under some circumstances....
In your formsweb.cfg file you should define a named configuration alias... such as:
[TEST]
workingDirectory=C:\TEST_DIR
form=C:\TEST_DIR\MY_NEWFORM.FMX
Then , after stopping , starting your OC4J instance..... you call that as (in a button , for example):
web.show_document('http:<your_server>:<port>/forms/frmservlet?config=[TEST]',_blank);
I have not tested it.....
Regards,
Simon -
Launching a new form using web.show_document
Using 9iAS 9.0.2.1.1. and Forms9i I'm trying to get a form to launch a new browser window and open a new form in it. At present I'm using web.show_document to do this. However, I get an error message stating that 'Connection from new browser window is not supported'. From an earlier thread in this forum I found a possible solution which is to set the session.useCookies to false in the zone.properties, which I have done, but I'm still getting the same error. I've tried restarting the OC4J_BI_Forms OC4J and the HTTP server, but nothing makes any difference. Am I missing something?
If you are attempting to print a report from a when-button-pressed trigger from within a form, you do not have to explicitly specify the server (hostname) nor the port. You can just use what I've found referred to as a virtual path to the server as I have done here:
parm_string := '/reports/rwservlet?config=my_config&report=report_name'
||'&desformat=pdf&destype=cache'
||'¶mform=no&printjob=no'
||'&p_my_user_param1='||v_my_param1
||'&p_my_user_param2='||v_my_param2;
web.show_document(parm_string,'_blank');
You can specify a userid/password@connectstring within a named congifuration section of your formsweb.cfg file if necessary, e.g. my_config.
Hope this helps.
James K. -
Calling a report from form using web.show_document
Hi,
Used the method as below, But , error reprot not found,
Could anybody tell me how to get the server name from ny local machine as in the example servername ' Repsrv '
/* WHEN-BUTTON-PRESSED */
DECLARE
vc_url varchar2(100);
BEGIN
vc_url:=‘http://<hostname><port>/reports/rwservlet?server='
||
‘Repsrv&report=reptest.rdf&desformat=htmlcss&destype=cache ’
||
'&userid=user/pw@database&p_deptno='||:dept.deptno||'¶mform
=no’;
WEB.SHOW_DOCUMENT(vc_url,’_blank’);
END;
ThanksIf you are attempting to print a report from a when-button-pressed trigger from within a form, you do not have to explicitly specify the server (hostname) nor the port. You can just use what I've found referred to as a virtual path to the server as I have done here:
parm_string := '/reports/rwservlet?config=my_config&report=report_name'
||'&desformat=pdf&destype=cache'
||'¶mform=no&printjob=no'
||'&p_my_user_param1='||v_my_param1
||'&p_my_user_param2='||v_my_param2;
web.show_document(parm_string,'_blank');
You can specify a userid/password@connectstring within a named congifuration section of your formsweb.cfg file if necessary, e.g. my_config.
Hope this helps.
James K. -
Passing parameter to Called form through Web.Show_document.
i am calling a form say 'form2.fmx' from 'form1.fmx' using web.show_document. the parameter is concatenated with the URL string properly but this parameter is not accessible in the called form.
Please Help
thanksi am running forms Of 10G developer suit. i want to call and pass a parameter
'emp_no'(employee no) to a form say 'form2.fmx' from the form say 'form1.fmx' on button
click. so i have created a parameter named "emp_no" in the object navigator of "form2.fmx".
in form1.fmx, i am using web.show_document(URL) function as given below.
web.show_document('http://111.111.111.11:8889/forms90/f90servlet?form=form2.fmx&emp_no=7156&userid=scott/tiger@mysid','_blank');
This function successfully call the "form2.fmx" but in this form the value of parameter
"emp_no" is null even when i have passed it in the URL (as shown in the above code line)
i.e; the value of emp_no is null.
Note :
7156 is the value of emp_no parameter.
111.111.111.11 is the supposed ip address. etc. -
Forms 6i - web.show_document error
I am trying to use web.showdocument to open a java based internet session. I get an C++ Runtime-Error, abnormal termination in Internet Explorer.
Not sure whether Jinitiator is interfering with Java JVM or not...
WEBNOW_URL VARCHAR2(200);
WEBNOW_URL := 'http://server.is.generic.com:8080/web/index.jsp?';
WEB.SHOW_DOCUMENT(WEBNOW_URL,'_blank');
Please help me....We are trying to get this to work with a imaging product call WebNow. It is version 5.4. It is associated with ImageNow.
No Java URLS will display thru Internet Explorer with the Web.Show_Document
Any ideas are helpful...The problem you are having is likely caused as a result of conflict between JREs. You can only run one JRE/Jinitiator version per browser session. Calls to WEB.SHOW_DOCUMENT launch new browser windows using the same session as the parent. In other words, if Forms uses Jinitiator 1.3.1.22, your other application must also use Jinitiator 1.3.1.22
-
I am not able to call a form by web.show_document
Hi
This code is on button on first from and the second form is called by this button and the code is given
web.show_document('http://comp_name:8889/forms/frmservlet?
form=C:\test_report\final_to_be_added_to_main\MASTER_FORM_TRIAL.fmx&userid=&buffer_records=NO&debug_me
ssages=NO&array=YES&query_only=NO&quiet=NO&RENDER=YES&otherparams=PARA1=' || V_PARA_VALUE);BUt the next form is not openned and not showing any error
in few computers its working fine
please guide me
Thanks And Regards
Vikas Singhal
Edited by: vikas singhal on Jun 11, 2010 2:59 PM
Edited by: vikas singhal on Jun 11, 2010 3:00 PM
Edited by: vikas singhal on Jun 11, 2010 4:25 PMSir,
it is working fine on my server when i run the application on my lan machines in few machines have problum
and few working fine.
Any help appreciated.
Thanks And Regars
Vikas Singhal -
Abt web.show_document in forms 10g
hi,
i am trying to call the following code in forms 10g
web.Show_document('javascript:alert("hello world")','_blank');
but its not working ,plz help me !!!
ThanX in Advace
chandraThis is a browser problem, not a Forms problem. First check your broswer to make sure it has JavaScript enabled. If it still doesn't work, and you are able access a html page using web.show_document(), then your browsers security setting is preventing the JavaScript operation from ocurring.
It works for me and i'm using IE v6.0.2900 sp2. -
WEB.SHOW_DOCUMENT don´t start Firefox 3.5
Hi @all,
I want to call a report through Forms per web.show_document but Firefox don´t start. The URL is correct (I´ve tested it). I tried also to disable the Popup-Blocker but this didn´t solve the problem, too.
I call the fmx with a JNLP File.
There is no other browser installed on my system.
Are there any other settings in the browser (or maybe in the OS (WinXPPro SP3)) which could be responsible for this problem.
Thanks for your suggestions.
ThomasHi,
no, I run my forms in a Java Virtual Machine ( I start it with a JNLP-File) not directly in a browser. Adobe 9 is installed. In "showmyjobs" there are no report jobs listed, because the browser don´t start and try to open the report. When I copy manually the URL (which should call the report) from web.show_document into the browser the report starts. There is no problem in calling the report.
The problem is that web.show_document don´t start the browser or if the browser is already open a new tab to call the URL which I have written in web.show_document.
e.g.
web.show_document('http://www.google.de'. '_blank') should call google in a new browser tab or, if the browser is not opened already, in a new browser. But in my case the browser don´t start or don´t start a new tab page. This problem occurs in IE and in Firefox.
I use JDK 6 Update 16 and Forms works fine with that version.
I´ll try it tomorrow with another Java Version but I don´t think that this solve the problem.
Thomas -
Web.show_document() with javascript
Hi Guys,
I'v been searched this forum about web.show_document() with javascript.
I saw some threads said
I can do like
WEB.SHOW_DOCUMENT ('javascript:window.open("http://www.google.com","","fullscreen=no,titlebar=no,location=no,toolbar=no,menubar=no,status=no,resizable=yes");self.close()','_blank');
and someone said it worked, but it doesn't work in my machine.
also some one said the javascript engine is not included in Form 10.1.2, so I can not use WEB.SHOW_DOCUMENT function like above.
My form builder is 10.1.2.0.2 (Production), os is xp sq2 ,ie 6.(ie6 has some tighter security)
I want to get clarification about this function, can i use the javascript on it or not ? I really want the pop up window without toolbar and customize size. I need do some configuration in formweb.cfg also?
Thanks in advance. I appreciated every response.
AppcatHi Jan,
Thanks for your reply. I check the metalink about it.
The first solution is
1. Make forms Developer URL a trusted site in IE to allow script executions.
For that open Internet Explorer->Internet Option-> Security.
Select the "Trusted Sites" Option.
Click on the Sites Button.
Add the Developer Suite URL in that.
for example
http://<Yourmachinename>:8889/
It doesn't work in my machine ,still can not activate the javascript.
The second solution is
2. Place the script invocation code in a html file in Oracle_home/forms/server directory and call it.
For example :
Create a simple form.
In Forms Trigger :
web.show_document('http://<Yourmachinename>:8889/file.html');
In the file.html you may enter the code, for example:
<HTML>
<HEAD>Heading</HEAD>
<BODY>
<SCRIPT LANGUAGE="Javascript">
window.open("http://www.yahoo.com","_self");
</SCRIPT>
</BODY>
</HTML>
It also doesn't work in my machine, the problem is http://<Yourmachinename>:8889/file.html can not be found, even i put it under the Oracle_home/forms/server folder, but i click it directly ,the javascript works. that means the URL http://<Yourmachinename>:8889/file.html is incorrect or I should put the html file into other directory. And I also checked the default.env,FORMS_PATH=D:\DevSuiteHome\forms.
anything wrong with my env?
Do you have any idea about it?
Thanks,
Appcat
Message was edited by:
user577805
Message was edited by:
user577805 -
WEB.show_document in Browser Tab Pages
Hi
This problem occurs in IE7 which makes use of tab pages on the web browser. I'm using forms 10g, web.show_document(v_url, '_BLANK') to pop up a browser window in IE to display a PDF file residing on the App Server.
The new browser window pops up in IE and displays the pdf document fine. The window title and address bar contain the correct url (a rather long one). The problem I have is that the browser tab page is labelled "Error" which immediately causes concerns amongst the users. I'm not sure if it does this because it does not know what to label the tab page or if the URL is perhaps too long.
Is there any way to rename / relabel the tab page or set the name or alias somewhere? I'll appreciate any advice on the issue...
Regards
MarioHi,
With web.show_document() you could call a html page that call your php page with POST().
Francois -
Web.show_document in method post
Hi,
Is it possible to call a page php in form using web.show_document, when the same page php required the parameters in post ???
Regards
GiordanoHi,
With web.show_document() you could call a html page that call your php page with POST().
Francois -
Abt web.show_document
hi,.
i am trying to call the builtin in forms 10g
web.Show_document('javascript:alert("hello world")','_blank');
but its not working!!!!
can anybody help!!!!!!
thanX in advance
chandraThis is a browser problem, not a Forms problem. First check your broswer to make sure it has JavaScript enabled. If it still doesn't work, and you are able access a html page using web.show_document(), then your browsers security setting is preventing the JavaScript operation from ocurring.
It works for me and i'm using IE v6.0.2900 sp2. -
Opening a separate form using Web.show_documen not working as intended
My intent is to open a form in a totally different session from another form.
I want to open FORM B from a trigger in FORM A and I want both to be active simultaneously.
To achieve that I thought to use web.show_document in completely new borwser window from a trigger in FORM A.
web.show_document (FORM_B_LINK,'_blank');
But both forms still share same JRE session (according to Metalink Tech support.)
Now what is happening is that FORM B opens(only if I use Synchronize after web.show_document call ) but FORM B is not active whenever FORM A is doing something. So they both are not active together.
Please help me here how can I open two separate forms session.
BTW, I can not use OPEN_FORM or CALL_FORM for various reasons
Thanks in advance for your helpUnless you have other reasons that contradict this, I
cannot see anything that you can do with two browser
windows that you cannot do with using
OPEN_FORM(SESSION). That in effect creates two
database sessions that are independent of each other
and you should be able to do what you want.Hi Jan,
Actually its not database session I'm worried about it is FORM session that is worrying me. Both FORM A and FORM B can not execute some code at the same time as they share same forms session (as far as I know).
Let me explain my situation again. We have a PLL which is attached to lots of forms.
This pll has functionality to perform some on-demand internal jobs like executing a report or exporting block data to execl or html etc). Depending upon the Job it may take some from few seconds to several minutes to finish the job.
What I have to do add is the ability to monitor progress of the job and give our users ability to stop that job.
And I think I can not achieve that using OPEN_FORM.
Maybe you are looking for
-
J2EE doesn't run...PLEASE HELP!!
When I try to run j2ee from my console I get the following message: Fatal Error: This J2EE SDK release runs only on Java 2 (JDK1.2 or later) I have j2sdk1.4.1_01 already installed so I don't understand why i get this error message. I have also set al
-
2 iMacs, networked, not sharing in 10.9.1
Until OS X 10.9.1, I had no problem networking two iMacs. Not any more. The two imacs are side-by- side, hardwired via ethernet through a router. The sharing works, but only in one direction. IMac A can send stuff to IMac B, but B can't reciprocate.
-
TEXT MISSING IN EMAILS ON BLACKBERRY PLAYBOOK
When some emails are received some of the text is missing in the message.I would appreciate any suggestions to fix the problem. Thank you.
-
Hi all, I want to change the PO conditions, I've have an implementation of the Badi BBP_DOC_CHANGE_BADI for PO, but in this badi I haven't the Conditions Table. In the table ET_ITEM (structure BBP_PO_ITEM_BADI) don't exits a field for this purpose. D
-
Seek before play and incorrect time reporting
I've been using OSMF to implement HLS streaming in my video player, and I've come across an issue that seems to be a bug. Basically, I'm using a MediaPlayer object with an F4MElement. I wait for the PLAY and SEEK traits to be available, and then play