In jboss.jcml in the conf directory, like this example where jdbc/ECS
corresponds to res-ref-name entry:
<mbean code="org.jboss.jdbc.XADataSourceLoader"
name="DefaultDomain:service=XADataSource,name=jdbc/ECS">
<attribute name="PoolName">jdbc/ECS</attribute>
<attribute
name="DataSourceClass">org.jboss.minerva.xa.XADataSourceImpl</attribute>
<attribute name="Properties"></attribute>
<attribute name="URL">jdbc:oracle:thin:@lks145:1521:orcl</attribute>
<attribute name="JDBCUser">ecs</attribute>
<attribute name="Password">ecs</attribute>
<attribute name="LoggingEnabled">false</attribute>
</mbean>
/Lennart
Jean-Philippe SCHALLER skrev:
>
> Hi everyone,
> I am studying the jBoss Test suite BMP example, and I have some trouble with
> the resource-ref field in the ejb-jar.xml file.
> In this file, you can find the following tree :
>
> <resource-ref>
> <res-ref-name>datasource</res-ref-name>
> <res-type>javax.sql.DataSource</res-type>
> <res-auth>Container</res-auth>
> </resource-ref>
>
> My question is about the <res-ref-name> node.
> Where do I have to set this name so that at deployment time, I do not have a
> "No resource manager found for datasource"-like message ?
>
> Thanks in advance,
>
> Jean-Philippe SCHALLER
> [EMAIL PROTECTED] - http://www.modelmadz.net
> He whose lust lasts, lasts longest. (Harold Pinter?)
>
> --
> --------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> List Help?: [EMAIL PROTECTED]
--
mailto:[EMAIL PROTECTED]
http://www.benefit.se/english
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]