developing soi/soe with oracle,the driver of oracle is not loading

732
1
09-21-2017 07:22 PM
AnLyoid
New Contributor

   this is my first time giving a question in the Community.I hope someone can answer my question.

   today,I got a problem about the oracle.when i run it in a class alone,it goes well.However,when i add it into the project and export  as SOI/SOE,the soi/soe run in the server and gives me a exception "java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver".I have configured the library path to the same as ArcObject library.but it cannot be found as before

   the sample is official case and it goes well. i just add a function to debug the connection to the oracle.the function works well but one exception is catched.

 

   so i am confused and did someone got the same problem?

0 Kudos
1 Reply
RémyGourrat
New Contributor III

You must declare ojdbc6.jar in the Class-Path into the Manifest file, like that:

Manifest-Version: 1.0
Class-Path: ojdbc6.jar 

Source: SOE Could not support extra jar ? 

0 Kudos