Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

UnsatisfiedLinkError

1 view
Skip to first unread message

Mohan

unread,
Jun 8, 2001, 5:35:33 PM6/8/01
to

Hi

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

Steve Felts

unread,
Jun 8, 2001, 5:38:00 PM6/8/01
to
You are missing the directory that weblogicoci36.dll lives in from
your PATH.

"Mohan" <mo...@yahoo.com> wrote in message news:3b213715$1...@newsgroups.bea.com...

mohan

unread,
Jun 8, 2001, 7:19:08 PM6/8/01
to

Hi steve,

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

Duke Nguyen

unread,
Jun 8, 2001, 6:29:02 PM6/8/01
to
Hi Mohan,

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...

mohan

unread,
Jun 8, 2001, 7:45:31 PM6/8/01
to

Hi

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

Duke Nguyen

unread,
Jun 8, 2001, 6:43:01 PM6/8/01
to
Hi 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...

0 new messages