Leonard Kierstead wrote:
>
> Hi,
>
> I am getting a "jdbc not bound" exception my CMB entity
> bean is trying to access the database. The JBoss log (below)
> indicates the driver is loading, the JDBC pool is created,
> and the beans are deployed. However, it gives a message that
> "no resource manager found for jdbc/Amstel1DB". I suspect
> that this is at the root of the problem. What does this
> mean.
You don't need a resource-ref declaration in your ejb-jar.xml for CMP.
The resource-ref stuff is so you can refer to a DataSource (or other
resource) programmatically in your bean code.
The errors you're seeing are because you haven't mapped the
"jdbc/Amstel1DB" resource to anything. If you need to use this mapping,
i.e. you need to refer to "java:comp/env/jdbc/Amstel1DB" in your bean
code, then you need to use a jboss.xml file to set up the mapping.
Toby.
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user