[jboss-dev-forums] [Design of EJB 3.0] - Deployment errors in service-test.jar

ALRubinger do-not-reply at jboss.com
Sat Jan 3 00:30:36 EST 2009


"service-test.jar" in the Integration TestSuite is causing problems, deployment errors due to a missing security context in the start() callback of ServiceOne:

Caused by: java.lang.IllegalStateException: Security Context has not been set at org.jboss.ejb3.security.RoleBasedAuthorizationInterceptorv2.invoke(RoleBasedAuthorizationInterceptorv2.java:151)

What are we expecting to set the SC?  And should this interceptor be getting invoked during a lifecycle callback?

This also affects the "container" test, which will now pass if its run once and the JAR has only been deployed once.

S,
ALR

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199300#4199300

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199300



More information about the jboss-dev-forums mailing list