[jboss-jira] [JBoss JIRA] (AS7-4984) Exclusion of Modules does not work with EAR to EAR communication

David Lloyd (JIRA) jira-events at lists.jboss.org
Fri Jun 22 11:02:12 EDT 2012


     [ https://issues.jboss.org/browse/AS7-4984?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Lloyd resolved AS7-4984.
------------------------------

    Fix Version/s: 7.1.3.Final (EAP)
                   7.2.0.Alpha1
       Resolution: Done


Great!  Then I'm pleased to say that this issue is fixed.
                
> Exclusion of Modules does not work with EAR to EAR communication
> ----------------------------------------------------------------
>
>                 Key: AS7-4984
>                 URL: https://issues.jboss.org/browse/AS7-4984
>             Project: Application Server 7
>          Issue Type: Bug
>    Affects Versions: 7.1.1.Final
>         Environment: Windows 7
>            Reporter: Sebastian Woeste
>            Assignee: David Lloyd
>             Fix For: 7.1.3.Final (EAP), 7.2.0.Alpha1
>
>         Attachments: remote-marshalling-test.zip
>
>
> We get an exception if we try to remote execute a method of an EAR from another EAR if the method, we want to execute, expects a parameter which type is in both ear lib folders and the JBoss modules folder. 
> Example: 
> If we have the joda-time.jar in our ear lib folder and want to execute a method like:
> public void setTimeZone( DateTimeZone zone );
> in another EAR we get the following exception:
> java.lang.IllegalArgumentException: object is not an instance of declaring class.
> We tried to exclude the joda-time module in the deployment-structure.xml but that did not work. Only solution is to remove the joda-time.jar from both ear lib folders but that is not practicable for us. Some further information and a test project to reproduce the problem are in the linked thread.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list