File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Object Relational Mapping and the fly likes User not authenticated Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "User not authenticated" Watch "User not authenticated" New topic

User not authenticated

Venkat dasari
Ranch Hand

Joined: Nov 12, 2003
Posts: 67
I am trying to integrate hibernate with weblogic. And when i try to run the sample file it says the user name "hibernate" not authenticated and it says connection canot obtain metadata.

I am trying with all users in oracle and inspite i am getting reperated with the same error..

from the past one week i am facing the problem will some one help me out?

Thnks in advance..
Venkat Dasari

Regards,<br />Venkat Dasari<br />SCJP 1.4, SCBCD.
Ta Ri Ki Sun
Ranch Hand

Joined: Mar 26, 2002
Posts: 442
If it keeps saying the user name "hibernate" not authenticated, then perhaps you haven't been setting the user name.
Check the properties/config file, and use the debugger to check that when you attempt to connect it is using the correct values, remember you can have properties as well as xml config, with the latter overriding properties, so make sure that isn't happening.
I agree. Here's the link:
subject: User not authenticated
It's not a secret anymore!