-
1. Re: help with jboss.xml resource-manager
adrian.brock Jun 3, 2003 12:21 PM (in response to mjremijan)Define "does not work"
Have you used jndiview on the management
console to check jndi.
I don't recognise the class name.
Do you have the resource-ref in ejb-jar.xml?
Regards,
Adrian -
2. Re: help with jboss.xml resource-manager
mjremijan Jun 3, 2003 1:21 PM (in response to mjremijan)I tried with and without the classname, and it didn't have any effect. "does not work" is defined as the jndi lookup not getting the correct datasource. I believe it is getting the default datasource becasue the sql statement does run but the codes throws an sql exception saying the table does not exist.
I know it's not a database problem, or a database user problem, or a permission problem because when I take the <resource-manager> tag out of the jboss.xml file and put it into the conf/standardjboss.xml file, then I get the expected datasource and the query succeeds. -
3. Re: help with jboss.xml resource-manager
adrian.brock Jun 4, 2003 9:02 AM (in response to mjremijan)What does jndi view say is binding
Use http://localhost:8080/jmx-console
and look for the jndiview mbean.
Regards,
Adrian