Tuesday, 9 October 2012

Start Forms Builder 11g release 2 in Oracle Enterprise Linux Server 5

I’ve installed Oracle Fusion Middleware 11g Release 2
 Now, I try to run the migrated forms, but I get this error:

I need to recompile my forms with Forms Builder. When I start it, I get this error:
1$ cd $ORACLE_HOME/bin
2$ ./frmbld
3./frmbld: error while loading shared libraries: libhpi.so: cannot open shared object file: No such file or directory

Maybe you’ll find this one:
1$ ./frmbld
2FRM-91129: fatal error: message file fmc<language>.msb not found
To solve both errors, I’ve configured some environment variables:

1$ export ORACLE_HOME=/app/oracle/middleware_11gr2/Oracle_FRHome1
2$ export PATH=/app/oracle/middleware_11gr2/Oracle_FRHome1/bin:$PATH
3$ export LD_LIBRARY_PATH=/app/oracle/middleware_11gr2/Oracle_FRHome1/lib:/app/oracle/middleware_11gr2/Oracle_FRHome1/jdk/jre/lib/amd64/native_threads

Now when I start again frmbld I get an X Window with this error message:
1FRM-91129: fatal error: no value specified for required environment variable FORMS_BUILDER_CLASSPATH

I configure this environment variable to the location of the frmbld.jar file:
1export FORMS_BUILDER_CLASSPATH=/app/oracle/middleware_11gr2/Oracle_FRHome1/jlib/

And here it is, the Forms Builder running in X Windows:

1 comment:

  1. great post sairam.really appreciate your post..

    Could you please post R12 installation on OEL5.

    Thanx in advance....