
139
CONFIGURING AND ADMINISTERING COLDFUSION 10
Using the ColdFusion Server Monitor
L
ast
u
p
dated
7/9/2
01
2
Troubleshooting scenarios
Multi-server monitoring
For multi-server monitoring, ensure that you specify the cross domain details in the crossdomain.xml in
(
CFRoot
/MonitoringServer).
Someone changes port in XML
The exception does not appear in the ColdFusion Administrator. You verify the log.
Monitoring with SSL
You might encounter an error while starting Monitoring Server in SSL mode.
To resolve this known issue, add the following in the jvm.config:
"-Dcoldfusion.disablejsafe=true"
Updating the threadpool
You can update the threadpool in the jetty.xml.
Modify the threadpool in the Server Threadpool section of the XML file:
<Set name="ThreadPool">
<!-- Default queued blocking threadpool
-->
<New class="org.eclipse.jetty.util.thread.QueuedThreadPool">
<Set name="minThreads">2</Set>
<Set name="maxThreads">50</Set>
</New>
<!-- Optional Java 5 bounded threadpool with job queue
<New class="org.eclipse.thread.concurrent.ThreadPool">
<Set name="corePoolSize">50</Set>
<Set name="maximumPoolSize">50</Set>
</New>
-->
</Set>
API
Description
setMonitoringServerPort(port);
Sets the port information for the monitoring server.
getMonitoringServerPort();
Gets details of the port to which the monitoring server listens.
getMonitoringServerProtocol();
Gets the protocol details for the monitoring server.
enableMonitoringServer();
Enables the monitoring server and starts it if not running.
stopMonitoringServer();
Stops the monitoring server
startMonitoringServer();
Starts the monitoring server
disableMonitoringServer();
Disables the monitoring server and stops it if it is running
isMonitoringServerEnabled();
Indicates if the monitoring server is enabled
isMonitoringServerRunning();
Indicates if the monitoring server is running
configureMonitoringServer(flag, port);
Enables monitoring server and sets port information