-
1. Re: JNDI tree not showing <jndi-local-name>dept/DeptFacadeL
darranl Nov 30, 2004 12:52 PM (in response to gopalsaha)Does your component have the local interfaces defined? What is in your ejb-jar.xml?
-
2. Re: JNDI tree not showing <jndi-local-name>dept/DeptFacadeL
raist_majere Dec 1, 2004 12:47 AM (in response to gopalsaha)Not sure about it, but I think the problem you have is due to you wrote and incorrect jboss.dtd in the xml file:
<!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS//EN" "http://www.jboss.org/j2ee/dtd/jboss.dtd">
This DTD is for JBoss 2.2, which was not aware of local interfaces... You have to change it to jboss_3_2.dtd or jboss_4_0.dtd (depending on your JBoss version). -
3. Re: JNDI tree not showing <jndi-local-name>dept/DeptFacadeL
gopalsaha Dec 1, 2004 4:58 AM (in response to gopalsaha)Hello,
Here is my ejb-jar.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
<ejb-jar>
<enterprise-beans>
<!-- Session Beans -->
<display-name>Dept Session Bean</display-name>
<ejb-name>DeptFacade</ejb-name>
com.msilm.msip.business.ejb.dept.DeptFacadeHome
<local-home>com.msilm.msip.business.ejb.dept.DeptFacadeLocalHome</local-home>
com.msilm.msip.business.ejb.dept.DeptFacade
com.msilm.msip.business.ejb.dept.DeptFacadeLocal
<ejb-class>com.msilm.msip.business.ejb.dept.DeptFacadeBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</enterprise-beans>
<assembly-descriptor>
<container-transaction>
<ejb-name>DeptFacade</ejb-name>
<method-name>*</method-name>
<trans-attribute>Required</trans-attribute>
</container-transaction>
</assembly-descriptor>
</ejb-jar>
Thanks in advance -
4. Re: JNDI tree not showing <jndi-local-name>dept/DeptFacadeL
raist_majere Dec 5, 2004 10:25 PM (in response to gopalsaha)Have you tried what I said about jboss.xml file DTD?
-
5. Re: JNDI tree not showing <jndi-local-name>dept/DeptFacadeL
gopalsaha Dec 6, 2004 5:48 AM (in response to gopalsaha)i did indeed but no luck thanks