【问题标题】:Configuring JRebel 5 with Resin 3.1.x on mac在 mac 上使用 Resin 3.1.x 配置 JRebel 5
【发布时间】:2012-12-28 05:47:48
【问题描述】:

我正在评估 JRebel,我能够在几分钟内在 tomcat 上安装和测试它,但我花了几个小时尝试使用 Resin 3.1 对其进行配置。 我在应用服务器日志中收到以下错误:

#############################################################

JRebel Resin installation problem!

See http://www.zeroturnaround.com/resin-problem/ or consult with the installation manual for correct JRebel installation with Resin server.

#############################################################

当我导航到指定的网址时:http://www.zeroturnaround.com/resin-problem/ 我收到了404 page not found

我能够重新部署 jsps,但 JRebel 从未检测过类(但它们被 jrebel 正确监控,如 jrebel.log 中所述)。 简单地执行 Web 应用程序不会触发受监控的类检测和重新加载。

我阅读了有关 Resin 类加载器 (SystemClassLoader) 和 JRebel 检测的问题,但我不明白如何配置 JRebel 来解决它,并且引用的有关树脂问题的 url 不可用。

有人能够将 JRebel 与 Resin 3.1.x 集成吗?

【问题讨论】:

    标签: java classloader resin jrebel


    【解决方案1】:

    你是如何配置 -javaagent 参数的?

    应该这样配置:

    http://manuals.zeroturnaround.com/jrebel-reference-manual/server.html#server-4.6.26

    【讨论】:

    • 感谢它的工作!我的问题是我尝试使用 resin.conf(使用 )将 JRebel 代理附加到树脂 WatchDog 进程,因为在我们的开发环境中修改 httpd.sh 会出现更多问题。你知道是否可以在不接触 httpd.sh 的情况下集成 JRebel 和 Resin 3.1+(使用resin.conf 或以其他方式)?再次感谢
    • 使用 3.1 之前的 Resin 版本(也在手册中描述)可以做你想做的事,但是我现在不能真正告诉你原因,因为我必须挖掘原因在历史上,对不起。
    猜你喜欢
    • 2012-10-13
    • 2011-08-24
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2016-01-22
    • 2011-07-02
    • 2010-09-23
    相关资源
    最近更新 更多