>Have you added a resource reference "jdbc/OraclePool" in your ejb-jar.xml?

I think i did:

<entity>
<ejb-name>EMailContact</ejb-name>
<home>com.ls.dialog.ejb.email.EMailContactHome</home>
<remote>com.ls.dialog.ejb.email.EMailContact</remote>
<ejb-class>com.ls.dialog.ejb.email.EMailContactBean</ejb-class>
<persistence-type>Bean</persistence-type>
<prim-key-class>com.ls.dialog.ejb.contact.ContactPK</prim-key-class>
<reentrant>False</reentrant>
<resource-ref>
<res-ref-name>jdbc/oraclePool</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
</entity>

>Have you mapped this to "OraclePool" in jboss.xml?

problem is in jboss.xml :(( because before i was using weblogic specific dascription:

<reference-descriptor>
<resource-description>
<res-ref-name>
jdbc/oraclePool
</res-ref-name>
<jndi-name>
weblogic.jdbc.jts.oraclePool
</jndi-name>
</resource-description>
</reference-descriptor>

How it should be writen in the case of JBoss?

BTW - where i can fint desctiption of the jboss.xml?

regards,

Darius D

Reply via email to