2017-06-22 4 views
0

Comme notre processus par lots du printemps prend beaucoup de temps, nous voulons déployer les modifications Java sans redémarrer notre script Unix. Ce script unix a essentiellement les commandes pour exécuter notre classe Java principale. Je veux activer la fonctionnalité de jrebel dans notre application. Je suis passé par un certain nombre de documents, mais je n'en ai trouvé aucun.Jrebel pour l'application par lots du printemps sous Unix

Quelqu'un peut-il vous aider s'il vous plaît?

Répondre

1

Sur la base de votre IDE, vous pouvez suivre la configuration tout here

Vous n'ajoutez pas JRebel javaagent au serveur d'applications, mais vous devez ajouter JRebel l'argument -agentpath à la commande machine virtuelle Java:

Windows 64-bit JDK java -agentpath:C:\JRebel\lib\jrebel64.dll com.example.Main 
Windows 32-bit JDK java -agentpath:C:\JRebel\lib\jrebel32.dll com.example.Main 
Mac OS X 64-bit JDK java -agentpath:/home/user/jrebel/lib/libjrebel64.dylib com.example.Main 
Mac OS X 32-bit JDK java -agentpath:/home/user/jrebel/lib/libjrebel32.dylib com.example.Main 
Linux 64-bit JDK java -agentpath:/home/user/jrebel/lib/libjrebel64.so com.example.Main 
Linux 32-bit JDK java -agentpath:/home/user/jrebel/lib/libjrebel32.so com.example.Main