[seam-issues] [JBoss JIRA] Closed: (JBSEAM-4806) failed to load multiple apps with jboss-seam.jar in global classpath

Pete Muir (JIRA) jira-events at lists.jboss.org
Tue Jun 28 06:14:24 EDT 2011


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

Pete Muir closed JBSEAM-4806.
-----------------------------

      Assignee: Pete Muir
    Resolution: Rejected


Seam 2 does not support being on the shared classpath. We have added this functionality to Weld/Seam 3.

> failed to load multiple apps with jboss-seam.jar in global classpath
> --------------------------------------------------------------------
>
>                 Key: JBSEAM-4806
>                 URL: https://issues.jboss.org/browse/JBSEAM-4806
>             Project: Seam 2
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.2.2.Final
>         Environment: Java 1.6.23, Glasshfis v 2.1.1, Solaris 9 and Windows XP.
>            Reporter: Alberto Fernández
>            Assignee: Pete Muir
>              Labels: core, lifecycle, seam
>         Attachments: lifecycle_multithread.patch, lifecycle_multithread2.patch, lifecycle_multithread3.patch
>
>
> We have a special setup with seam jars in global classpath on server (some tweak needed). WEB-INF/lib is empty in this setup.
> When loading multiple apps on the server, it fails on server restarts because the apps are loaded simultaneously with various threads and the class org.jboss.seam.contexts.Lifecycle have an static variable "application" shared for all threads. The solution: transform the "application" variable to a ThreadLocal variable (patch attached)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the seam-issues mailing list