| Anonymous | Login | Signup for a new account | 10-25-2025 17:30 PDT |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ 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 | Platform | |||||
| Status | closed | OS | |||||||
| Projection | none | OS Version | |||||||
| ETA | none | Fixed in Version | 4.0.21 | Product Version | |||||
| Product Build | |||||||||
| Summary | 0004049: activate @SessionScope programmatically | ||||||||
| Description |
(rep by sweigersf) I have a delicate problem - I'm trying to use RWT (http://eclipse.org/rap) [^] 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( InjectManager.java:1939) at alchemy.rwt.AlchemyEntryPoint.createUI(AlchemyEntr yPoint.java:33) at org.eclipse.rwt.internal.lifecycle.EntryPointManag er.createUI(EntryPointManager.java:92) at org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.cr eateUI(RWTLifeCycle.java:244) Is there some way that I can activate a session scope for a different thread than the servlet's session thread |
||||||||
| Steps To Reproduce | |||||||||
| Additional Information | |||||||||
| Attached Files | |||||||||
|
|
|||||||||
Notes |
|
|
(0005411) ferg 08-01-11 13:54 |
server/2100 WebApp.runInSessionContext(String sessionId, Runnable task); |
| Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
28 total queries executed. 25 unique queries executed. |