Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

forms jdapi on linux

Walid KHARRATJun 13 2019 — edited Jun 19 2019

Hi All,

i write a little program with jdapi that compile forms, it's very efficient compared to loop on fmb files with frmcmp command. My customer is in automated process to commit in cvs and checkout deploy in server so if the lot off forms committed contains severals forms the deployment process can be slow. ok many words for simple question. The question is can a program with jdapi on linux server. I launch my program like this:

java -classpath /home/weblogic/Middleware/Oracle_FRHome1/jlib/frmjdapi.jar:/home/weblogic/Middleware/Oracle_FRHome1/forms/cnam/fournisseur/compile/RunProduct.jar com.oradist.CompileForms /home/weblogic/Middleware/Oracle_FRHome1/forms/cnam/fournisseur/compile/DEM_11

i get this error :

Exception in thread "main" oracle.forms.jdapi.JdapiStatusException: _jni_initialize: Failed to create new forms context

        at oracle.forms.jdapi.BaseAPI._jni_initialize(Native Method)

        at oracle.forms.jdapi.Jdapi.initialize(Unknown Source)

        at oracle.forms.jdapi.Jdapi.getContextPointer(Unknown Source)

        at oracle.forms.jdapi.Jdapi.connectToDatabase(Unknown Source)

        at com.oradist.CompileForms.main(CompileForms.java:58)

Regards

Walid

This post has been answered by Michael Ferrante-Oracle on Jun 18 2019
Jump to Answer
Comments
Post Details
Added on Jun 13 2019
14 comments
1,463 views