conn=jdbc:oracle:oci:@dbs the type of connect to database is oci the dbs is tnsnames of the 10g rac database,like this:
(DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = g1-vip)(PORT = 1521)) (ADDRESS = (PROTOCOL = TCP)(HOST = g2-vip)(PORT = 1521)) (LOAD_BALANCE = yes) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = dbs)))
then the error:
11:06:55,913 [Thread-0] ERROR OSCollector$CollectData : OSCollector, unexpected EOF while reading from external helper process Exception in thread "main" java.lang.UnsatisfiedLinkError: no ocijdbc10 in java.library.path
i try another way use "thin":
jdbc string :conn=jdbc:oracle:thin:@jdbc:oracle:thin:@(DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = g1-vip)(PORT = 1521)) (ADDRESS = (PROTOCOL = TCP)(HOST = g2-vip)(PORT = 1521)) (LOAD_BALANCE = yes) (failover=yes) (CONNECT_DATA = (SERVICE_NAME = dbs)))
11:08:45,364 [Thread-0] ERROR OSCollector$CollectData : OSCollector, unexpected EOF while reading from external helper process 11:08:45,421 [main] ERROR jTPCC : Term-00, Io 异常: NL Exception was generated
and i have used the tnsping successed tnsname string:
1:14:33,246 [main] ERROR jTPCC : Term-00, This session ended with errors!sage: 19MB / 240MB [bmsql@mdapp run]$ verage tpmTOTAL: 0.00 Current tpmTOTAL: 0 Memory Usage: 21MB / 240MB
and how to fix this error:
11:08:45,364 [Thread-0] ERROR OSCollector$CollectData : OSCollector, unexpected EOF while reading from external helper process
Log in to post a comment.
conn=jdbc:oracle:oci:@dbs
the type of connect to database is oci
the dbs is tnsnames of the 10g rac database,like this:
(DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = g1-vip)(PORT = 1521)) (ADDRESS = (PROTOCOL = TCP)(HOST = g2-vip)(PORT = 1521)) (LOAD_BALANCE = yes) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = dbs)))
then the error:
11:06:55,913 [Thread-0] ERROR OSCollector$CollectData : OSCollector, unexpected EOF while reading from external helper process
Exception in thread "main" java.lang.UnsatisfiedLinkError: no ocijdbc10 in java.library.path
i try another way use "thin":
jdbc string :conn=jdbc:oracle:thin:@jdbc:oracle:thin:@(DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = g1-vip)(PORT = 1521)) (ADDRESS = (PROTOCOL = TCP)(HOST = g2-vip)(PORT = 1521)) (LOAD_BALANCE = yes) (failover=yes) (CONNECT_DATA = (SERVICE_NAME = dbs)))
then the error:
11:08:45,364 [Thread-0] ERROR OSCollector$CollectData : OSCollector, unexpected EOF while reading from external helper process
11:08:45,421 [main] ERROR jTPCC : Term-00, Io 异常: NL Exception was generated
and i have used the tnsping successed tnsname string:
then the error:
1:14:33,246 [main] ERROR jTPCC : Term-00, This session ended with errors!sage: 19MB / 240MB [bmsql@mdapp run]$ verage tpmTOTAL: 0.00 Current tpmTOTAL: 0 Memory Usage: 21MB / 240MB
and how to fix this error:
11:08:45,364 [Thread-0] ERROR OSCollector$CollectData : OSCollector, unexpected EOF while reading from external helper process
Last edit: huimin wang 2016-11-02