Error during Data Source creation: weblogic.common.ResourceException: DataSource (jdbc.GangsterDB) can't be created with non-existent Pool (connection or multi) (oraclePool)
I have already created oraclePool with the following properties:
Name : oraclePool
URL :
jdbc:weblogic

racle
Driver: weblogic.jdbc.oci.Driver
Properties:
user=system
server=myserver
In weblogic-ejb-jar.xml file:
<reference-descriptor>
<resource-description>
<res-ref-name>jdbc/GangsterDataSource</res-ref-name>
<jndi-name>jdbc.GangsterDB</jndi-name>
</resource-description>
</reference-descriptor>
In ejb-jar.xml file:
<resource-ref>
<res-ref-name>jdbc/GangsterDataSource</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
Do I need to make changes in my Entity Bean files? I have made a datasource called GangsterDB. I do not know the reason for this error. Please do let me know.
Error during Data Source creation: weblogic.common.ResourceException: DataSource (jdbc.GangsterDB) can't be created with non-existent Pool (connection or multi) (oraclePool)
Thank you
Ronak Parekh