P
polilop
I'm usin WAS 6.0 in RAD. I have defined a JDBC source and configured
JAAS (J2C) Authentication data and linked it to the JDBC. when i test the
connection in WAS it works fine but when i run my app it says
00000031 SystemErr R java.sql.SQLException: The application server rejected
the connection. (Password is not set.)DSRA0010E: SQL State = 08004, Error
Code = -99.999DSRA0010E: SQL State = 08004, Error Code = -99.999
I allso tried the following, if i do not link the JDBC with JAAS (J2C), and
test the connection in WAS it says the same as the above. So if the
connection is OK in the WAS admin console, why is it not through my app.
This is what i call in my app .
Context initialContext = new InitialContext();
DataSource ds = (DataSource)initialContext.lookup("jdbc/WEBAP");
Pls have in mind, the connection works in was but not through my app (alias
name is fine)
JAAS (J2C) Authentication data and linked it to the JDBC. when i test the
connection in WAS it works fine but when i run my app it says
00000031 SystemErr R java.sql.SQLException: The application server rejected
the connection. (Password is not set.)DSRA0010E: SQL State = 08004, Error
Code = -99.999DSRA0010E: SQL State = 08004, Error Code = -99.999
I allso tried the following, if i do not link the JDBC with JAAS (J2C), and
test the connection in WAS it says the same as the above. So if the
connection is OK in the WAS admin console, why is it not through my app.
This is what i call in my app .
Context initialContext = new InitialContext();
DataSource ds = (DataSource)initialContext.lookup("jdbc/WEBAP");
Pls have in mind, the connection works in was but not through my app (alias
name is fine)