]
Alberto Fernández updated JBSEAM-4806:
--------------------------------------
Affects Version/s: 2.2.2.Final
Component/s: Core
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
Labels: core, lifecycle, seam
Attachments: lifecycle_multithread.patch, lifecycle_multithread2.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: