[embjopr-commits] EMBJOPR SVN: r674 - trunk/jsfunit.
embjopr-commits at lists.jboss.org
embjopr-commits at lists.jboss.org
Mon Aug 17 17:47:24 EDT 2009
Author: ozizka at redhat.com
Date: 2009-08-17 17:47:24 -0400 (Mon, 17 Aug 2009)
New Revision: 674
Modified:
trunk/jsfunit/pom.xml
Log:
* POM - added a profile enabling remote jmx
Modified: trunk/jsfunit/pom.xml
===================================================================
--- trunk/jsfunit/pom.xml 2009-08-14 23:36:39 UTC (rev 673)
+++ trunk/jsfunit/pom.xml 2009-08-17 21:47:24 UTC (rev 674)
@@ -6,6 +6,7 @@
<cargo.plugin.version>1.0.1-SNAPSHOT</cargo.plugin.version>
<jvm.args.debug></jvm.args.debug> <!-- Used by the -Pdebug profile. -->
<jvm.args.profiler></jvm.args.profiler> <!-- Used by the -Pprofile profile. -->
+ <jvm.args.exposejmx></jvm.args.exposejmx> <!-- Expose JMX - used to enable the Hibernate statistics. -->
<cargo.jboss.configuration>default</cargo.jboss.configuration><!-- JBoss AS configuration. -->
<cargo.jboss.bind.address>localhost</cargo.jboss.bind.address><!-- Address for JBoss AS to bind to. -->
@@ -16,7 +17,7 @@
<parent>
<groupId>org.jboss.jopr</groupId>
<artifactId>jopr-embedded-parent</artifactId>
- <version>1.3.0-SNAPSHOT</version>
+ <version>1.3.1-SNAPSHOT</version>
</parent>
<groupId>org.jboss.jopr</groupId>
@@ -369,7 +370,7 @@
<!-- Raise permgen size, allow classes unloading and permgen sweep -->
<!-- xb.builder.useUnorderedSequence=true is the same what run.sh does. -->
<!-- See http://www.nabble.com/changes-in-parsing-with-xb-td22478176.html -->
- <cargo.jvmargs>${jvm.args.debug} ${jvm.args.profiler} -Xmx1024m -Dxb.builder.useUnorderedSequence=true -XX:PermSize=256m -XX:MaxPermSize=512m</cargo.jvmargs>
+ <cargo.jvmargs>${jvm.args.debug} ${jvm.args.profiler} ${jvm.args.exposejmx} -Xmx1024m -Dxb.builder.useUnorderedSequence=true -XX:PermSize=256m -XX:MaxPermSize=512m</cargo.jvmargs>
<!-- -XX:+UseConcMarkSweepGC -XX:+CMSPermGenSweepingEnabled -XX:+CMSClassUnloadingEnabled -->
<!-- JBoss configuration - default, all, standard -->
<cargo.jboss.configuration>${cargo.jboss.configuration}</cargo.jboss.configuration>
@@ -586,6 +587,17 @@
</properties>
</profile>
+
+ <!-- Expose JMX - used to enable the Hibernate statistics. -->
+ <profile>
+ <id>jmx</id>
+ <properties>
+ <jvm.args.exposejmx>-Dcom.sun.management.jmxremote.port=9002 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.awt.headless=true</jvm.args.exposejmx>
+ </properties>
+ </profile>
+
+
+
<!-- Profiler profile - enables JBoss Profiler. -->
<profile>
<id>profile</id>
More information about the embjopr-commits
mailing list