If the Stat® Central Agent will not run when started, the port assigned to it may already in use by a different program or there are firewalls that need to have ports opened for the Stat Central Agent to communicate with the database or with the Stat Client.
Typical port and firewall conflicts include:
If you have port conflicts, the server will display one or more error messages, such as:
The Stat Central Agent utilizes a set of ports that are already defined.
These values are defined for a default port offset of zero which is set in a variable called jboss.socket.binding.port-offset in standalone.conf.bat or standalone.conf file. If there is a conflict situation or a second or third agent is necessary, you may change the jboss.socket.binding.port-offset in standalone.conf.bat or standalone.conf file. The value for offset is added to all the default values.
NOTE: Be aware of the following:
|
2 |
Open <STAT_HOME>\app\bin\standalone.conf.bat with Notepad or other text editor. For Stat Central Agent on Unix, you need to open the <STAT_HOME>/app/bin/standalone.conf file. |
3 |
Search for the setting: -Djboss.socket.binding.port-offset=0 |
4 |
Change the setting to a proper offset. For example, -Djboss.socket.binding.port-offset=10 |
The http port is the only port that needs to be opened on existing firewalls.
• |
PeopleSoft® databases |
To stop the Stat Central Agent on either a Windows or a Unix platform, do one of the following:
For example, if you modified the port offset to one, you need to edit %STAT_HOME%\app\bin\shutdown.bat and modify it as below:
For Unix installations, you need to edit $STAT_HOME/app/bin/shutdown.sh and modify it as below.
If you previously used Wrapper.conf and other associated files to run the Stat® Central Agent functionality of the Stat Central Agent as a Windows® service, you must replace those files with the wrapper that is provided with the Stat Central Agent using the service.bat command located in the <STAT_HOME>/app/bin/service folder.
1 |
2 |
Edit <STAT_HOME>/app/bin/service/service.bat and locate the following lines: |
3 |
(Optional) In <STAT_HOME>/app/bin/service/service.bat, modify the following values if you want the service name to reflect Stat: |
• |
Set SHORTNAME=Wildfly |
• |
Set DISPLAYNAME=”Wildfly” |
• |
Set DESCRIPTION=”Wildfly Application Server” |
4 |
Specify one of the following parameters to run service.bat commands: install|uninstall|start|stop|restart |
NOTE: You may use the actual hostname instead of localhost above. Also note that port 9990 is used when your default post-offset is zero. If you have changed the port-offset, you need to use the corresponding management socket binding port. |
6 |
NOTE: The log files created in the <STAT_HOME>\app\standalone\log directory by service.bat are persistent. You should monitor the size of this file while running as a service. |
• |
To stop the service, run <STAT_HOME>\app\bin\service>service stop |
• |
To remove the service, run <STAT_HOME>\app\bin\service>service uninstall |
NOTE: If you experience issues when stopping the service, you need to edit <STAT_HOME>\app\bin\jboss-cli.bat and uncomment and set the JAVA_HOME location. |
The requirements have changed since 5.6.3. The DB2® Client connect does not need to be installed on the Stat® Central Agent machine, however the agent does need the jdbc drivers provided in DB2 connect.
The Stat Central Agent uses the IBM® JDBC type 4 driver. The required files can be found in C:\Program Files\IBM\SQLLIB\java of the DB2 client installation. Note that Stat requires a 32 bit version of these files.
2 |
Copy db2jcc.jar and db2jcc_license_%%.jar from C:\Program Files\IBM\SQLLIB\java to <STAT_HOME>\app\modules\com\ibm\db2\jcc\main directory. The location of required drivers may vary on your site due to DB2 installation preferences. |
3 |
Edit <STAT_HOME>\app\modules\com\ibm\db2\jcc\main\module.xml in a text editor and uncomment the 3 jar files in the resources section. |
4 |
Save the module.xml file. |
5 |
Edit <STAT_HOME>\app\standalone\configuration\standalone-full.xml (or for https, <STAT_HOME>\app\standalone\configuration\standalone-full-https.xml) in a text editor and locate the datasources:2.0 subsystem. You need to uncomment the driver for ibmJDBCDriver. |
6 |
NOTE: When you modify an .xml file, be sure that there is only one copy of it in the directory when you are finished. Do not rename the old copy and leave it in that directory. |
• |
Host Name — The IP address or Server name where the database resides |
• |
Service Name — The UDB/DB2 database name. This is database name as defined during installation, not an alias. |
• |
DB Listener Port — The port that is listening for requests against the UDB/DB2 database. |
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Feedback Conditions d’utilisation Confidentialité Cookie Preference Center