• 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:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

“TestConfiguration” error in WebLogic Server

 
Ranch Hand
Posts: 173
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Folks,

I posted this in another forum a couple of days back, as I am still finding for a solution, thought of posting it here as well. I was trying to configure a data source in the weblogic server. After entering/selecting the necessary values for: JNDI Name: jdbc/OracleDS Database Type: Oracle Database Driver: Oracle's Driver (Thin XA)for Instance connections; Versions:9.0.1 and later Database Name: XE HostName:localhost Port:1521 Database User Name: OE Password: OE Confirm Password: OE
I do a "Test Configuration", by clicking on the button with that name and I get the following error:




I have already confirmed that the oracle database is up and running when this error took place.
I am not sure why I am getting this, hope someone can advise. Thanks.
 
John Paterson
Ranch Hand
Posts: 173
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am actually going through the 'Java EE Development with Eclipse' book by packt publishing. I have encountered this problem in the 1st chapter("EJB 3.0 database persistence") under the section "configuring a data source". I did everything as per instruction but I am getting the error. Really hope someone can help.
 
Ranch Hand
Posts: 369
2
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The ORA error is self-explanatory :

ORA-01017: invalid username/password; logon denied

Cause: An invalid username or password was entered in an attempt to log on to Oracle. The username and password must be the same as was specified in a GRANT CONNECT statement. If the username and password are entered together, the format is: username/password.

Action: Enter a valid username and password combination in the correct format.


from http://www.dba-oracle.com/t_ora_01017.htm


Try connecting with the same values thru SQL*Plus or other SQL IDE, such us, Oracle SQL Developer, SQL SQuirreL, etc.
 
John Paterson
Ranch Hand
Posts: 173
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi German Gonzalez-Morris,

Thanks for the reply. Just curious, must the particular database first be created before I 'configure a datasource'? The reason why I am asking is I noticed that if I were to go through the same process in weblogic for a database that already exists, and can be connected via Oracle SQL Developer, than the 'TestConfiguration' works fine. There was no mention in the book of first creating the database, it immediately went about configuring the datasource.

 
German Gonzalez-Morris
Ranch Hand
Posts: 369
2
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

John Paterson wrote:Hi German Gonzalez-Morris,

Thanks for the reply. Just curious, must the particular database first be created before I 'configure a datasource'? The reason why I am asking is I noticed that if I were to go through the same process in weblogic for a database that already exists, and can be connected via Oracle SQL Developer, than the 'TestConfiguration' works fine. There was no mention in the book of first creating the database, it immediately went about configuring the datasource.



That's right.
The database must exist. WLS tries to connect to the real DB when testing.
 
Today you are you, that is turer than true. There is no one alive who is youer than you! - Seuss. Tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic