[jboss-user] [JBoss jBPM] - Error getting CommandServiceBean
AJanz
do-not-reply at jboss.com
Fri Sep 12 12:04:42 EDT 2008
hi
i got an error trying to find the CommandServiceBean
| String localCommandServiceJndiName
| = "java:comp/env/ejb/LocalCommandServiceBean";
| try {
| Context initial = new InitialContext();
| LocalCommandServiceHome localCommandServiceHome = (LocalCommandServiceHome) initial.lookup(localCommandServiceJndiName);
| LocalCommandService localCommandService = localCommandServiceHome.create()
|
| ;
|
i copied the code from sources. but localCommandService is null
when i look at web-console jndiView i see
jndiName: ejb/CommandServiceBean
what is my error?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176198#4176198
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176198
More information about the jboss-user
mailing list