Executing oraxsl utility through forms 10g

Hi,
I tried to execute oraxsl utility in forms 10g using a button but failed. This utility is working fine when i run it through command line interface, but its not working on forms.
Code on when-button-pressed trriger is :
Declare
cmd varchar2(1000);
Begin
cmd := 'oraxsl d:\cdcataloginfo.xml d:\cdcataloginfo.xsl d:\cdcataloginfo.htm';
message(cmd);
host(cmd, NO_SCREEN );
IF NOT Form_Success THEN
Message('Error - Not Succeeded');
ELSE
Message('Succeeded.');
END IF;
End;
It shows the 'succeeded' message when i run this form, but it doesn't create the HTML file.
Any help will be appreciated.
Thanks.

Using IE 8 and tried on IE 7 as well.
Oracle JInitiator: Version 1.3.1.22Oracle Jinitiator is not compatible with IE 7/8, you have to use the Sun JRE 1.6.0._16 or higher instead. Take a look at section *2.2 Oracle Forms Applications on Client Platforms* in the Oracle Application Server 10g (10.1.2) Certification Matrix.
After installing the Sun JRE 1.6.0, you will need to modify the %DEVSUITE_HOME%\forms\server\formsweb.cfg to set the correct JRE version information. Make the following changes:
# System parameter: base HTML file for use with JInitiator client
#-- Original
#baseHTMLjinitiator=basejini.htm 
#-- New
baseHTMLjinitiator=basejpi.htm  
#-- Original
#jpi_download_page=http://java.sun.com/products/archive/j2se/1.4.2_06/index.html 
#-- New
jpi_download_page=http://www.oracle.com/technetwork/java/javase/downloads/index.html 
# Parameter related to the version of the Java Plugin
# -- Original
#jpi_classid=clsid:CAFEEFAC-0014-0002-0006-ABCDEFFEDCBA
# -- New (this entry specifies update 16)
jpi_classid=clsid:CAFEEFAC-0016-0000-0016-ABCDEFFEDCBA
# OR, you can instruct OAS to use any version of Sun JRE 1.6.0
jpi_classid=clsid:CAFEEFAC-0016-0000-FFFF-ABCDEFFEDCBA
# Parameter related to the version of the Java Plugin
# -- Original
#jpi_codebase=http://java.sun.com/products/plugin/autodl/jinstall-1_4_2-windows-i586.cab#Version=1,4,2,06
# -- New
jpi_codebase=http://java.sun.com/update/1.6.0/jinstall-6-windows-i586.cab#Version=1,6,0,22
# Parameter related to the version of the Java Plugin
# -- Original
#jpi_mimetype=application/x-java-applet;jpi-version=1.4.2_06
# -- New (Specifies update 16)
jpi_mimetype=application/x-java-applet;jpi-version=1.6.0_16
# -- OR use any version of 1.6.0
jpi_mimetype=application/x-java-applet;jpi-version=1.6.0Craig B-)
If someone's response is helpful or correct, please mark it accordingly.

