I am tring to run util.
I got the error message.
please correct my mistake.
D:\weblogic>java utils.Schema jdbc:weblogic:oracle:@kkcpxnt:1521:ORCL weblogic.jdbc.oci.Driver
-u
webloic/classes/weblogic/jms/ddl/jms_oracle.ddl
utils.Schema will use these parameters:
url: jdbc:weblogic:oracle:@mmk01:1521:ORCL
driver: weblogic.jdbc.oci.Driver
dbserver: null
user: scott
password: tiger
SQL file: d;/webloic/classes/weblogic/jms/ddl/jms_oracle.ddl
java.sql.SQLException: System.loadLibrary threw java.lang.UnsatisfiedLinkError
with the message 'no weblogicoci36 in java.library.path'.
at weblogic.jdbcbase.oci.Driver.connect(Driver.java:116)
at java.sql.DriverManager.getConnection(DriverManager.java:457)
at java.sql.DriverManager.getConnection(DriverManager.java:137)
at utils.Schema.main(Schema.java, Compiled Code)
Could not make database connection
thanks,
mohan
"Mohan" <mo...@yahoo.com> wrote in message news:3b213715$1...@newsgroups.bea.com...
I included those directory , still i am getting same error message.
CLASSPATH=.;c:\jdk1.2.2lib\tools.jar;\weblogic\license;\weblogic\lib\weblogic510sp9.jar;\weblogic\classes;\weblogic\lib\weblogicaux.jar;\weblogic\myserver\clientclasses;\weblogic\myserver\serverclasses;d:/weblogic/bin/oci816_8;d:/weblogic/bin/oci816_8/weblogicoci36.dll
thanks,
karuu
It's the PATH not the CLASSPATH
Make sure d:/weblogic/bin/oci816_8 is in your PATH.
Hope this helps,
Duke
"mohan" <mo...@yahoo.com> wrote in message
news:3b214f5c$1...@newsgroups.bea.com...
Thanks,
Now I am getting
---------- LOGIN ERROR CODE: 24327
java.sql.SQLException: ORA-24327: need explicit attach before authenticating a
user - (scott/********@@mohan:1521:ORCL)
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:137)
at utils.Schema.main(Schema.java, Compiled Code)
Could not make database connection
Thanks,
mohan
There is something wrong with your weblogic.properties file.
You might want to specify the server=myserver in the props=.... instead of
in the URL...if problem persists post the part of your weblogic.properties
file that has the DB connection setup.
Hope this helps,
Duke
"mohan" <mo...@yahoo.com> wrote in message
news:3b21558b$1...@newsgroups.bea.com...