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