以编程方式检查glassfish是否在调试模式下运行
为了提供特殊的调试信息,我想知道glassfish服务器是否在调试模式下运行。是否可以通过编程方式检查运行模式?GlassFish服务器提供了一个REST API用于管理和监视。您可以连接到DAS并解析jvm选项: http://localhost:4848/management/domain/list-jvm-options.html 或: http://localhost:4848/management/domain/list-jvm-options.json 或: http://localhost:4848/management/domain/list-jvm-options.xml 希望这有帮助以编程方式检查glassfish是否在调试模式下运行,glassfish,Glassfish,为了提供特殊的调试信息,我想知道glassfish服务器是否在调试模式下运行。是否可以通过编程方式检查运行模式?GlassFish服务器提供了一个REST API用于管理和监视。您可以连接到DAS并解析jvm选项: http://localhost:4848/management/domain/list-jvm-options.html 或: http://localhost:4848/management/domain/list-jvm-options.json 或: http://local