Title: Newbie having problems with Interest sample
   You have to get the JBoss client jars in your client.
   How about:
   Create a library in JBuilder (Let's say JBoss_Library). Add the following jars to that library:
    $JBOSS_HOME/client/ejb.jar             -> REQUIRED
    $JBOSS_HOME/client/jaas.jar            -> In case you have security
    $JBOSS_HOME/client/jboss-client.jar    -> REQUIRED
    $JBOSS_HOME/client/jbossmq-client.jar  -> In case you work with JMS
    $JBOSS_HOME/client/jbossmx-client.jar  -> In case you want to use JMX
    $JBOSS_HOME/client/jndi.jar            -> REQUIRED
    $JBOSS_HOME/client/jnp-client.jar      -> REQUIRED
    $JBOSS_HOME/client/jta-spec1_0_1.jar   -> In case you want user transactions.
 
   Then add this library to your project (Project Properties).
   Then create a jndi.properties file in your src directory. Put in it:
 
     java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
     java.naming.provider.url=jnp://localhost:1099/
 
   Try again.
 
   Lachezar
 

Hi,

Hopefully this is an easy one!

I've just installed JBoss-2.2.2_Tomcat-3.2.2.

I've deployed the Interest EJB into JBoss without any problems by following the tutorial in the online html help.

I've tried to run the client in JBuilder 4 but it coughs on the very first line:

         InitialContext jndiContext = new InitialContext();

The exception I get is:

javax.naming.CommunicationException: Can't find SerialContextProvider

Could someone give me a pointer?

Thanks.

Martin

Reply via email to