[jboss-user] [JNDI/Naming/Network] - Re: Exception javax.naming.NameNotFoundException

jaikiran do-not-reply at jboss.com
Mon May 21 10:50:46 EDT 2007


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

Is this your actual jboss.xml that you have deployed? If so, then you will have to change it to


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



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

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



More information about the jboss-user mailing list