[JBoss-user] [JBoss jBPM] - Re: Using jBPM with EJB, Could you help me?

2006-07-10 Thread hien_2008
Thanks Ronald, It's very useful to me and fixed my problem. I just replace ehcache-1.1.jar by using ehcache-1.2.jar and it worked BTW: Why the servlet environment (I deployed in TOMCAT without EJB context) works well but EJB? what are differences between these environments? Hien View the

[JBoss-user] [JBoss jBPM] - Using jBPM with EJB, Could you help me?

2006-07-09 Thread hien_2008
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 =

[JBoss-user] [JBoss jBPM] - Re: Using jBPM with EJB, Could you help me?

2006-07-09 Thread hien_2008
Hi Ronald, Here is error message details = 2006-07-10 01:55:07,203 ERROR [STDERR] java.lang.RuntimeException: java.lang.RuntimeException: java.lang.IllegalAccessError: tried to access method net.sf.ehcache.CacheManager.()V from class org.hibernate.cache.EhCacheProvider 2006-07-10