aspose file tools*
The moose likes Websphere and the fly likes Data Source Connection Error in Websphere 6.1 on iSeries Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Data Source Connection Error in Websphere 6.1 on iSeries" Watch "Data Source Connection Error in Websphere 6.1 on iSeries" New topic
Author

Data Source Connection Error in Websphere 6.1 on iSeries

Praveen Eds
Greenhorn

Joined: Nov 23, 2009
Posts: 1
Hello,

I'm getting a Data Source Connection Error in Websphere 6.1 on iSeries
It says the Application server rejected the connection. I have setup the Dataseource correctly in WAS Console and tested the connection.
It works fine when i test the connection thru console, however when I run my application, am getting this error.

The same .ear when I deploy in WAS5.1, it works well, but when i deploy in WAS 6.1 on iSeries i have encountered this problem.


Error Message:


[11/22/09 19:43:56:517 MST] 0000002c StandardQuery I net.sf.hibernate.cache.StandardQueryCache <init> starting query cache at region: net.sf.hibernate.cache.StandardQueryCache
[11/22/09 19:43:56:520 MST] 0000002c Plugin W net.sf.ehcache.hibernate.Plugin <init> Could not find configuration for net.sf.hibernate.cache.StandardQueryCache. Configuring using the defaultCache settings.
[11/22/09 19:43:56:673 MST] 0000002c JDBCException W net.sf.hibernate.util.JDBCExceptionReporter logExceptions SQL Error: -99999, SQLState: 08004
[11/22/09 19:43:56:678 MST] 0000002c JDBCException E net.sf.hibernate.util.JDBCExceptionReporter logExceptions The application server rejected the connection. (Password is *NONE.)DSRA0010E: SQL State = 08004, Error Code = -99,999
[11/22/09 19:43:56:682 MST] 0000002c JDBCException E net.sf.hibernate.JDBCException <init> Cannot open connection
java.sql.SQLException: The application server rejected the connection. (Password is *NONE.)DSRA0010E: SQL State = 08004, Error Code = -99,999
at com.ibm.as400.access.JDError.throwSQLException(JDError.java:523)
at com.ibm.as400.access.AS400JDBCConnection.setProperties(AS400JDBCConnection.java:3136)

Anyone's prompt response is much appreciated.


Thanks,
Praveen.R
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18986
    
    8

Check the user profile on the iSeries to see if its password actually is (as the error message says) *NONE. Then change the password to a password, and configure Websphere to match.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Data Source Connection Error in Websphere 6.1 on iSeries