It helps if during development you disable the browser cache. Changes made either through editing in IntelliJ IDEA or pulled from git are, as far as I know, equivalent for these purposes. Managing Modifications/BuildsĪssuming you have JRebel working and properly integrated, different types of changes lead to different required actions to be properly reflected. Now you should be good to go to either login or register for an account. It will spew out lots of startup messages to the log, which should end with a message of the form: Start a terminal to watch for monitoring the logs during startup (if this is the first time you're starting Tomcat you'll need to do this after startup since the log won't yet exist): tail -f $TOMCAT_HOME/logs/catalina.out If it is running, issue a shutdown/kill until it succumbs (see above). Start Tomcat with JRebel and jpda debuggingīefore issuing the Tomcat start command, make sure it is really not running. If you see one, try to kill the process, ps again, etc. Look for processes with args relating to Tomcat. Make sure it's really dead: ps auwwx | grep java Issue the shutdown command: cd $TOMCAT_HOME Linux, if following directory pattern from Amazon EC2 setup example export TOMCAT_HOME=/opt/tomcat/home Shutdown Tomcatīefore trying to shutdown Tomcat, make sure the IntelliJ IDEA debugger doesn't have the process broken at a breakpoint. Mac: export TOMCAT_HOME=/Library/Tomcat/Home " "-Drebel.base=C:\Users\Administrator\.jrebel" ".version=7.1.4" "=4.6.2" "=Eclipse" "=eclipse" "=D:\WORK\order-workspace" "-Drebel.properties=C:\Users\Administrator\.jrebel\jrebel.properties" "-Dcatalina.base=D:\WORK\soft\apache-tomcat-8.5.11" "=D:\WORK\soft\apache-tomcat-8.5.11" "ploy=D:\WORK\soft\apache-tomcat-8.5.11\wtpwebapps" "-Dfile.encoding=UTF-8" "_run=true" "_single_jar=true" "_path=C:\Users\Administrator\.jrebel\bootcache\jrebel-bootstrap-78e81f594712148b85673e3b9dc30922.jar" "-cp" "D:\WORK\soft\apache-tomcat-8.5.11\bin\bootstrap.jar D:\WORK\soft\apache-tomcat-8.5.11\bin\tomcat-juli.jar C:\Program Files\Java\jdk1.8.0_92\lib\tools.jar" "-javaagent:D:\WORK\soft\eclipse\plugins\_7.1.4.RELEASE\jrebel\jrebel.jar" "-Xbootclasspath:C:\Program Files\Java\jdk1.8.0_92\jre\lib\resources.jar C:\Program Files\Java\jdk1.8.0_92\jre\lib\rt.jar C:\Program Files\Java\jdk1.8.0_92\jre\lib\sunrsasign.jar C:\Program Files\Java\jdk1.8.0_92\jre\lib\jsse.jar C:\Program Files\Java\jdk1.8.0_92\jre\lib\jce.jar C:\Program Files\Java\jdk1.8.0_92\jre\lib\charsets.jar C:\Program Files\Java\jdk1.8.0_92\jre\lib\jfr.jar C:\Program Files\Java\jdk1.8.0_92\jre\classes" "=C:\Users\Administrator\.jrebel\bootcache\" "-Drebel.log=trace" "-Drebel.no.ss=true" " Mac setup JRebel setup jrebel.tar rebel.xml Additional Tomcat setup Install IntelliJ IDEA IntelliJ IDEA settings Care and feeding of Tomcat Setup TOMCAT_HOME ![]() JRebel-JVMTI Executing command: "C:\Program Files\Java\jdk1.8.0_92\jre/bin/java" "=C:\Program Files\Java\jdk1.8.0_92\jre\lib\ext C:\windows\Sun\Java\lib\ext" "=D:\WORK\soft\apache-tomcat-8.5.11\endorsed" "=C:\Program Files\Java\jdk1.8.0_92\bin C:\windows\Sun\Java\bin C:\windows\system32 C:\windows C:/Program Files/Java/jdk1.8.0_92/bin/./jre/bin/server C:/Program Files/Java/jdk1.8.0_92/bin/./jre/bin C:/Program Files/Java/jdk1.8.0_92/bin/./jre/lib/amd64 C:\windows\system32 C:\windows C:\windows\System32\Wbem C:\windows\System32\WindowsPowerShell\v1.0\ C:\Program Files\Java\jdk1.8.0_92\bin \ D:\WORK\soft\apache-maven-3.3.9\bin C:\mysql\mysql-5.7.13-win圆4\bin D:\WORK\soft\NodeJs\ C:\Program Files\MacType C:\Program Files\TortoiseSVN\bin C:\Program Files\VisualSVN Server\bin C:\Program Files\Java\jdk1.8.0_92\bin C:\Program Files\Java\jdk1.8.0_92\jre\bin C:\Users\Administrator\AppData\Roaming\npm D:\WORK\soft\eclipse. JRebel-JVMTI exec command string length 2559 ![]() JRebel-JVMTI is C:\Program Files\Java\jdk1.8.0_92\jre JRebel-JVMTI No cached bootstrap jar, generating new one. JRebel-JVMTI Found jrebel.jar in D:\WORK\soft\eclipse\plugins\_7.1.4.RELEASE\jrebel\jrebel.jar JRebel-JVMTI Searching for jrebel.jar in D:\WORK\soft\eclipse\plugins\_7.1.4.RELEASE\jrebel\jrebel.jar JRebel-JVMTI Agent loaded from D:\WORK\soft\eclipse\plugins\_7.1.4.RELEASE\jrebel\lib\jrebel64.dll JRebel-JVMTI VM vendor: Oracle Corporation
3 Comments
|
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |