java - JRebel Tomcat + Websphere -
can tell intellij rebuild .class tomcat , in webpshere jar files?
my module configuration:
<application generated-by="intellij" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xmlns="http://www.zeroturnaround.com" xsi:schemalocation="http://www.zeroturnaround.com http://update.zeroturnaround.com/jrebel/rebel-2_1.xsd"> <classpath> <dir name="c:/workspace/project/pro-commands/target/classes"> </dir> <jar name="c:/workspace/was8.5/profiles/project/installedapps/pckserkowskinode01cell/project-test.ear/pro-commands-1.0-snapshot.jar"> </jar> </classpath> </application>
<dir>
work tomcat <jar>
websphere never used.
if want reload classes in tomcat , websphere @ same time, need deploy application rebel.xml points location ide compiles classes to.
i think mistake think configuration file used point @ application should reloaded? no!
instead, rebel.xml configuration file used jrebel agent reconfigure classloader load resources locations specified in configuration file.
the first entry in example correct, since classes reloaded. what's missing, probably, rebel.xml in application deployed in websphere. if need reload classes reside in jar, please make sure rebel.xml packaged root of jar file. should work fine.
if 100% sure configuration file there, , still not see classes reloaded, please contact jrebel support team @ support@zeroturnaround.com -- assist on troubleshooting issue.
Comments
Post a Comment