By default, the IIOP socket listeners is configured to listen on the first IP address resolved
for your host name.
To configure Unwired Server to listen on all network interfaces, edit each listener's properties file.
- Stop Unwired Server.
- On the system where Sybase Unwired Platform is installed, navigate to the
<UnwiredPlatform_InstallDir>\UnwiredPlatform\Servers\UnwiredServer\Repository\Instance\com\sybase\djc\server\SocketListener directory.
- Use a text editor to open the
<hostname>_iiop1.properties file.
- Locate the line beginning with host=:
#Instance Properties
#Mon Feb 22 10:34:27 PST 2010
maxThreads=200
port=2000
host=<your_host_name>
ant.project=default-socket-listeners
useSocketChannel=false
protocol=iiop
- Replace your host name with 0.0.0.0:
#Instance Properties
#Mon Feb 22 10:34:27 PST 2010
maxThreads=200
port=2000
host=0.0.0.0
ant.project=default-socket-listeners
useSocketChannel=false
protocol=iiop
- You may also need to tune the performance of the listener by editing the default maxThreads value. If you change the messaging queue count properties, then you may need to set a new value where the maxThread of iiop socket listener is larger than the sum of all nodes needed iiop thread counts.
Sybase recommends the following:
- Save and close the properties file.
- Restart Unwired Server.