use this jndi.properties
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory java.naming.provider.url=localhost:1099 java.naming.factory.url.pkgs=org.jboss.naming > -----Original Message----- > From: Jim Williams [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, June 12, 2002 6:26 PM > To: [EMAIL PROTECTED] > Subject: [JBoss-user] Sample Template Problems > > > Hello, > I am very new to jboss and I am having a problem getting the > template sample > client to run for jboss3.0.0. > I can build the template and watch it be deployed but when I > try to run the > client as described in the documentation I get this error: > > > javax.naming.NoInitialContextException: Need to specify class name in > environment or system property, or as an applet parameter, or in an > application resource file: java.naming.factory.initial > at > javax.naming.spi.NamingManager.getInitialContext(NamingManager > .java:640) > at > javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:243) > at > javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialCont > ext.java:280) > at javax.naming.InitialContext.lookup(InitialContext.java:347) > at test.client.TestClient.main(TestClient.java:21) > > > I am using the default jndi.properties so that may be the problem. > > I am not sure where to look to fix this. > > Can anyone help or do I need to supply more info?? > > Thanks, > Jim Williams > > _______________________________________________________________ > > Sponsored by: > ThinkGeek at http://www.ThinkGeek.com/ > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > _______________________________________________________________ Sponsored by: ThinkGeek at http://www.ThinkGeek.com/ _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
