1

JRebel 设置: 在此处输入图像描述

在此处输入图像描述

C:\JRebel-5.0:

16.07.2012  13:29    <DIR>          .
16.07.2012  13:29    <DIR>          ..
16.07.2012  04:23            71 264 3rd-party-licenses.txt
16.07.2012  05:04    <DIR>          bin
16.07.2012  04:08            48 511 Changelog.txt
16.07.2012  05:04    <DIR>          doc
16.07.2012  04:18             1 150 jrebel.ico
16.07.2012  13:29                20 jrebel.info
16.07.2012  13:29                20 jrebel.info.tmp
16.07.2012  04:23         4 398 694 jrebel.jar
16.07.2012  05:05            23 977 jrebel.plugininfo
16.07.2012  04:23               685 jrebel.png
16.07.2012  04:23            29 499 License.txt
16.07.2012  13:29               123 licensing.info
16.07.2012  04:23               188 readme.txt
16.07.2012  04:23               237 ZeroTurnaround.url

c:\Users\Abbas\.IntelliJIdea11\config\plugins\jr-ide-idea\lib\jrebel:

16.07.2012  12:09    <DIR>          .
16.07.2012  12:09    <DIR>          ..
16.07.2012  04:59            71 264 3rd-party-licenses.txt
16.07.2012  04:59    <DIR>          bin
16.07.2012  04:59            48 511 Changelog.txt
16.07.2012  04:59    <DIR>          conf
16.07.2012  04:59    <DIR>          doc
16.07.2012  04:59    <DIR>          extras
16.07.2012  04:59             1 150 jrebel.ico
16.07.2012  04:23         4 398 694 jrebel.jar
16.07.2012  12:09            23 977 jrebel.plugininfo
16.07.2012  04:59               685 jrebel.png
16.07.2012  04:59            29 499 License.txt
16.07.2012  05:03               156 licensing.info
16.07.2012  04:59               188 readme.txt
16.07.2012  04:59               237 ZeroTurnaround.url

运行/调试配置: 在此处输入图像描述

在此处输入图像描述

在此处输入图像描述

使用“JBoss 4.2.3 GA Local”运行 Jrebel 后,我看不到 Jrebel 消息:

C:\JBOSS\jboss-portal-2.7.2\bin\run-jrebel.cmd -c default
[2012-07-16 01:55:53,831] Artifact app-ear:ear: Server is not connected. Press 'Deploy' to start deployment.
[2012-07-16 01:55:53,832] Artifact my-portlet:war: Server is not connected. Press 'Deploy' to start deployment.
===============================================================================

  JBoss Bootstrap Environment

  JBOSS_HOME: C:\JBOSS\jboss-portal-2.7.2

  JAVA: C:\Program Files\Java\jdk1.6.0_25\bin\java

  JAVA_OPTS: -Xdebug -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n -Dhttp.proxyHost=188.173.32.78 -Dhttp.proxyPort=3128 -DproxySet=true -Dprogram.name=run.bat -server -Xms256m -Xmx512m -XX:MaxPermSize=256m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000

  CLASSPATH: C:\Program Files\Java\jdk1.6.0_25\lib\tools.jar;C:\JBOSS\jboss-portal-2.7.2\bin\run.jar

===============================================================================

Listening for transport dt_socket at address: 8787
13:55:54,459 INFO  [Server] Starting JBoss (MX MicroKernel)...
13:55:54,462 INFO  [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)
13:55:54,464 INFO  [Server] Home Dir: C:\JBOSS\jboss-portal-2.7.2
13:55:54,464 INFO  [Server] Home URL: file:/C:/JBOSS/jboss-portal-2.7.2/
13:55:54,465 INFO  [Server] Patch URL: null
13:55:54,466 INFO  [Server] Server Name: default
13:55:54,466 INFO  [Server] Server Home Dir: C:\JBOSS\jboss-portal-2.7.2\server\default
13:55:54,466 INFO  [Server] Server Home URL: file:/C:/JBOSS/jboss-portal-2.7.2/server/default/
13:55:54,467 INFO  [Server] Server Log Dir: C:\JBOSS\jboss-portal-2.7.2\server\default\log
13:55:54,467 INFO  [Server] Server Temp Dir: C:\JBOSS\jboss-portal-2.7.2\server\default\tmp
13:55:54,467 INFO  [Server] Root Deployment Filename: jboss-service.xml
13:55:55,092 INFO  [ServerInfo] Java version: 1.6.0_25,Sun Microsystems Inc.
13:55:55,093 INFO  [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM 20.0-b11,Sun Microsystems Inc.
13:55:55,093 INFO  [ServerInfo] OS-System: Windows 7 6.1,amd64
13:55:56,147 INFO  [Server] Core system initialized
4

1 回答 1

2

这是 5.0 中的一个错误。将 -Drebel.log=true 添加到 VM 参数,日志将写入 {user.home}/.jrebel/jrebel.log

你最好从“Run with JRebel”按钮开始,而不是替换启动脚本。

于 2012-07-16T21:14:24.267 回答