This article provides a method to fix the FortiSIEM Appserver maxNumMsgs error.
FortiSIEM.
Occasionally, users may encounter GUI slowness and incident display issues. It is highly related to Appserver performance and needs further analysis from the logs:
# /opt/glassfish/domains/domain1/logs/phoenix.log |grep -i error
If users notice an error below:
2025-10-24 11:23:55,004 [http-listener-3(5)] ERROR com.ph.phoenix.ws.rest.RestResource - [PH_APPSERVER_REST_ERROR]:[phCustId]=1,[eventSeverity]=PHL_ERROR,[phEventCategory]=3,[procName]=AppServer,[className]=com.sun.messaging.jms.ra.DirectSession,[methodName]=_sendMessage,[lineNumber]=1602,[errReason]=MQJMSRA_DS4001: JMSServiceException on send message:sendMessage: Sending message failed. Connection ID: 6342081953174567680 Caused by:com.sun.messaging.jmq.jmsserver.util.BrokerException: [B4120]: Can not add message 686343-10.25.183.172(bd:57:2c:95:9f:f1)-1-1761328023001 to destination jms_RequestQueue [Queue]. The destination message count limit (maxNumMsgs) of 100000 has been reached.,[phLogDetail]=REST error
The solution below can be applied:
# su admin
# cd /opt/glassfish/domains/domain1/
# rm -rf generated/
# rm -rf osgi-cache/
# kill -9 $(cat /opt/glassfish/domains/domain1/config/pid)
After 10, 15 minutes, the GUI will be restored, and users may monitor the GUI performance.
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.