Thanks Scott for your quick reply.  Yes, I have already tried that.  On 
getting the error, the first thing I did was add jnet.jar to tomcat.  I have 
copied the following jars from $JBOSS_DIST/client to the WEB_INF/lib 
directory of tomcat:

jboss-client.jar
jboss-common-client.jar
jboss-j2ee.jar
jbosssx-client.jar
jnet.jar
jnp-client.jar
log4j.jar

I agree with you that it looks like the classes from jnet.jar are being 
ignored.  The question is why?

Any hints or suggestions are welcome.

> Message: 1
> From: "Scott M Stark" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Subject: Re: [JBoss-user] RC3 breaks Tomcat 4.0.3 Standalone
> Date: Tue, 21 May 2002 17:46:56 -0700
> Organization: JBoss Group
> Reply-To: [EMAIL PROTECTED]
>
> You need the client/jnet.jar
>
> xxxxxxxxxxxxxxxxxxxxxxxx
> Scott Stark
> Chief Technology Officer
> JBoss Group, LLC
> xxxxxxxxxxxxxxxxxxxxxxxx
> ----- Original Message -----
> From: "Jon Swinth" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, May 21, 2002 4:09 PM
> Subject: [JBoss-user] RC3 breaks Tomcat 4.0.3 Standalone
>
> > I have been using JBoss and Tomcat 4.0.3 standalone for a number of
> > months
>
> now.  In order to connect from the servlet to JBoss I use the following:
> > Properties props = new Properties();
>
> props.setProperty(Context.INITIAL_CONTEXT_FACTORY,"org.jnp.interfaces.Namin
>g ContextFactory");
>
> > props.setProperty(Context.URL_PKG_PREFIXES,"org.jnp.interfaces");
> > props.setProperty(Context.PROVIDER_URL,"localhost:1099");
> > InitialContext jndiContext = new InitialContext(props);
> >
> > This now gives me a an exception.  I see in the change log and the source
>
> itself that many changes have been made to
> org.jnp.interfaces.NamingContext. However I have been unable to determine
> what changes I need to make so that
>
> things work again.  Here is the stack trace:
> > java.lang.NoClassDefFoundError: javax/net/SocketFactory
> > at
>
> org.jnp.interfaces.NamingContextFactory.getInitialContext(NamingContextFact
>o ry.java:38)
>
> > at
>
> javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:665)

_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to