It's not a secret anymore!
The moose likes JBoss and the fly likes Where to provide the username and password for connecting to Oracle data base using Jboss Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Mongo DB Applied Patterns this week in the MongoDB forum
or a resume review from Five Year Itch in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » JBoss
Reply Bookmark "Where to provide the username and password for connecting to Oracle data base using Jboss" Watch "Where to provide the username and password for connecting to Oracle data base using Jboss" New topic
Author

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

Basil Kurian
Greenhorn

Joined: Jul 13, 2011
Posts: 2
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

Joined: Jul 20, 2005
Posts: 8141
    
  52

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.


[My Blog] [JavaRanch Journal]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Where to provide the username and password for connecting to Oracle data base using Jboss
 
Similar Threads
Testing to connect to DB and MissingResourceException
EasyMocking for Database.
Encrypting login id and Password in .xml file
where are the username and passwords stored ?
JBOSS 4.3.0 EAP Clustering with Apache HTTP Server 2.2.11