Hi
I have bought your book Professional Java2 Enterprise Edition with BEA Weblogic Server and trying the examples given in the book. I am using Weblogic server 5.1
I have the following settings.
Bea Weblogic Server g:\weblogic
Sun jdkf:\j2sdk1.4.0_02
Oracle databaseg:\oracle\ora81
Applicationf:\wlsbook
I have modified the setEnv.cmd according to the above settings and executed
F:\wlsbook>setenv 2
Then
F:\wlsbook>
java utils.dbping oracle scott tiger zeppelin
I am getting the Login error as follows
=====================================================
+++ WebLogic Native Layer for OCI 8.x (BETA-2)
---------- LOGIN ERROR CODE: 24327
Error encountered:
java.sql.SQLException: ORA-24327: need explicit attach before authenticating a user - (scott/********@zeppelin)
at weblogic.db.oci.OciConnection.getLDAException(OciConnection.java:143)
at weblogic.jdbcbase.oci.Driver.connect(Driver.java:157)
at java.sql.DriverManager.getConnection(DriverManager.java:512)
at java.sql.DriverManager.getConnection(DriverManager.java:140)
at utils.dbping.main(dbping.java:156)
=====================================================
Please give me the direction
Thanks in advance
Regards
Johnson
