Consultor Eletrônico



Kbase P19993: WebSpeed and AppServer brokers (wsbroker1 and asbroker1) is not starting with address in use in the
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/15/2008
Status: Unverified

FACT(s) (Environment):

Progress 9.1x
WebSpeed 3.x

SYMPTOM(s):

The broker would not start after restarting the admin server

Unable to start asbroker1 (8297)

WebSpeed Broker Error win 3.1B:

main>(12-Aug-03 13:20:09:078) /usr/wrk/wsbroker1.broker.log opened.
main>(12-Aug-03 13:20:09:269) ERROR : Configured maxSrvrInstance (10) exceeds maximum licensed servers (5). (8453)
main>(12-Aug-03 13:20:09:291) ubroker version: v91B (20-Jul-00) (8038)
L-4090>(12-Aug-03 13:20:09:747) Started listener thread: L-4090 (8043)
L-4090>(12-Aug-03 13:20:09:795) Could not listen on port: 4090 (8044)
java.net.BindException: Address already in use
at java.net.PlainSocketImpl.bind(Compiled Code)
at java.net.ServerSocket.<init>(Compiled Code)
at java.net.ServerSocket.<init>(Compiled Code)
at com.progress.ubroker.broker.ubListenerPort.<init>(Compiled Code)
at com.progress.ubroker.broker.ubListenerThread.initializeListenerThread(Compiled Code)
at com.progress.ubroker.broker.ubListenerThread.run(Compiled Code)
L-4090>(12-Aug-03 13:20:09:815) Exception unbinding broker (not bound) : wsbroker1 (8525)
main>(12-Aug-03 13:20:10:821) ubroker v91B (20-Jul-00) done. (8041)
main>(12-Aug-03 13:20:10:822) Log Closed

AppServer Broker error 3.1D:

main>(Feb 25, 2003 09:54:21:631) /u3/wrk/asbroker1.broker.log opened.
main>(Feb 25, 2003 09:54:21:707) ubroker version: v91D (17-Oct-02) (8038)
L-3090>(Feb 25, 2003 09:54:21:853) Started listener thread: L-3090 (8043)
L-3090>(Feb 25, 2003 09:54:21:885) Could not listen on port: 3090 (8044)
java.net.BindException: Address already in use
at java.net.PlainSocketImpl.socketBind(Native Method)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:405)
at java.net.ServerSocket.<init>(ServerSocket.java:170)
at java.net.ServerSocket.<init>(ServerSocket.java:121)
at com.progress.ubroker.broker.ubListenerPort.<init>(ubListenerPort.java:106) at com.progress.ubroker.broker.ubListenerThread.initializeListenerThread(ubListenerThread.java:317) at com.progress.ubroker.broker.ubListenerThread.run(ubListenerThread.java:230)
L-3090>(Feb 25, 2003 09:54:21:903) Exception unbinding broker (not bound) : asbroker1 (8525)
main>(Feb 25, 2003 09:54:22:910) ubroker v91D (17-Oct-02) done. (8041)
main>(Feb 25, 2003 09:54:22:911) Log Closed

After changing the default port from 3050 to 3051, the broker started fine.

The port number can not be changed to a different free port due to the administrative reasons

CAUSE:

The broker port 3050 was hanging. When admin server is shutdown, the broker and the name server do not necessarily shutdown. Therefore, next time when the admin server is started, the port for NameServer and the broker were still in use, hence, unable to start either broker and/or the NameServer processes. The proper way of shutting down the processes is to shutdown the broker and NameServer first and then shutdown the admin server.

FIX:

Restart the server