[jboss-jira] [JBoss JIRA] Created: (JBAS-3854) Datasource Deployment error inside a scoped ear.

Alexandre Bitencourt (JIRA) jira-events at jboss.com
Tue Nov 14 12:00:41 EST 2006


Datasource Deployment error inside a scoped ear.
------------------------------------------------

                 Key: JBAS-3854
                 URL: http://jira.jboss.com/jira/browse/JBAS-3854
             Project: JBoss Application Server
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Deployment services
    Affects Versions: JBossAS-4.0.5.GA
         Environment: Windows XP SP2
            Reporter: Alexandre Bitencourt
         Assigned To: Dimitris Andreadis


In our enviroment we create a common classloader to scope applications and common libraries. All ears deployed in application server uses this classloader. When we upgrade the version of application server from 4.0.4.GA to 4.0.5.GA the datasource descriptors that are inside the scoped ears fails to came up. Removing the scope declaration from jboss-app.xml the datasources works fine, but applications needs some classes that are shared in scoped classloader and we cannot put them on default classloader to avoid version conflicts.   On Jboss 4.0.4 the datasources works fine even if jboss-app.xml declares a scoped classloader for ear. The error showed when the deployment of datasource fail is: "java.lang.IllegalArgumentException: interface javax.sql.DataSource is not visible from class loader, but javax.sql.DataSource."

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list