Hi!
Shahar Solomianik wrote:
> Do I have to use the following code :
>
> Hashtable jndiProperties = new Hashtable();
>
> jndiProperties.put("java.naming.factory.initial","org.jnp.interfaces.NamingC
> ontextFactory");
> jndiProperties.put("java.naming.provider.url","localhost");
> jndiProperties.put("java.naming.factory.url.pkgs","org.jboss.naming");
> javax.naming.Context jndiContext = new InitialContext(jndiProperties);
>
> when using integrated jboss+tomcat ?
>
> or is
>
> javax.naming.Context jndiContext = new InitialContext()
>
> enough ?
The last one should indeed be enough.
/Rickard
--
Rickard Öberg
Email: [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]