- 
        1. Re: accessing a deployed ejbkail Aug 13, 2002 8:40 AM (in response to ashahata)did you specyfied data in jndi.properties? 
 is this a tomcat provided with jboss?
- 
        2. Re: accessing a deployed ejbashahata Aug 13, 2002 8:54 AM (in response to ashahata)no I did not specify any jndi.properties, where would I do this from? 
 Yes, this is a Tomcat install that was integrated with Jboss.
 Any idea where things r going wrong! Here's the code that I've used for the client:
 <%@ page import="javax.naming.InitialContext,
 javax.naming.Context,
 java.util.Properties,
 com.stardeveloper.ejb.session.First,
 com.stardeveloper.ejb.session.FirstHome"%>
 <%
 long t1 = System.currentTimeMillis();
 Properties props = new Properties();
 props.put(Context.INITIAL_CONTEXT_FACTORY,
 "org.jnp.interfaces.NamingContextFactory");
 props.put(Context.PROVIDER_URL, "localhost:1099");
 Context ctx = new InitialContext(props);
 FirstHome home = (FirstHome)ctx.lookup("ejb/First");
 First bean = home.create();
 String time = bean.getTime();
 bean.remove();
 ctx.close();
 long t2 = System.currentTimeMillis();
 %>
- 
        3. Re: accessing a deployed ejbashahata Aug 13, 2002 11:54 AM (in response to ashahata)I found the solution... jnet.jar was not available in the classpath! I added it to catalina\lib of tomcat and all worked fine! 
 Thanks
 
    