Announcement Announcement Module
Collapse
No announcement yet.
JNDI issue Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • JNDI issue

    Hi

    I'm new to this community not sure if the post is in the right category (my issue is with JNDI not JMS)....

    I'm using Jboss 4.2.3 + Jboss Messaging 1.4.5 + Spring 2.5. I deployed the Jboss Messaging and jboss-spring-jdk5.deployer. I replaced the jboss-spring.jar with jboss-spring-jdk5-2.5.jar

    (The above steps were part of the internal setup document).

    Jboss starts up without any issues but once I deploy my web application I get the following Stacktrace....

    18:04:47,453 INFO [XmlBeanDefinitionReader] Loading XML bean definitions from ServletContext resource [/WEB-INF/spring-aop.xml]
    18:04:47,548 ERROR [ContextLoader] Context initialization failed
    org.springframework.beans.factory.BeanDefinitionSt oreException: Unexpected exception parsing XML document from ServletContext resource [/WEB-INF/spring-aop.xml]; nested exception is java.lang.IllegalArgumentException: Class [org.springframework.jndi.config.JndiNamespaceHandl er] does not implement the NamespaceHandler interface
    Caused by:
    java.lang.IllegalArgumentException: Class [org.springframework.jndi.config.JndiNamespaceHandl er] does not implement the NamespaceHandler interface
    at org.springframework.beans.factory.xml.DefaultNames paceHandlerResolver.initHandlerMappings(DefaultNam espaceHandlerResolver.java:119)
    at org.springframework.beans.factory.xml.DefaultNames paceHandlerResolver.<init>(DefaultNamespaceHandler Resolver.java:96)
    at org.springframework.beans.factory.xml.DefaultNames paceHandlerResolver.<init>(DefaultNamespaceHandler Resolver.java:82)
    at org.springframework.beans.factory.xml.XmlBeanDefin itionReader.createDefaultNamespaceHandlerResolver( XmlBeanDefinitionReader.java:526)
    at org.springframework.beans.factory.xml.XmlBeanDefin itionReader.createReaderContext(XmlBeanDefinitionR eader.java:515)
    at org.springframework.beans.factory.xml.XmlBeanDefin itionReader.registerBeanDefinitions(XmlBeanDefinit ionReader.java:495)
    at org.springframework.beans.factory.xml.XmlBeanDefin itionReader.doLoadBeanDefinitions(XmlBeanDefinitio nReader.java:390)
    at org.springframework.beans.factory.xml.XmlBeanDefin itionReader.loadBeanDefinitions(XmlBeanDefinitionR eader.java:340)
    at org.springframework.beans.factory.xml.XmlBeanDefin itionReader.loadBeanDefinitions(XmlBeanDefinitionR eader.java:317)
    at org.springframework.beans.factory.support.Abstract BeanDefinitionReader.loadBeanDefinitions(AbstractB eanDefinitionReader.java:125)
    at org.springframework.beans.factory.support.Abstract BeanDefinitionReader.loadBeanDefinitions(AbstractB eanDefinitionReader.java:141)
    at org.springframework.web.context.support.XmlWebAppl icationContext.loadBeanDefinitions(XmlWebApplicati onContext.java:123)
    at org.springframework.web.context.support.XmlWebAppl icationContext.loadBeanDefinitions(XmlWebApplicati onContext.java:91)
    at org.springframework.context.support.AbstractRefres hableApplicationContext.refreshBeanFactory(Abstrac tRefreshableApplicationContext.java:94)
    at org.springframework.context.support.AbstractApplic ationContext.refresh(AbstractApplicationContext.ja va:292)
    at org.springframework.web.context.support.AbstractRe freshableWebApplicationContext.refresh(AbstractRef reshableWebApplicationContext.java:156)
    at org.springframework.web.context.ContextLoader.crea teWebApplicationContext(ContextLoader.java:246)
    at org.springframework.web.context.ContextLoader.init WebApplicationContext(ContextLoader.java:184)
    at org.springframework.web.context.ContextLoaderListe ner.contextInitialized(ContextLoaderListener.java: 49)
    at org.apache.catalina.core.StandardContext.listenerS tart(StandardContext.java:3856)



    Thanks for the Help

    Regards
    Sid
Working...
X