Hello.
1.-I've found the problem with JSF and jbpm.ear. It was my fault (once again). It
seems that the cause was that, perhaps for not running the clean target, the ear
customizedwar lib directory was holding both a Sun JSF implementation and a MyFaces apache
one. I suppose that the implementation was switched in some moment, and I didn't clean
up my target directory as frequently as I should. BTW, deploying the jbpm-console.war and
the jbpm.ear (with the 'web' node commented out) at the same time was not a valid
workaround, as I run into problems with the ehcache (it looked like an NPE trying to
create a second CacheManager).
2.-Before trying to setup a working cactus environment, I just wanted to create an
standalone JMS client and just send a message to the JbpmCommandQueue to see how it works.
I run into some problems with the MDB CommandListener trying to locate the CommandService
Session Bean. I patched as:
### Eclipse Workspace Patch 1.0
| #P jbpm
| Index:
enterprise/cmdlistener/src/main/java/org/jbpm/ejb/impl/CommandListenerBean.java
| ===================================================================
| RCS file:
/cvsroot/jbpm/jbpm.3/enterprise/cmdlistener/src/main/java/org/jbpm/ejb/impl/CommandListenerBean.java,v
| retrieving revision 1.1
| diff -u -r1.1 CommandListenerBean.java
| --- enterprise/cmdlistener/src/main/java/org/jbpm/ejb/impl/CommandListenerBean.java 24
Aug 2006 16:03:45 -0000 1.1
| +++ enterprise/cmdlistener/src/main/java/org/jbpm/ejb/impl/CommandListenerBean.java 10
Oct 2006 16:22:29 -0000
| @@ -70,8 +70,8 @@
| try {
| log.debug("looking up local command service");
| Context initial = new InitialContext();
| - Context environment = (Context) initial.lookup("java:comp/env/ejb");
| - LocalCommandServiceHome localCommandServiceHome = (LocalCommandServiceHome)
environment.lookup("LocalCommandServiceHome");
| + Context environment = (Context) initial.lookup("java:comp/env");
| + LocalCommandServiceHome localCommandServiceHome = (LocalCommandServiceHome)
environment.lookup("ejb/LocalCommandServiceBean");
| LocalCommandService localCommandService = localCommandServiceHome.create();
| try {
| // TODO add support for sending back the result
|
|
I'm not running into some problems with hibernate that is not able to locate using
JNDI the UserTransaction. I will investigate further, to see if it's caused by a
missconfiguration.
Regards.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3977299#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...