I have created EJB 3 session bean (stateful) and I have this code as below:

1. InitialContext ctx = new InitialContext();
2. JbpmConfiguration cfg = (JbpmConfiguration) 
ctx.lookup("java:/jbpm/JbpmConfiguration");
3. JbpmContext __ctx = cfg.createJbpmContext();
4. GraphSession session = __ctx.getGraphSession();

I ran this (of course I have jbpm.3.1.sar in deploy folder of jboss server. and 
JBOSS raised an error at the line 4 with a message 
(org.jboss.security.SecurityAssociation).

I did not find out the way to fix this. Anyone who has this experience, pls. 
share me.

(my email: [EMAIL PROTECTED]) 
Thanks
Hien Nguyen

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

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


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to