NaveenBandaru
asked on
Webservice with JDBC
Below code works fine when I run this as a stand alone appli cation.
Class.forName("oracle.jdbc .driver.Or acleDriver ");
However, when I expose this as a operation in a webervice, it throws below error java.lang.ClassNotFoundExc eption: oracle.jdbc.driver.OracleD river
I am trying this with the apache, I have exposed this as a webservce.
Any suggestions for this. I tried even DriverManager.registerDriv er (new oracle.jdbc.driver.OracleD river())
it does not work even for this. Both of them are working fine when I run them as stand alone on Eclipse, when I espose it as websevice it does not work.
Any suggestions/
Class.forName("oracle.jdbc
However, when I expose this as a operation in a webervice, it throws below error java.lang.ClassNotFoundExc
I am trying this with the apache, I have exposed this as a webservce.
Any suggestions for this. I tried even DriverManager.registerDriv
it does not work even for this. Both of them are working fine when I run them as stand alone on Eclipse, when I espose it as websevice it does not work.
Any suggestions/
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Got resolved
\yourOraHome\jdbc\lib\clas