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

jaikiran do-not-reply at jboss.com
Mon May 21 11:13:48 EDT 2007


Looked at the jboss.xml file again and realized that you have missed one more tag in that. Your jboss.xml should look like the following:

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

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

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



More information about the jboss-user mailing list