Help me please! I am getting the following exception when I try to connect my 
client application to my server:

javax.naming.NotContextException: Reference Class Name: java.lang.Object
  | Type: FACTORY
  | Content: MetaAgentImplStatefulProxyFactory
  | is not a Context
  |      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:692)
  |      ...

It is happening when I look up my EJB:
Object ref = jndiContext.lookup("MetaAgentImpl/remote");

My jboss.xml:
<?xml version="1.0" encoding="UTF-8"?>
  | <!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS//EN" 
"http://www.jboss.org/j2ee/dtd/jboss.dtd";>
  | 
  | <jboss>
  | 
  |     <enterprise-beans>
  |             <session>
  |             <ejb-name>MetaAgentImpl</ejb-name>
  |             <jndi-name>MetaAgentImpl</jndi-name>
  |             </session>
  |     </enterprise-beans>
  | 
  |     <resource-managers>
  |     </resource-managers>
  | </jboss>

What is going on?? Thanks in advance!

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

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

Reply via email to