Post your bean code. I think the container allows an illegal construct.

You can't use the same interface both as local and remote.
So either:
@Stateless
  | @Remote(MyStatelessRemote.class)
  | @Local(MyStatelessLocal.class)
  | public class MyStatelessBean
or
@Stateless
  | public class MyStatelessBean implements MyStatlessLocal, MyStatelessRemote
  | 
  | @Remote
  | public interface MyStatelessRemote extends MyStateless
  | 
  | @Local
  | public interface MyStatelessLocal extends MyStateless
The proxy chosen for injection will depend on the interface used.

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

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

Reply via email to