5 Replies Latest reply on Apr 14, 2007 11:13 AM by jimdwyer

    JBoss ear isolation and spring deployer

    lorgh

      Hello.
      I have a problem with spring delpoyer and isolated ear (classloading http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration ) in JBOSS.
      I get this exception while getting datasources from jndi (defined in xxx-ds.xml in jboss) using JndiObjectFactoryBean:

      org.springframework.beans.TypeMismatchException: Failed to convert property value of type [org.springframework.jndi.JndiObjectFactoryBean] to required type [javax.sql.DataSource] for property 'dataSource'; nested exception is java.lang.IllegalArgumentException: No matching editors or conversion strategy found])

      Everything works if ear is not isolated. Any ideas how to resolve this problem?

      I'm using Jboss 4.0.x and Spring 1.2.8