简体   繁体   English

在JBoss中使用Hotswap代理(Jboss Developer Studio)

[英]Using Hotswap Agent with JBoss (Jboss Developer Studio)

The tutorial here: http://www.hotswapagent.org/quick-start 此处的教程: http : //www.hotswapagent.org/quick-start

says to use: 说使用:

-XXaltjvm=dcevm -javaagent:PATH_TO_AGENT\hotswap-agent.jar

as command line arguments. 作为命令行参数。

However, when running my servlet on JBoss, from the JBoss developer studio, how do I pass in these arguments? 但是,当从JBoss开发人员工作室在JBoss上运行servlet时,如何传递这些参数?

At a first look, it may be something with eclipse.ini/config.ini , but the IDE jvm spawn a new jvm for the JBoss server, does it pass arguments from the .ini to that? eclipse.ini/config.ini ,它可能与eclipse.ini/config.ini ,但是IDE jvm为JBoss服务器生成了一个新的jvm,它是否将.ini参数传递给它?

Double click to open server configuration 双击打开服务器配置

服务器配置

Click to open dialog below 点击打开下面的对话框

服务器配置启动

finally add or edit your vm arguments. 最后添加或编辑您的vm参数。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM