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.
Similar Messages
-
Rep-52005 error when running a report from form with parameter form
I am trying to run a report from a web deployed form and this report has a parameter form. I am getting a Rep-52005: The specified key report does not exist in key map file.
I am using Oracle Forms/Reports 10.1.2.0.2. My code is below. The first part works fine where I run a report with no parameter form, but the second part when I have a parameter form gets the about error.
PROCEDURE call_report (
p_report_name VARCHAR2,
p_reportobj_name VARCHAR2 DEFAULT NULL,
p_parameter_list paramlist DEFAULT NULL,
p_parameter_string VARCHAR2 DEFAULT NULL
IS
repid report_object;
v_rep VARCHAR2 (100);
rep_status VARCHAR2 (100);
v_report_url VARCHAR2 (240);
v_interface VARCHAR2 (50);
v_report_parameter VARCHAR2 (1);
vc_user_name VARCHAR2 (100);
vc_user_password VARCHAR2 (100);
vc_user_connect VARCHAR2 (100);
vc_connect VARCHAR2 (300);
v_reportserv VARCHAR2 (30);
v_job_number number;
BEGIN
/* Get the database to run the report against and
find out if the report has any parameters */
SELECT report_parameter_flag
INTO v_report_parameter
FROM program_list
WHERE program_type = 'REPORTS'
AND UPPER (screen_id) = UPPER (p_report_name);
vc_user_name := get_application_property (username);
vc_user_password := get_application_property (password);
vc_user_connect := get_application_property (connect_string);
v_reportserv := 'rep_xxxx_ias10g_home';
v_report_url := 'http://xxxx.state.il.us';
v_job_number := length(v_reportserv) +2;
vc_connect :=
vc_user_name
|| '/'
|| vc_user_password
|| '@'
|| vc_user_connect;
v_interface := get_application_property (user_interface);
IF ( v_interface = 'WEB'
AND v_report_parameter = 'N'
THEN
repid := find_report_object(p_reportobj_name);
set_report_object_property (repid, report_comm_mode, synchronous);
set_report_object_property (repid, report_destype, cache);
set_report_object_property (repid, report_desformat, 'pdf');
-- v_reportserv := get_report_object_property (repid,report_server);
set_report_object_property (repid, report_server, v_reportserv);
set_report_object_property (repid, report_other, p_parameter_string);
v_rep := run_report_object (repid);
rep_status := report_object_status (v_rep);
IF rep_status = 'FINISHED'
THEN
web.show_document (
v_report_url
|| '/reports/rwservlet/getjobid='
|| substr(v_rep,v_job_number)
|| '?server='
|| v_reportserv
,'_blank'
ELSE
message ( rep_status
|| 'Report output aborted');
END IF;
ELSIF ( v_interface = 'WEB'
AND v_report_parameter = 'Y'
THEN
repid := find_report_object (p_reportobj_name);
set_report_object_property (repid, report_comm_mode, synchronous);
set_report_object_property (repid, report_destype, cache);
set_report_object_property (repid, report_desformat, 'pdf');
set_report_object_property (repid, report_server, v_reportserv);
set_report_object_property (
repid,
report_other,
'paramform=yes P_USER_CONNECT='
|| vc_connect
|| ' P_SERVERNAME='
|| v_reportserv
|| ' P_ACTION='
|| v_report_url
|| '/reports/rwservlet'
v_rep := run_report_object (repid);
rep_status := report_object_status (v_rep);
IF rep_status = 'FINISHED'
THEN
web.show_document (
v_report_url
|| '/reports/rwservlet/getjobid='
|| substr(v_rep,v_job_number)
|| '?server='
|| v_reportserv
,'_blank'
ELSE
message ( rep_status
|| 'Report output aborted');
END IF;
ELSE
run_product (
reports,
p_report_name,
synchronous,
runtime,
filesystem,
p_parameter_list,
NULL
END IF;
EXCEPTION
WHEN OTHERS
THEN
message (SQLERRM);
END;
My parameter form comes up and I enter the necessary information and hit submit query button. Then I get the Rep-52005: The specified key report does not exist in key map file.
Any help will be greatly appreciated!!
Shellie BrickerYour code seems to be implementing metalink note 139546.1 - Using Reports parameter forms with RUN_REPORT_OBJECT on the web.
For what I can see, the P_ACTION parameter should end in ?...
i.e.
P_ACTION=http://<hostname.domain:port>/reports/rwservlet?'
set_report_object_property (
repid,
report_other,
'paramform=yes P_USER_CONNECT='
|| vc_connect
|| ' P_SERVERNAME='
|| v_reportserv
|| ' P_ACTION='
|| v_report_url
|| '/reports/rwservlet?'
);If this does not fix your problem, then to troubleshoot further you would have to post the code in your Before Parameter Form trigger of your report.
Hope this helps,
UPDATE:
If the above does not fix your problem, my guess is that report name is not being generated in the hidden runtime values build by the code in the Before Parameter Form trigger.
i.e.
http://localhost:8889/reports/rwservlet?report=&destype=cache&desformat=PDF
The above code will throw error REP-52005: The specified key report does not exist in key map file.
Edited by: Rodolfo Ferrari on Jul 8, 2009 9:43 PM -
Problem in running oracle report from form 10g Version 10.1.2.0.2
Hi All,
I am facing problem while running the report from forms 10g getting FRM-41219
For this i am using the following procedure :
PROCEDURE RUN_REPORT IS
L_RUN_TEXT VARCHAR2 (2000);
L_USRID VARCHAR2 (100);
L_PASSWD VARCHAR2 (100);
L_DESNAME VARCHAR2 (100);
FILE_OUT_PUT VARCHAR2(200);
REP_STATUS VARCHAR2(20);
REP_NAME VARCHAR2(50);
PL_ID PARAMLIST;
REP_URL VARCHAR2(2000);
V_REP VARCHAR2(200);
BEGIN
display_me('RUN_REPORT');
-- CALL THE FOLLOWING FUNCTION, IN WHICH USER CAN WRITE HIS OWN CODE.
-- THE PROCEDURE CAN BE MADE LOCAL TO THE SPECIFIC FORM AND WRITE THE CODE.
-- IT SHOULD RETURN 'Y', IF YOU WANT TO PROCEED WITH THIS RUN_REPORT
-- PROCEDURE.
IF NVL (RUN_REPORT1, 'Y') = 'N' THEN
RETURN;
END IF;
COMMIT_FORM;
IF (GET_APPLICATION_PROPERTY (OPERATING_SYSTEM)) = 'UNIX' THEN
L_DESNAME := 'LP';
ELSE
L_DESNAME := NAME_IN ('REPORT_TITLE.F_FILE_NAME');
display_me(L_DESNAME);
END IF ;
/* SETTING THE REPORT OBJECT PROPERTIES */
/* G_PRAM1 IS THE NAME OF REPORT ****/
SET_REPORT_OBJECT_PROPERTY('REPOBJ',REPORT_EXECUTION_MODE,BATCH);
SET_REPORT_OBJECT_PROPERTY('REPOBJ',REPORT_COMM_MODE,SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY('REPOBJ',REPORT_DESTYPE,CACHE);
SET_REPORT_OBJECT_PROPERTY('REPOBJ',REPORT_DESFORMAT,'PDF');
SET_REPORT_OBJECT_PROPERTY('REPOBJ',REPORT_SERVER,'172.18.76.34');
SET_REPORT_OBJECT_PROPERTY('REPOBJ',REPORT_FILENAME,:GLOBAL.G_PARAM1||'.REP');
display_me(':GLOBAL.G_PARAM1 '||:GLOBAL.G_PARAM1);
PL_ID := GET_PARAMETER_LIST ('REP_PARA');
IF NOT ID_NULL (PL_ID) THEN
DESTROY_PARAMETER_LIST ('REP_PARA');
END IF;
PL_ID := CREATE_PARAMETER_LIST('REP_PARA');
ADD_PARAMETER (PL_ID, 'DESTYPE' , TEXT_PARAMETER, NAME_IN ('REPORT_TITLE.RAG_DESTINATION') );
ADD_PARAMETER (PL_ID, 'DESNAME' , TEXT_PARAMETER, L_DESNAME);
ADD_PARAMETER (PL_ID, 'COPIES' , TEXT_PARAMETER, NAME_IN ('REPORT_TITLE.F_NO_COPY') );
ADD_PARAMETER (PL_ID, 'ORIENTATION', TEXT_PARAMETER, 'LANDSCAPE');
ADD_PARAMETER (PL_ID, 'MODE' , TEXT_PARAMETER, 'BITMAP');
ADD_PARAMETER (PL_ID, 'PARAMFORM' , TEXT_PARAMETER, 'NO');
ADD_PARAMETER (PL_ID, 'PARAM' , TEXT_PARAMETER, NAME_IN ('IBP_REPORT_PARAMETER.F_REP_SEQ') );
ADD_PARAMETER (PL_ID, 'P_COMP_CODE' ,TEXT_PARAMETER,:GLOBAL.G_COMP_CODE);
display_me(':GLOBAL.G_COMP_CODE '||:GLOBAL.G_COMP_CODE);
REP_NAME := :GLOBAL.G_PARAM1||'.REP';
display_me('REP_NAME'||REP_NAME);
V_REP := RUN_REPORT_OBJECT('REPOBJ');
display_me('V_REP '||V_REP);
REP_STATUS := REPORT_OBJECT_STATUS(V_REP);
display_me('REP_STATUS'||REP_STATUS);
WHILE REP_STATUS IN ('RUNNING','OPENING_REPORT','ENQUEUED')LOOP
REP_STATUS := REPORT_OBJECT_STATUS(V_REP);
END LOOP;
IF REP_STATUS = 'FINISHED' THEN
REP_URL:='/REPORTS/RWSERVLET/GETJOBID'||SUBSTR(V_REP,INSTR(V_REP,'_',-1)+1)||'?'||'SERVER=172.18.76.34';
display_me('REP_URL '||REP_URL);
WEB.SHOW_DOCUMENT(REP_URL,'_BLANK');
ELSE
MESSAGE('ERROR WHEN RUNNING REPORT');
END IF;
END;
Which is called on a button , can any body share there idea to help out
Warm Regards
AshutoshYes, I have replace the userid with scott/tiger@orcl with i6menu/i6menu@vbs and also replace the OAS server's name as you have suggested.
declare
REP_URL varchar2(2000);
begin
REP_URL:= '/reports/rwservlet?userid=i6menu/i6menu@vbs&report=testrep_10g.rdf&desformat=pdf&destype=cache¶mform=no';
WEB.SHOW_DOCUMENT(REP_URL,'_BLANK');
end;
I had the 2nd code also but both r not working on my machine ......... !!
I have made the following setting on my machine:
1. Registry -> HKEY_LOCAL_MACHINE -> SOFTWARE-> ORACLE-> KEY_DevSuiteHome1->FORMS_PATH ->
Values is : D:\vision_soft\VSS\exe
2. Registry -> HKEY_LOCAL_MACHINE -> SOFTWARE-> ORACLE-> KEY_DevSuiteHome1->REPORTS_PATH ->
Values is : D:\vision_soft\VSS\exe
3. Entry made in the DevSuiteHome_1\forms\server ->default.env
FORMS_PATH=D:\vision_soft\VSS\exe
4. Entry made in the DevSuiteHome_1\reports\confr ->rwservlet.properties
#SERVER= rep10
As my forms is working well & but the report are not able to call.
Could you please let me know is there is any other mandatory setting required for the report 10g.
Regards,
Ashutosh -
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 -
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. -
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 -
How do I find the report server name, and then run paper report from forms?
How do I find the report server name, and then run paper report from forms?
I am having a problem running report 9i from forms 9i (see below thread). How do I find out the name of the report server? I checked my C:\ids\reports\conf directory but don't see anything that gives me the name of the reports server. I also don't have a iashome directory.
Also, I just want to run the paper report (not the web version).
Thanks.Hi,
please read teh Forms / Reports integration paper in teh Collateral section for Oracle9i Forms at otn.oracle.com/products/forms
In summary, you have to create an external Reports Service that you can then give a name.
Frank -
How can I run a Report from Form in a Cliwnt / Server Environment?
hello,
see under RUN_REPORT_OBJECT in the forms online manual.
regards,
the oracle reports team -
How can we run SQL*Loader from forms. I guess HOST command will run the OS comman on the clinet. How do I invoke the Loader script on the server from the forms clinet?
-Ravi.Look..the oracle server is in UnixWare 7 and the client PC
is on Windows XP Pro, but before install the Oracle Client Software into the client pc the builtin HOST doesn't work
then I install the Software in Windows XP pc and now I'm
working loading the txt file into the server on Unix,
Try to install the Oracle Client Software into the Citrix
client, I think it work. -
FRM-10242: Cannot call linked-in Forms from Form Builder. error
FRM-10242: Cannot call linked-in Forms from Form Builder.
Cause: The menu designer specified a call to linked-in Forms from within Form Builder.
Action: Notify your DBA.
does anyone know why this happens.
I have this main-menu.. and when i click on one of the submenus which should call the form....i get this error.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. -
Hi All:
Any one can tell me the basic steps for how to call Form from form through push button.
I am using forms& reports6iYou can use open_form/call_from but when one form invokes another form by executing open_form the first form remains displayed, and operators can navigate between the forms as desired. when one form invokes another form by executing call_form, the called form is modal with respect to the calling form. That is, any windows that belong to the calling form are disabled, and operators cannot navigate to them until they first exit the called form.
- -
My MacBook Air becomes unresponsive when logging in, and I decided to reinstall OS X Lion. When running the installer from OS X Recovery, it gave the error message "An error occurred while preparing the installation. Try running this application again."
Checking in the log revealed the following error:
Can not connect to /var/run/systemkeychaincheck.socket: No such file or directory
Error!! Error Domain=NSURLErrorDomain Code=-1202 "UNTRUSTED_CERT_TITLE" UserInfo=0x1086bec80 {NSLocalizedDescription=UNTRUSTED_CERT_TITLE, NSLocalizedFailureReason=UNTRUSTED
The rest of the line is cutted off. Does anyone know what went wrong and how to fix it ?
I encountered the same exact problem when I attempted to re-installed OSX Lion on an old laptop. The date was set back in 2000, which rendered the certificate obsolete. Here's how I fixed it:
From the recovery menu, select the Terminal application. Run the 'date' command to confirm the date is wrong, then set the correct date using this command: date {month}{day}{hour}{minute}{year}
e.g. date 1219195613
Exit terminal (type exit). Retry the installation.
I encountered the same exact problem when I attempted to re-installed OSX Lion on an old laptop. The date was set back in 2000, which rendered the certificate obsolete. Here's how I fixed it:
From the recovery menu, select the Terminal application. Run the 'date' command to confirm the date is wrong, then set the correct date using this command: date {month}{day}{hour}{minute}{year}
e.g. date 1219195613
Exit terminal (type exit). Retry the installation.
Dear Adobe AIR Team,
I've already submitted the bug report, and it's already got 10 votes and counting:
Bug#3829934 - StageWebView displays a blank when running on Mac OS if renderMode is set to direct or gpu
Please take 5 minutes of your time to look at this bug, thanks so much!
DarkStone
2014-09-24
Despite the fact that changing hostnames after the machine is booted is not a great idea, you're making it hard for yourself.
NetBoot already has the ability to set hostnames for each client. There's a clue in Apple's Knowledgebase Article on the subject, as well as in the Mac OS X Server manuals, namely:
Optional: Click Sharing Prefs and in the Computer Name field, type the name that the NetBoot or Network Install client gets after installation or booting. Note: Each client will have its computer name and local hostname set to the name you supplied plus the MAC address (without the colons) of the client. Note: Alternatively, type the path to a tab-delimited .txt or .rtf file that has a list of MAC addresses and their corresponding computer names and local hostnames. Each client will get the name that corresponds to its MAC address in the specified file.
So you just need to build a .txt file map of MAC addresses to hostnames, then point your NetBoot image to that.
PLEASE: IS THIS A VALID ERROR WHEN RUNNING DISC ULTIL FROM INSTALL DISK 1
when running disc util from install disc 1..i'm getting "invaild leaf record count it should be 7 instead of 96" my install reads os vers 10.2.1.. my current os is 10.4.9
I would try running the Disk repair several more times. But more then likely you'll need a more robust utility.
DiskWarrior is the best there is at this.
If you have a backup, preferably a bootable backup from before this problem, you can Erase and Install to give you a new directory. If you don't have a backup, this procedure will erase everything on your drive.
Cheers!
DALE
Maybe you are looking for
-
How to get the selected value/key of a drop down list box in webdynpro Java
Dear SDN Members, I have added some static data into a drop down list box by key UI element using the procedure specified in value help tutorial. Now i want to display the value selected in a dropdown list box on view whenever i select an item in a d
-
Small Business Server 2011 Essentials failed lock bios on LSI MegaRaid 9260 8i on Gateway GT350 F1
I had SBS 2011 Essentials on my Gateway GT350 F1 server setup in LSI MegaRaid 9260 8i Raid 1. I bought 2 x 900gb sas drives to replace the 2 x 300gb i have. When i try to install SBS 2011 Essentials i get a error message saying failed bios lock this
-
Issue with Audio Playback and Uninterrupted Playback in MPE (Hardware Mode)
I'm currently using Adobe Premiere Pro CS6 with the latest update (6.0.1). I'm encountering a very serious problem where the audio from my video clips mute sudddenly when I'm editing and playing back. This happens when other music or audio in the aud
-
Print preview is different from print in scripts
Hi, i am having issue in alignment of sap script .i have adjusted my form output based on print preview .but when i am taking the output i am having alignment issue .Not only that there are some missing column boundaries in printout. Now i cant mak
-
How can I reinstall Adobe Photoshop elements 8 and adobe premiere elements 8 that I had purchased in Oct 2011 and put it on the computer I am now using because my old computer is not working well?