Jan 19th, 2007, 06:07 AM
Spring deployer and JBOSS deployment isolation
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
Mar 3rd, 2007, 04:25 PM
I think the problem is in content of your ear. remove artifact containing javax.sql.DataSource interface from it