Hi.
I am new with JBOSS. Just wanted to know why does JBOSS append JNDI name with java.
(java:jdbc/V3CRMDS)? My application is depened on JNDI name. Is that how JBOSS work, or
can i change that?
[ConnectionFactoryBindingService] Bound ConnectionManager
'jboss.jca:service=DataSourceBinding,name=jdbc/V3CRMDS' to JNDI name
'java:jdbc/V3CRMDS'
I am getting the following error after deployment after deploying the war file:
Thank you for your help.
SA
2008-10-29 12:40:49,594 INFO [STDOUT] 12:40:49,584 ERROR ContextLoader:203 - Context
initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name
'pmf' defined in class path resource [v3coreconfig/hibernate-spring-con
text.xml]: Cannot resolve reference to bean 'V3DataSource' while setting bean
property 'dataSource'; nested exception is org.springframework.beans.factory.Bea
nCreationException: Error creating bean with name 'V3DataSource' defined in class
path resource [config/datasource-spring-context.xml]: Invocation of init met
hod failed; nested exception is javax.naming.NameNotFoundException: jdbc not bound
Caused by:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name
'V3DataSource' defined in class path resource [config/datasource-spring
-context.xml]: Invocation of init method failed; nested exception is
javax.naming.NameNotFoundException: jdbc not bound
Caused by:
javax.naming.NameNotFoundException: jdbc not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
at org.jnp.server.NamingServer.lookup(NamingServer.java:267)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:667)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4185466#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...