Thanks Rickard , we have solved the tomcat "NoClassDefFound" error.(silly mistake !!). I have another question : I have a jsp which called ejb bean deployed in the jboss container . Deployed ejb without error and test the jsp in jbuilder3.5 , is ok . Now i need to deployed the jsp for real application . What I need to set in Tomcat ? Do i need to set the jboss lib classes and jar file to tomcat classpath ? Thanks. Rickard Öberg wrote: > > > Properties props = new Properties(); > > props.put(Context.INITIAL_CONTEXT_FACTORY, > > "org.jnp.interfaces.NamingContextFactory"); > > props.put(Context.PROVIDER_URL, "localhost:1099"); > > Is this on the server? If so, you shouldn't need it at all. Above all do not > specify PROVIDER_URL (since localhost is assumed and optimized for if > omitted). > > > If i have installed jboss container in my server name ="point6" and > > deploy ejb bean on it and without any error message. > > So my question is do i need to change the properties value and name ?? > > Do i need to changed the Context.PROVIDER_URL ?? > > Only if the above is in a client that is not on the same host. Of course(?) > > > And how to integrate tomcat and jboss. I follow the on-line > > documentation for "how to" , it always give me the "NoClassDefFound" > > error ? > > Anyone please explain it to me . > > Download the new 2.1-beta, which has Tomcat already setup and working. > > /Rickard > > -- > -------------------------------------------------------------- > To subscribe: [EMAIL PROTECTED] > To unsubscribe: [EMAIL PROTECTED] -- -------------------------------------------------------------- To subscribe: [EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED]