If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Oracle > Oracle Form Don't run under Linux

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old
Registered User
 
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
Reply With Quote
  #2 (permalink)  
Old
Registered User
 
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.
Reply With Quote
  #3 (permalink)  
Old
Registered User
 
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
Reply With Quote
  #4 (permalink)  
Old
Registered User
 
Join Date: Jul 2006
Posts: 11
hello can anybody help me?
it is important!
Reply With Quote
  #5 (permalink)  
Old
Lost Boy
 
Join Date: Jan 2004
Location: Croatia, Europe
Posts: 4,003
- 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 ...
Reply With Quote
  #6 (permalink)  
Old
Registered User
 
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.
Reply With Quote
  #7 (permalink)  
Old
Registered User
 
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.
Reply With Quote
  #8 (permalink)  
Old
Registered User
 
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.
Reply With Quote
  #9 (permalink)  
Old
Registered User
 
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.
Reply With Quote
  #10 (permalink)  
Old
Registered User
 
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.
Reply With Quote
  #11 (permalink)  
Old
Registered User
 
Join Date: Jul 2006
Posts: 11
anybody an idea?
Reply With Quote
  #12 (permalink)  
Old
Lead Application Develope
 
Join Date: Jun 2004
Location: Liverpool, NY USA
Posts: 2,417
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.
Reply With Quote
  #13 (permalink)  
Old
Registered User
 
Join Date: Jul 2006
Posts: 11
i don't know what you mean?!
Reply With Quote
  #14 (permalink)  
Old
Registered User
 
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
Reply With Quote
  #15 (permalink)  
Old
Registered User
 
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.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On