This content has been marked as final. 
    
Show                 1 reply
    
- 
        1. Re: My experience on SerialContextProvidera13519 Jun 27, 2002 4:56 PM (in response to a13519)I think when you run the client program, you should not use the libs located in server folder. I write a script file to start client: 
 ///////// start /////////
 echo off
 set PREFIX=%JBOSS_DIST%\
 set CP=.\;%PREFIX%\client\jboss-client.jar
 set CP=%CP%;%PREFIX%\client\jboss-common-client.jar
 set CP=%CP%;%PREFIX%\client\jboss-j2ee.jar
 set CP=%CP%;%PREFIX%\client\log4j.jar
 set CP=%CP%;%PREFIX%\client\jnp-client.jar
 set CP=%CP%;%PREFIX%\client\jbosssx-client.jar
 set PT=-Djava.naming.factory.initial=org.jnp.interfaces.NamingContextFactory -Djava.naming.provider.url=jnp://localhost:1099 -Djava.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
 echo on
 java -classpath %CP% %PT% org.jboss.docs.interest.InterestClient
 ///////// end /////////
