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

Alberto Fernández (JIRA) jira-events at lists.jboss.org
Mon May 2 12:53:18 EDT 2011


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
         Environment: Java 1.6.23, Glasshfis v 2.1.1, Solaris 9 and Windows XP.
            Reporter: Alberto Fernández


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