Runtime parameter form to form
dear members
i want to create rumtime parameter form.
i have a fomr1 some textitem when i call forms2 some textitem value copy to my calling fome help.if any one have example then plz send me
[email protected]
dear
there is a way by which I beleive possible to solve.
U can create some global varible in ur application, where u can store those required item. and in When-new-form-instance trigger u can put those value to the new forms field. I thing it will work.
then u can erase the global variables (for that syntax,u can take the help of developer's help)
FARHAD
Similar Messages
-
How to hide the window of Runtime Parameter Form?
I have a form and I call a report from this form.I have passed some parameters to this report.Before the browser of reports appear the window of Runtime Parameter Form.I want to hide this window of Runtime Parameter Form but I don't know how.
Please help me!When calling the report, set the property PARAMFORM to NO. IF you using parameter list to pass values to report you can do as follows:
ADD_PARAMETER(pl_id,'PARAMFORM',TEXT_PARAMETER,'NO'); -
Reports-Runtime Parameter Form
hi!
I made a report which contains quite a lot of data; so I
also created a user parameter for the runtime parameter form, so
the user can select one value so that the amount of data is
minimized; the user parameter is based on a select statement;
now my question: the way it is now the user can only make one
selection, how can he see all records and is not forced to select
a single value?
thx, michaela
nullMichaela (guest) wrote:
: hi!
: I made a report which contains quite a lot of data; so I
: also created a user parameter for the runtime parameter form,
so
: the user can select one value so that the amount of data is
: minimized; the user parameter is based on a select statement;
: now my question: the way it is now the user can only make one
: selection, how can he see all records and is not forced to
select
: a single value?
: thx, michaela
Hi Michaela,
I Understood that you have created user parameter based on
select statement which will display list of values in List item
in the Runtime Parameter form. User can select any one value
from the list & display the records for selected value in the
parameter form. But your question looks like user should have
facility to select all the value in the list from the runtime
parameter form.
Example : Display list of deptno in the Runtime parameter form.
If user selects any one deptno, display employee
details for the selected deptno. Also user should
have option of selecting records for all the dept.
1. Create user parameter P_DEPTNO based on following select
statement.
Select deptno from dept
Union
Select 'ALL' from Dual
2. Create the Query for the report as
Select *
from Emp
Where deptno = Decode(:P_DEPTNO, 'ALL', deptno, :P_DEPTNO)
So user will have option of specifying condition to
select all the records for all the deptno as well as user
can specify particular deptno.
I hope this may help you to solve your problem. Pls let me
know whether this helps you or not.
Mani/-
null -
Reports-Runtime Parameter Form; another question
hi!
I would like to implement 2 user parameters in the runtime
parameter form which depend on each other: with the first one you
can select a special ressort and depending on the selection you
made here you can select some keyword groups with the second one;
but I don't know how the select statement for the second user
parameter should look like, because it is not allowed to use
'Bindevariablen' (sorry, don't know what they are called in
english; this are the ones with the : in front of them):
here is what I tried to do:
parameter: P_1
select rs_id, rs_name from tb_ressort union select 99999, 'alle
Ressorts' from dual order by 1
parameter: P_2
select kwg_id, kwg_group from tb_keyword_group union select
99999, 'ALL' from dual
and here I wanted to add a where clause: where rs_id = :P_1
but this doesn't work
Any other ideas?
thx in advance
nullMichaela (guest) wrote:
: hi!
: I would like to implement 2 user parameters in the runtime
: parameter form which depend on each other: with the first one
you
: can select a special ressort and depending on the selection you
: made here you can select some keyword groups with the second
one;
: but I don't know how the select statement for the second user
: parameter should look like, because it is not allowed to use
: 'Bindevariablen' (sorry, don't know what they are called in
: english; this are the ones with the : in front of them):
: here is what I tried to do:
: parameter: P_1
: select rs_id, rs_name from tb_ressort union select 99999, 'alle
: Ressorts' from dual order by 1
: parameter: P_2
: select kwg_id, kwg_group from tb_keyword_group union select
: 99999, 'ALL' from dual
: and here I wanted to add a where clause: where rs_id = :P_1
: but this doesn't work
: Any other ideas?
: thx in advance
Hi Michaela,
I think this will generally not work in reports parameter form;
the parameter values are available first when the report is
started, and the first point to reference them is in the
after-parameter-form trigger. I think you get the message
from the report builder 'REP-0781: Bind variables not allowed in
the Select statement'.
The only idea I have is to write a parameter form with Forms,
with two LOV's attached to two items wich CAN reference each
other. Then use add_parameter and run_product to start your
report. This seems to be more complicated then using only
Reports, but it isn't and it works.
peter
null -
Customizing Runtime Parameter Form
Hi
I'm using Portal Release2. Here is my problem I want the customize the Runtime Parameter Form but I can't seem to do it. A simple test case is needed:
1) I've created a report definition file access through portal and successfully run the report.
2) I've copied the run link which is something like -
PORTAL_DEMO.TEST_REPORT.show_tabpage
3) I've created a dynamic link such as -
http://abc.def.com:7778/pls/portal/PORTAL_DEMO.TEST_REPORT.show_tabpage
4) when a user clicks that link the page shown is a default Oracle Report Portlet parameter form even though I've changed the parameter form template.
could someone provide a solution to this issue. By the way I've been reading an old version of portal and you can do it in release1 but no reference is available in release2.
see section 5.14.1 Deploying a Report to an Oracle Portal Content Area
http://otn.oracle.com/docs/products/ias/doc_library/1021doc_otn/busint.102/a86784/pbr_sec.htm#1033196Hi George
After you register a RDF component, at the end of registration wizard, you need to go to Customize link and check out the fields you wish to display in Parameter form. After this, you need to click on Save Paramater button, which would save your changes.
Now you can put this RDf component to the content area /page and publish the link to this content area / page to users and they would be able to see your customize param form.
Thanks
the Oracle Reports team -
Invoking runtime parameter form from Oracle forms 10g.
Hi all,
I am using Oracle 10g DS.
I have cretaed a form containing a button. when i pressed that button
the rdf has to be called and runtime parameter form has to be invoked. In that i will give parameters. In that button the path is already is there.
so the problem is I am unable to invoke the runtime parameter form of Reports builder when i pressed the button.
can anybody helpout....
thanks in adv.
Venkat.copy the question to the report forum as well :
Reports -
Oracle forms 10g Parameter passing from forms to reports
Hello Room,
Please let me know what is wrong with this code. It is not passing parameter at all to the reports 10g parameter form from forms 10g, no matter what. I tried to delete the parameter from reports parameter form, I also tried to enable/disable restricted values from reports, I tried to hide the parameter from reports, but it is just not doing it.
DECLARE
pl_id PARAMLIST;
repid REPORT_OBJECT;
v_rep VARCHAR2(100);
rep_status varchar2(20);
report_job_id VARCHAR2(100);
fill varchar2(100);
reportname varchar2(200);
ab varchar2(200);
cursor c200 is select CONAME,LOCATIONMASTER.LOCNAME FROM USERCODETL,MULCOMP,LOCATIONMASTER
WHERE MULCOMP.CO=USERCODETL.CO
AND USERCODETL.USERID = SUBSTR(AB,1,50) AND USERCODETL.LOCCD = LOCATIONMASTER.LOCCD;
begin
AB := GET_APPLICATION_PROPERTY(USERNAME);
OPEN C200;
FETCH C200 INTO :block4.coname,:block4.locname;
CLOSE C200;
synchronize;
pl_id:=GET_PARAMETER_LIST('paramlist');
IF NOT ID_NULL(pl_id) THEN
DESTROY_PARAMETER_LIST(pl_id);
END IF;
pl_id:=CREATE_PARAMETER_LIST('paramlist');
Add_Parameter(pl_id, 'vcompany', TEXT_PARAMETER, :block4.coname);
Add_Parameter(pl_id, 'vlocname', TEXT_PARAMETER, :block4.locname);
repid := find_report_object('testreport');
fill := GET_REPORT_OBJECT_PROPERTY(repid, report_server);
reportname := GET_REPORT_OBJECT_PROPERTY(repid, report_filename);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,RUNTIME);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'pdf');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,'repsrv');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=no'||'vcompany='||:block4.coname||'vlocname='||:block4.locname);
v_rep := RUN_REPORT_OBJECT(repid,pl_id);
WEB.SHOW_DOCUMENT('/reports/rwservlet?report='||reportname||'&desformat=pdf&destype=cache&userid=scott/tiger@servernew¶mform=yes');
END;
Please help. Thank you in advance.Hello Inol,
Greetings !
There seems to be a syntax error when I run your code:-
REP-52251: Cannot get output of job ID 272 you requested on Fri Apr 08 02:37:25 GMT 2011.<P>REP-51026: No output for job 272
when I run then command:-
http://local-pc:8889/reports/rwservlet/showjobs
Terminated with error: <br>REP-159: Syntax error on command line.
Is there a error on your statement ?
WEB.SHOW_DOCUMENT('/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1) ||'?server=repsrv );
it should be
WEB.SHOW_DOCUMENT('/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1) ||'?server=repsrv ' );
then only it is getting compiled properly. A single quote in the end !
And finally I changed this line
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=no p_1='||:SP_USERCODE 'p_my_second_parameter='||:block.my_second_parameter);
to this line
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=no p_1='||:SP_USERCODE|| *'p*mysecond_parameter='||:block.my_second_parameter);
as it is giving error where highlighted in bold Is it necessary to change and add a concatenation there ?_
But... But... even though I compile it properly the code is getting executed and it is giving the above error. Please note the same.
Also please tell me what should be the status of the following things in report builder 10g.
1. Shall I remove the parameters vcompany and vlocname from the parameter form and keep it just in parameters of report , There is a third parameter which I want the user to input while running the report other than these 2 parameters ?
2. Shall I restrict the parameter to predetermined values ?
3. Shall I hide the first column of the parameter in report builder.
I have also tried to simulate the execution parameters from batch to runtime and comm mode to synchronous and asynchronous and vice versa. I have also given command rwserver server = repsrv on my pc and also server pc. please let me know about this also whether I need to give this command every time ? I mean for every booting ?
As this problem is faced by many people. I think it should work across the fly as given by you or rather corrected by you. I would also like to know is there any patch available for the same released by oracle, as I have read somewhere in the forum here which I cannot locate the thread now. I do not mind paying for support if I find the need ?
Please help me further. Thank you. -
Passing a parameter from one form to another
Hi
I'm trying to pass a parameter from one form to another. I've read lots of postings about this, and I have succeeded in calling the second form using code behind one of the existing Portal buttons (insert). Here is the code:
DECLARE
pro_id NUMBER;
pro_link VARCHAR2(1200);
BEGIN
pro_id := p_session.get_value_as_number(
p_block_name => 'DEFAULT',
p_attribute_name => 'A_PRO_ID');
pro_link := portal30.wwv_user_utilities.get_url(
'CINTRA_APP.PRO_LINK_1',
'WKG_PRO_ID',pro_id,
'_WKG_PRO_ID_cond','=');
PORTAL30.wwa_app_module.set_target(pro_link,'CALL');
END;
Trouble is, the parameter does not get passed. This could be because:
the field I'm trying to populate is based on an LOV ?
the target form is not set up to receive parameters? (I read this somewhere, but how do you do it?)
Thanks
ManfredDear InoL
My Header Form coding as follows.
When I press the button to move to the lines the following code executes
PASSING FORM CODING;
DECLARE
pl PARAMLIST := GET_PARAMETER_LIST('PL_AT');
BEGIN
IF NOT ID_NULL(pl) THEN
DESTROY_PARAMETER_LIST(pl);
END IF;
pl := CREATE_PARAMETER_LIST('PL_AT');
ADD_PARAMETER(pl,'P_AT',TEXT_PARAMETER,:HWSI_ASSET_TAG);
CALL_FORM('E:\IT_SYSTEM\6i\HWDYNAMICINFO.FMX',NO_HIDE,DO_REPLACE,NO_QUERY_ONLY,PL);
END;
RECEIVING FORM CODING;
Written on WHEN_NEW_FORM_INSTANCE
BEGIN
IF :PARAMETER.P_AT IS NULL THEN
GO_ITEM('NZK_HW_DYNAMIC.OS_ASSET_TAG');
ENTER_QUERY;
ELSE
SET_BLOCK_PROPERTY('NZK_HWSTATIC_INFO',DEFAULT_WHERE,'HWSI_ASSET_TAG ='||:parameter.p_at);
SET_BLOCK_PROPERTY('NZK_HWSTATIC_INFO',DEFAULT_WHERE,'HWSI_ASSET_TAG ='||:parameter.p_at);
EXECUTE_QUERY;
GO_ITEM('NZK_HW_DYNAMIC.OS_ASSET_TAG');
END IF;
END;
Created PARAMETER as P_AT, Data Type CHAR, MAX LENGTH 30
Thank you
NZK -
Unable to pass parameter to EBS Form from external system (OBIEE)
I set up the OBIEE to EBS Navigation as per a metalink note to the form PA_PAXTRAPE_SINGLE_PROJECT. I tried to pass a PROJECT_ID parameter. The form opens up but I do not see any indication of the parameter being passed through.
In general, when you pass a parameter to a EBS form from an external system, is it suppose to open the FORM with that specific value? In this case should it open up the Project for the PROJECT_NUMBER that I passed through?
Any way for me to diagnose the issue?Hi,
Rather than giving the name of the Block and Field name there create a parameter in the form itself and pass value to that parameter. You can use this values using :PARAMETER.<field_name>.
Regards,
Viral -
Pass Parameter from Form to Form While on Seperate Pages
I'm running 9iASR2 on Linux
I know there are allot of postings on Passing parameters and I'd hate to bring it up again, but I've been attempting this for a few days now and can't seem to figure it out.
My issues is that In need to Take a Parameter entered on Form1 one a page then upon click of insert I need to pass a parameter entered into that form and naviagate to another page containing 2 portlets 1 being another form and 1 being a dynamic page both of the portlets on the second page need to beable to access the parameter.
I am abable to pass the parameter between the forms when not running in a portlet with the code below.
declare
url varchar2(220);
v_FLOWNAME varchar2(220);
begin
v_FLOWNAME := p_session.get_value_as_VARCHAR2(
p_block_name => 'DEFAULT',
p_attribute_name => 'A_FLOWNAME');
url:='portalschema.wwa_app_module.link?' ||
'p_arg_names=_moduleid&p_arg_values=1082756362' ||
'&p_arg_names=_show_header&p_arg_values=NO' ||
'&p_arg_names=FLOWNAME&p_arg_values=' || v_FLOWNAME;
call(url);
end;
Thanks for You Assistance!FRM 41213 : unable to connect to the report server repsrv+
Look at this ....
Did u created the report server from the command prompt
If yes
Did u started the report server
if not
use this from the command prompt
rwserver server = yourservername start -
Master-detail relationship - passing parameter from form to form
Hello.
I have a question about master detail relationship.
In first form we have master-detail relationship.
Example on dept, emp tables:
We query dept (master), so we can get one or many emp (detail) records. Then we have a third table - tasks. Tasks table (detail) can have many records for one employee.
Tasks table is in another form, which is called with call_form built_in. So we pass a parameter from master to detail - parameter empno. Because of that, we can only see tasks for one employee and can't navigate to another employee. This is normal.
Now comes the question.
Is it possible to call a form (with tasks table) with deptno parameter (so we can navigate through all employees with that department), but first show employee that was last used in first form?
Example of our goal.
Master: deptno = 20
Detail: navigate to JONES employee
Call new form (tasks)
Tasks for JONES employee are first shown
Can navigate to another employee - without requery
Is this possible?
If we pass deptno parameter, we can navigate through all employees - but must navigate to the employee we last used in first form.
If we pass empno parameter to second form, we see last used employee but cannot navigate to another employee without requery.
Hope you understand my problem.
Thanks.Hi
yes you can pass parameter from one form to another.
In your master detail form set the trigger when-new-instance and there define the global variable like
:GLOBAL.G_CIRCLE_ID := NULL;
and in your task table set the trigger when-new-instance and there define the global variable like and also write this code
:GLOBAL.G_DIVISION_ID := NULL;
IF :GLOBAL.G_CIRCLE_ID IS NOT NULL THEN
GO_BLOCK('DIVISION');
SET_BLOCK_PROPERTY('DIVISION',DEFAULT_WHERE,'CIRCLE_ID ='||''''||:GLOBAL.G_CIRCLE_ID||'''');
EXECUTE_QUERY;
END IF;
:GLOBAL.G_CIRCLE_ID := NULL;
now you maintain your trigger according your need.
Regards, -
I am trying to create a link from my report to a form, this form is based on a procedure that brings up a detailed report. I tried to create a link from the wizard that would pass the parameter from the report to the form. My problem is that the link that is created won't pass the value from the report to the form/procedure. Is anyone developing an application in this way.
Vivekhi,
u can do this by using sessions;
make a search in this forum with the key word: V_session;
or take a look to this site: http://www.arrowsent.com/oratip/frames.htm
hope this help;
Mohamed -
Runtime Compatibility Mode in Forms 10g
Dear All
I would like to achieve the Runtime Compatibility Mode in Forms 10g, is there any work around to do this. Kindly let me know. This is little bit argent
Thanks in advance
by
ThangarajThank for your reply Bernd
I need to achieve the same functionaliy in 6i, the scenario is like this,
i have a madatory item and i will set the runtime compatibility mode 4.5 then at runtime i can able to leave the filed empty if i press the SHIFT+TAB key, if i press tab or enter key alone the error message should be displayed "Field must be entered" , this is functionality is working fine in 6i forms if you set the Runtime Compatibility Mode is 4.5.
but this is not heppening in 10g forms, because we have the same source in 6i whenever there is a need we will compile it with 10g template and give to the customer, now its not working so its creating big trouble.
i have seen something in meta link but that is not feesible. pls do the need ful
Thanks
Thangaraj -
How a menu item can read the parameter from a Form module and ....
I would like to specify the menu item to go_block from a Form module, or even open window, reading parameters.
But there is an Error says "CANNOT CALL LINK-IN FORM from Form builder"
How to make it works??
Plesae HELP~~~~~Dear Friend,
There is one Procedure by which you can get the value of the paramtere passed to the form.. this procedure is NAME_IN...
Hope this will solve your problem..
Ok
Email me when your problem is solved...
My email is "[email protected]"
Regards
Shan -
FRM-92101 when trying to run forms from Forms Builder 10g
I have been struggling with this for a few days now and have tried multiple solutions around on these forums without any resolution yet!
Trying to run Forms Builder on a Windows XP machine with Oracle Development Suite 10.1.2.0.2 installed in its own ORACLE_HOME. The installation completes succesfully and I can start the OC4J instance.
1) When I open up Forms Builder and pull up the test.fmb form and try to run it, I get the following error:
FRM-92101: There was a failure in the Forms Server during startup. This could happen due to invalid configuration. Please look into the web-server log file for details.
On clicking 'Details' the following errors are displayed:
Java Exception:
oracle.forms.netConnectionException: Forms session <1> aborted: unable to communicate with runtime process.
2) The ORACLE_HOME\j2ee\DevSuite\application-deployments\forms\application.log includes the following errors:
11/11/25 10:02:23 formsweb: RunformProcess.connect(): failed !
11/11/25 10:02:23 formsweb: Forms session <1> aborted: unable to communicate with runtime process.
11/11/25 10:02:23 formsweb: Forms session <1> exception stack trace:
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
at java.net.Socket.connect(Socket.java:452)
at java.net.Socket.connect(Socket.java:402)
at java.net.Socket.<init>(Socket.java:309)
at java.net.Socket.<init>(Socket.java:153)
at oracle.forms.servlet.RunformProcess.connect(Unknown Source)
at oracle.forms.servlet.RunformProcess.dataToRunform(Unknown Source)
at oracle.forms.servlet.RunformSession.dataToRunform(Unknown Source)
at oracle.forms.servlet.ListenerServlet.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)
3) The Java console has the following error:
oracle.forms.net.ConnectionException: Forms session <1> aborted: unable to communicate with runtime process.
at oracle.forms.net.ConnectionException.createConnectionException(Unknown Source)
at oracle.forms.net.HTTPNStream.getResponse(Unknown Source)
at oracle.forms.net.HTTPNStream.doFlush(Unknown Source)
at oracle.forms.net.HTTPNStream.flush(Unknown Source)
at java.io.DataOutputStream.flush(Unknown Source)
at oracle.forms.net.HTTPConnection.connect(Unknown Source)
at oracle.forms.engine.FormsDispatcher.initConnection(Unknown Source)
at oracle.forms.engine.FormsDispatcher.init(Unknown Source)
at oracle.forms.engine.Runform.initConnection(Unknown Source)
at oracle.forms.engine.Runform.startRunform(Unknown Source)
at oracle.forms.engine.Main.createRunform(Unknown Source)
at oracle.forms.engine.Main.start(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Opening http://127.0.0.1:8889/forms/java/oracle/forms/engine/RunformBundle_en_GB.class
Connecting http://127.0.0.1:8889/forms/java/oracle/forms/engine/RunformBundle_en_GB.class with no proxy
Opening http://127.0.0.1:8889/forms/java/oracle/forms/engine/RunformBundle_en_GB.properties
Connecting http://127.0.0.1:8889/forms/java/oracle/forms/engine/RunformBundle_en_GB.properties with no proxy
Opening http://127.0.0.1:8889/forms/java/oracle/ewt/alert/resource/AlertBundle_en_GB.class
Connecting http://127.0.0.1:8889/forms/java/oracle/ewt/alert/resource/AlertBundle_en_GB.class with no proxy
Opening http://127.0.0.1:8889/forms/java/oracle/ewt/alert/resource/AlertBundle_en_GB.properties
Connecting http://127.0.0.1:8889/forms/java/oracle/ewt/alert/resource/AlertBundle_en_GB.properties with no proxy
Any inputs will be greatly appreciated.Same issue here... Been trying to get this working since a week now. I tried all the solutions like memory heap and all but no luck.
One thing that I would like to know is that, in some threads the resolution was to recompile the INS_FORMS.MK file under /forms/lib32 but with my installation I don't have that "lib32" folder under /forms/ and I can not even find that file anywhere in my entire installation.
I am using 12.1.1 on Windows Server 2008.
Any help or guidelines is greatly appreciated.
Santhosh. -
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
Maybe you are looking for
-
InDesign CS4 wrong UI language for non-admin users
Hi! I work in the IT department of a large company and we have some trouble with our Indesign CS4 installations. We have all the adobe products in our local language (Swedish) and it works perfectly when logging into a computer with admin rights. But
-
The Smart TV app on the Samsung TV is not user friendly!Word entries must be entered via the arrow keys and the Enter key to search a song or a interpret.The mouse does not work too in the app. It would be nice if the external keyboard (for examp
-
Error when expanding 'Wen Dynpro Application' in 'Content Administration'
Hi All, I m using CE 7.1 portal. In my Content Administration -> Portal Content, when im trying to expand Web Dynpro Applications, its throwing null pointer exception. Giving following error: java.lang.NullPointerException at com.sap.tc.webdynpro
-
How to draw symbol for avalanche diode in multisim ?
Hello all, I have to include a symbol for diode array in multisim... SP0503BAHT, can anyone please suggest how to draw it? I am very new to multisim... thanks, Now on LabVIEW 10.0 on Win7 Solved! Go to Solution.
-
Paid events booking form Paypal standard redirect url error message
Hi I have set up a paid booking form using the events module using Paypal standard. It works fine in that the paymentvia paypal is received sucessfully and the booking shows up in bc admin, the problem occurs after payment is made via paypal, paypal