【问题标题】:Websphere verbose classloading of certain packages某些包的 Websphere 详细类加载
【发布时间】:2012-12-16 16:43:03
【问题描述】:

在 websphere 7 中,有什么方法可以限制详细的类加载以仅记录某些包中的类。假设我只想查看从包 com.mycompany.* 加载的类?

【问题讨论】:

    标签: java websphere classloader websphere-7 verbose


    【解决方案1】:

    IBM SDK and Runtime Environment Java Technology Edition Version 6Class-loader runtime diagnostics 部分中指定(Java WebSphere 使用该部分)

    您可以设置-Dibm.cl.verbose=<class_expression> 变量以执行您想要的操作,在您的情况下为-Dibm.cl.verbose=com.mycompany.*

    Application servers > server1 > Process definition > Java Virtual Machine 下的 WebSphere 管理控制台中,而不是检查 Verbose class loading,只需将变量添加到 Generic JVM arguments 就可以了

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多