https://issues.apache.org/bugzilla/show_bug.cgi?id=49991

--- Comment #4 from Flávio Henrique <serv...@ig.com.br> 2010-10-08 22:28:11 EDT 
---
Mark, here is the project for Eclipse Helios 3.6 SR1.

You will need to grab Weld 1.1.0 and put
weld-1.1.0.Beta1\artifacts\weld\weld-servlet.jar inside WEB-CONTENT/lib,
because I couldn´t updaload the project with the library (file size limit).

You can download weld here http://seamframework.org/Weld/Downloads

This problem happens with all Weld versions, even with the newest beta.

The instructions are in the readme.txt, that I will also put here:

how to see the bug:

1 - import the project in Helios 3.6 SR1
2 - run on Tomcat 7.0.2
3 - try to access the protected page in restricted/restrictedpage.jsp (right
click on the page and execute)
4 - you will get the exception
org.jboss.weld.context.ContextNotActiveException: WELD-001303 No active
contexts for scope type javax.enterprise.context.RequestScoped

Comment the security constraint that fire the form authentication and you have
NO exception.

I also discoverd that:

a) in eclipse, if you run restricted.jsp with right click (Run On Server) the
exception is throw, but if you run the project and after the 
server start type the complete URL to restricted.jsp, the bug doesn´t happen. 
b) if you "run on server" the project and open the URL in another browser
(don´t use eclipse build in browser), this problem happens.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to