[JDEV] peculiar Connection problem !

Mike Prince mike at mikeprince.com
Thu Jul 10 20:34:53 CDT 2003


Solve the root problem; Applets can make connections back to the server
where they came from.  Just make sure that Jabber is on the same
machine, or your load balancer/firewall makes it look like both are on
the same machine.

I know this works because I use Jabber applet clients on my website :)

Hope that helps,

Mike

> -----Original Message-----
> From: jdev-admin at jabber.org [mailto:jdev-admin at jabber.org] On 
> Behalf Of Satish Plakote
> Sent: Thursday, July 10, 2003 3:42 AM
> To: jdev at jabber.org
> Subject: [JDEV] peculiar Connection problem !
> 
> 
> 
> 
> hi
> I have hit upon a problem while making a connection to a 
> jabber server.. I am trying to  establish a connection to a 
> jabber server thro a servlet on my tomcat engine.I am doing 
> this coz of restriction placed by jvm on applets to make a 
> connection. I get this exception thrown when i try to make a 
> connection.
> 
> java.lang.NoSuchMethodError: java.net.Socket: method 
> setKeepAlive(Z)V not found
>         at 
> com.echomine.net.SocketConnector$_1.run(SocketConnector.java:280)
>         at java.lang.Thread.run(Thread.java:479)
> 
> can anyone give me tips to handle this ?
> Thnkx
> Satish
> 
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
> 





More information about the JDev mailing list