Announcement Announcement Module
Collapse
No announcement yet.
Spring deployer and JBOSS deployment isolation Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    I think the problem is in content of your ear. remove artifact containing javax.sql.DataSource interface from it

    Comment

    Working...
    X