i got a jboss 4.2.2 ga server using seam.

i deployed jbpm-enterprise.ear on it.

in the server.log i see




  | 2008-09-17 23:19:48,582 DEBUG [org.jboss.proxy.ejb.ProxyFactory] Proxy 
Factory for ejb/CommandServiceBean initialized
  | 2008-09-17 23:19:48,629 DEBUG [org.jboss.system.ServiceController] Creating 
service jboss.j2ee:service=EJB,plugin=pool,jndiName=ejb/CommandServiceBean
  | 2008-09-17 23:19:48,629 DEBUG 
[org.jboss.ejb.plugins.StatelessSessionInstancePool] Creating 
jboss.j2ee:service=EJB,plugin=pool,jndiName=ejb/CommandServiceBean
  | 2008-09-17 23:19:48,629 DEBUG 
[org.jboss.ejb.plugins.StatelessSessionInstancePool] Created 
jboss.j2ee:service=EJB,plugin=pool,jndiName=ejb/CommandServiceBean
  | 2008-09-17 23:19:48,629 DEBUG [org.jboss.system.ServiceController] Creating 
dependent components for: 
jboss.j2ee:service=EJB,plugin=pool,jndiName=ejb/CommandServiceBean dependents 
are: []
  | 2008-09-17 23:19:48,629 DEBUG [org.jboss.ejb.StatelessSessionContainer] 
Created jboss.j2ee:jndiName=ejb/CommandServiceBean,service=EJB

but when i try to get the commandservice bean i got error.

my function is

  | 
  |                             Hashtable p = new Hashtable();
  |                             p.put(InitialContext.INITIAL_CONTEXT_FACTORY,
  |                                             
"org.jnp.interfaces.NamingContextFactory");
  |                             p.put(InitialContext.PROVIDER_URL, 
"jnp://localhost:1099");
  |                             p.put(InitialContext.URL_PKG_PREFIXES,
  |                                             
"org.jboss.naming:org.jnp.interfaces");
  |                             jndiContext = new InitialContext(p);
  |             RemoteCommandServiceHome remoteCommandServiceHome = 
(RemoteCommandServiceHome) jndiContext
  |                                                             
.lookup("ejb/CommandServiceBean");
  |                                             remoteCMDService = 
remoteCommandServiceHome.create();
  | 

i got the error 

23:35:17,660 ERROR [Manager] User:NoneError creating remotecmdservice
javax.transaction.TransactionRolledbackException: Invalid invocation, check your
 deployment packaging, method=public abstract org.jbpm.ejb.RemoteCommandService
org.jbpm.ejb.RemoteCommandServiceHome.create() throws javax.ejb.CreateException,
java.rmi.RemoteException; nested exception is:
        javax.ejb.EJBException: Invalid invocation, check your deployment packag
ing, method=public abstract org.jbpm.ejb.RemoteCommandService org.jbpm.ejb.Remot
eCommandServiceHome.create() throws javax.ejb.CreateException,java.rmi.RemoteExc
eption

please help



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4177255
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to