Nevermind, I looked at my test code again and discovered I was creating the configuration using ParseXml call and not getInstance and the XML for the configuration did not have any services.
Once I used getInstance it used the jbpm.cfg.xml that was in the path and created the DefaultAuthenticationService which just holds on to the actor that I was setting. This is the behavior that I was looking for.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018369#4018369
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018369
skymic, you should have started a new post, not appended to an existing one.
I suspect that you are using EJB3 (you didn't say which version of ejb you are using), in which case you might want to try the lookup as:
Object ref = ic.lookup("SDOCI/remote/SDOCIBusinessService/remote");
If this does not work, use the jmx-console to invoke the list() method in the jboss:service=JNDIView mbean to list the entire JNDI tree. That should tell you what to use for the name.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018368#4018368
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018368
Why would you want to bundle your own version of the RI with your application? You can do that if you like, but it has some disadvantages:
1) You have to bundle RI jars with every JSF application.
2) You lose resource injection for managed beans.
3) You lose logging integration. So any log messages from the RI will look weird in the Log4J logs.
4) You have to declare a config listener in your own web.xml.
I also don't understand why you would want to bundle your own EL jars. The ones that ship with JBoss are probably more current than what you are using.
I'm not asking to be snide or anything. This is new functionality to JBoss and I'd really like to know if there are legitimate reasons for doing what you are doing. After all, you wouldn't dream of bundling your own JSP compiler in your WAR. Why would you want to bundle your own JSF?
Also, see http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossWithJSFCDDL
Regards,
Stan
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4018356#4018356
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018356