Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Where to provide the username and password for connecting to Oracle data base using Jboss

 
Basil Kurian
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In Jboss on which file we need to provide the username and password for database connection.
I have seen the connection details including username and password has been provided in the oracle-ds.xml file.This i was seen the in test environment of our jboss application.
But on the production environment i was not able to see the username and password in the same file . Only the data base server and name is provided. Then where can the user name and password can be given?
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Basil, welcome to JavaRanch!

In Jboss on which file we need to provide the username and password for database connection.
I have seen the connection details including username and password has been provided in the oracle-ds.xml file.This i was seen the in test environment of our jboss application.

Yes, -ds.xml is the correct file for these datasource properties.


But on the production environment i was not able to see the username and password in the same file . Only the data base server and name is provided. Then where can the user name and password can be given?

In production, they might be using a encrypted version of the password.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic