On Tue, Jan 09, 2001 at 12:31:04PM -0800, aswath satrasala wrote:
> I am new to jboss with little experience on EJB.
>
> I am at step 6 in the sample application. I compiled
> InterestClient, and I am able to deploy the Interest bean
> successfully.
>
> java -classpath d:\jboss\lib\ext\ejb.jar InterestClient
>
> I am not able to run the InterestClient with the
> above command. I get the following message
>
> javax.naming.NoInitialContextException: Cannot instantiate class:
> org.jnp.interf
> aces.NamingContextFactory [Root exception is
> java.lang.ClassNotFoundException: o
> rg.jnp.interfaces.NamingContextFactory]
>
>
> How do I get bean class files on the client side??
Hello -- you need to include jnp-client.jar as part of your class path. For
the Interest example, this should be all you need. This file should be
located in $JBOSS_HOME/client. Good luck!
Derek
> Thanks
> -Aswath
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com
>
>
>
> --
> --------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> List Help?: [EMAIL PROTECTED]
>
>
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]