[jboss-user] [Installation, Configuration & DEPLOYMENT] - Problem with Datasource deploying within cluster

rodiere do-not-reply at jboss.com
Tue Aug 28 06:47:35 EDT 2007


Hi,
we build an application (EAR) and we deployed in standalone mode without any problem (Jboss 4).

If we try to deploy this application in a cluster mode, we've got the following exception :

DEBUG [org.springframework.jndi.JndiTemplate] Looking up JNDI object with name [java:OracleDS]
INFO [org.springframework.beans.factory.support.DefaultListableBeanFactory] Destroying singletons in {org.springframework.beans.factory.support.DefaultListableBeanFactory defining beans [xxxxxx]
ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'alertServices' defined in ServletContext resource [/WEB-INF/ejbContext.xml]: 
javax.naming.NameNotFoundException: OracleDS 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:296)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at org.springframework.jndi.JndiTemplate$1.doInContext(JndiTemplate.java:124)
at org.springframework.jndi.JndiTemplate.execute(JndiTemplate.java:86)
at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:122)
at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:147)
at org.springframework.jndi.JndiLocatorSupport.lookup(JndiLocatorSupport.java:91)
at org.springframework.jndi.JndiObjectLocator.lookup(JndiObjectLocator.java:101)
at org.springframework.jndi.JndiObjectFactoryBean.lookupWithFallback(JndiObjectFactoryBean.java:164)
at org.springframework.jndi.JndiObjectFactoryBean.afterPropertiesSet(JndiObjectFactoryBean.java:151)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1118)


Does anynone can help us ?

Thanks,

Stephane

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

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



More information about the jboss-user mailing list