Results 1 to 2 of 2

Thread: Spring deployer and JBOSS deployment isolation

  1. #1
    Join Date
    Jan 2007
    Posts
    1

    Default Spring deployer and JBOSS deployment isolation

    Hello.
    I have a problem with spring delpoyer and isolated ear (classloading http://wiki.jboss.org/wiki/Wiki.jsp?...gConfiguration) unit in JBOSS.
    I get this exception while getting datasources from jndi:

    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.4 and Spring 1.2.8

  2. #2

    Default

    I think the problem is in content of your ear. remove artifact containing javax.sql.DataSource interface from it

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •