• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Needs Help

 
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 560
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Check your database configuration especially the server name.
 
Johnson K Jose
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Sai Prasad
Thanks a lot
Regards
Johnson
 
Ranch Hand
Posts: 2713
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You need to make sure the proper drivers and dlls are on WebLogic's path to use the JDriver. See this link: Installing WebLogic JDriver for Oracle.
 
reply
    Bookmark Topic Watch Topic
  • New Topic