There is no default timeout so 4 secs is something about the env
you are running in. The jnp.timeout controls the intial connect
timeout and the jnp.sotimeout controls the read timeout on the
socket.

--
xxxxxxxxxxxxxxxxxxxxxxxx
Scott Stark
Chief Technology Officer
JBoss Group, LLC
xxxxxxxxxxxxxxxxxxxxxxxx

Sean Langford wrote:

Hello,

I need to shorten the time my jboss client will wait for a JDNI response from what looks like 4 seconds (default?) to less than 1 second. I've read all the for-pay jboss documentation and searched the email list and found:

jnp.timeout, and jnp.sotimeout

However I can't seem to get them working. Are these the wrong properties to use?

I am setting the following properties on my InitialContext:

java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.provider.url=jnp://dev-ejb2:1099
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
jnp.timeout=100
jnp.sotimeout=100

Any help appreciated!

Thanks

Sean



------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to