did you specyfied data in jndi.properties?
is this a tomcat provided with jboss?
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,
long t1 = System.currentTimeMillis();
Properties props = new Properties();
Context ctx = new InitialContext(props);
FirstHome home = (FirstHome)ctx.lookup("ejb/First");
First bean = home.create();
String time = bean.getTime();
long t2 = System.currentTimeMillis();
I found the solution... jnet.jar was not available in the classpath! I added it to catalina\lib of tomcat and all worked fine!