[seam-issues] [JBoss JIRA] Commented: (JBSEAM-4590) Multiple war in ear - resources not isolated between wars

Susanne Jarl (JIRA) jira-events at lists.jboss.org
Tue Mar 9 16:47:58 EST 2010


    [ https://jira.jboss.org/jira/browse/JBSEAM-4590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12519057#action_12519057 ] 

Susanne Jarl commented on JBSEAM-4590:
--------------------------------------

Thanks, so you think your patch will fix both s:graphicImage and the email rendering bug?
Isn't it an example project for multiple war in an ear? If so, have you tested your patch on that? Because there is really nothing special with my environment.
Thanks again, I will try it out when the nightly build is done.

> Multiple war in ear  - resources not isolated between wars
> ----------------------------------------------------------
>
>                 Key: JBSEAM-4590
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-4590
>             Project: Seam
>          Issue Type: Bug
>    Affects Versions: 2.2.0.GA
>         Environment: JBoss 5.1.0.GA, Hot deployment. JDK 1.6
>            Reporter: Susanne Jarl
>            Assignee: Stuart Douglas
>         Attachments: graphicImageFix.diff
>
>
> If you have a.war and b.war in an ear and try to send an email using org.jboss.seam.faces.Renderer this will only work for b.war and in a.war you will get an exception saying that the resource in b.war could not be found. So the renderer called from a.war looks for resources in b.war.
> Kind of the same problem with s.graphicImage, only working in b.war, and when used in a.war the exception says it is looking for resources in b.war.
> I use hot deployment.
> If I start my application with only one of the war files at the time everything works perfectly fine. These issues did not exist in version 2.0.X, they appeared in 2.1. and has been around since then although  changed a little between versions.
> I have also tried 2.2.1. nightly build #164, since I thought that JBSEAM-4316 might solve this, but unfortunatally it did not.
> I have in each war a jboss-web.xml looking like this example (with of course different unique names):
> <jboss-web>  
>      <class-loading java2ClassLoadingCompliance="false">
>         <loader-repository>
>             org.jboss.seam:archive=uniquename
>             <loader-repository-config>java2ParentDelegation=false</loader-repository-config>
>         </loader-repository>
>     </class-loading>
> </jboss-web>
> jboss-app.xml looks like this:
> <jboss-app>  
> 	<loader-repository>  
> 		org.jboss.seam:archive=myapp  
> 		<loader-repository-config>  
> 			java2ParentDelegation=false  
> 		</loader-repository-config>  
> 	</loader-repository>     
> </jboss-app>  
> Please solve this bug until next release. Thank you!

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

        


More information about the seam-issues mailing list