Make the network ports required by tradesoap/tradebeans configurable
Currently Geronimo-2.1.4 needs the following network ports in order to run. They are hardcoded in dat/daytrader.zip/geronimo-jetty6-minimal-2.1.4/var/config/config-substitutions.properties:
HTTPPort=8080 NamingPort=1099 JMXPort=9999 DerbyPort=1527 MaxThreadPoolSize=500 OpenEJBPort=4201 HTTPSPort=8443 ActiveMQStompPort=61613 ActiveMQPort=61616 AJPPort=8009
The problem is that not all ports are available on every system, due to issues such as permission and conflict. This limits the usability of tradesoap and tradebeans. Although user can modified the config-substitutions.properties file and rebuild the .jar file for DaCapo to change the ports, it is still inconvenient.
We also found that user can change all above ports except 8080, because 8080 is hardcoded in some Java source files.
It would nice if DaCapo provides a way to change these ports without rebuilding the .jar file. It is probably better if Geronimo could be configured to open fewer ports.