Since I still don't seem to be connecting to the pool, still working on
this.
What should the <attribute name="URL"> ... of the jboss.jcml file be. I
don't understand the url parts. Chptr 3 says it's the JDBC URL used to
connect to the data source. When making my own connections, it used to be:
"jdbc:postgresql:acais" where 'acais' is my database name. So I have ...
<attribute name="URL">jdbc:postgresql:acais://localhost:5432</attribute>
Then I saw this example as was suggested.
<attribute name="URL">jdbc:oracle:thin:@pluto:1521:servsoft</attribute>
1. // or @ (actually tried both ways, same results, slow)
2. what's the servsoft after the port #.
Also, from an example that was sent ... what is 'access' in the res-name
below, where'd that come from.
---------------------------------
<resource-managers>
<resource-manager
res-class="org.jboss.ejb.deployment.JDBCResource">
<res-name>jdbc/access</res-name>
<res-jndi-name>java:/MyDB</res-jndi-name>
</resource-manager>
</resource-managers>
<enterprise-beans>
<entity>
<ejb-name>MyBean</ejb-name>
<jndi-name>my/MyBeanHome</jndi-name>
<configuration-name></configuration-name>
<resource-ref>
<res-ref-name>jdbc/MyDB</res-ref-name>
<resource-name>jdbc/access</resource-name>
</resource-ref>
</entity>
</enterprise-beans>
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user