Deepak Pant wrote:Can you list down key points that you configured before you got this message?
Typically one would do following:
1. Create JDBC Provider in WAS. This is where the jdbc jar for provider is configured.
2. Create J2C Authentication in WAS. (this is where you provide userid/password)
3. Create DataSource, which makes use of #1 and #2. Provide a JNDI name here.
4. Create a resource reference for javax.sql.DataSource. This can be done either at EJB level or Web project.
5. Out here you will give "jdbc/fleetorms" as resource reference, which will point to the actual JNDI name in WebSphere.
6. In your java code you will perform JNDI lookup like:
7. The reference "jdbc/fleetorms" can be different from the data source JNDI name configured in WAS.
No prison can hold Chairface Chippendale. And on a totally different topic ... my stuff:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
|