I am trying to connect to Oracle DB using the Weblogic tour given with
the installation. I am getting the following error continuously:
java.sql.SQLException: ORA-24327: need explicit attach before
authenticating a user - (scott/********@testdb.ct)
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:457)
at java.sql.DriverManager.getConnection(DriverManager.java:106)
at tutorial.tootbe.SQL2Table.service(SQL2Table.java:140)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:98)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:737)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImpl.java:681)
at
weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContextManager.java:210)
at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:354)
at
weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:255)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java,
Compiled Code)
I saw some messages regarding this on the newsgrp, but without any
satisfactory answers or at least the answers which are not working for
me. Please help.
Regards,
Atif
Let us know if you still have problems.
--Kumar
Brian Haueter
Simply getting the right name for the "server" entry from the tnsnames.ora
file rather than specifying it independently would have saved me a lot of
time!
Many thanks to David Maw for the hint.
Ivor Durham