-
1. Re: Resource Manager not found for XXXX
adrian.brock Jul 23, 2003 3:22 PM (in response to davide)Your jboss.xml is incorrect.
Regards,
Adrian -
2. Re: Resource Manager not found for XXXX
davide Jul 24, 2003 9:06 AM (in response to davide)i think that if it's incorrect it should not work..
but it works!
here's my ejb-jar.xml
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems,
Inc.//DTD Enterprise JavaBeans 2.0//EN"
"http://java.sun.com/dtd/ejb-jar_2_0.dtd">
<ejb-jar>
<enterprise-beans>
Document Manager
<display-name>DocumentManager</display-name>
<ejb-name>DocumentManager</ejb-name>
com.telematicus.apps.proteos.dm.document.DocumentManagerHome
com.telematicus.apps.proteos.dm.document.DocumentManager
<ejb-class>com.telematicus.apps.proteos.dm.document.DocumentManagerBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Bean</transaction-type>
<ejb-name>Document</ejb-name>
com.telematicus.apps.proteos.dm.document.DocumentHome
com.telematicus.apps.proteos.dm.document.Document
<ejb-class>com.telematicus.apps.proteos.dm.document.DocumentBean</ejb-class>
<persistence-type>Bean</persistence-type>
<prim-key-class>java.lang.String</prim-key-class>
False
<resource-ref>
Oracle connection
<res-ref-name>java:/OracleDS</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
</enterprise-beans>
<assembly-descriptor>
<container-transaction>
<ejb-name>DocumentManager</ejb-name>
<method-name>*</method-name>
<trans-attribute>Required</trans-attribute>
</container-transaction>
</assembly-descriptor>
</ejb-jar> -
3. Re: Resource Manager not found for XXXX
adrian.brock Jul 25, 2003 10:28 AM (in response to davide)The <res-ref-name> is a logical name,
e.g. jdbc/Database is bound at java:comp/env/jdbc/Database
you need to link to a the real jndi-name using jboss.xml
Regards,
Adrian