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.Naming
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(NamingContextFacto
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