[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [xmlblaster] unable to connect to xmlBlaster server..



Hi Jay,
the settings of the address.Address are not implemented yet. You can set the address via the properties of the global as follows:


Global glob = new Global();
String[] args = { "-protocol", "SOCKET",
                  "-socket.hostname", "myHost.com",
                  "-socket.port", "7666",
                  "-socket.localHostname", "myHost.com",
                  "-socket.localPort", "8888" };
glob.init(args);
I_XmlBlasterAccess con = glob.getXmlBlasterAccess();

Regards
Michele


JAYAGOPALAN BALASUBRAMANI wrote:




Hi all,

i have installed xmlBlaster server in windows 2000 with j2sdk1.4.0.

i have a java applet which communicates with the xmlBlaster server using SOCKET protocol.

When i run the applet in the local host (machine where i have installed xmlBlaster server), the applet is able to connect to the xmlBlaster server.

when i run the applet from a different machine from the network,the applet is not able to connect to the xmlBlaster server..

i have used the org.xmlBlaster.util.qos.address.Address
object to initiaise the server address and port.

thanks ..
jay.

_________________________________________________________________
War on Iraq. See latest update. http://server1.msn.co.in/completecoverage/bushvssaddam/ News, views and more






--
Michele Laghi
mailto:laghi at swissinfo.org
tel. +46 8 7492952 / mob. +46 70 4103964
http://www.geocities.com/laghi2000
http://www.xmlBlaster.org