java -classpath $CLASSPATH utils.dbping ORACLE OBIUSER OBIUSER
obi6.daphne.wingspantech.com
java -classpath $CLASSPATH utils.dbping ORACLE OBIUSER OBIUSER obi6
java -classpath $CLASSPATH utils.dbping ORACLE OBIUSER foobar
obi6.daphne.wingspantech.com
java -classpath $CLASSPATH utils.dbping ORACLE OBIADMIN OBIADMIN
obi6.daphne.wingspantech.com
java -classpath $CLASSPATH utils.dbping ORACLE OBIADMIN OBIADMIN obi6
All get the same error (with different arguments depending on the user and
server):
Starting Loading jDriver/Oracle .....
---------- LOGIN ERROR CODE: 24327
Error encountered:
java.sql.SQLException: Error while trying to retrieve text for error
ORA-24327 - (OBIADMIN/********@obi6)
at
weblogic.db.oci.OciConnection.getLDAException(OciConnection.java:161)
at weblogic.jdbcbase.oci.Driver.connect(Driver.java:92)
at java.sql.DriverManager.getConnection(DriverManager.java:517)
at java.sql.DriverManager.getConnection(DriverManager.java:146)
at utils.dbping.main(dbping.java:167)
$CLASSPATH consists of
"/opt/oracle/product/8.1.7/jdbc/lib/classes12.zip:/bea/jdk130/lib/tools.jar:
/bea/wlserver6.0/lib/weblogic_sp.jar:/bea/wlserver6.0/lib/weblogic.jar:."
and $LD_LIBRARY_PATH consists of
"/bea/wlserver6.0/lib/solaris/oci816_8:/opt/oracle/product/8.1.7/lib".
$PATH is "/usr/sbin:/usr/bin", but that shouldn't make any difference.
Since I tried doing this with valid users, invalid users, valid users with
bad passwords, administrators, real databases, and fake databases, I suspect
that java hasn't even tried to check the credentials and server name before
it hoses. Possibly something's wrong with my environment?
Please help. We're in dire straits here. Thanks.
--Jim
Thanks,
Kumar.
I had $ORACLE_HOME defined in the startWebLogic.sh script, but
I never exported it. Once I did that, it started working fine.
--Jim