[jboss-user] [JNDI/Naming/Network] - Re: mdb can use datasource but servlet cannot

alecbrecher do-not-reply at jboss.com
Wed Nov 19 14:10:56 EST 2008


So I looked through the NamingContextFactory Wiki - thank you for pointing that out.  I used the service locator to print out the bindings from both the servlet and the bean. Both appear identical:

from servlet:
InitialContext().listBindings("java:/") gives:
2008-11-19 13:58:41,024 INFO  [STDOUT] actn_shw: org.jboss.resource.adapter.jdbc.WrapperDataSource:Reference Class Name: org.jboss.resource.adapter.jdbc.WrapperDataSource
Type: nns
Content: java:actn_shw

and from bean:
InitialContext().listBindings("java:/") gives:
2008-11-19 14:05:45,015 INFO  [STDOUT] actn_shw: org.jboss.resource.adapter.jdbc.WrapperDataSource:Reference Class Name: org.jboss.resource.adapter.jdbc.WrapperDataSource
Type: nns
Content: java:actn_shw

I am really stuck.  Assistance would be very welcome.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4190610#4190610

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4190610



More information about the jboss-user mailing list