-
1. Re: One another time "jdbc not bound" problem
moshchenikov Mar 20, 2002 4:45 AM (in response to moshchenikov)Sorry for my foolish question
I've just missed the rules of context visibility -
2. Re: One another time "jdbc not bound" problem
kamal110 Mar 20, 2002 11:24 AM (in response to moshchenikov)Hi Moshchenikov,
I am new to JBoss and facing similar problem
jboss 3.0 beta
trying to lookup DefaultDS with
initialctx.lookup("java:comp/env/jdbc/DefaultDS")
javax.naming.NameNotFoundException: comp not bound
initialctx.lookup("java:/DefaultDS")
javax.naming.NameNotFoundException: DefaultDS not bound
initialctx.lookup("DefaultDS")
javax.naming.NameNotFoundException: DefaultDS not bound
initialctx.lookup("jdbc/DefaultDS")
javax.naming.NameNotFoundException: jdbc not bound
I am totally confused over this context visibility.
Although Server log indicates the DefaultDS is bound
[org.jboss.resource.security.ManyToOnePrincipalMapping.DefaultDS] PrincipalMapping properties set to: {UserName=sa}
2002-03-20 16:02:06,156 INFO [org.jboss.resource.adapter.jdbc.local.JDBCManagedConnectionFactory.DefaultDS] Bound connection factory for resource adapter 'jboss.jca:service=RARDeployment,name=Minerva JDBC LocalTransaction ResourceAdapter' to JNDI name 'java:/DefaultDS'
2002-03-20 16:02:06,265 INFO [org.jboss.resource.ConnectionFactoryLoader.DefaultDS] Started
Your comments will be of great help for me,
Thanks
Kamal -
3. Re: One another time "jdbc not bound" problem
shailesh_dangi Mar 20, 2002 11:43 AM (in response to moshchenikov)The database resources have to accessed in the same VM as JBoss is running.