Home » RDBMS Server » Server Administration » Error with OCI8 Driver
Error with OCI8 Driver [message #209377] Thu, 14 December 2006 08:26 Go to next message
nick048
Messages: 36
Registered: February 2006
Member
Hi to All,

From Dos window I run the command:
loadjava -user sys/pwd@name_db -resolve -synonym activation.jar

This is the first step in order to install a Sendmail package based on javamail, but I have this error:

Quote:
=============================
Java.exe error

Impossible to find the enterpoint kpufhndl0 of procedure in the library of dynamic link OCI.dll (Sorry, this is a translation of italian language)
OK
=============================


After I click on OK and this is the next response:

Quote:
Error while connecting with OCI8 driver to namedb:oracle.aurora.server.tools.loadjava.ToolsException: The JDBC OCI8 Driver is not installed properly, use -thin to try the JDBC Thin Driver: C:\oracle\product\10.2.0\oradb10g\BIN\ocijdbc10.dll: Impossible to find the specified procedure.
exiting: could not open connection


After, I have used the command:
loadjava -thin C:\oracle\product\10.2.0\oradb10g\BIN\ocijdbc10.dll

This is the result:

Quote:
SQL error while connecting with driver to default database: Listener refused the connection with the following error:
ORA-12505, TNS: listener does not currently know of SID given in connect descriptor
The connection descriptor used by the client was:
localhost:1521: orcl
exiting: could not open connection


But the connection descriptor that I use is eg COSFI, not orcl.

Other applications works fine with my descriptor.

Someone can help me in order to resolve this problem ?

Thank You and Best Regards.
Re: Error with OCI8 Driver [message #209381 is a reply to message #209377] Thu, 14 December 2006 08:30 Go to previous message
tahpush
Messages: 961
Registered: August 2006
Location: Stockholm/Sweden
Senior Member

Hi I think YOU had a similar problem before........

http://www.orafaq.com/forum/m/209137/91729/?srch=OCI8#msg_209137

Why dont you continue posting in the same thread ??

[Updated on: Thu, 14 December 2006 08:33]

Report message to a moderator

Previous Topic: Fragmentations
Next Topic: Connecting through enterprise manager
Goto Forum:
  


Current Time: Fri Sep 20 04:24:16 CDT 2024