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
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to