Running forms from DOS command prompt

how do u run forms (*.fmx) from the DOS command prompt?
TY in advance

hi,
In Developer 10g, you can not run the form in client/server mode. Your case is a form of client/server mode operation.
To run froms in Oracle 10g, your must run on the web, that is, you must have http server installed.
If you have successfully installed Oracle Developer Suite 10g, it has automatically installed and configured a working http server.
all you have to do is to modify some config files in <devsuitehome>/forms90/server directory folder namely:
1. default.env where you add your path for your library files as in of your library files
(*.pll)
2. formsweb.cfg where set the workingDirectory parameter to point to the location
of your forms (*.fmx) files.
You have also to install Jinitiator by executing the file <devsuitehome>/jinit/jinit.exe.
Start your OC4J instance
then you can run the form from form builder.
regards,
Mike

Similar Messages

  • Error 57 in invoking sqlplus command from DOS command prompt in Oracle Serv

    I have a Oracle 11G server which has suddenly shutdown due to power cut-off. Now when I restart the system and trying to connect to database invoking the sqlplus as sysdba from DOS command prompt - I am getting following errors
    C:\Documents and Settings\Administrator>sqlplus "/as sysdba"
    Error 57 initializing SQL*Plus
    Error loading message shared library
    Can anyone help me please ?

    Yes sure!! .. The details of alert logs for today is herewith -
    Thu Feb 28 12:30:02 2013
    kewastUnPackStats(): bad magic 1 (0x0DFE82DA, 0)
    kewastUnPackStats(): bad magic 1 (0x0DFE82DA, 0)
    Thu Feb 28 12:36:02 2013
    Errors in file d:\app\collbrs\diag\rdbms\collbrs\collbrs\trace\collbrs_ckpt_3160.trc:
    ORA-00202: control file: 'D:\APP\COLLBRS\ORADATA\COLLBRS\CONTROL01.CTL'
    ORA-27070: async read/write failed
    OSD-04006: ReadFile() failure, unable to read from file
    O/S-Error: (OS 1117) The request could not be performed because of an I/O device error.
    Thu Feb 28 12:36:19 2013
    Errors in file d:\app\collbrs\diag\rdbms\collbrs\collbrs\trace\collbrs_m000_5180.trc:
    ORA-00202: control file: 'D:\APP\COLLBRS\ORADATA\COLLBRS\CONTROL01.CTL'
    ORA-27070: async read/write failed
    OSD-04006: ReadFile() failure, unable to read from file
    O/S-Error: (OS 1117) The request could not be performed because of an I/O device error.
    Errors in file d:\app\collbrs\diag\rdbms\collbrs\collbrs\trace\collbrs_m000_5180.trc:
    ORA-00204: error in reading (block 1, # blocks 1) of control file
    ORA-00202: control file: 'D:\APP\COLLBRS\ORADATA\COLLBRS\CONTROL01.CTL'
    ORA-27070: async read/write failed
    OSD-04006: ReadFile() failure, unable to read from file
    O/S-Error: (OS 1117) The request could not be performed because of an I/O device error.
    Thu Feb 28 12:36:40 2013
    Errors in file d:\app\collbrs\diag\rdbms\collbrs\collbrs\trace\collbrs_ckpt_3160.trc:
    ORA-00202: control file: 'D:\APP\COLLBRS\ORADATA\COLLBRS\CONTROL01.CTL'
    ORA-27070: async read/write failed
    OSD-04006: ReadFile() failure, unable to read from file
    O/S-Error: (OS 1117) The request could not be performed because of an I/O device error.
    Thu Feb 28 12:37:08 2013
    Errors in file d:\app\collbrs\diag\rdbms\collbrs\collbrs\trace\collbrs_ckpt_3160.trc:
    ORA-00202: control file: 'D:\APP\COLLBRS\ORADATA\COLLBRS\CONTROL01.CTL'
    ORA-27070: async read/write failed
    OSD-04006: ReadFile() failure, unable to read from file
    O/S-Error: (OS 1117) The request could not be performed because of an I/O device error.
    Thu Feb 28 12:37:28 2013
    Errors in file d:\app\collbrs\diag\rdbms\collbrs\collbrs\trace\collbrs_ckpt_3160.trc:
    ORA-00202: control file: 'D:\APP\COLLBRS\ORADATA\COLLBRS\CONTROL01.CTL'
    ORA-27070: async read/write failed
    OSD-04006: ReadFile() failure, unable to read from file
    O/S-Error: (OS 1117) The request could not be performed because of an I/O device error.
    Thu Feb 28 12:37:50 2013
    Errors in file d:\app\collbrs\diag\rdbms\collbrs\collbrs\trace\collbrs_ckpt_3160.trc:
    ORA-00202: control file: 'D:\APP\COLLBRS\ORADATA\COLLBRS\CONTROL01.CTL'
    ORA-27070: async read/write failed
    OSD-04006: ReadFile() failure, unable to read from file
    O/S-Error: (OS 1117) The request could not be performed because of an I/O device error.
    Thu Feb 28 12:38:07 2013
    Errors in file d:\app\collbrs\diag\rdbms\collbrs\collbrs\trace\collbrs_m000_6256.trc:
    ORA-00202: control file: 'D:\APP\COLLBRS\ORADATA\COLLBRS\CONTROL01.CTL'
    ORA-27070: async read/write failed
    OSD-04006: ReadFile() failure, unable to read from file
    O/S-Error: (OS 1117) The request could not be performed because of an I/O device error.
    Errors in file d:\app\collbrs\diag\rdbms\collbrs\collbrs\trace\collbrs_m000_6256.trc:
    ORA-00204: error in reading (block 1, # blocks 1) of control file
    ORA-00202: control file: 'D:\APP\COLLBRS\ORADATA\COLLBRS\CONTROL01.CTL'
    ORA-27070: async read/write failed
    OSD-04006: ReadFile() failure, unable to read from file
    O/S-Error: (OS 1117) The request could not be performed because of an I/O device error.
    Thu Feb 28 12:38:12 2013
    Errors in file d:\app\collbrs\diag\rdbms\collbrs\collbrs\trace\collbrs_ckpt_3160.trc:
    ORA-00202: control file: 'D:\APP\COLLBRS\ORADATA\COLLBRS\CONTROL01.CTL'
    ORA-27070: async read/write failed
    OSD-04006: ReadFile() failure, unable to read from file
    O/S-Error: (OS 1117) The request could not be performed because of an I/O device error.
    Thu Feb 28 12:38:34 2013
    Errors in file d:\app\collbrs\diag\rdbms\collbrs\collbrs\trace\collbrs_ckpt_3160.trc:
    ORA-00202: control file: 'D:\APP\COLLBRS\ORADATA\COLLBRS\CONTROL01.CTL'
    ORA-27070: async read/write failed
    OSD-04006: ReadFile() failure, unable to read from file
    O/S-Error: (OS 1117) The request could not be performed because of an I/O device error.
    Thu Feb 28 12:38:56 2013
    Errors in file d:\app\collbrs\diag\rdbms\collbrs\collbrs\trace\collbrs_ckpt_3160.trc:
    ORA-00202: control file: 'D:\APP\COLLBRS\ORADATA\COLLBRS\CONTROL01.CTL'
    ORA-27070: async read/write failed
    OSD-04006: ReadFile() failure, unable to read from file
    O/S-Error: (OS 1117) The request could not be performed because of an I/O device error.
    Thu Feb 28 12:39:31 2013
    Errors in file d:\app\collbrs\diag\rdbms\collbrs\collbrs\trace\collbrs_ckpt_3160.trc:
    ORA-00202: control file: 'D:\APP\COLLBRS\ORADATA\COLLBRS\CONTROL01.CTL'
    ORA-27070: async read/write failed
    OSD-04006: ReadFile() failure, unable to read from file
    O/S-Error: (OS 1117) The request could not be performed because of an I/O device error.
    Thu Feb 28 12:39:47 2013
    Errors in file d:\app\collbrs\diag\rdbms\collbrs\collbrs\trace\collbrs_m001_7628.trc:
    ORA-00202: control file: 'D:\APP\COLLBRS\ORADATA\COLLBRS\CONTROL01.CTL'
    ORA-27070: async read/write failed
    OSD-04006: ReadFile() failure, unable to read from file
    O/S-Error: (OS 1117) The request could not be performed because of an I/O device error.
    Thu Feb 28 12:39:49 2013
    Errors in file d:\app\collbrs\diag\rdbms\collbrs\collbrs\trace\collbrs_ckpt_3160.trc:
    ORA-00202: control file: 'D:\APP\COLLBRS\ORADATA\COLLBRS\CONTROL01.CTL'
    ORA-27070: async read/write failed
    OSD-04006: ReadFile() failure, unable to read from file
    O/S-Error: (OS 1117) The request could not be performed because of an I/O device error.
    Errors in file d:\app\collbrs\diag\rdbms\collbrs\collbrs\trace\collbrs_m001_7628.trc:
    ORA-00204: error in reading (block 1, # blocks 1) of control file
    ORA-00202: control file: 'D:\APP\COLLBRS\ORADATA\COLLBRS\CONTROL01.CTL'
    ORA-27070: async read/write failed
    OSD-04006: ReadFile() failure, unable to read from file
    O/S-Error: (OS 1117) The request could not be performed because of an I/O device error.
    Thu Feb 28 12:40:10 2013
    Errors in file d:\app\collbrs\diag\rdbms\collbrs\collbrs\trace\collbrs_ckpt_3160.trc:
    ORA-00202: control file: 'D:\APP\COLLBRS\ORADATA\COLLBRS\CONTROL01.CTL'
    ORA-27070: async read/write failed
    OSD-04006: ReadFile() failure, unable to read from file
    O/S-Error: (OS 1117) The request could not be performed because of an I/O device error.
    Thu Feb 28 12:40:31 2013
    Errors in file d:\app\collbrs\diag\rdbms\collbrs\collbrs\trace\collbrs_ckpt_3160.trc:
    ORA-00202: control file: 'D:\APP\COLLBRS\ORADATA\COLLBRS\CONTROL01.CTL'
    ORA-27070: async read/write failed
    OSD-04006: ReadFile() failure, unable to read from file
    O/S-Error: (OS 1117) The request could not be performed because of an I/O device error.
    Thu Feb 28 12:40:48 2013
    Errors in file d:\app\collbrs\diag\rdbms\collbrs\collbrs\trace\collbrs_m002_2748.trc:
    ORA-00202: control file: 'D:\APP\COLLBRS\ORADATA\COLLBRS\CONTROL01.CTL'
    ORA-27070: async read/write failed
    OSD-04006: ReadFile() failure, unable to read from file
    O/S-Error: (OS 1117) The request could not be performed because of an I/O device error.
    Errors in file d:\app\collbrs\diag\rdbms\collbrs\collbrs\trace\collbrs_m002_2748.trc:
    ORA-00204: error in reading (block 1, # blocks 1) of control file
    ORA-00202: control file: 'D:\APP\COLLBRS\ORADATA\COLLBRS\CONTROL01.CTL'
    ORA-27070: async read/write failed
    OSD-04006: ReadFile() failure, unable to read from file
    O/S-Error: (OS 1117) The request could not be performed because of an I/O device error.

  • How can i run application client from the command prompt ?

    Hi,
    I'm new to java & EJB. so can any body tell me the command to run the application client from the command prompt. Here is the code to print hello world:
    /* Remote interface */
    public interface Hello extends javax.ejb.EJBObject
         public String hello() throws      java.rmi.RemoteException;
    /* Home interface */
    public interface HelloHome extends javax.ejb.EJBHome
         Hello create() throws java.rmi.RemoteException, javax.ejb.CreateException;
    /* Stateless session bean class */
    public class HelloBean implements javax.ejb.SessionBean
         private javax.ejb.SessionContext ctx;
         public void ejbCreate(){
              System.out.println("ejbcreate()");
         public void ejbRemove(){
              System.out.println("ejbRemove()");
         public void ejbActivate(){
              System.out.println("ejbActivate()");
         public void ejbPassivate(){
              System.out.println("ejbejbPassivate()");
         public void setSessionContext(javax.ejb.SessionContext ctx){
              this.ctx=ctx;
         public String hello(){
              System.out.println("hello()");
              return "Hello, world!";
    /*Client class */
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import java.util.Properties;
    public class HelloClient
         public static void main(String[] args) throws Exception{
              Properties props=System.getProperties();
              Context ctx=new InitialContext(props);
              Object obj=ctx.lookup("HelloHome");
              HelloHome home=(HelloHome)javax.rmi.PortableRemoteObject.narrow(obj,HelloHome.class);
              Hello hello=home.create();
              System.out.println(hello.hello());
              hello.remove();
    I have stored .java files in c:\ejb
    I have successfully created the .class files using javac command in the following directory :
    c:\ejb
    I have also created Helloworld.ear file in c:\ejb using sun application server which contains the following files:
    ejb-jar-ic.jar
    app-client-ic.jar
    sun-j2ee-ri.project
    application.xml
    sun-application.xml
    Manifest.mf
    But the problem is that i'm not able to run the HelloWorld.class file successfully from the command prompt. So please suggest me the comand.
    Thanx in advance.
    Best regards,
    Pankaj

    Hi
    You can run this code from the command prompt in the same way as you run any other simple java program. The only thing is you need to set the Home and Local interfaces in the classpath.And obviously if u had deployed the bean in ur app server container, then its all over.
    And one more thing is that u need to set the provider URL in the InitialContext created in the client program.
    Thanks
    Arun B

  • Not running from the Command Prompt.

    I have developed a SMTP based mail dispatch software using netbeans and Javamail. It is working fine while running within netbeans. But while runing it from the command prompt after making a build of it from netbeans, it gives error File not found exception for javamail as below.
    =================================================
    DEBUG: not loading resource: /META-INF/javamail.address.map
    DEBUG: java.io.FileNotFoundException: C:\Program Files\Java\jre1.5.0_07\lib\java
    mail.address.map (The system cannot find the file specified)
    exception thrown:

    JavaMail attempts to load resources from many places. The fact that some
    are not found is not necessarily a problem. JavaMail will fall back to
    resources included in the mail.jar file.
    You need to look further in the debug output for the source of your problem.
    (I assume you've included mail.jar in your CLASSPATH when running
    your program from the command prompt. See README.txt included
    with JavaMail.)

  • Update BIOS from DOS command line?

    Hello, I'd like to be able to flash the BIOS from the boot prompt or with a USB/CD/DVD based tool. I cannot open any OS even from live DVDs. My Presario SR5507F came originally with Vista installed but over the years it was upgraded to Windows 8.1. It gave us years of reliable service but sometime last fall the PC started experiencing seemingly random reboots and powerdowns. Things got pregressively worse until the PC was unusable. It would run for 15 or 20 minutes and then reboot. The problems started shortly after a Windows update, so I thought this was a patch or driver update issue. I tried reverting an removing patches to no avail. I also tried installing Ubuntu and Fedora, but they exhibit the same issues. Fedora is worse than Ubuntu, though. I tried to reinstall Windows 8.1, then 7 and finally the original Vista 32-bit OS but all Windows installations fail at some point during drivers installation. The computer just enters an endless reboot cyle and Windows cannot be installed. I ran memory tests but they all pass and I can use a text based OS, such as DOS. I have tried to reflash the BIOS, thinking it may have been corrupted during one of the reboots, but since I cannot install any version of Windows, the BIOS flash tools refuse to work. I need to be able to flash the BIOS from the DOS command prompt or at boot. Is there such a tool from Compaq/HP? Thanks!

    The BIOS file is found on THIS PAGE and is listed asMCP61PM-HM Motherboard BIOS Update 5.271.5 MBAug 2, 2012sp40911.exe Open the download after it is complete with 7-zip by right clicking on the sp40911.exe, then extract the Net5.24 to a known location.  AWDFlash downloadJust rename the file to 524.bin and use awdflash from DOS.Use  awdflash 524.bin /cc/cd/cp/py/R

  • How to execute a scenario from Windows command prompt

    Hi,
    I have a package which is executing fine from Designer. But the same scenario if I am trying to execute from windows command prompt, then it is giving error.
    The package is getting a refresh variable, passing to interface which is creating a file from table, this file is then getting FTP'ed to another server.
    I am executing following command -
    startscen OB_TAB_TO_FILE_PKG 001 ODICTX "-v=2"
    The error is -
    A JDK is required to execute Web Services with OracleDI. You are currently using
    a JRE.
    OracleDI: Starting scenario OB_TAB_TO_FILE_PKG 001 in context ODICTX ...
    java.sql.SQLException: socket creation error
    at org.hsqldb.jdbc.jdbcUtil.sqlException(jdbcUtil.java:67)
    at org.hsqldb.jdbc.jdbcConnection.<init>(jdbcConnection.java:2451)
    at org.hsqldb.jdbcDriver.getConnection(jdbcDriver.java:188)
    at org.hsqldb.jdbcDriver.connect(jdbcDriver.java:166)
    at com.sunopsis.sql.SnpsConnection.u(SnpsConnection.java)
    at com.sunopsis.sql.SnpsConnection.c(SnpsConnection.java)
    at com.sunopsis.sql.i.run(i.java)
    DwgJv.main: Exit. Return code:-1
    Please let me know where I am going anything wrong.
    Thanks,
    Himanshu

    Hi,
    you need to make the necessary changes to the %odi%\bin\odiparams.bat config file, under the "Repository Connection Information" section so that startscen knows how to extract metadata from your repository.
    You apparently have left the default settings to the Hypersonic demo repository. Is that the technology your repository is hosted on?

  • Starting a WSAD server from the command prompt and not from the IDE UI

    Hi,
    is there a way to run the WSAD server from the command prompt instead of using the IDE UI . i have tried starting the server from the Directory i have installed WSAD " D:\Program Files\IBM\WebsphereStudio\runtimes\base_v5\bin>startServer.bat" but it gives the Following error " The system cannot find the path specified." i am working . do i have to specify the workspace that i am currently working on

    to see if the network adapter has registered with OPMN run: opmnctl status
    the 6200 message is a timeout which can be set in opmn.xml, the reports server(s) and other processes managed by OPMN should still stop.
    Try opmnctl stopall or opmnctl shutdown
    Does the timeout shows up regularly ie can you repeat it?
    After the stopall or shutdown try to start everything up again and try to stop the single reports server process again.

  • Calling  r25con32.exe  from the command prompt

    how to call r25con32.exe from the run prompt.

    Duplicate:
    Calling  r25con32.exe  from the command prompt
    :)

  • Code for how to read an integer array from the command prompt...

    hello,
    Could anyone give me the code for how to read an integer array from the command prompt...its very urgent!..

    If you are using a recent version of Java (5 or later) you can use Scanner:
    http://java.sun.com/javase/6/docs/api/java/util/Scanner.html
    That page has some example code on it, too.

  • Make System.in read input from a command prompt

    How can i make System.in read input from a command prompt which is opened after program
    is started. Please note that program starts without commad promt. Can u plz help?
    sharmila

    System.in DOES read from the command shell that you start the app in.
    What you don't have is a prompt.
    You should know about Java Almanac. There are code samples for simple things like I/O that everyone should know about. There's an example there to help you.
    MOD

  • Setting classpath from the command prompt

    each time i try to set the classpath from the command prompt it is not always well done . can someone give a good format
    i.e set classpath = ;c:\document and settings\ luke

    each time i try to set the classpath from the command
    prompt it is not always well done . can someone give
    a good format
    i.e set classpath = ;c:\document and settings\ lukeThe best way is not doing it at all.
    Anyway, try:
    set classpath = ".;c:\document and settings\luke"

  • Is it possible to run Acrobat3D from the command line?

    I'd like to know if it is possible to run Arobat3D from the command line in batch mode. I'm interested in knowing if this is possible in either a windows or unix environment.
    My objective is to convert CAD data e.g. CATIA V5 or DXF etc to PDF, in batch mode without using the Acrobat3D interface itself.
    I know that it's possible to run a batch process from within Acrobat3D itself, therefore one solution may be to invoke those batch processes from the command line.
    I've looked through the other listings on this forum and seen this question asked previously, but I've not seen any responses that suggest this is even a feasible concept.

    As of now, it's not possible in the cmd-mode to just remain connected and not stream.
    But the reason you want to do that is because of the long start-up time. That 20 sec time can be divided into:
    1. launch time
    2. time to start encoding (after pressing start button) -> cannot be reduced even if 'connected only' feature is available in cmd-line
    Below are tips you can use to reduce this 20 sec of time:
    1. Lesser the no. of devices connected to the system, shorter is the launch time. Disable the devices which are not to be used in the session.
    2. Try using device indexes (0, 1, 2, etc) instead of device names in the profile. Indexes might change after you disable some of the devices.
    3. Use the profile with correct settings, to avoid any validation errors.
    4. Higher the video size, higher is the overall time. Small sizes take lesser time to start.
    Let me know if you see any improvement in the startup time.

  • How to read multiple lines from a command prompt?

    I usually read from a command prompt like this:
    String answer;
    System.out.println("Please enter the required data");
    try {
    BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
    answer = reader.readLine();
    reader = null;
    } catch (Exception e) {
    System.out.println("There was an exception trying to read " + e);
    answer = "";
    This has worked fine for years when all I wanted was one line answers.
    Now I am trying to prompt for multiple line answers. Is there a way to read into a string array rather than just a string? What class would I use for that?
    Thanks a lot!

    The easiest approaches would be to read a line at a time until you've read enough lines, whether by a known fixed line count, or a token count, or by reading some sentinel toek, OR read a token at a time using Scanner.next() until you've determined you're done. Which one is more appropriate depends on your situation.

  • 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 to run ODI scenario using command prompt

    Hi expets
    Please let me know if we can run ODI scenario using command prompt or any way other than operator.
    Regards
    Janakiram

    Go to <ODI_HOME>/oracledi/bin in command prompt and invoke startscen command with teh below parameters.
    Edited by: Guru Sankar on Feb 28, 2011 4:19 PM

Maybe you are looking for