- JNDI and DefaultDS 2007-08-13 - By axel.becker
Back Hi,
i have downloaded the latest stable version of jboss application server (4.2.1 .GA Stable 90 MB 2007-07-16)
After that i have build a small webapplication which contains a ServletContextListener.
Now i want to lookup the DefaultDS in the "contextInitialized"-Method of my ServletContextListener, but i allways get a "NameNotBoundException". I tried a lot of JNDI-Names ("java:DefaultDS" "java:/DefaultDS" "java:comp/env/jdbc /DefaultDS")
I dont make any changes on the jboss configuration! During the startup i get this information: 23:06:00,758 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS'
I have no ideas, how to solve this problem :-(
Bye, Axel
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic &p=4073738#4073738
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode =reply&p=4073738 __ ____ ____ ____ ____ ____ ____ ____ ____ ____ jboss-user mailing list jboss-user@(protected) https://lists.jboss.org/mailman/listinfo/jboss-user
|
|