Similar Messages

  • Re: Opening a pdf file through form 10g

    Dear Mark
    I have downloaded the PDFviewer.zip file and followed all instructions.
    I user Oracle forms 10g.
    The forms runs in explorer but pdf file not shown, nor I see the navigation bar.
    Tried my level best but no success.
    Please guide me what mistake I am doing.
    Looking forward for your kind co-operation
    Qazi

    I understand, often people post in old threads not realising that they are old.
    I think that it is difficult to understand how to helpp you without more details of what you did (ie which files you changed and how), and what debugging you have then performed to check which parts of the solution are working.
    rgds
    Tony

  • Opening a pdf file through form 10g

    Dear all,
    I have requirement to open a pdf file through my form application.
    Ho will i do this?
    What is the procedure to do this??
    Please help me.
    Regards

    Can you tell me where the pdf can be found. Through a webserver or inside the database or is the pdf somewhere else?
    If the pdf is available through an url you could use web.show_document which can open the url/pdf document in a new browser window.
    If the pdf is inside the database you could download the pdf to the client using webutil and then open the pdf document using a host command.
    If the pdf is inside the database or by a url you can also use a forms bean. I've used forms bean bean to unload a pdf from the database and show it inside the forms application. Most important when using a forms bean is that the bean component can show all the fonts which are used inside the pdf. There are some free solutions which can not show i.e. bar codes. The are also some paid components which will do the trick.
    Regards,
    Mark

  • Record not inserting into the table through Forms 10g

    Hi all,
    I have created a form in 10g(10.1.2.0.2) based on just one table that has 4 columns(col1, col2, col3, col4).
    Here col1, col2 and col3 are VARCHAR2 and col4 is date and all the columns are not null columns(There are no primary and foriegn key constrains, which means duplicates are allowed).
    My form contains 2 blocks where block 1 has one text item (col1) and 3 buttons (Delete, Save, Exit).
    And block2 is a database block and has col2,col3,col4 which are in tabluar layout frame displaying 10 records.
    When the form is opened the cursor has to be in block1.col1 for querrying. Here i enter a value in col1, and then when I click on col2 in the block2, then I put execute_query in new_block_instance of block2, which displays the records.
    The block2 properties are not updatable, insertable and query is allowed.
    Everything is working good until here. But here in the block2 when I want to insert another record into the table, by navigating all the way down to the last empty record and entering the new values for col2, col3 and col4 And then Ctrl+S will display the message "*FRM-40400: Transaction complete: 1 record applied and saved.*" But actually the record is not inserted into the table.
    I also disabled the col4 by setting the Enabled property to No, since while inserting new record the date have to be populated into it and it shouldnt be changed by the user. And im populating the sysdate into the new record by setting Intial Value property to *$$DATE$$*.
    And another requirement which I could not work arround here is that, the col3 also should be populated with the username of the user while inserting.
    please help me...

    Hi Sarah,
    I do not want to update the existing record. So I kept Udate Allowed to No in property palette for the items in block2.
    Do I have to do this property at block level also?
    I'm inserting a new record here.
    Edited by: Charan on Sep 19, 2011 8:48 AM

  • Importing Access Data into Oracle Forms through Forms 10g

    Sirs,
    How can i import the data of Access file into Oracle tables.
    i have the tables in access of approx 10 how can it be imported in oracle with same data structure.
    ThanX in advance

    DECLARE
    kAccess client_ole2.obj_type;
    kdb client_ole2.obj_type;
    ktables client_ole2.obj_type;
    krec client_ole2.obj_type;
    kcurr client_ole2.obj_type;
    begin
    kaccess:=client_ole2.create_obj('Access.application);
    kdb:=client_ole2.invoke_obj(kaccess,'open','D:\acc.mdb');
    ktables:=client_ole2.get_obj_property(kdb,'tables',1);
    //then process teh data of the table which is at 1 using another
    krec:=client_ole2.invoke_obj(ktables,'count');
    for s in 1 .. krec
    loop
    /// code for sinserting the current records data into the oracle tables.
    kcurr:=client_ole2.get_obj_type(ktables,'recordset',s);
    // then access each filed in kcurr and then insert in oracle table
    end loop;
    end;
    the above code is not tested your can alter any syntatical error if any.

  • How to fetch data in Excel throuth oracle forms 10g on client machine

    I am using developer suite 10g forms and i want to fetch data in excel through forms 10g on client machine
    presently i m using OLE for fetching the data in excel , it is working fine but it generates the excel file on server machine and i want get the output excel on the client machine. Is there any parameter to set the destination {Server or Client} which decides the location of output file. If such is the case please let me know or please suggest what should i do. Please help me with proper solution.
    thanks
    Manoj

    If you have an "urgent" issue, I highly encourage you to contact Oracle Support. The forum probably isn't going to be your best source for "urgent" issues.
    http://www.oracle.com/us/support/oracle-support-services-359636.html
    https://support.oracle.com
    This will be especially important if you are new to any of the products as you will likely need documentation and/or product updates in order to ensure the most stable environment possible.
    There are a few publicly available documents which may help to get you started. In any case, these are just examples. They may or may not work to your liking. Further, in some cases they may not work at all. Many of the examples online are often outdated and do not function exactly as documented against other versions. Here is one:
    http://www.oracle.com/technetwork/developer-tools/forms/howto-ole-090332.html
    Additional documentation for using WebUtil is included in the Forms Builder online help. An update to the Builder Help files can be downloaded from here. Be sure to carefully review the included ReadMe before attempting to use them.
    http://docs.oracle.com/cd/B25016_08/doc/dl/web/forms_help/frmhelp_update.zip

  • How to run report through form

    dear friends
    i have a problum i craeted a report and i want when i press the button
    the report dispalyed
    please send me the code for that i tried lot but not succesed
    or any possible help
    thanks in advance
    regards
    Vikas Singhal

    Vikas,
    What have you tried so far. Could you give us a code example? Also, what version of Forms and Reports are you using? Forms 6i through Forms 10g have the RUN_REPORT_OBJECT() built-in which is the recommended way to run a report, however you can also use the WEB.SHOW_DOCUMENT() built-in to call a report. There are examples of how to use both in the Forms Help system.
    Craig...

  • Forms 10g hangs while running a procedure which has got lot of loops

    Hi,
    When executing a procedure in Forms 10g which fetches millions of records, application getting stuck.
    What parameter is required to be changed in forms configuration?
    Can any1 help me out???
    Thanks in advance,
    Natz.

    Particularly this passage:
    MaxBlockTime
    MaxBlockTime is the time in mili seconds to wait when reading data from the
    Runform process.
    e.g. a long query, lots of complex processing
    (default = 1000 milli sec)
    /j2EE/OC4J_BI_Forms/application/forms90app/forms90web/WEB-INF/web.xml
    or
    /j2EE/OC4J_BI_Forms/application/formsapp/formsweb/WEB-INF/web.xml
    Example
    =======
    <servlet>
    <servlet-name>l90servlet</servlet-name>
    <servlet-class>oracle.forms.servlet.ListenerServlet</servlet-class>
    <init-param>
    <param-name>maxBlockTime</param-name>
    <param-value>1800000</param-value>
    </init-param>
    </servlet>
    or
    <servlet>
    <servlet-name>lservlet</servlet-name>
    <servlet-class>oracle.forms.servlet.ListenerServlet</servlet-class>
    <init-param>
    <param-name>maxBlockTime</param-name>
    <param-value>1800000</param-value>
    </init-param>
    </servlet>
    What happens?
    =============
    For long requests (like querying a big table), the Listener
    Servlet waits for a default time of 1 second for the Forms
    runtime process to complete the request
    If the request is not completed then the Listener Servlet sends a busy
    response to the client asking the client to retry.
    The client sends a retry zero content length request to check if the query is
    complete.
    This default time of 1 second can be configured using Listener Servlet
    parameter called maxBlockTime
    Reference
    =========
    Note 218846.1 How to increase Heap size in OC4J in V2
    Francois

  • How to run report from form 10g

    Dear All,
    I have code of forms 6i that i used to run report. but when i run this code through forms 10g this gives message that use RUN_REPORT_OBJECT instead.
    please convert my code to 10g .
    ==============================================
    pl_id:=Get_Parameter_List('tmpdata');
         IF NOT Id_Null(pl_id) THEN
              Destroy_Parameter_List(pl_id);
         END IF;
         pl_id:=Create_Parameter_List('tmpdata');
         Add_Parameter(pl_id, 'PARAMFORM', TEXT_PARAMETER, 'NO');
         Add_Parameter(pl_id, 'P_FROM', TEXT_PARAMETER,:FROM);
         Add_Parameter(pl_id, 'P_TO', TEXT_PARAMETER, :TO);
    Run_Product(REPORTS,'ANNEX_B_CONSTRUCTION_QUALITY',SYNCHRONOUS,RUNTIME,FILESYSTEM,pl_id);
    =======================================================
    Many thanks

    Some sample code. Create REPORT1 under Report node of the form.
    DECLARE
      PL_ID                 ParamList;          
      v_rep_id          REPORT_OBJECT;               
      v_rep            VARCHAR2(200);               
      v_rep_file        VARCHAR2(100); --Added to change create a unique file each time report created.
      v_tmp_path                         varchar2(250);
    BEGIN
    v_rep_id := FIND_REPORT_OBJECT('REPORT1');
    v_rep_file:=USER||'_'||to_char(SYSDATE,'DDMMYYYY_HH24MISS');
    pl_id:=Get_Parameter_List('tmpdata');
    IF NOT Id_Null(pl_id) THEN
    Destroy_Parameter_List(pl_id);
    END IF;
    pl_id:=Create_Parameter_List('tmpdata');
    Add_Parameter(pl_id, 'PARAMFORM', TEXT_PARAMETER, 'NO');
    Add_Parameter(pl_id, 'P_FROM', TEXT_PARAMETER,:FROM);
    Add_Parameter(pl_id, 'P_TO', TEXT_PARAMETER, :TO);
    --Run_Product(REPORTS,'ANNEX_B_CONSTRUCTION_QUALITY',SYNCHRONOUS,RUNTIME,FILESYSTEM,pl_id);
    SET_REPORT_OBJECT_PROPERTY(v_rep_id,REPORT_FILENAME, 'tested_part_report'||'.rdf');
    SET_REPORT_OBJECT_PROPERTY(v_rep_id,REPORT_DESTYPE,FILE);
    SET_REPORT_OBJECT_PROPERTY(v_rep_id,REPORT_DESFORMAT,'pdf');
    SET_REPORT_OBJECT_PROPERTY(v_rep_id,REPORT_DESNAME,v_tmp_path||v_rep_file||'_Tested_Part_Report.pdf');
    v_rep := RUN_REPORT_OBJECT(v_rep_id,PL_ID); 
    --You should have a virtual path set as /output/ in Application server
    --Show the pdf output create in the folder mapped to output
    Web.Show_Document('/output/'||v_rep_file||'_Tested_Part_Report.pdf','_blank');     
    END;You need to put the files in the path (As set in the registry of application server) . Needed application server knowledge to deploy the reports.
    Edited by: Lokanath Giri on २२ दिसंबर, २०११ ११:०३ पूर्वाह्न
    Edited by: Lokanath Giri on २२ दिसंबर, २०११ ११:५९ पूर्वाह्न

  • Issues in calling Sql Loader through forms developer (10g)

    Hi,
    I am developing a form(in 10g) ,in which I am calling sql loader for loading data onto a oracle database table from external source (e.g. data file is a .CSV file).
    But , somehow the sql loader is not getting executed.
    Here , I am giving the environment settings , approach i am taking;
    This is a distributed system , both the application server,and database server are mounted on two different servers.
    The form is delpoyed on the application server.
    The database table , and the sql loader are configured on the databse side.
    I am using host(<sql loader command>) command to invoke the Operating System command through forms.
    The sql loader is working ok , and the data is getting loaded successfully onto the required database table when I am executing the sql loader command on Unix prompt , but through the forms , it's not working.
    Do I need to change some environmental setting to make this work...
    Any quick help in this regard is highly appreciated.
    Thanks.

    Hi Craig,
    I have already tried out the option of calling sql loader through stored procedure,but this is not working ...
    could you please share any examples to do so ...
    code snippet i am using in forms:
    declare
    usid get_application_property(userid);
    pwd get_application_property(password);
    db get_application_property(host);
    msqlldr varchar2(250);
    begin
    msqlldr:='/u01/oracle/formss/bin/sqlldr' username=<uid/pwd@db> control=<control file name> data=<data file name> log=<log file name>
    hosts(msqlldr);
    end;
    Note that sqlldr command ,for that matter any unix shell command is not working through the hosts() command ...
    could you please suggest any way out ...
    Thanks.

  • In Forms 10g Where does SQLs execute?

    In Oracle Forms 10g there is Java Applet on top of which our Application runs. Now suppose we have a button and in that we execute a SQL to get a column value.
    Now where does the SQL fire?
    Does it fire in the Applet (i.e in client) or does it go to the App Server and then execute?

    RTM first!
    If it's PL/SQL written in the form, that executes on the application server, that has a PL/SQL engine.
    If it's a call to a procedure stored in the database, that executes in the database.
    If it's SQL, then that can execute nowhere else except in the database.
    Do not imagine that the applet does any other thing except rendering what you see on screen and handling the clicks and keystroke to the application server (which does the further processing, handling to the database the SQL that has to be executed).
    Briefly, that's the basics.
    HTH
    Edited by: BEDE on Nov 16, 2010 11:15 AM

  • Converting Unicode to UTF-8 character set through Oracle forms(10g)

    Hi,
    I am working on oracle forms (10g) where i need to load files containing unicode character set (multilingual characters) to database.
    but while loading the file , junk characters are getting inserted into the database tables.
    while reading the file through forms , i am using utl_file.fopen_nchar,utl_file.get_line_nchar functions to read the unicode characters ...
    the application server , and database server characterset are set to american utf8 characteset.
    In fact , when i change the text file characterset to utf8 through an editor(notepad ++,etc) , in that case , data is getting inserted into database properly,(at least working for english characters) , but not with unicode ...
    Any guidance in this regard are highly appreciated
    Thank you in advance
    Sanu

    hi
    please check out the following link.
    http://www.oracle.com/technology/tech/globalization/htdocs/nls_lang%20faq.htm
    sarah

  • Problem executing form 10G

    Hi Buddies;
    I'm trying to execute FORM 10G, but when I choose Run Form, I get this error message;
    Internet Explorer has closed this webpage to help protect your computer
    A malfunctioning or malicious add-on has caused Internet Explorer to close this webpage.
    Previously I could execute the form, but after some problems in my laptop and had to reinstall the OS.
    Now I got this problem.
    Have any idea how to solve this?
    Also, I was trying using Firefox, but getting similar error message.
    Suggestions are welcome.
    Regards
    Al

    Hi,
    You have to replace the JVM.DLL in the directory *<Program Files>\Oracle\JInitiator 1.3.1.22\bin\hotspot* with the latest jvm.dll(2.2Mb) from here.
    And if you are using Explorer 8, then do the following.
    1. Open Internet Explorer 8
    2. Go to Tools, Internet Options
    3. Click on the Advanced tab.
    4. Scroll down into the Security section and find “Enable memory protection to help mitigate online attacks”.
    5. Uncheck “Enable memory protection to help mitigate online attacks”.
    6. Click Ok and Ok again.
    7. Reboot your computer.Regards,
    Manu.
    If my response or the response of another was helpful or Correct, please mark it accordingly

  • Host in forms 10g and execute shell script

    Hi!
    I have a little problem. When I transfer form to AS through SSH protocol I want to automatically generate form on AS wit h code:
    declare
    lv_server_dir vc2() := /folder1/folder2;
    lv_file_name vc2():= a.fmb;
    host(lv_server_dir||'/ftp_gen.sh '||lv_server_dir||' '||lv_file_name);
    In file ftp_gen.sh is code:
    export ORACLE_HOME=myOracleHome
    export PATH=$PATH:$ORACLE_HOME/bin
    export TNS_ADMIN=$ORACLE_HOME/network/admin
    export SQLPATH=$ORACLE_HOME/dbs
    export NLS_LANG=SLOVENIAN_SLOVENIA.EE8ISO8859P2
    export DISPLAY=:2
    cd $1
    ./gen.sh $3
    When I execute this command on form nothing happens.
    What could be wrong?
    Thanx,
    Bojan

    Hi Bojan,
    Executing the HOST Command will execute in the Mid Tier and nothing will show up in the Client. (other than the form go into Blocking mode). Just check out whether the Operation you wanted to do in the Mid tier is done or not. (Here it looks like you are compiling a form. So, check out that the fmx is generated.)
    Alternatively to check out the proper execution of the HOST command, you can generate a file in the Mid-tier (on successful execution of the shell script) and read the file using TEXT_IO and display a message to user.
    HTH.

  • Urgent : i am not able to coonect the report through oracle forms  10g

    i created a report "test1" through oracle report 10g and calling from oracle forms 10g
    i tried to run the report from forms builder but i am getting the following error
    "server can not connect 41213 error"
    from run mode i already given the following command for running the report server
    rwserver server=rep_fsprod
    The help is saying like that
    cause:  There is a problem connecting to the specified Report server. Action:  Check the Report server and make sure it is up and running. Level:  20
    Any pleae provide me the necessor setting for this issue and give me some good reselution
    But i am not sure where is the problem
    If anybody thats will be helpfull for me. please provide the step that i need to take
    the following are the code
    ------------------------------------------------------------>
    Declare
         PL_Id     ParamList;
    v_Report VarChar2(30) := 'TEST1';
    v_Rep_Id Report_Object;
    v_Rep_Job_Id VarChar2(100);
    v_Job_Id VarChar2(100);
    v_Rep_Status VarChar2(100);
    v_Rep_URL VarChar2(1000);
    v_Host_Name VarChar2(100) := 'localhost';
    v_Port     VarChar2(100) := '8889';
    v_Rep_Server VarChar2(100) := 'abc';
    Begin
    PL_Id := Get_Parameter_List(v_Report);
    If Not Id_Null(Pl_Id) Then
    Destroy_Parameter_List(Pl_Id);
    End If;
    Pl_Id:=Create_Parameter_List(v_Report);
    Add_Parameter(PL_Id, 'Usr_Id', Text_Parameter, 'cms');
    Add_Parameter(Pl_Id, 'ParamForm', Text_Parameter, 'NO');
    --Find Report Object
    v_Rep_Id := Find_Report_Object('TEST1');
    --Communication Mode
    Set_Report_Object_Property(v_Rep_Id, Report_Comm_Mode, Synchronous);
    Set_Report_Object_Property(v_Rep_Id, Report_Desformat, 'HTML');
    --Handled Destination Type and Name
         Set_Report_Object_Property(v_Rep_Id, Report_DesType, CACHE);
    --Specify Report Server and Report File Name
    Set_Report_Object_Property(v_Rep_Id, Report_Server, v_Rep_Server);
    Set_Report_Object_Property(v_Rep_Id, Report_FileName, v_Report);
    --Run Report
    v_Rep_Job_Id := Run_Report_Object(v_Rep_Id, PL_Id);
    v_Rep_Status := Report_Object_Status(v_Rep_Job_Id);
    If v_Rep_Status = 'FINISHED' Then
              v_Job_Id := SubStr(v_Rep_Job_Id, length(v_Rep_Server)+2);
              v_Rep_URL := 'http://' || v_Host_Name || ':' || v_Port || '/reports/rwservlet/getjobid' || v_Job_Id || '?server=' || v_Rep_Server;
    Message(v_Rep_URL);
                   Web.Show_Document(v_Rep_URL, '_blank');
    Else
         Message('Error Running Report');
    End If;
    End;
    ------------------------------------------------------------>

    i am facing same please do some favour me for this report issue

Maybe you are looking for

  • Theme changes don´t take effect

    Hi, I recently wondered why the theme of my LXDE installations doesn´t really look good: http://upload.worldofplayers.de/files10/lxde.jpg Particulary, Midori is rather ugly: However, other screenshots of LXDE proove that it can look much better: http

  • Connecting Mac Air to AOC monitor

    Hi My AOC monitor (USB) won't connect to my Mac Air. When I plug the monitor, the AOC logo comes on, then nothing. It works great with my MacBook Pro. I read a bunch of various ideas about it (including some that say that it works fine with Air) but

  • Cant load software

    new pc, gets to wanting cd (again) for "bb media sync cd:1:0 " and only goes in circles. thx

  • Error in burn process

    Hi, I made an iDVD project with slideshows, and an iMovie intro. When I select burn, it goes through and gets all the way to the final step of burning. When it begins to burn it immediately comes up with Error #-1 was reported and then no other optio

  • Calling PASCAL library

    Hi, I seems to can't access to this library file, anyone can help me with this? I'm a Labview user, I try to use the call library vi but the list of functions just don't come out. SL Ong Websuite Solutions Attachments: IBS_PD.zip ‏13 KB