Hello,

I developed a stand-alone client to access jboss server from a machine located in 
different subnet from the jboss server. The client software can work well with the 
server when they are in same machine or same subnet.
But when they are in different subnet, the client will receive the following error:
javax.naming.CommunicationException: Receive timed out.  Root exception is 
java.net.SocketTimeoutException: Receive timed out

        at java.net.PlainDatagramSocketImpl.receive(Native Method)

        at java.net.DatagramSocket.receive(DatagramSocket.java:671)

        at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1093)

        at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1192)

        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:514)

        at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:507)

        at javax.naming.InitialContext.lookup(InitialContext.java:347)

        at clientware.DataCore.getGeneralUtilsReference(DataCore.java:101)

        at clientware.DataCore.login(DataCore.java:365)

        at clientware.DataCore.access$000(DataCore.java:30)

        at clientware.DataCore$1.run(DataCore.java:302)

        at java.lang.Thread.run(Thread.java:536)


My properties are like this:
java.naming.provider.url=jnp://192.168.66.186:1099
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces

I'm not sure this is a bug of jboss or an error of my configuration.

Does anybody can help me?

Thank you very much.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3833370#3833370

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3833370


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE. 
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to