Put these in WEB-INF/context.xml
|
|
|
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3895698#3895698
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3895698
How to enable HttpServletRequestValve? Is it enabled by default?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3895687#3895687
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3895687
Sorry it should be:
| @Resource
| private transient javax.ejb.SessionContext ctx;
|
"aycanirican" wrote :
| After setting sessioncontext to @Transient it works like a charm.
|
| | @Resource
| | @Transient
| | javax.ejb.SessionContext ctx;
| |
|
Thank you, we're having exactly the same problem. While googling, we saw your
jira entry: http://jira.jboss.com/jira/browse/EJBTHREE-231.
After setting sessioncontext to @Transient it works like a charm.
| @Resource
| @Transient
| javax.ejb.SessionContext ctx;
|
By the way, I bet nobod
Well I have another related question.
It's possible to inject SessionContext and call getCallerPrincipal(). This way
a EJB3 SLSB can find who is calling the method.
| @Resource
| javax.ejb.SessionContext ctx;
|
So,
If we defined an application-policy for each of our web modules (and al