[jboss-user] [JBoss Portal] - Re: problem while implementing portal identity API with a jn

loucs do-not-reply at jboss.com
Wed Apr 30 19:02:41 EDT 2008


i've done the same thing accessing my ejb with jmx and the same exception happened. i'm must make a mistake deploying my ear in portal...

here's the code i used instead og the jndi lookup (i've made a local interface for my ejb with the @Local annotation) :

 
  | 
  | MBeanServer mbeanServer = MBeanServerLocator.locateJBoss();
  | userModule = (IdentityUserModuleLocalInterface) MBeanProxy.get(IdentityUserModuleLocalInterface.class, new ObjectName(""), mbeanServer);
  | 
  | 

Regards,

--
Lucas
Montes

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148020



More information about the jboss-user mailing list