Page 1 of 2 12 LastLast
Results 1 to 15 of 18
  1. #1
    Join Date
    Jul 2006
    Posts
    11

    Red face Oracle Form Don't run under Linux

    Hy Guys,

    i have a problem with oracle forms (6i). forms is installed under winXP. now we want to run the forms on a linux server (redhat) with oracle 10g. can anybody help me?i couldn't find any help at google.de .i want to know how have i to proceed that the oracle forms run under linux.

    Sorry for my bad english, i'm german
    greetz

  2. #2
    Join Date
    May 2004
    Location
    BA [ARG]
    Posts
    137
    Are you using the same fmx file compiled under winXP??
    What you should do is to copy the fmb file into the linux server and recompile it there.

  3. #3
    Join Date
    Jul 2006
    Posts
    11
    Quote Originally Posted by DKG
    Are you using the same fmx file compiled under winXP??
    What you should do is to copy the fmb file into the linux server and recompile it there.

    i use the fmb files under xp. how can i recompile the files? ich have access to the server via telnet with terminal. do i have to install any necessary software at the server to recompile the files?i have installed the oracle developer.
    sorry but i not to be very well versed in oracle.

    i hope you can help me.

    best regards
    cola

  4. #4
    Join Date
    Jul 2006
    Posts
    11
    hello can anybody help me?
    it is important!

  5. #5
    Join Date
    Jan 2004
    Location
    Croatia, Europe
    Posts
    4,006
    - Copy the .FMB file(s) from MS Windows XP computer to the Linux computer.
    - Install Oracle Developer Suite (6i) on the Linux computer.
    - Make sure you can connect from the Linux computer to the database (which can be anywhere, doesn't matter which operating system runs on the database server).
    - Start Forms Builder on the Linux computer.
    - Connect to the remote database.
    - Open one of your .FMB's.
    - Recompile, save, create the .FMX version.

    Perhaps it'll work ...

  6. #6
    Join Date
    May 2004
    Location
    BA [ARG]
    Posts
    137
    Or, once you've installed Oracle Dev Suite on Linux and have tested that you've got access to the database, run this script:

    f90gen.sh module=<your_file>.fmb userid=<db_user> output_file=<your_file>.fmx module_type=form batch=yes compile_all=special

    And that will generate the fmx file compiled under linux.

  7. #7
    Join Date
    Jul 2006
    Posts
    11
    Quote Originally Posted by DKG
    Or, once you've installed Oracle Dev Suite on Linux and have tested that you've got access to the database, run this script:

    f90gen.sh module=<your_file>.fmb userid=<db_user> output_file=<your_file>.fmx module_type=form batch=yes compile_all=special

    And that will generate the fmx file compiled under linux.
    thx for the help. i will test the script. i hope it works.
    Last edited by cola; 07-10-06 at 02:57.

  8. #8
    Join Date
    Jul 2006
    Posts
    11
    hello,

    i've tested the script. but i doesn't work

    the filename is: "test.sh"
    in this directory is also the file "test.fmb".

    in "test.sh" is the following code:

    Code:
    module=test.fmb userid=user1 output_file=dani.fmx module_type=form batch=yes compile_all=special
    when i start via terminal the "test.sh" (sh test.sh), the dani.fmx file won't be created.

    btw. how can i start the *.fmx file under linux (via terminal) ?

    thank you guys for your good help as yet.

  9. #9
    Join Date
    May 2004
    Location
    BA [ARG]
    Posts
    137
    You must be getting some kind of error, don't you?

    I'm sure an environment variable is missing, check ORACLE_HOME, ORACLE_SID, etc.
    By the way, f90gen.sh is a shell script inside the <ORACLE_HOME>/bin directory, so you must either run the script in that directory or add it to the PATH env var.

    If you need more help, post the error and the your env configuration.

  10. #10
    Join Date
    Jul 2006
    Posts
    11
    i don't get an error. the terminal goes to the next line (this line ist empty)

    example:

    admin@xxxx:/opt/oraForms> sh test.sh <<I press ENTER>>
    admin@xxxx:/opt/oraForms>


    my configuration:
    oracle_home = /opt/oraForms

    the shell file and the *.fmb file are in this directory. i've testet it again, but the script doesn't work.

  11. #11
    Join Date
    Jul 2006
    Posts
    11
    anybody an idea?

  12. #12
    Join Date
    Jun 2004
    Location
    Liverpool, NY USA
    Posts
    2,431
    Neither the FMB or the FMX are executable code. Are you invoking the forms runtime to read the forms files?
    Bill
    You do not need a parachute to skydive. You only need a parachute to skydive twice.

  13. #13
    Join Date
    Jul 2006
    Posts
    11
    i don't know what you mean?!

  14. #14
    Join Date
    Jul 2006
    Posts
    11
    now i have this in my shell file:

    f90gen.sh module=test.fmb userid=user/pass@database output_file=dani.fmx module_type=form batch=yes compile_all=special

    now the error message is:

    f90gen.sh: command not found

  15. #15
    Join Date
    May 2004
    Location
    BA [ARG]
    Posts
    137
    Add this to the PATH env var.
    Code:
    export PATH=$PATH:/opt/oraForms/bin:.
    And try executing the same command again.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •