Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004049 [Resin] minor always 05-25-10 09:51 08-01-11 13:54
Reporter ferg View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version
Summary 0004049: activate @SessionScope programmatically
Description (rep by sweigersf)

I have a delicate problem - I'm trying to use RWT ( [^] as a user interface for an Ajax web application. The problem with RWT is that it runs its user interface thread in a separate thread than the servlet's session thread. This causes Resit to throw the following error when I try to inject SessionScoped services:

javax.enterprise.context.ContextNotActiveException : '@javax.enterprise.context.SessionScoped' is not an active Java Injection context.
at com.caucho.config.inject.InjectManager.getContext(
at alchemy.rwt.AlchemyEntryPoint.createUI(AlchemyEntr
at org.eclipse.rwt.internal.lifecycle.EntryPointManag er.createUI(
at eateUI(

Is there some way that I can activate a session scope for a different thread than the servlet's session thread
Additional Information
Attached Files

- Relationships

- Notes
08-01-11 13:54


WebApp.runInSessionContext(String sessionId, Runnable task);


- Issue History
Date Modified Username Field Change
05-25-10 09:51 ferg New Issue
08-01-11 13:54 ferg Note Added: 0005411
08-01-11 13:54 ferg Assigned To  => ferg
08-01-11 13:54 ferg Status new => closed
08-01-11 13:54 ferg Resolution open => fixed
08-01-11 13:54 ferg Fixed in Version  => 4.0.21

Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed.
25 unique queries executed.
Powered by Mantis Bugtracker