Hi! You are probably trying to access JBoss with a remote client. If that is the case you will need a file named "jndi.properties". It must exist in some directory that is included in your CLASSPATH.
Sample contents for that file could be:
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory java.naming.provider.url=jnp://localhost:1099 java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
In the second line you may want to replace "localhost" with the name/ip of your JBoss server if it is not on the same machine like the client.
This JNDI configuration can be seen as the entry point that needs to be "hard coded" so that the client knows whom to talk to. All further lookup via the InitialContext then can be answered from the JNDI service.
HTH, Tobias
[EMAIL PROTECTED] wrote: > Hi > > please need some help passing values- using version 3.2.3,my errors come with initiate > context an then asks for valus/properties to be passed, how do i go about doing this? > > Thanks > Sharlene
-- http://www.Experten-Forum-Stuttgart.de, July 2nd, 2004, Workshops on JBoss, Java Server Faces, Eclipse - Rich Client Platform, Email Security IT Project Management, Acceptance Testing, Domain Driven Design, Agility
-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user
