最近更新到jrebel6.2.1了,我自己做了个技术分享的微信公众号(茶爸爸),有心的朋友可以来这里一起学习
云盘下载链接:
http://pan.baidu.com/s/1bnGzMUF
配置:
-noverify
-javaagent:/Users/chababa/Desktop/dev/applications/jrebel_6.2.1-agent-crack/jrebel.jar
-Xbootclasspath/p:/var/folders/8y/s9s8bfjj0p9_t01p9w0kcwsm0000gp/T//rebelboot.jar
-Drebel.generate.show=true
-Drebel.spring_plugin=true
-Drebel.aspectj_plugin=true
-Drebel.cxf_plugin=true
-Drebel.logback_plugin=true
-Drebel.mybatis_plugin=true
--------------------------------------------------------------
开放链接:http://pan.baidu.com/s/1gd9xkEv
-javaagent:/Users/chababa/Desktop/dev/applications/jrebel/jrebel.jar
-Xbootclasspath/p:jrebel-bootstrap.jar;jrebel.jar
-Drebel.generate.show=true
-Drebel.spring_plugin=true
-Drebel.aspectj_plugin=true
-Drebel.cxf_plugin=true
-Drebel.logback_plugin=true
-Drebel.mybatis_plugin=true
,server=y,suspend=n
======================================启动提示配置成功============================================
2015-03-08 20:26:18 JRebel:
2015-03-08 20:26:18 JRebel: #############################################################
2015-03-08 20:26:18 JRebel:
2015-03-08 20:26:18 JRebel: JRebel Legacy Agent 6.0.0 (201410311556)
2015-03-08 20:26:18 JRebel: (c) Copyright ZeroTurnaround AS, Estonia, Tartu.
2015-03-08 20:26:18 JRebel:
2015-03-08 20:26:18 JRebel: Over the last 30 days JRebel prevented
2015-03-08 20:26:18 JRebel: at least 3 redeploys/restarts saving you about 0.1 hours.
2015-03-08 20:26:18 JRebel:
2015-03-08 20:26:18 JRebel: Over the last 63 days JRebel prevented
2015-03-08 20:26:18 JRebel: at least 4 redeploys/restarts saving you about 0.2 hours.
2015-03-08 20:26:18 JRebel:
2015-03-08 20:26:18 JRebel: Licensed to anonymous-user
2015-03-08 20:26:18 JRebel: with the following restrictions:
2015-03-08 20:26:18 JRebel: ####### Cracked by anonymous-user, For FUN! Unlimited! Enjoy! ######
2015-03-08 20:26:18 JRebel:
2015-03-08 20:26:18 JRebel: License type: perpetual
2015-03-08 20:26:18 JRebel:
2015-03-08 20:26:18 JRebel:
2015-03-08 20:26:18 JRebel: #############################################################
2015-03-08 20:26:18 JRebel:
*****************************
更改java文件后,jrebel编译并自动加载到jvm
##################################################################################
2015-03-08 20:26:54 JRebel: Reloading class 'org.demo.DemoController'.
2015-03-08 20:26:54 JRebel-Spring: Reconfiguring bean 'demoController' [org.demo.DemoController]
2015-03-08 20:26:54,511 INFO [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping] - Mapped "{[/test],methods=[],params=[],headers=[],consumes=[],produces=[],custom=[]}" onto public
java.lang.String org.demo.DemoController.test()
2015-03-08 20:26:54,512 INFO [org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping] - Mapped "{[/test1],methods=[],params=[],headers=[],consumes=[],produces=[],custom=[]}" onto public
java.lang.String org.demo.DemoController.test1()
上述参数的相关说明:
-agentpath: 这个是你使用的JRebel Agent版本的lib包的路径(路径后缀不要写成jrebel.jar),注意其中的斜线方向。
-Drebel.dirs :这个是你要监控的项目的 class 文件路径
-Drebel.disable_update: 设为true,就不会联网检查更新
-DJAVA_OPTS: 这个选项不是必须,当内存溢出的时候或其它特殊情况下才需要设置它的参数大小。