- 
        1. Re: client lookup faileddmulej May 23, 2002 1:16 PM (in response to dmulej)Perhaps i should have added some more info. 
 Code fragment is
 Properties p = new Properties();
 p.put(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.NamingContextFactory" );
 p.put(Context.PROVIDER_URL, "localhost:1099");
 p.put(Context.URL_PKG_PREFIXES, "org.jboss.naming:org.jnp.interfaces"
 InitialContext initCtx = new javax.naming.InitialContext(p);
 Object ref = initCtx.lookup("ejb/MyBean");
 and the problem is the last line (MyBean is stateless session bean).
 Is perhaps this classpath problem?
 Darko
- 
        2. Re: client lookup failedvickyk May 24, 2002 3:09 AM (in response to dmulej)Hi, 
 I have tried myself the deployment of the ejb and using the java client from different jvm it works fine,Can
 you explain how do you deploy the ejbs?I am new to the
 jboss environment...
 regards vicky
- 
        3. Re: client lookup faileddmulej May 24, 2002 4:41 AM (in response to dmulej)ThankYou for hint. 
 I was trying to run client with ant script and it did not work.
 When I tried with plain console it worked!!
 Ant is not that simple as we expected ..
 for curious here is ant fragment to blame:
 Darko
- 
        4. Re: client lookup faileddmulej May 24, 2002 4:26 PM (in response to dmulej)Change in line 
 to
 has made ant script working (in ant 1.5 beta). But why would starting client in new JVM help?!
 Darko
 
    