Kbase 20055: Error With Trailing Space After SonicMQ broker.ini Parameter
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  14/08/2000 |
|
SUMMARY:
This solution applies to Progress SonicMQ Version 2000.x. If there is
a trailing space in a parameter expression in the broker.ini, you
might get an exception when starting the broker.
EXPLANATION:
The following are examples of the exceptions that you might receive:
- A space after NUM_ACCEPTORS=<n> generates the following error
when starting the broker:
Invalid format for number parameter in configuration.
Configuration failed. Fix configuration and restart.
- A space after SOCKET_TYPE_n=<tcp/http/ssl> generates the
following exception when starting the broker:
progress.message.util.EAssertFailure: Invalid socket type: http
at java.lang.Throwable.<init>(Throwable.java:74)
at java.lang.Error.<init>(Error.java:46)
at
progress.message.util.EAssertFailure.<init>(EAssertFailure.java:27)
at
progress.message.net.ProgressSocketFactory.getType(ProgressSocketFacto
ry.java:49)
at progress.message.net.Acceptor.<init>(Acceptor.java:40)
at progress.message.broker.Broker.QJ_(Broker.java:563)
at progress.message.broker.Broker.<init>(Broker.java:300)
at progress.message.broker.Broker.main(Broker.java:206)
SonicMQ Broker now exiting...
- A space after PORT_NUMBER=<port number> generates the following
exception when starting the broker:
Java.lang.NumberFormatException: 2507
at java.lang.Throwable.<init>(Throwable.java:74)
at java.lang.Exception.<init>(Exception.java:38)
at java.lang.RuntimeException.<init>(RuntimeException.java:43)
at
java.lang.IllegalArgumentException.<init>(IllegalArgumentException.jav
a:39)
at
java.lang.NumberFormatException.<init>(NumberFormatException.java:39)
at java.lang.Integer.parseInt(Compiled Code)
at java.lang.Integer.parseInt(Integer.java:377)
at progress.message.broker.Broker.KJ_(Broker.java:603)
at progress.message.broker.Broker.QJ_(Broker.java:562)
at progress.message.broker.Broker.<init>(Broker.java:300)
at progress.message.broker.Broker.main(Broker.java:206)
SonicMQ Broker now exiting...