Hi
Iam new to Sun One Application Server 8.1, I try to deploy Local
EJB in Sun one Server, its deployed successfully, but it thow error duing jndi look up time.
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 id="ejb-jar_ID">
<description>ejb-jar.xml for LocalizationDepwb component</description>
<display-name>rvwlocalandRemoteEJB</display-name>
<enterprise-beans>
<session>
<display-name>Common RVW EJB</display-name>
<ejb-name>com.ramco.ejb.RVWEJBBean</ejb-name>
<home>com.ramco.ejb.RVWEJBHome</home>
<remote>com.ramco.ejb.RVWEJBRemote</remote>
<ejb-class>com.ramco.ejb.RVWEJBBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
<ejb-local-ref>
<ejb-ref-name>ejb/RVWEJBLocal</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<local-home>com.ramco.local.ejb.RVWEJBHomeLocal</local-home>
<local>com.ramco.local.ejb.RVWEJBRemoteLocal</local>
<ejb-link>RVWEJBLocal</ejb-link>
</ejb-local-ref>
</session>
<session>
<ejb-name>RVWEJBLocal</ejb-name>
<local-home>com.ramco.local.ejb.RVWEJBHomeLocal</local-home>
<local>com.ramco.local.ejb.RVWEJBRemoteLocal</local>
<ejb-class>com.ramco.local.ejb.RVWEJBBeanLocal</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
</enterprise-beans>
</ejb-jar>
sun-ejb-jar.xml
===============
<?xml version="1.0" encoding="UTF-8"?>
< !DOCTYPE sun-ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Application Server 8.1 EJB 2.1//EN" "
http://www.sun.com/software/appserver/dtds/sun-ejb-jar_2_1-1.dtd">
<sun-ejb-jar xmlns="http://java.sun.com/xml/ns/j2ee">
<enterprise-beans>
<ejb>
<ejb-name>RVWEJB</ejb-name>
<jndi-name>com.ramco.ejb.remote</jndi-name>
</ejb>
</enterprise-beans>
</sun-ejb-jar>
error
=======
javax.naming.NameNotFoundException
Thanks lot...