EMBJOPR SVN: r266 - in trunk/jsfunit: src/test/java/org/jboss/jopr/jsfunit/as5 and 1 other directory.
by embjopr-commits@lists.jboss.org
Author: fjuma
Date: 2009-03-31 14:34:17 -0400 (Tue, 31 Mar 2009)
New Revision: 266
Modified:
trunk/jsfunit/pom.xml
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/JMSTest.java
Log:
Added a couple of creation tests for topics and queues that attempt to specify values for ObjectName ManagedProperties (see JOPR-121).
Updated jsfunit/pom.xml to use org.jboss.integration 5.1.0.CR2.
Made some minor modifications to the tests for topics and queues.
Modified: trunk/jsfunit/pom.xml
===================================================================
--- trunk/jsfunit/pom.xml 2009-03-31 17:52:31 UTC (rev 265)
+++ trunk/jsfunit/pom.xml 2009-03-31 18:34:17 UTC (rev 266)
@@ -112,7 +112,7 @@
<dependency>
<groupId>org.jboss.integration</groupId>
<artifactId>jboss-profileservice-spi</artifactId>
- <version>5.1.0.CR1</version>
+ <version>5.1.0.CR2</version>
<scope>provided</scope>
</dependency>
<dependency>
Modified: trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/JMSTest.java
===================================================================
--- trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/JMSTest.java 2009-03-31 17:52:31 UTC (rev 265)
+++ trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/JMSTest.java 2009-03-31 18:34:17 UTC (rev 266)
@@ -127,6 +127,10 @@
private TopicConnection topicConnection = null;
private QueueConnection queueConnection = null;
+ private static final String DLQ = "jboss.messaging.destination:service=Queue,name=DLQ";
+ private static final String EXPIRY_QUEUE = "jboss.messaging.destination:service=Queue,name=ExpiryQueue";
+ private static final String SERVER_PEER = "jboss.messaging:service=ServerPeer";
+
/**
* Create a new topic or queue using the given destination type and properties.
*/
@@ -156,6 +160,7 @@
protected Map<String, MetaValue> createQueue(String queueName) throws IOException, EmbJoprTestException {
Map<String, MetaValue> propertiesMap = new LinkedHashMap<String, MetaValue>();
+ propertiesMap.put("name", SimpleValueSupport.wrap(queueName));
propertiesMap.put("JNDIName", SimpleValueSupport.wrap(queueName));
propertiesMap.put("clustered", SimpleValueSupport.wrap(Boolean.FALSE));
propertiesMap.put("downCacheSize", SimpleValueSupport.wrap(new Integer(1500)));
@@ -176,11 +181,13 @@
*/
protected Map<String, MetaValue> createTopic(String topicName) throws IOException, EmbJoprTestException {
Map<String, MetaValue> propertiesMap = new LinkedHashMap<String, MetaValue>();
+ propertiesMap.put("name", SimpleValueSupport.wrap(topicName));
propertiesMap.put("JNDIName", SimpleValueSupport.wrap(topicName));
propertiesMap.put("clustered", SimpleValueSupport.wrap(Boolean.TRUE));
propertiesMap.put("fullSize", SimpleValueSupport.wrap(new Integer(70000)));
propertiesMap.put("maxSize", SimpleValueSupport.wrap(new Integer(70000)));
propertiesMap.put("redeliveryDelay", SimpleValueSupport.wrap(new Long(60000)));
+ propertiesMap.put("downCacheSize", SimpleValueSupport.wrap(new Integer(2000)));
createDestination(DestinationType.TOPIC, TOPIC_DEFAULT_TEMPLATE, propertiesMap);
client.click("resourceConfigurationForm:saveButton");
@@ -200,11 +207,11 @@
*/
protected Map<String, MetaValue> getSpecificComponentProperties(String componentName,
ComponentType type) throws Exception {
- String[] specificProperties = new String[] {"JNDIName", "clustered",
+ String[] specificProperties = new String[] {"name", "JNDIName", "clustered",
"downCacheSize", "fullSize",
"maxDeliveryAttempts", "maxSize",
"messageCounterHistoryDayLimit", "pageSize",
- "redeliveryDelay"};
+ "redeliveryDelay", "DLQ", "expiryQueue", "serverPeer"};
return super.getSpecificComponentProperties(componentName, type, specificProperties);
}
@@ -449,6 +456,7 @@
// The properties we want to configure
Map<String, MetaValue> propertiesMap = new LinkedHashMap<String, MetaValue>();
+ propertiesMap.put("name", SimpleValueSupport.wrap(jndiName));
propertiesMap.put("JNDIName", SimpleValueSupport.wrap(jndiName));
propertiesMap.put("clustered", SimpleValueSupport.wrap(Boolean.TRUE));
propertiesMap.put("downCacheSize", SimpleValueSupport.wrap(new Integer(2500)));
@@ -475,6 +483,70 @@
deleteDestination(destinationType, jndiName);
}
+ /**
+ * Test Name: testCreateQueueSetObjectNameManagedProperties
+ * Assertion: Verify the ability to specify ObjectName ManagedProperties
+ * (eg. DLQ, expiryQueue, serverPeer) when creating a new queue.
+ * (See JOPR-121)
+ */
+ public void testCreateQueueSetObjectNameManagedProperties() throws Exception {
+ String jndiName = "ObjectNameManagedPropertiesQueue";
+ String expectedMessage = ADD_MESSAGE + DestinationType.QUEUE.getName();
+
+ createDestinationWithObjectNameManagedProperties(DestinationType.QUEUE, QUEUE_DEFAULT_TEMPLATE,
+ jndiName, expectedMessage, QUEUE_COMPONENT_TYPE);
+ }
+
+ /**
+ * Test Name: testCreateTopicSetObjectNameManagedProperties
+ * Assertion: Verify the ability to specify ObjectName ManagedProperties
+ * (eg. DLQ, expiryQueue, serverPeer) when creating a new topic.
+ * (See JOPR-121)
+ */
+ public void testCreateTopicSetObjectNameManagedProperties() throws Exception {
+
+ String jndiName = "ObjectNameManagedPropertiesTopic";
+ String expectedMessage = ADD_MESSAGE + DestinationType.TOPIC.getName();
+
+ createDestinationWithObjectNameManagedProperties(DestinationType.QUEUE, QUEUE_DEFAULT_TEMPLATE,
+ jndiName, expectedMessage, QUEUE_COMPONENT_TYPE);
+ }
+
+ /**
+ * Common code for the testCreateQueueSetObjectNameManagedProperties() and
+ * testCreateTopicSetObjectNameManagedProperties() tests.
+ */
+ private void createDestinationWithObjectNameManagedProperties(DestinationType destinationType,
+ String destinationTemplate,
+ String jndiName,
+ String expectedMessage,
+ ComponentType componentType) throws Exception {
+
+ // The properties we want to configure
+ Map<String, MetaValue> propertiesMap = new LinkedHashMap<String, MetaValue>();
+ propertiesMap.put("name", SimpleValueSupport.wrap(jndiName));
+ propertiesMap.put("JNDIName", SimpleValueSupport.wrap(jndiName));
+ propertiesMap.put("downCacheSize", SimpleValueSupport.wrap(new Integer(2500)));
+ propertiesMap.put("DLQ", SimpleValueSupport.wrap(DLQ));
+ propertiesMap.put("expiryQueue", SimpleValueSupport.wrap(EXPIRY_QUEUE));
+ propertiesMap.put("serverPeer", SimpleValueSupport.wrap(SERVER_PEER));
+
+ createDestination(destinationType, destinationTemplate, propertiesMap);
+ client.click("resourceConfigurationForm:saveButton");
+
+ // Check for the appropriate success messages
+ checkClientAndServerMessages(expectedMessage, expectedMessage, false);
+
+ // Make sure the ManagedComponent was created and that the properties are
+ // set correctly
+ assertTrue("The destination is not deployed ",
+ isDeployed(jndiName + "-service.xml"));
+ checkComponentProperties(propertiesMap, jndiName, componentType);
+
+ // Clean up
+ deleteDestination(destinationType, jndiName);
+ }
+
/**
* Test Name: testCreateQueueMissingRequiredValue
* Assertion: Verify the ability to handle a missing required value when
@@ -544,6 +616,7 @@
String jndiName) throws IOException, EmbJoprTestException {
// The properties we want to configure
Map<String, MetaValue> propertiesMap = new LinkedHashMap<String, MetaValue>();
+ propertiesMap.put("name", SimpleValueSupport.wrap(jndiName));
propertiesMap.put("JNDIName", SimpleValueSupport.wrap(jndiName));
propertiesMap.put("clustered", SimpleValueSupport.wrap(Boolean.TRUE));
propertiesMap.put("downCacheSize", SimpleValueSupport.wrap(new Integer(2500)));
@@ -592,10 +665,12 @@
String jndiName) throws IOException, EmbJoprTestException {
// The properties we want to configure
Map<String, MetaValue> propertiesMap = new LinkedHashMap<String, MetaValue>();
+ propertiesMap.put("name", SimpleValueSupport.wrap(jndiName));
propertiesMap.put("JNDIName", SimpleValueSupport.wrap(jndiName));
propertiesMap.put("clustered", SimpleValueSupport.wrap(Boolean.TRUE));
propertiesMap.put("messageCounterHistoryDayLimit", SimpleValueSupport.wrap(new Integer(0)));
propertiesMap.put("redeliveryDelay", SimpleValueSupport.wrap(new Long(50000)));
+ propertiesMap.put("downCacheSize", SimpleValueSupport.wrap(new Integer(1500)));
// This property value is supposed to be an integer
propertiesMap.put("maxDeliveryAttempts", SimpleValueSupport.wrap("fifteen"));
@@ -615,8 +690,11 @@
* occurs.
*/
public void testCreateQueueDuplicateJNDIName() throws IOException, EmbJoprTestException {
- createDestinationDuplicateJNDIName(DestinationType.QUEUE, QUEUE_DEFAULT_TEMPLATE,
- "TestQueue");
+ String jndiName = "TestQueue";
+ createQueue(jndiName);
+
+ checkDestinationDuplicateJNDIName(DestinationType.QUEUE, jndiName);
+
}
/**
@@ -626,28 +704,23 @@
* occurs.
*/
public void testCreateTopicDuplicateJNDIName() throws IOException, EmbJoprTestException {
- createDestinationDuplicateJNDIName(DestinationType.TOPIC, TOPIC_DEFAULT_TEMPLATE,
- "TestTopic");
+ String jndiName = "TestTopic";
+ createTopic(jndiName);
+
+ checkDestinationDuplicateJNDIName(DestinationType.TOPIC, jndiName);
}
/**
* Common code for the testCreate*DuplicateJNDIName() tests.
*/
- public void createDestinationDuplicateJNDIName(DestinationType destinationType,
- String destinationTemplate,
- String jndiName) throws IOException, EmbJoprTestException {
- // The properties we want to configure
- Map<String, MetaValue> propertiesMap = new LinkedHashMap<String, MetaValue>();
- propertiesMap.put("JNDIName", SimpleValueSupport.wrap(jndiName));
-
- createDestination(destinationType, destinationTemplate, propertiesMap);
- client.click("resourceConfigurationForm:saveButton");
-
+ public void checkDestinationDuplicateJNDIName(DestinationType destinationType,
+ String jndiName) throws IOException, EmbJoprTestException {
+
// Check for the appropriate error messages
String expectedMessage = "A " + destinationType.getName() + " named '" + jndiName + "' already exists";
checkClientAndServerMessages(expectedMessage, expectedMessage, true);
}
-
+
/*
* DELETION TESTS
*/
15 years, 9 months
EMBJOPR SVN: r265 - trunk/jsfunit.
by embjopr-commits@lists.jboss.org
Author: ozizka(a)redhat.com
Date: 2009-03-31 13:52:31 -0400 (Tue, 31 Mar 2009)
New Revision: 265
Modified:
trunk/jsfunit/pom.xml
Log:
POM: Fixed: "m" at the end of -XX:MaxPermSize=256m
Modified: trunk/jsfunit/pom.xml
===================================================================
--- trunk/jsfunit/pom.xml 2009-03-31 17:32:04 UTC (rev 264)
+++ trunk/jsfunit/pom.xml 2009-03-31 17:52:31 UTC (rev 265)
@@ -297,7 +297,7 @@
<properties>
<cargo.java.home>${JAVA_HOME}</cargo.java.home>
<!-- Raise permgen size, allow classes unloading and permgen sweep -->
- <cargo.jvmargs>-Dcom.sun.management.jmxremote -XX:PermSize=128m -XX:MaxPermSize=256</cargo.jvmargs>
+ <cargo.jvmargs>-Dcom.sun.management.jmxremote -XX:PermSize=128m -XX:MaxPermSize=256m</cargo.jvmargs>
<!-- -XX:+UseConcMarkSweepGC -XX:+CMSPermGenSweepingEnabled -XX:+CMSClassUnloadingEnabled -->
<!-- JBoss configuration - default, all, minimal, ... -->
<cargo.jboss.configuration>${cargo.jboss.configuration}</cargo.jboss.configuration>
@@ -372,10 +372,17 @@
<configuration>
<skip>false</skip>
<includes>
+ <!--
<include>**/as5/*Test.java</include>
<include>**/jsfunit/*Test.java</include>
- <!--
+
+ <include>**/as5/ApplicationsPageTest.java</include>
+ <include>**/as5/EarTest.java</include>
+ <include>**/JavaScriptTest.java</include>
+ <include>**/as5/EarTest.java</include>
+ <include>**/jsfunit/MultipleUserLoginTest.java</include>
-->
+ <include>**/as5/WarTest.java</include>
</includes>
<excludes>
<exclude>**/as4/**</exclude>
15 years, 9 months
EMBJOPR SVN: r264 - trunk/jsfunit.
by embjopr-commits@lists.jboss.org
Author: ozizka(a)redhat.com
Date: 2009-03-31 13:32:04 -0400 (Tue, 31 Mar 2009)
New Revision: 264
Modified:
trunk/jsfunit/pom.xml
Log:
POM: Added Maven's cargo.jboss.configuration property that's passed to Cargo plugin cargo.jboss.configuration property. Default is "default". Usage:
mvn clean install -Pjboss5.x -Dcargo.jboss.configuration=all
Modified: trunk/jsfunit/pom.xml
===================================================================
--- trunk/jsfunit/pom.xml 2009-03-30 23:43:03 UTC (rev 263)
+++ trunk/jsfunit/pom.xml 2009-03-31 17:32:04 UTC (rev 264)
@@ -5,7 +5,8 @@
>
<modelVersion>4.0.0</modelVersion>
<properties>
- <jopr.version>1.2.0-SNAPSHOT</jopr.version>
+ <jopr.version>1.2.0-SNAPSHOT</jopr.version>
+ <cargo.jboss.configuration>default</cargo.jboss.configuration>
</properties>
<parent>
@@ -179,6 +180,8 @@
<home>target/jboss4.2</home>
<properties>
<cargo.java.home>${JAVA_HOME}</cargo.java.home>
+ <!-- JBoss configuration - default, all, minimal, ... -->
+ <cargo.jboss.configuration>${cargo.jboss.configuration}</cargo.jboss.configuration>
</properties>
<!-- Override Cargo's default files (some taken from cargo's .jar, some from 'default') -->
<configfiles>
@@ -294,9 +297,10 @@
<properties>
<cargo.java.home>${JAVA_HOME}</cargo.java.home>
<!-- Raise permgen size, allow classes unloading and permgen sweep -->
- <cargo.jvmargs>-XX:PermSize=128m -XX:MaxPermSize=128</cargo.jvmargs>
+ <cargo.jvmargs>-Dcom.sun.management.jmxremote -XX:PermSize=128m -XX:MaxPermSize=256</cargo.jvmargs>
<!-- -XX:+UseConcMarkSweepGC -XX:+CMSPermGenSweepingEnabled -XX:+CMSClassUnloadingEnabled -->
- <!-- <com.sun.management.jmxremote></com.sun.management.jmxremote> -->
+ <!-- JBoss configuration - default, all, minimal, ... -->
+ <cargo.jboss.configuration>${cargo.jboss.configuration}</cargo.jboss.configuration>
</properties>
<!-- Override Cargo's default files (some taken from cargo's .jar, some from 'default') -->
<configfiles>
15 years, 9 months
EMBJOPR SVN: r263 - trunk/jbas5/etc/overlay/server/default/deploy.
by embjopr-commits@lists.jboss.org
Author: ips
Date: 2009-03-30 19:43:03 -0400 (Mon, 30 Mar 2009)
New Revision: 263
Added:
trunk/jbas5/etc/overlay/server/default/deploy/MyQueueWithSecurityConfig-service.xml
Log:
a sample queue that has a security config
Added: trunk/jbas5/etc/overlay/server/default/deploy/MyQueueWithSecurityConfig-service.xml
===================================================================
--- trunk/jbas5/etc/overlay/server/default/deploy/MyQueueWithSecurityConfig-service.xml (rev 0)
+++ trunk/jbas5/etc/overlay/server/default/deploy/MyQueueWithSecurityConfig-service.xml 2009-03-30 23:43:03 UTC (rev 263)
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+
+<server>
+ <mbean xmbean-dd="xmdesc/Queue-xmbean.xml" name="jboss.messaging.destination:service=Queue,name=MyQueueWithSecurityConfig" code="org.jboss.jms.server.destination.QueueService">
+
+ <annotation>@org.jboss.system.deployers.managed.ManagementObjectClass(code=org.jboss.jms.server.destination.QueueServiceMO)</annotation>
+
+ <attribute name="JNDIName">MyQueueWithSecurityConfig</attribute>
+ <attribute name="SecurityConfig">
+ <security>
+ <role name="consumer" read="true" write="false" create="false"/>
+ <role name="publisher" read="true" write="true" create="false"/>
+ <role name="administrator" read="true" write="true" create="true"/>
+ </security>
+ </attribute>
+
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+
+ </mbean>
+</server>
Property changes on: trunk/jbas5/etc/overlay/server/default/deploy/MyQueueWithSecurityConfig-service.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:keywords
+ Date Author Id Revision HeadURL
Name: svn:eol-style
+ LF
15 years, 9 months
EMBJOPR SVN: r262 - trunk/core/src/main/java/org/jboss/on/embedded.
by embjopr-commits@lists.jboss.org
Author: ips
Date: 2009-03-30 14:18:03 -0400 (Mon, 30 Mar 2009)
New Revision: 262
Modified:
trunk/core/src/main/java/org/jboss/on/embedded/EmbeddedInventoryEventListener.java
trunk/core/src/main/java/org/jboss/on/embedded/LoggingInventoryEventListener.java
Log:
turn down some logging from DEBUG to TRACE
Modified: trunk/core/src/main/java/org/jboss/on/embedded/EmbeddedInventoryEventListener.java
===================================================================
--- trunk/core/src/main/java/org/jboss/on/embedded/EmbeddedInventoryEventListener.java 2009-03-30 16:58:21 UTC (rev 261)
+++ trunk/core/src/main/java/org/jboss/on/embedded/EmbeddedInventoryEventListener.java 2009-03-30 18:18:03 UTC (rev 262)
@@ -108,9 +108,7 @@
for (PackageType packageType : packageTypes)
{
if (packageType.isCreationData())
- {
return packageType;
- }
}
return null;
}
Modified: trunk/core/src/main/java/org/jboss/on/embedded/LoggingInventoryEventListener.java
===================================================================
--- trunk/core/src/main/java/org/jboss/on/embedded/LoggingInventoryEventListener.java 2009-03-30 16:58:21 UTC (rev 261)
+++ trunk/core/src/main/java/org/jboss/on/embedded/LoggingInventoryEventListener.java 2009-03-30 18:18:03 UTC (rev 262)
@@ -35,7 +35,7 @@
public void resourcesAdded(Set<Resource> resources)
{
- log.debug("The following Resources have been added: " + toString(resources));
+ log.trace("The following Resources have been added: " + toString(resources));
}
public void resourcesRemoved(Set<Resource> resources)
@@ -48,7 +48,7 @@
{
Set resources = new HashSet();
resources.add(resource);
- log.debug("The following Resource has been activated: " + toString(resources));
+ log.trace("The following Resource has been activated: " + toString(resources));
return;
}
15 years, 9 months
EMBJOPR SVN: r261 - in trunk/core/src/main: webapp/include and 1 other directory.
by embjopr-commits@lists.jboss.org
Author: ips
Date: 2009-03-30 12:58:21 -0400 (Mon, 30 Mar 2009)
New Revision: 261
Modified:
trunk/core/src/main/java/org/jboss/on/embedded/ui/TableManager.java
trunk/core/src/main/webapp/include/resourceNavigation.xhtml
Log:
make page sizes bigger for tables in content pane (10/20/50 instead of 5/10/20); add a bit of padding between the header logo and the navtree (I got tired of accidentally clicking on the logo when trying to click on the platform node)
Modified: trunk/core/src/main/java/org/jboss/on/embedded/ui/TableManager.java
===================================================================
--- trunk/core/src/main/java/org/jboss/on/embedded/ui/TableManager.java 2009-03-27 21:26:05 UTC (rev 260)
+++ trunk/core/src/main/java/org/jboss/on/embedded/ui/TableManager.java 2009-03-30 16:58:21 UTC (rev 261)
@@ -35,12 +35,12 @@
@Scope(ScopeType.PAGE)
public class TableManager implements Serializable
{
- private static final int MIN_PAGE_SIZE = 5;
+ private static final int MIN_PAGE_SIZE = 10;
private int numRows = MIN_PAGE_SIZE;
- private SelectItem[] pageSizes = new SelectItem[] { new SelectItem("5", "5"),
- new SelectItem("10", "10"), new SelectItem("20", "20") };
+ private SelectItem[] pageSizes = new SelectItem[] { new SelectItem("10", "10"),
+ new SelectItem("20", "20"), new SelectItem("50", "50") };
public int getNumRows() {
return this.numRows;
Modified: trunk/core/src/main/webapp/include/resourceNavigation.xhtml
===================================================================
--- trunk/core/src/main/webapp/include/resourceNavigation.xhtml 2009-03-27 21:26:05 UTC (rev 260)
+++ trunk/core/src/main/webapp/include/resourceNavigation.xhtml 2009-03-30 16:58:21 UTC (rev 261)
@@ -48,7 +48,7 @@
icon="/images/iconFolderNorm.gif"
adviseNodeOpened="#{navigationAction.openNodeAdvisor}"
changeExpandListener="#{navigationAction.changeExpandListener}"
- style="width: 300px;">
+ style="width: 300px; margin-top: 9px">
<!-- NODE: resourceInstance summary home node -->
<rich:treeNode type="org.jboss.on.embedded.ui.nav.PlatformResourceTreeNode"
id="homeNode"
15 years, 9 months
EMBJOPR SVN: r260 - in trunk/core/src/main/java/org/jboss/on/embedded: util and 1 other directory.
by embjopr-commits@lists.jboss.org
Author: ips
Date: 2009-03-27 17:26:05 -0400 (Fri, 27 Mar 2009)
New Revision: 260
Modified:
trunk/core/src/main/java/org/jboss/on/embedded/ui/content/UpdateBackingContentAction.java
trunk/core/src/main/java/org/jboss/on/embedded/util/ContentUtility.java
Log:
add more debug logging to help debug https://jira.jboss.org/jira/browse/EMBJOPR-81 and throw exception during retrieval of backing package that was getting swallowed
Modified: trunk/core/src/main/java/org/jboss/on/embedded/ui/content/UpdateBackingContentAction.java
===================================================================
--- trunk/core/src/main/java/org/jboss/on/embedded/ui/content/UpdateBackingContentAction.java 2009-03-26 19:06:21 UTC (rev 259)
+++ trunk/core/src/main/java/org/jboss/on/embedded/ui/content/UpdateBackingContentAction.java 2009-03-27 21:26:05 UTC (rev 260)
@@ -81,14 +81,17 @@
@Begin(join = true)
public String init()
{
+ log.debug("Initializing updateBackingContentAction Seam component...");
JONTreeNode selectedNode = this.navigationAction.getSelectedNode();
ResourceTreeNode resourceTreeNode = (ResourceTreeNode)selectedNode;
this.resource = resourceTreeNode.getResource();
- this.resourceType = resource.getResourceType();
+ log.debug("Current Resource is " + this.resource);
+ this.resourceType = this.resource.getResourceType();
this.packageType = ContentUtility.getCreationPackageType(this.resourceType);
if (this.packageType == null)
{
+ log.error(this.resourceType + " has no associated creation package type.");
facesMessages.addFromResourceBundle(FacesMessage.SEVERITY_ERROR, "content.resourceInstance.create.resourceTypeHasNoCreationPackageType");
return FAILURE_OUTCOME;
}
@@ -96,24 +99,27 @@
try {
this.packageDetails = getBackingPackage();
}
- catch (Exception e) {
+ catch (Exception e) {
facesMessages.add(FacesMessage.SEVERITY_ERROR, e.getLocalizedMessage());
return FAILURE_OUTCOME;
}
-
+
return SUCCESS_OUTCOME;
}
@End(ifOutcome={"success"})
public String updateBackingContent() {
+ // NOTE: This check is necessary, because the "required" attribute of the Seam FileUpload component doesn't
+ // work.
if (getFileName() == null) {
- // NOTE: This check is necessary, because the "required" attribute of the Seam FileUpload component doesn't
- // work.
+ log.error("No file was specified in request to update backing file for " + this.resource + ".");
facesMessages.addFromResourceBundle(FacesMessage.SEVERITY_ERROR,
"content.resourceInstance.update.noFileSelected");
return FAILURE_OUTCOME;
}
if (!getFileName().equals(this.packageDetails.getFileName())) {
+ log.error("Specified file '" + getFileName() + "' does not have same filename as existing file '"
+ + this.packageDetails.getFileName() + "' for " + this.resource + ".");
facesMessages.addFromResourceBundle(FacesMessage.SEVERITY_WARN,
"content.resourceInstance.update.wrongFileName", this.packageType.getDisplayName(),
this.packageDetails.getFileName());
@@ -169,18 +175,19 @@
}
private ResourcePackageDetails getBackingPackage() throws Exception {
- ContentDiscoveryReport report = null;
+ ContentDiscoveryReport report;
try {
report = PluginContainer.getInstance().getContentManager().executeResourcePackageDiscoveryImmediately(
this.resource.getId(), this.packageType.getName());
- if (report.getDeployedPackages().size() != 1) {
- throw new Exception("ContentManager.executeResourcePackageDiscoveryImmediately() returned more than one package.");
- }
+ if (report.getDeployedPackages().size() != 1)
+ throw new IllegalStateException("ContentManager.executeResourcePackageDiscoveryImmediately() returned more than one package.");
}
catch (PluginContainerException e) {
- log.error("Failed to discover underlying " + this.packageType.getName() + " package for "
+ throw new Exception("Failed to discover underlying " + this.packageType.getName() + " package for "
+ this.resourceType.getName() + " Resource.", e);
}
- return report.getDeployedPackages().iterator().next();
+ ResourcePackageDetails packageDetails = report.getDeployedPackages().iterator().next();
+ log.debug("Backing package for " + this.resource + " is " + packageDetails + ".");
+ return packageDetails;
}
}
\ No newline at end of file
Modified: trunk/core/src/main/java/org/jboss/on/embedded/util/ContentUtility.java
===================================================================
--- trunk/core/src/main/java/org/jboss/on/embedded/util/ContentUtility.java 2009-03-26 19:06:21 UTC (rev 259)
+++ trunk/core/src/main/java/org/jboss/on/embedded/util/ContentUtility.java 2009-03-27 21:26:05 UTC (rev 260)
@@ -27,12 +27,16 @@
import org.rhq.core.domain.content.PackageType;
import org.rhq.core.domain.resource.ResourceType;
import org.rhq.core.domain.resource.ResourceCreationDataType;
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
/**
* @author Ian Springer
*/
public abstract class ContentUtility
{
+ private static final Log LOG = LogFactory.getLog(ContentUtility.class);
+
private ContentUtility()
{
}
@@ -45,15 +49,18 @@
@Nullable
public static PackageType getCreationPackageType(ResourceType resourceType)
{
+ PackageType creationPackageType = null;
Set<PackageType> packageTypes = resourceType.getPackageTypes();
for (PackageType packageType : packageTypes)
{
if (packageType.isCreationData())
{
- return packageType;
+ creationPackageType = packageType;
+ break;
}
}
- return null;
+ LOG.debug("Creation package type for " + resourceType + " is " + creationPackageType + ".");
+ return creationPackageType;
}
@Nullable
15 years, 9 months
EMBJOPR SVN: r259 - in trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit: as5 and 1 other directory.
by embjopr-commits@lists.jboss.org
Author: fjuma
Date: 2009-03-26 15:06:21 -0400 (Thu, 26 Mar 2009)
New Revision: 259
Modified:
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/DatasourceTestBase.java
trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/DatasourceTest.java
Log:
Made sure that all connections get closed during the datasource tests.
Made a minor change to deleteDatasource() in as5/DatasourceTest.java.
Modified: trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/DatasourceTestBase.java
===================================================================
--- trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/DatasourceTestBase.java 2009-03-26 14:57:02 UTC (rev 258)
+++ trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/DatasourceTestBase.java 2009-03-26 19:06:21 UTC (rev 259)
@@ -176,11 +176,6 @@
throws IOException, EmbJoprTestException;
/**
- * Delete the datasource given by datasourceName.
- */
- protected abstract void deleteDatasource(String datasourceName) throws IOException, EmbJoprTestException;
-
- /**
* Use JMX to check if the datasource given by datasourceName is deployed.
*/
protected boolean isDatasourceDeployed(String jndiName, DatasourceType datasourceType) {
@@ -330,8 +325,10 @@
* Close each Connection in the given ArrayList of Connections.
*/
public void closeConnections(ArrayList<Connection> connections) throws SQLException {
- for(int i = 0; i < connections.size(); i++) {
- disconnectDB(connections.get(i));
+ if(connections != null) {
+ for(int i = 0; i < connections.size(); i++) {
+ disconnectDB(connections.get(i));
+ }
}
}
@@ -555,7 +552,7 @@
protected void checkMetrics(String datasourceName,
DatasourceType datasourceType,
Map<String, String> metricsMap) throws IOException, EmbJoprTestException {
-
+
//refreshTreeNode(DS_NAV_LABEL);
ClickableElement datasourceTypeArrow = getNavTreeArrow(datasourceType.getLabel());
datasourceTypeArrow.click();
@@ -588,7 +585,7 @@
String expected = metricsMap.get(metricName);
String actual = getMetricValueFromTable(metricName, "dataTable");
actual = normalizeIfDoubleExpected(expected, actual); // Some LOCALEs encode doubles with coma.
- assertEquals("Incorrect summary metric value for '"+metricName+"'='"+actual+"'," +
+ assertEquals("Incorrect summary metric value for '" + metricName + "'='" + actual + "'," +
" expected '"+expected+"'", expected, actual);
}
}
Modified: trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/DatasourceTest.java
===================================================================
--- trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/DatasourceTest.java 2009-03-26 14:57:02 UTC (rev 258)
+++ trunk/jsfunit/src/test/java/org/jboss/jopr/jsfunit/as5/DatasourceTest.java 2009-03-26 19:06:21 UTC (rev 259)
@@ -37,6 +37,7 @@
import org.jboss.managed.api.ComponentType;
import org.jboss.metatype.api.values.SimpleValueSupport;
import org.jboss.metatype.api.values.MetaValue;
+import org.jboss.jopr.jsfunit.exceptions.HtmlElementNotFoundException;
/**
* When complete, this class will contain tests for creating,
@@ -152,9 +153,14 @@
/**
* Delete the datasource given by datasourceName.
*/
- @Override
- protected void deleteDatasource(String datasourceName) throws IOException {
- HtmlAnchor datasourceLink = getNavTreeLink(DS_NAV_LABEL);
+ protected void deleteDatasource(String datasourceName,
+ DatasourceType datasourceType) throws IOException,
+ HtmlElementNotFoundException, EmbJoprTestException {
+ if(!ejtt.getNavTree().getNodeByLabel(DS_NAV_LABEL).isExpanded()) {
+ expandNavTreeArrow(DS_NAV_LABEL);
+ }
+
+ HtmlAnchor datasourceLink = getNavTreeLink(datasourceType.getLabel());
datasourceLink.click();
HtmlSelect menu = (HtmlSelect)client.getElement("currentPageSize");
@@ -164,13 +170,13 @@
HtmlButtonInput deleteButton;
try {
- deleteButton = getDeleteButton("categorySummaryForm", datasourceName);
+ deleteButton = getDeleteButton("resourceSummaryForm", datasourceName);
deleteButton.click();
} catch (IllegalStateException e) {
// The delete button was not found on this page
client.click("nextPage");
- deleteButton = getDeleteButton("categorySummaryForm", datasourceName);
+ deleteButton = getDeleteButton("resourceSummaryForm", datasourceName);
deleteButton.click();
}
}
@@ -258,7 +264,7 @@
// set for properties that were not specified above
// Clean up
- deleteDatasource(propertiesMap.get("jndi-name"));
+ deleteDatasource(propertiesMap.get("jndi-name"), DatasourceType.LOCAL_TX_DATASOURCE);
}
/*
@@ -339,7 +345,7 @@
String expectedMessage = "Successfully deleted " + datasourceType.getTypeName()
+ " '" + propertiesMap.get("jndi-name") + "'";
- deleteDatasource(propertiesMap.get("jndi-name"));
+ deleteDatasource(propertiesMap.get("jndi-name"), datasourceType);
checkClientAndServerMessages(expectedMessage, expectedMessage, false);
@@ -366,7 +372,7 @@
// MultipleDatasources-ds.xml contains two Local TX Datasources and
// a No TX Datasource. We will delete the No TX Datasource (NoTXDeletionTest-ds.xml).
- deleteDatasource(jndiName);
+ deleteDatasource(jndiName, DatasourceType.NO_TX_DATASOURCE);
// Check for the appropriate success messages
String expectedMessage = "Successfully deleted "
@@ -427,7 +433,7 @@
DatasourceType.XA_DATASOURCE));
// Clean up
- deleteDatasource(propertiesMap.get("jndi-name"));
+ deleteDatasource(propertiesMap.get("jndi-name"), DatasourceType.XA_DATASOURCE);
}
/**
@@ -469,7 +475,7 @@
DatasourceType.LOCAL_TX_DATASOURCE));
// Clean up
- deleteDatasource(propertiesMap.get("jndi-name"));
+ deleteDatasource(propertiesMap.get("jndi-name"), DatasourceType.LOCAL_TX_DATASOURCE);
}
/**
@@ -503,7 +509,7 @@
DatasourceType.NO_TX_DATASOURCE));
// Clean up
- deleteDatasource(propertiesMap.get("jndi-name"));
+ deleteDatasource(propertiesMap.get("jndi-name"), DatasourceType.NO_TX_DATASOURCE);
}
/*
@@ -534,7 +540,7 @@
checkMetrics(propertiesMap.get("jndi-name"), DatasourceType.XA_DATASOURCE, expectedMetrics);
// Clean up
- deleteDatasource(propertiesMap.get("jndi-name"));
+ deleteDatasource(propertiesMap.get("jndi-name"), DatasourceType.XA_DATASOURCE);
}
/**
@@ -576,6 +582,7 @@
ArrayList<Connection> connections = createConnections(5, propertiesMap.get("jndi-name"),
propertiesMap.get("user-name"),
propertiesMap.get("password"));
+
closeConnections(connections);
performDatasourceOperation(propertiesMap.get("jndi-name"), DatasourceType.LOCAL_TX_DATASOURCE, "Flush");
@@ -592,9 +599,9 @@
expectedMetrics.put("Min Size", "5.0");
checkMetrics(propertiesMap.get("jndi-name"), DatasourceType.LOCAL_TX_DATASOURCE, expectedMetrics);
-
+
// Clean up
- deleteDatasource(propertiesMap.get("jndi-name"));
+ deleteDatasource(propertiesMap.get("jndi-name"), DatasourceType.LOCAL_TX_DATASOURCE);
}
/**
@@ -640,7 +647,7 @@
actualResult.contains(expectedResult));
// Clean up
- deleteDatasource(propertiesMap.get("jndi-name"));
+ deleteDatasource(propertiesMap.get("jndi-name"), DatasourceType.NO_TX_DATASOURCE);
}
/**
@@ -681,42 +688,44 @@
ArrayList<Connection> connections = createConnections(4, propertiesMap.get("jndi-name"),
propertiesMap.get("user-name"),
propertiesMap.get("password"));
-
- performDatasourceOperation(propertiesMap.get("jndi-name"),
- DatasourceType.LOCAL_TX_DATASOURCE,
- "List Formatted Sub Pool Statistics");
-
- // Use the default formatter
- client.click("parametersForm:okButton");
+ try {
+ performDatasourceOperation(propertiesMap.get("jndi-name"),
+ DatasourceType.LOCAL_TX_DATASOURCE,
+ "List Formatted Sub Pool Statistics");
- HtmlAnchor detailsLink = getLinkInsideForm("operationHistoryForm",
- "(Show/Hide Details)");
- detailsLink.click();
+ // Use the default formatter
+ client.click("parametersForm:okButton");
- // Get the result of the operation
- HtmlForm form = (HtmlForm)client.getElement("operationHistoryForm");
- HtmlTextArea resultTextBox = (HtmlTextArea)form.getFirstByXPath(".//textarea");
- String actualResult = resultTextBox.getText();
+ HtmlAnchor detailsLink = getLinkInsideForm("operationHistoryForm",
+ "(Show/Hide Details)");
+ detailsLink.click();
- String expectedResult = "Sub Pool Statistics: \nSub Pool Count: 1\n"
- + "------------------------------------------------------\n\n"
- + "Track By Transaction: true\n"
- + "Available Connections Count: 16\n"
- + "Max Connections In Use Count:4\n"
- + "Connections Destroyed Count:0\n"
- + "Connections In Use Count:4\n"
- + "Total Block Time:0\n"
- + "Average Block Time For Sub Pool:0\n"
- + "Maximum Wait Time For Sub Pool:0\n"
- + "Total Timed Out:0";
-
- assertTrue("Incorrect sub pool statistics - \nexpected:\n\n" + expectedResult
- + "\n\nbut was:\n\n" + actualResult,
- actualResult.contains(expectedResult));
+ // Get the result of the operation
+ HtmlForm form = (HtmlForm)client.getElement("operationHistoryForm");
+ HtmlTextArea resultTextBox = (HtmlTextArea)form.getFirstByXPath(".//textarea");
+ String actualResult = resultTextBox.getText();
- // Clean up
- closeConnections(connections);
- deleteDatasource(propertiesMap.get("jndi-name"));
+ String expectedResult = "Sub Pool Statistics: \nSub Pool Count: 1\n"
+ + "------------------------------------------------------\n\n"
+ + "Track By Transaction: true\n"
+ + "Available Connections Count: 16\n"
+ + "Max Connections In Use Count:4\n"
+ + "Connections Destroyed Count:0\n"
+ + "Connections In Use Count:4\n"
+ + "Total Block Time:0\n"
+ + "Average Block Time For Sub Pool:0\n"
+ + "Maximum Wait Time For Sub Pool:0\n"
+ + "Total Timed Out:0";
+
+ assertTrue("Incorrect sub pool statistics - \nexpected:\n\n" + expectedResult
+ + "\n\nbut was:\n\n" + actualResult,
+ actualResult.contains(expectedResult));
+ } finally {
+
+ // Clean up
+ closeConnections(connections);
+ deleteDatasource(propertiesMap.get("jndi-name"), DatasourceType.LOCAL_TX_DATASOURCE);
+ }
}
/**
@@ -756,45 +765,47 @@
ArrayList<Connection> connections = createConnections(10, propertiesMap.get("jndi-name"),
propertiesMap.get("user-name"),
propertiesMap.get("password"));
+ try {
+
+ // Close some connections
+ for(int i = 0; i < 2; i++) {
+ disconnectDB(connections.get(i));
+ connections.set(i, null);
+ }
- // Close some connections
- disconnectDB(connections.get(0));
- disconnectDB(connections.get(1));
-
- performDatasourceOperation(propertiesMap.get("jndi-name"),
- DatasourceType.LOCAL_TX_DATASOURCE,
- "List Formatted Sub Pool Statistics");
-
- // Use the default formatter
- client.click("parametersForm:okButton");
+ performDatasourceOperation(propertiesMap.get("jndi-name"),
+ DatasourceType.LOCAL_TX_DATASOURCE,
+ "List Formatted Sub Pool Statistics");
- HtmlAnchor detailsLink = getLinkInsideForm("operationHistoryForm",
- "(Show/Hide Details)");
- detailsLink.click();
+ // Use the default formatter
+ client.click("parametersForm:okButton");
- // Get the result of the operation
- HtmlForm form = (HtmlForm)client.getElement("operationHistoryForm");
- HtmlTextArea resultTextBox = (HtmlTextArea)form.getFirstByXPath(".//textarea");
- String actualResult = resultTextBox.getText();
+ HtmlAnchor detailsLink = getLinkInsideForm("operationHistoryForm",
+ "(Show/Hide Details)");
+ detailsLink.click();
- String expectedResult = "Sub Pool Statistics: \nSub Pool Count: 1\n"
- + "------------------------------------------------------\n\n"
- + "Track By Transaction: true\n"
- + "Available Connections Count: 12\n"
- + "Max Connections In Use Count:10\n"
- + "Connections Destroyed Count:0\n"
- + "Connections In Use Count:8";
-
- assertTrue("Incorrect sub pool statistics - \nexpected:\n\n" + expectedResult
- + "\n\nbut was:\n\n" + actualResult.substring(0, actualResult.lastIndexOf("Total Block Time")),
- actualResult.contains(expectedResult));
+ // Get the result of the operation
+ HtmlForm form = (HtmlForm)client.getElement("operationHistoryForm");
+ HtmlTextArea resultTextBox = (HtmlTextArea)form.getFirstByXPath(".//textarea");
+ String actualResult = resultTextBox.getText();
- // Clean up
- for(int i = 2; i <=9; i++) {
- disconnectDB(connections.get(i));
+ String expectedResult = "Sub Pool Statistics: \nSub Pool Count: 1\n"
+ + "------------------------------------------------------\n\n"
+ + "Track By Transaction: true\n"
+ + "Available Connections Count: 12\n"
+ + "Max Connections In Use Count:10\n"
+ + "Connections Destroyed Count:0\n"
+ + "Connections In Use Count:8";
+
+ assertTrue("Incorrect sub pool statistics - \nexpected:\n\n" + expectedResult
+ + "\n\nbut was:\n\n" + actualResult.substring(0, actualResult.lastIndexOf("Total Block Time")),
+ actualResult.contains(expectedResult));
+ } finally {
+
+ // Clean up
+ closeConnections(connections);
+ deleteDatasource(propertiesMap.get("jndi-name"), DatasourceType.LOCAL_TX_DATASOURCE);
}
-
- deleteDatasource(propertiesMap.get("jndi-name"));
}
@@ -824,7 +835,7 @@
checkMetrics(propertiesMap.get("jndi-name"), DatasourceType.LOCAL_TX_DATASOURCE, expectedMetrics);
// Clean up
- deleteDatasource(propertiesMap.get("jndi-name"));
+ deleteDatasource(propertiesMap.get("jndi-name"), DatasourceType.LOCAL_TX_DATASOURCE);
}
/**
@@ -862,27 +873,31 @@
private void checkMetricsAfterInitialDBConnection(Map<String, String> propertiesMap) throws Exception {
// Create the first connection
- Connection con = connectDB(propertiesMap.get("jndi-name"),
- propertiesMap.get("user-name"),
- propertiesMap.get("password"));
- assertNotNull(con);
+ ArrayList<Connection> connections = createConnections(1, propertiesMap.get("jndi-name"),
+ propertiesMap.get("user-name"),
+ propertiesMap.get("password"));
+
+ try {
+
+ // Set up the expected values
+ Map<String, String> expectedMetrics = new LinkedHashMap<String, String>();
+ expectedMetrics.put("Available Connection Count", "19.0");
+ expectedMetrics.put("Connection Count", "5.0");
+ expectedMetrics.put("Connection Created Count", "5.0");
+ expectedMetrics.put("Connection Destroyed Count", "0.0");
+ expectedMetrics.put("In Use Connection Count", "1.0");
+ expectedMetrics.put("Max Connections In Use Count", "1.0");
+ expectedMetrics.put("Max Size", "20.0");
+ expectedMetrics.put("Min Size", "5.0");
- // Set up the expected values
- Map<String, String> expectedMetrics = new LinkedHashMap<String, String>();
- expectedMetrics.put("Available Connection Count", "19.0");
- expectedMetrics.put("Connection Count", "5.0");
- expectedMetrics.put("Connection Created Count", "5.0");
- expectedMetrics.put("Connection Destroyed Count", "0.0");
- expectedMetrics.put("In Use Connection Count", "1.0");
- expectedMetrics.put("Max Connections In Use Count", "1.0");
- expectedMetrics.put("Max Size", "20.0");
- expectedMetrics.put("Min Size", "5.0");
-
- checkMetrics(propertiesMap.get("jndi-name"), DatasourceType.LOCAL_TX_DATASOURCE, expectedMetrics);
-
- // Clean up
- disconnectDB(con);
- deleteDatasource(propertiesMap.get("jndi-name"));
+ checkMetrics(propertiesMap.get("jndi-name"), DatasourceType.LOCAL_TX_DATASOURCE, expectedMetrics);
+
+ } finally {
+
+ // Clean up
+ closeConnections(connections);
+ deleteDatasource(propertiesMap.get("jndi-name"), DatasourceType.LOCAL_TX_DATASOURCE);
+ }
}
/**
@@ -923,23 +938,26 @@
ArrayList<Connection> connections = createConnections(6, propertiesMap.get("jndi-name"),
propertiesMap.get("user-name"),
propertiesMap.get("password"));
+ try {
+
+ // Set up the expected values
+ Map<String, String> expectedMetrics = new LinkedHashMap<String, String>();
+ expectedMetrics.put("Available Connection Count", "14.0");
+ expectedMetrics.put("Connection Count", "6.0");
+ expectedMetrics.put("Connection Created Count", "6.0");
+ expectedMetrics.put("Connection Destroyed Count", "0.0");
+ expectedMetrics.put("In Use Connection Count", "6.0");
+ expectedMetrics.put("Max Connections In Use Count", "6.0");
+ expectedMetrics.put("Max Size", "20.0");
+ expectedMetrics.put("Min Size", "5.0");
- // Set up the expected values
- Map<String, String> expectedMetrics = new LinkedHashMap<String, String>();
- expectedMetrics.put("Available Connection Count", "14.0");
- expectedMetrics.put("Connection Count", "6.0");
- expectedMetrics.put("Connection Created Count", "6.0");
- expectedMetrics.put("Connection Destroyed Count", "0.0");
- expectedMetrics.put("In Use Connection Count", "6.0");
- expectedMetrics.put("Max Connections In Use Count", "6.0");
- expectedMetrics.put("Max Size", "20.0");
- expectedMetrics.put("Min Size", "5.0");
-
- checkMetrics(propertiesMap.get("jndi-name"), DatasourceType.NO_TX_DATASOURCE, expectedMetrics);
-
- // Clean up
- closeConnections(connections);
- deleteDatasource(propertiesMap.get("jndi-name"));
+ checkMetrics(propertiesMap.get("jndi-name"), DatasourceType.NO_TX_DATASOURCE, expectedMetrics);
+ } finally {
+
+ // Clean up
+ closeConnections(connections);
+ deleteDatasource(propertiesMap.get("jndi-name"), DatasourceType.NO_TX_DATASOURCE);
+ }
}
/**
@@ -981,29 +999,33 @@
propertiesMap.get("user-name"),
propertiesMap.get("password"));
- // Close some connections
- disconnectDB(connections.get(0));
- disconnectDB(connections.get(1));
+ try {
+
+ // Close some connections
+ for(int i = 0; i < 2; i++) {
+ disconnectDB(connections.get(i));
+ connections.set(i, null);
+ }
+
+ // Set up the expected values
+ Map<String, String> expectedMetrics = new LinkedHashMap<String, String>();
+ expectedMetrics.put("Available Connection Count", "17.0");
+ expectedMetrics.put("Connection Count", "3.0");
+ expectedMetrics.put("Connection Created Count", "5.0");
+ expectedMetrics.put("Connection Destroyed Count", "0.0");
+ expectedMetrics.put("In Use Connection Count", "3.0");
+ expectedMetrics.put("Max Connections In Use Count", "5.0");
+ expectedMetrics.put("Max Size", "20.0");
+ expectedMetrics.put("Min Size", "5.0");
- // Set up the expected values
- Map<String, String> expectedMetrics = new LinkedHashMap<String, String>();
- expectedMetrics.put("Available Connection Count", "17.0");
- expectedMetrics.put("Connection Count", "3.0");
- expectedMetrics.put("Connection Created Count", "5.0");
- expectedMetrics.put("Connection Destroyed Count", "0.0");
- expectedMetrics.put("In Use Connection Count", "3.0");
- expectedMetrics.put("Max Connections In Use Count", "5.0");
- expectedMetrics.put("Max Size", "20.0");
- expectedMetrics.put("Min Size", "5.0");
-
- checkMetrics(propertiesMap.get("jndi-name"), DatasourceType.NO_TX_DATASOURCE, expectedMetrics);
-
- // Clean up
- for(int i = 2; i <= 4; i++) {
- disconnectDB(connections.get(i));
+ checkMetrics(propertiesMap.get("jndi-name"), DatasourceType.NO_TX_DATASOURCE, expectedMetrics);
+
+ } finally {
+
+ // Clean up
+ closeConnections(connections);
+ deleteDatasource(propertiesMap.get("jndi-name"), DatasourceType.NO_TX_DATASOURCE);
}
-
- deleteDatasource(propertiesMap.get("jndi-name"));
}
}
15 years, 9 months
EMBJOPR SVN: r258 - trunk/jbas5/etc.
by embjopr-commits@lists.jboss.org
Author: ips
Date: 2009-03-26 10:57:02 -0400 (Thu, 26 Mar 2009)
New Revision: 258
Added:
trunk/jbas5/etc/generated-rhq-plugin.xml
Log:
the latest generated rhq-plugin.xml
Added: trunk/jbas5/etc/generated-rhq-plugin.xml
===================================================================
--- trunk/jbas5/etc/generated-rhq-plugin.xml (rev 0)
+++ trunk/jbas5/etc/generated-rhq-plugin.xml 2009-03-26 14:57:02 UTC (rev 258)
@@ -0,0 +1,888 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<plugin xmlns="urn:xmlns:rhq-plugin" xmlns:c="urn:xmlns:rhq-configuration">
+ <service name="XA DataSource">
+ <operation name="flush" displayName="Flush" description="Flush the connections in the pool"/>
+ <operation name="listFormattedSubPoolStatistics" displayName="List Formatted Sub Pool Statistics" description="Obtain a formatted statistics report">
+ <parameters>
+ <c:simple-property required="false" name="formatClassName" description="The StatisticsFormatter class name"/>
+ </parameters>
+ <results>
+ <c:notes>Obtain a formatted statistics report</c:notes>
+ <c:map-property required="false" name="result"/>
+ </results>
+ </operation>
+ <operation name="listStatistics" displayName="List Statistics" description="Obtain a statistics report">
+ <results>
+ <c:notes>Obtain a statistics report</c:notes>
+ <c:map-property required="false" name="result"/>
+ </results>
+ </operation>
+ <metric property="availableConnectionCount" measurementType="dynamic" displayType="detail" displayName="Available Connection Count" description="number of available connection" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="connectionCount" measurementType="dynamic" displayType="detail" displayName="Connection Count" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="connectionCreatedCount" measurementType="dynamic" displayType="detail" displayName="Connection Created Count" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="connectionDestroyedCount" measurementType="dynamic" displayType="detail" displayName="Connection Destroyed Count" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="inUseConnectionCount" measurementType="dynamic" displayType="detail" displayName="In Use Connection Count" description="number of connections currently in use" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="local-transaction" displayType="summary" displayName="Local Transaction" defaultOn="true" defaultInterval="600000" dataType="trait" category="performance"/>
+ <metric property="maxConnectionsInUseCount" measurementType="dynamic" displayType="detail" displayName="Max Connections In Use Count" description="number of maximum connections in use" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="maxSize" measurementType="dynamic" displayType="detail" displayName="Max Size" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="minSize" measurementType="dynamic" displayType="detail" displayName="Min Size" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="poolJndiName" displayType="summary" displayName="Pool Jndi Name" defaultOn="true" defaultInterval="600000" dataType="trait" category="performance"/>
+ <resource-configuration>
+ <c:simple-property type="integer" required="false" name="allocation-retry"/>
+ <c:simple-property type="long" required="false" name="allocation-retry-wait-millis"/>
+ <c:simple-property type="boolean" required="false" name="background-validation"/>
+ <c:simple-property type="long" required="false" name="background-validation-millis"/>
+ <c:simple-property type="long" required="false" name="blocking-timeout-millis"/>
+ <c:simple-property required="false" name="check-valid-connection-sql" description="The SQL statement to validate a connection"/>
+ <c:map-property required="false" name="config-property" description="The connection factory property info"/>
+ <c:simple-property required="false" name="connection-definition"/>
+ <c:simple-property required="false" name="exception-sorter-class-name" description="The exception sorter class name"/>
+ <c:simple-property type="integer" required="false" name="idle-timeout-minutes"/>
+ <c:simple-property type="boolean" required="false" name="isSameRM-override-value"/>
+ <c:simple-property required="false" name="jmx-invoker-name"/>
+ <c:simple-property required="false" name="jndi-name" description="The global JNDI name to bind the factory under"/>
+ <c:simple-property type="integer" required="false" name="max-pool-size"/>
+ <c:map-property required="false" name="metadata">
+ <c:simple-property required="false" name="typeMapping"/>
+ </c:map-property>
+ <c:simple-property type="integer" required="false" name="min-pool-size"/>
+ <c:simple-property required="false" name="new-connection-sql" description="The new connection SQL"/>
+ <c:simple-property type="boolean" required="false" name="no-tx-separate-pools"/>
+ <c:simple-property required="false" name="password" description="The DataSource password"/>
+ <c:simple-property type="boolean" required="false" name="prefill"/>
+ <c:simple-property type="integer" required="false" name="prepared-statement-cache-size" description="The DataSource prepared statement cache size"/>
+ <c:simple-property type="integer" required="false" name="query-timeout" description="The query timeout"/>
+ <c:simple-property required="false" name="rar-name"/>
+ <c:map-property required="false" name="security-domain"/>
+ <c:simple-property type="boolean" required="false" name="set-tx-query-timeout" description="Should query timeout be enabled"/>
+ <c:simple-property type="boolean" required="false" name="share-prepared-statements" description="Should prepared statements be shared"/>
+ <c:simple-property required="false" name="stale-connection-checker-class-name" description="The DataSource stale connection checker class name"/>
+ <c:simple-property required="false" name="statistics-formatter"/>
+ <c:simple-property type="boolean" required="false" name="track-connection-by-tx"/>
+ <c:simple-property required="false" name="track-statements" description="The track statements method"/>
+ <c:simple-property required="false" name="transaction-isolation" description="The DataSource transaction isolation level"/>
+ <c:simple-property required="false" name="type-mapping"/>
+ <c:simple-property required="false" name="url-delimiter" description="The DataSource url delimiter"/>
+ <c:simple-property required="false" name="url-property" description="The url-property"/>
+ <c:simple-property required="false" name="url-selector-strategy-class-name" description="The DataSource url selector strategy class name"/>
+ <c:simple-property type="boolean" required="false" name="use-java-context" description="Should the jndi name be bound under the java: context"/>
+ <c:simple-property type="boolean" required="false" name="use-strict-min"/>
+ <c:simple-property type="long" required="false" name="use-try-lock" description="The internal lock timeout"/>
+ <c:simple-property required="false" name="user-name" description="The DataSource username"/>
+ <c:simple-property required="false" name="valid-connection-checker-class-name" description="The DataSource connection checker class name"/>
+ <c:simple-property type="boolean" required="false" name="validate-on-match"/>
+ <c:simple-property required="false" name="xa-datasource-class" description="The XADataSource class"/>
+ <c:map-property required="false" name="xa-datasource-properties" description="The DataSource properties"/>
+ <c:simple-property type="integer" required="false" name="xa-resource-timeout" description="The XAResource timeout"/>
+ </resource-configuration>
+ </service>
+ <service name="LocalTx DataSource">
+ <operation name="flush" displayName="Flush" description="Flush the connections in the pool"/>
+ <operation name="listFormattedSubPoolStatistics" displayName="List Formatted Sub Pool Statistics" description="Obtain a formatted statistics report">
+ <parameters>
+ <c:simple-property required="false" name="formatClassName" description="The StatisticsFormatter class name"/>
+ </parameters>
+ <results>
+ <c:notes>Obtain a formatted statistics report</c:notes>
+ <c:map-property required="false" name="result"/>
+ </results>
+ </operation>
+ <operation name="listStatistics" displayName="List Statistics" description="Obtain a statistics report">
+ <results>
+ <c:notes>Obtain a statistics report</c:notes>
+ <c:map-property required="false" name="result"/>
+ </results>
+ </operation>
+ <metric property="availableConnectionCount" measurementType="dynamic" displayType="detail" displayName="Available Connection Count" description="number of available connection" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="connectionCount" measurementType="dynamic" displayType="detail" displayName="Connection Count" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="connectionCreatedCount" measurementType="dynamic" displayType="detail" displayName="Connection Created Count" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="connectionDestroyedCount" measurementType="dynamic" displayType="detail" displayName="Connection Destroyed Count" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="inUseConnectionCount" measurementType="dynamic" displayType="detail" displayName="In Use Connection Count" description="number of connections currently in use" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="local-transaction" displayType="summary" displayName="Local Transaction" defaultOn="true" defaultInterval="600000" dataType="trait" category="performance"/>
+ <metric property="maxConnectionsInUseCount" measurementType="dynamic" displayType="detail" displayName="Max Connections In Use Count" description="number of maximum connections in use" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="maxSize" measurementType="dynamic" displayType="detail" displayName="Max Size" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="minSize" measurementType="dynamic" displayType="detail" displayName="Min Size" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="poolJndiName" displayType="summary" displayName="Pool Jndi Name" defaultOn="true" defaultInterval="600000" dataType="trait" category="performance"/>
+ <resource-configuration>
+ <c:simple-property type="integer" required="false" name="allocation-retry"/>
+ <c:simple-property type="long" required="false" name="allocation-retry-wait-millis"/>
+ <c:simple-property type="boolean" required="false" name="background-validation"/>
+ <c:simple-property type="long" required="false" name="background-validation-millis"/>
+ <c:simple-property type="long" required="false" name="blocking-timeout-millis"/>
+ <c:simple-property required="false" name="check-valid-connection-sql" description="The SQL statement to validate a connection"/>
+ <c:map-property required="false" name="config-property" description="The connection factory property info"/>
+ <c:simple-property required="false" name="connection-definition"/>
+ <c:map-property required="false" name="connection-properties" description="The DataSource connection properties"/>
+ <c:simple-property required="false" name="connection-url" description="The DataSource connection URL"/>
+ <c:simple-property required="false" name="driver-class" description="The DataSource connection driver class name"/>
+ <c:simple-property required="false" name="exception-sorter-class-name" description="The exception sorter class name"/>
+ <c:simple-property type="integer" required="false" name="idle-timeout-minutes"/>
+ <c:simple-property type="boolean" required="false" name="isSameRM-override-value"/>
+ <c:simple-property required="false" name="jmx-invoker-name"/>
+ <c:simple-property required="false" name="jndi-name" description="The global JNDI name to bind the factory under"/>
+ <c:simple-property type="integer" required="false" name="max-pool-size"/>
+ <c:map-property required="false" name="metadata">
+ <c:simple-property required="false" name="typeMapping"/>
+ </c:map-property>
+ <c:simple-property type="integer" required="false" name="min-pool-size"/>
+ <c:simple-property required="false" name="new-connection-sql" description="The new connection SQL"/>
+ <c:simple-property type="boolean" required="false" name="no-tx-separate-pools"/>
+ <c:simple-property required="false" name="password" description="The DataSource password"/>
+ <c:simple-property type="boolean" required="false" name="prefill"/>
+ <c:simple-property type="integer" required="false" name="prepared-statement-cache-size" description="The DataSource prepared statement cache size"/>
+ <c:simple-property type="integer" required="false" name="query-timeout" description="The query timeout"/>
+ <c:simple-property required="false" name="rar-name"/>
+ <c:map-property required="false" name="security-domain">
+ <c:simple-property required="false" readOnly="true" name="securityDeploymentType"/>
+ <c:simple-property required="false" name="domain"/>
+ </c:map-property>
+ <c:simple-property type="boolean" required="false" name="set-tx-query-timeout" description="Should query timeout be enabled"/>
+ <c:simple-property type="boolean" required="false" name="share-prepared-statements" description="Should prepared statements be shared"/>
+ <c:simple-property required="false" name="stale-connection-checker-class-name" description="The DataSource stale connection checker class name"/>
+ <c:simple-property required="false" name="statistics-formatter"/>
+ <c:simple-property type="boolean" required="false" name="track-connection-by-tx"/>
+ <c:simple-property required="false" name="track-statements" description="The track statements method"/>
+ <c:simple-property required="false" name="transaction-isolation" description="The DataSource transaction isolation level"/>
+ <c:simple-property required="false" name="type-mapping"/>
+ <c:simple-property required="false" name="url-delimiter" description="The DataSource url delimiter"/>
+ <c:simple-property required="false" name="url-selector-strategy-class-name" description="The DataSource url selector strategy class name"/>
+ <c:simple-property type="boolean" required="false" name="use-java-context" description="Should the jndi name be bound under the java: context"/>
+ <c:simple-property type="boolean" required="false" name="use-strict-min"/>
+ <c:simple-property type="long" required="false" name="use-try-lock" description="The internal lock timeout"/>
+ <c:simple-property required="false" name="user-name" description="The DataSource username"/>
+ <c:simple-property required="false" name="valid-connection-checker-class-name" description="The DataSource connection checker class name"/>
+ <c:simple-property type="boolean" required="false" name="validate-on-match"/>
+ </resource-configuration>
+ </service>
+ <service name="NoTx DataSource">
+ <operation name="flush" displayName="Flush" description="Flush the connections in the pool"/>
+ <operation name="listFormattedSubPoolStatistics" displayName="List Formatted Sub Pool Statistics" description="Obtain a formatted statistics report">
+ <results>
+ <c:notes>Obtain a formatted statistics report</c:notes>
+ <c:map-property required="false" name="result"/>
+ </results>
+ </operation>
+ <operation name="listStatistics" displayName="List Statistics" description="Obtain a statistics report">
+ <results>
+ <c:notes>Obtain a statistics report</c:notes>
+ <c:map-property required="false" name="result"/>
+ </results>
+ </operation>
+ <metric property="availableConnectionCount" measurementType="dynamic" displayType="detail" displayName="Available Connection Count" description="number of available connection" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="connectionCount" measurementType="dynamic" displayType="detail" displayName="Connection Count" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="connectionCreatedCount" measurementType="dynamic" displayType="detail" displayName="Connection Created Count" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="connectionDestroyedCount" measurementType="dynamic" displayType="detail" displayName="Connection Destroyed Count" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="inUseConnectionCount" measurementType="dynamic" displayType="detail" displayName="In Use Connection Count" description="number of connections currently in use" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="local-transaction" displayType="summary" displayName="Local Transaction" defaultOn="true" defaultInterval="600000" dataType="trait" category="performance"/>
+ <metric property="maxConnectionsInUseCount" measurementType="dynamic" displayType="detail" displayName="Max Connections In Use Count" description="number of maximum connections in use" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="maxSize" measurementType="dynamic" displayType="detail" displayName="Max Size" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="minSize" measurementType="dynamic" displayType="detail" displayName="Min Size" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="poolJndiName" displayType="summary" displayName="Pool Jndi Name" defaultOn="true" defaultInterval="600000" dataType="trait" category="performance"/>
+ <resource-configuration>
+ <c:simple-property type="integer" required="false" name="allocation-retry"/>
+ <c:simple-property type="long" required="false" name="allocation-retry-wait-millis"/>
+ <c:simple-property type="boolean" required="false" name="background-validation"/>
+ <c:simple-property type="long" required="false" name="background-validation-millis"/>
+ <c:simple-property type="long" required="false" name="blocking-timeout-millis"/>
+ <c:simple-property required="false" name="check-valid-connection-sql" description="The SQL statement to validate a connection"/>
+ <c:map-property required="false" name="config-property" description="The connection factory property info"/>
+ <c:simple-property required="false" name="connection-definition"/>
+ <c:map-property required="false" name="connection-properties" description="The DataSource connection properties"/>
+ <c:simple-property required="false" name="connection-url" description="The DataSource connection URL"/>
+ <c:simple-property required="false" name="driver-class" description="The DataSource connection driver class name"/>
+ <c:simple-property required="false" name="exception-sorter-class-name" description="The exception sorter class name"/>
+ <c:simple-property type="integer" required="false" name="idle-timeout-minutes"/>
+ <c:simple-property type="boolean" required="false" name="isSameRM-override-value"/>
+ <c:simple-property required="false" name="jmx-invoker-name"/>
+ <c:simple-property required="false" name="jndi-name" description="The global JNDI name to bind the factory under"/>
+ <c:simple-property type="integer" required="false" name="max-pool-size"/>
+ <c:map-property required="false" name="metadata">
+ <c:simple-property required="false" name="typeMapping"/>
+ </c:map-property>
+ <c:simple-property type="integer" required="false" name="min-pool-size"/>
+ <c:simple-property required="false" name="new-connection-sql" description="The new connection SQL"/>
+ <c:simple-property type="boolean" required="false" name="no-tx-separate-pools"/>
+ <c:simple-property required="false" name="password" description="The DataSource password"/>
+ <c:simple-property type="boolean" required="false" name="prefill"/>
+ <c:simple-property type="integer" required="false" name="prepared-statement-cache-size" description="The DataSource prepared statement cache size"/>
+ <c:simple-property type="integer" required="false" name="query-timeout" description="The query timeout"/>
+ <c:simple-property required="false" name="rar-name"/>
+ <c:map-property required="false" name="security-domain"/>
+ <c:simple-property type="boolean" required="false" name="set-tx-query-timeout" description="Should query timeout be enabled"/>
+ <c:simple-property type="boolean" required="false" name="share-prepared-statements" description="Should prepared statements be shared"/>
+ <c:simple-property required="false" name="stale-connection-checker-class-name" description="The DataSource stale connection checker class name"/>
+ <c:simple-property required="false" name="statistics-formatter"/>
+ <c:simple-property type="boolean" required="false" name="track-connection-by-tx"/>
+ <c:simple-property required="false" name="track-statements" description="The track statements method"/>
+ <c:simple-property required="false" name="transaction-isolation" description="The DataSource transaction isolation level"/>
+ <c:simple-property required="false" name="type-mapping"/>
+ <c:simple-property required="false" name="url-delimiter" description="The DataSource url delimiter"/>
+ <c:simple-property required="false" name="url-selector-strategy-class-name" description="The DataSource url selector strategy class name"/>
+ <c:simple-property type="boolean" required="false" name="use-java-context" description="Should the jndi name be bound under the java: context"/>
+ <c:simple-property type="boolean" required="false" name="use-strict-min"/>
+ <c:simple-property type="long" required="false" name="use-try-lock" description="The internal lock timeout"/>
+ <c:simple-property required="false" name="user-name" description="The DataSource username"/>
+ <c:simple-property required="false" name="valid-connection-checker-class-name" description="The DataSource connection checker class name"/>
+ <c:simple-property type="boolean" required="false" name="validate-on-match"/>
+ </resource-configuration>
+ </service>
+ <service name="NoTx ConnectionFactory">
+ <operation name="flush" displayName="Flush" description="Flush the connections in the pool"/>
+ <operation name="listFormattedSubPoolStatistics" displayName="List Formatted Sub Pool Statistics" description="Obtain a formatted statistics report">
+ <results>
+ <c:notes>Obtain a formatted statistics report</c:notes>
+ <c:map-property required="false" name="result"/>
+ </results>
+ </operation>
+ <operation name="listStatistics" displayName="List Statistics" description="Obtain a statistics report">
+ <results>
+ <c:notes>Obtain a statistics report</c:notes>
+ <c:map-property required="false" name="result"/>
+ </results>
+ </operation>
+ <metric property="availableConnectionCount" measurementType="dynamic" displayType="detail" displayName="Available Connection Count" description="number of available connection" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="connectionCount" measurementType="dynamic" displayType="detail" displayName="Connection Count" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="connectionCreatedCount" measurementType="dynamic" displayType="detail" displayName="Connection Created Count" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="connectionDestroyedCount" measurementType="dynamic" displayType="detail" displayName="Connection Destroyed Count" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="inUseConnectionCount" measurementType="dynamic" displayType="detail" displayName="In Use Connection Count" description="number of connections currently in use" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="local-transaction" displayType="summary" displayName="Local Transaction" defaultOn="true" defaultInterval="600000" dataType="trait" category="performance"/>
+ <metric property="maxConnectionsInUseCount" measurementType="dynamic" displayType="detail" displayName="Max Connections In Use Count" description="number of maximum connections in use" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="maxSize" measurementType="dynamic" displayType="detail" displayName="Max Size" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="minSize" measurementType="dynamic" displayType="detail" displayName="Min Size" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="poolJndiName" displayType="summary" displayName="Pool Jndi Name" defaultOn="true" defaultInterval="600000" dataType="trait" category="performance"/>
+ <resource-configuration>
+ <c:simple-property type="integer" required="false" name="allocation-retry"/>
+ <c:simple-property type="long" required="false" name="allocation-retry-wait-millis"/>
+ <c:simple-property type="boolean" required="false" name="background-validation"/>
+ <c:simple-property type="long" required="false" name="background-validation-millis"/>
+ <c:simple-property type="long" required="false" name="blocking-timeout-millis"/>
+ <c:map-property required="false" name="config-property"/>
+ <c:simple-property required="false" name="connection-definition"/>
+ <c:simple-property type="integer" required="false" name="idle-timeout-minutes"/>
+ <c:simple-property type="boolean" required="false" name="isSameRM-override-value"/>
+ <c:simple-property required="false" name="jmx-invoker-name"/>
+ <c:simple-property required="false" name="jndi-name" description="The global JNDI name to bind the factory under"/>
+ <c:simple-property type="integer" required="false" name="max-pool-size"/>
+ <c:map-property required="false" name="metadata">
+ <c:simple-property required="false" name="typeMapping"/>
+ </c:map-property>
+ <c:simple-property type="integer" required="false" name="min-pool-size"/>
+ <c:simple-property type="boolean" required="false" name="no-tx-separate-pools"/>
+ <c:simple-property type="boolean" required="false" name="prefill"/>
+ <c:simple-property required="false" name="rar-name"/>
+ <c:map-property required="false" name="security-domain"/>
+ <c:simple-property required="false" name="statistics-formatter"/>
+ <c:simple-property type="boolean" required="false" name="track-connection-by-tx"/>
+ <c:simple-property required="false" name="type-mapping"/>
+ <c:simple-property type="boolean" required="false" name="use-java-context" description="Should the jndi name be bound under the java: context"/>
+ <c:simple-property type="boolean" required="false" name="use-strict-min"/>
+ <c:simple-property type="boolean" required="false" name="validate-on-match"/>
+ </resource-configuration>
+ </service>
+ <service name="Tx ConnectionFactory">
+ <operation name="flush" displayName="Flush" description="Flush the connections in the pool"/>
+ <operation name="listFormattedSubPoolStatistics" displayName="List Formatted Sub Pool Statistics" description="Obtain a formatted statistics report">
+ <results>
+ <c:notes>Obtain a formatted statistics report</c:notes>
+ <c:map-property required="false" name="result"/>
+ </results>
+ </operation>
+ <operation name="listStatistics" displayName="List Statistics" description="Obtain a statistics report">
+ <results>
+ <c:notes>Obtain a statistics report</c:notes>
+ <c:map-property required="false" name="result"/>
+ </results>
+ </operation>
+ <metric property="availableConnectionCount" measurementType="dynamic" displayType="detail" displayName="Available Connection Count" description="number of available connection" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="connectionCount" measurementType="dynamic" displayType="detail" displayName="Connection Count" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="connectionCreatedCount" measurementType="dynamic" displayType="detail" displayName="Connection Created Count" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="connectionDestroyedCount" measurementType="dynamic" displayType="detail" displayName="Connection Destroyed Count" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="inUseConnectionCount" measurementType="dynamic" displayType="detail" displayName="In Use Connection Count" description="number of connections currently in use" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="maxConnectionsInUseCount" measurementType="dynamic" displayType="detail" displayName="Max Connections In Use Count" description="number of maximum connections in use" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="maxSize" measurementType="dynamic" displayType="detail" displayName="Max Size" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="minSize" measurementType="dynamic" displayType="detail" displayName="Min Size" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="poolJndiName" displayType="summary" displayName="Pool Jndi Name" defaultOn="true" defaultInterval="600000" dataType="trait" category="performance"/>
+ <resource-configuration>
+ <c:simple-property type="integer" required="false" name="allocation-retry"/>
+ <c:simple-property type="long" required="false" name="allocation-retry-wait-millis"/>
+ <c:simple-property type="boolean" required="false" name="background-validation"/>
+ <c:simple-property type="long" required="false" name="background-validation-millis"/>
+ <c:simple-property type="long" required="false" name="blocking-timeout-millis"/>
+ <c:map-property required="false" name="config-property"/>
+ <c:simple-property required="false" name="connection-definition"/>
+ <c:simple-property type="integer" required="false" name="idle-timeout-minutes"/>
+ <c:simple-property type="boolean" required="false" name="isSameRM-override-value"/>
+ <c:simple-property required="false" name="jmx-invoker-name"/>
+ <c:simple-property required="false" name="jndi-name" description="The global JNDI name to bind the factory under"/>
+ <c:simple-property type="boolean" required="false" name="local-transaction"/>
+ <c:simple-property type="integer" required="false" name="max-pool-size"/>
+ <c:map-property required="false" name="metadata">
+ <c:simple-property required="false" name="typeMapping"/>
+ </c:map-property>
+ <c:simple-property type="integer" required="false" name="min-pool-size"/>
+ <c:simple-property type="boolean" required="false" name="no-tx-separate-pools"/>
+ <c:simple-property type="boolean" required="false" name="prefill"/>
+ <c:simple-property required="false" name="rar-name"/>
+ <c:map-property required="false" name="security-domain">
+ <c:simple-property required="false" readOnly="true" name="securityDeploymentType"/>
+ <c:simple-property required="false" name="domain"/>
+ </c:map-property>
+ <c:simple-property required="false" name="statistics-formatter"/>
+ <c:simple-property type="boolean" required="false" name="track-connection-by-tx"/>
+ <c:simple-property required="false" name="type-mapping"/>
+ <c:simple-property type="boolean" required="false" name="use-java-context" description="Should the jndi name be bound under the java: context"/>
+ <c:simple-property type="boolean" required="false" name="use-strict-min"/>
+ <c:simple-property type="boolean" required="false" name="validate-on-match"/>
+ <c:simple-property type="integer" required="false" name="xa-resource-timeout"/>
+ <c:simple-property type="boolean" required="false" name="xa-transaction"/>
+ </resource-configuration>
+ </service>
+ <service name="Queue JMSDestination">
+ <operation name="create" displayName="Create" description="Service lifecycle operation"/>
+ <operation name="destroy" displayName="Destroy" description="Service lifecycle operation"/>
+ <operation name="listAllMessages" displayName="List All Messages" description="List all messages">
+ <results>
+ <c:notes>List all messages</c:notes>
+ <c:list-property name="result">
+ <c:map-property required="false" name="element"/>
+ </c:list-property>
+ </results>
+ </operation>
+ <operation name="listDurableMessages" displayName="List Durable Messages" description="List all durable mesages using a selector">
+ <parameters>
+ <c:simple-property required="false" name="arg#0"/>
+ </parameters>
+ <results>
+ <c:notes>List all durable mesages using a selector</c:notes>
+ <c:list-property name="result">
+ <c:map-property required="false" name="element"/>
+ </c:list-property>
+ </results>
+ </operation>
+ <operation name="listMessageCounterAsHTML" displayName="List Message Counter As HTML" description="Get the message counter as HTML">
+ <results>
+ <c:notes>Get the message counter as HTML</c:notes>
+ <c:simple-property required="false" name="result"/>
+ </results>
+ </operation>
+ <operation name="listMessageCounterHistoryAsHTML" displayName="List Message Counter History As HTML" description="Get the message counter history as HTML">
+ <results>
+ <c:notes>Get the message counter history as HTML</c:notes>
+ <c:simple-property required="false" name="result"/>
+ </results>
+ </operation>
+ <operation name="listNonDurableMessages" displayName="List Non Durable Messages" description="List all non durable mesages using a selector">
+ <parameters>
+ <c:simple-property required="false" name="arg#0"/>
+ </parameters>
+ <results>
+ <c:notes>List all non durable mesages using a selector</c:notes>
+ <c:list-property name="result">
+ <c:map-property required="false" name="element"/>
+ </c:list-property>
+ </results>
+ </operation>
+ <operation name="removeAllMessages" displayName="Remove All Messages" description="Remove all messages in the queue"/>
+ <operation name="resetMessageCounter" displayName="Reset Message Counter" description="Reset the message counter"/>
+ <operation name="resetMessageCounterHistory" displayName="Reset Message Counter History" description="Reset the message counter history"/>
+ <operation name="start" displayName="Start" description="Service lifecycle operation"/>
+ <operation name="stop" displayName="Stop" description="Service lifecycle operation"/>
+ <metric property="consumerCount" measurementType="dynamic" displayType="detail" displayName="Consumer Count" description="The number of consumers on the queue" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="createdProgrammatically" displayType="summary" displayName="Created Programmatically" description="True if this destination was created programmatically" defaultOn="true" defaultInterval="600000" dataType="trait" category="performance"/>
+ <metric property="deliveringCount" measurementType="dynamic" displayType="detail" displayName="Delivering Count" description="The number of messages currently being delivered" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="messageCount" measurementType="dynamic" displayType="detail" displayName="Message Count" description="The number of messages in the queue" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="messageCounter.count" measurementType="dynamic" displayType="detail" displayName="Count" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="messageCounter.countDelta" measurementType="dynamic" displayType="detail" displayName="Count Delta" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="messageCounter.counterAsString" displayType="detail" displayName="Counter As String" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="messageCounter.destinationDurable" measurementType="dynamic" displayType="detail" displayName="Destination Durable" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="messageCounter.destinationName" displayType="detail" displayName="Destination Name" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="messageCounter.destinationSubscription" displayType="detail" displayName="Destination Subscription" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="messageCounter.destinationTopic" measurementType="dynamic" displayType="detail" displayName="Destination Topic" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="messageCounter.historyAsString" displayType="detail" displayName="History As String" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="messageCounter.historyLimit" measurementType="dynamic" displayType="detail" displayName="History Limit" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="messageCounter.lastUpdate" measurementType="dynamic" displayType="detail" displayName="Last Update" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="messageCounter.messageCount" measurementType="dynamic" displayType="detail" displayName="Message Count" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="messageCounter.messageCountDelta" measurementType="dynamic" displayType="detail" displayName="Message Count Delta" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="messageStatistics.asString" displayType="detail" displayName="As String" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="messageStatistics.count" measurementType="dynamic" displayType="detail" displayName="Count" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="messageStatistics.countDelta" measurementType="dynamic" displayType="detail" displayName="Count Delta" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="messageStatistics.depth" measurementType="dynamic" displayType="detail" displayName="Depth" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="messageStatistics.depthDelta" measurementType="dynamic" displayType="detail" displayName="Depth Delta" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="messageStatistics.durable" measurementType="dynamic" displayType="detail" displayName="Durable" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="messageStatistics.name" displayType="detail" displayName="Name" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="messageStatistics.subscriptionID" displayType="detail" displayName="Subscription ID" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="messageStatistics.timeLastUpdate" measurementType="dynamic" displayType="detail" displayName="Time Last Update" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="messageStatistics.topic" measurementType="dynamic" displayType="detail" displayName="Topic" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="name" displayType="summary" displayName="Name" description="The destination name" defaultOn="true" defaultInterval="600000" dataType="trait" category="performance"/>
+ <metric property="scheduledMessageCount" measurementType="dynamic" displayType="detail" displayName="Scheduled Message Count" description="The number of scheduled messages in the queue" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <resource-configuration>
+ <c:map-property required="false" name="DLQ" description="The DLQ for this queue, overrides the default DLQ on the server peer">
+ <c:simple-property required="false" name="domain" description="The domain name"/>
+ <c:map-property required="false" name="keyPropertyList" description="The unordered set of keys and associated values"/>
+ </c:map-property>
+ <c:simple-property required="false" name="JNDIName" description="The destination's JNDI name"/>
+ <c:simple-property type="boolean" required="false" name="clustered" description="Is this a clustered destination?"/>
+ <c:simple-property type="integer" required="false" name="downCacheSize" description="The write-cache size, can only be set when queue is stopped"/>
+ <c:map-property required="false" name="expiryQueue" description="The expiry queue for this queue, overrides the default expiry queue on the server peer">
+ <c:simple-property required="false" name="domain" description="The domain name"/>
+ <c:map-property required="false" name="keyPropertyList" description="The unordered set of keys and associated values"/>
+ </c:map-property>
+ <c:simple-property type="integer" required="false" name="fullSize" description="The in-memory message limit, can only be set when queue is stopped"/>
+ <c:simple-property type="integer" required="false" name="maxDeliveryAttempts" description="The maximum delivery attempts to the queue"/>
+ <c:simple-property type="integer" required="false" name="maxSize" description="The maximum number of messages this queue can hold before they are dropped"/>
+ <c:simple-property type="integer" required="false" name="messageCounterHistoryDayLimit" description="The day limit for the message counter"/>
+ <c:simple-property type="integer" required="false" name="pageSize" description="The paging size, can only be set when queue is stopped"/>
+ <c:simple-property type="long" required="false" name="redeliveryDelay" description="The delay before redelivering"/>
+ <c:map-property required="false" name="securityConfig" description="The destination's security configuration">
+ <c:simple-property required="false" name="tagName"/>
+ </c:map-property>
+ <c:map-property required="false" name="serverPeer" description="The ObjectName of the server peer this destination was deployed on">
+ <c:simple-property required="false" name="domain" description="The domain name"/>
+ <c:map-property required="false" name="keyPropertyList" description="The unordered set of keys and associated values"/>
+ </c:map-property>
+ </resource-configuration>
+ </service>
+ <service name="Topic JMSDestination">
+ <operation name="create" displayName="Create" description="Service lifecycle operation"/>
+ <operation name="destroy" displayName="Destroy" description="Service lifecycle operation"/>
+ <operation name="listAllMessages" displayName="List All Messages" description="List all messages for the specified subscription">
+ <parameters>
+ <c:simple-property required="false" name="arg#0"/>
+ </parameters>
+ <results>
+ <c:notes>List all messages for the specified subscription</c:notes>
+ <c:list-property name="result">
+ <c:map-property required="false" name="element"/>
+ </c:list-property>
+ </results>
+ </operation>
+ <operation name="listAllSubscriptions" displayName="List All Subscriptions" description="Return all subscriptions for the topic">
+ <results>
+ <c:notes>Return all subscriptions for the topic</c:notes>
+ <c:list-property name="result">
+ <c:map-property required="false" name="element"/>
+ </c:list-property>
+ </results>
+ </operation>
+ <operation name="listAllSubscriptionsAsHTML" displayName="List All Subscriptions As HTML" description="Return all subscriptions for the topic in HTML">
+ <results>
+ <c:notes>Return all subscriptions for the topic in HTML</c:notes>
+ <c:simple-property required="false" name="result"/>
+ </results>
+ </operation>
+ <operation name="listDurableMessages" displayName="List Durable Messages" description="List all durable messages for the specified subscription">
+ <parameters>
+ <c:simple-property required="false" name="arg#0"/>
+ </parameters>
+ <results>
+ <c:notes>List all durable messages for the specified subscription</c:notes>
+ <c:list-property name="result">
+ <c:map-property required="false" name="element"/>
+ </c:list-property>
+ </results>
+ </operation>
+ <operation name="listDurableSubscriptions" displayName="List Durable Subscriptions" description="Return all durable subscriptions for the topic">
+ <results>
+ <c:notes>Return all durable subscriptions for the topic</c:notes>
+ <c:list-property name="result">
+ <c:map-property required="false" name="element"/>
+ </c:list-property>
+ </results>
+ </operation>
+ <operation name="listDurableSubscriptionsAsHTML" displayName="List Durable Subscriptions As HTML" description="Return all durable subscriptions for the topic in HTML">
+ <results>
+ <c:notes>Return all durable subscriptions for the topic in HTML</c:notes>
+ <c:simple-property required="false" name="result"/>
+ </results>
+ </operation>
+ <operation name="listNonDurableMessages" displayName="List Non Durable Messages" description="List all non durable messages for the specified subscription with the specified selector">
+ <parameters>
+ <c:simple-property required="false" name="arg#0"/>
+ <c:simple-property required="false" name="arg#1"/>
+ </parameters>
+ <results>
+ <c:notes>List all non durable messages for the specified subscription with the specified selector</c:notes>
+ <c:list-property name="result">
+ <c:map-property required="false" name="element"/>
+ </c:list-property>
+ </results>
+ </operation>
+ <operation name="listNonDurableSubscriptions" displayName="List Non Durable Subscriptions" description="Return all non durable subscriptions for the topic">
+ <results>
+ <c:notes>Return all non durable subscriptions for the topic</c:notes>
+ <c:list-property name="result">
+ <c:map-property required="false" name="element"/>
+ </c:list-property>
+ </results>
+ </operation>
+ <operation name="listNonDurableSubscriptionsAsHTML" displayName="List Non Durable Subscriptions As HTML" description="Return all non durable subscriptions for the topic in HTML">
+ <results>
+ <c:notes>Return all non durable subscriptions for the topic in HTML</c:notes>
+ <c:simple-property required="false" name="result"/>
+ </results>
+ </operation>
+ <operation name="removeAllMessages" displayName="Remove All Messages" description="Remove all messages"/>
+ <operation name="start" displayName="Start" description="Service lifecycle operation"/>
+ <operation name="stop" displayName="Stop" description="Service lifecycle operation"/>
+ <metric property="allMessageCount" measurementType="dynamic" displayType="detail" displayName="All Message Count" description="The count of all messages in all subscriptions of this topic" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="allSubscriptionsCount" measurementType="dynamic" displayType="detail" displayName="All Subscriptions Count" description="The count of all subscriptions of this topic" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="createdProgrammatically" displayType="summary" displayName="Created Programmatically" description="True if this destination was created programmatically" defaultOn="true" defaultInterval="600000" dataType="trait" category="performance"/>
+ <metric property="durableMessageCount" measurementType="dynamic" displayType="detail" displayName="Durable Message Count" description="The count of all messages in all durable subscriptions of this topic" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="durableSubscriptionsCount" measurementType="dynamic" displayType="detail" displayName="Durable Subscriptions Count" description="The count of all durable subscriptions of this topic" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="messageCounterHistoryDayLimit" measurementType="dynamic" displayType="detail" displayName="Message Counter History Day Limit" description="The day limit for the message counter" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="name" displayType="summary" displayName="Name" description="The destination name" defaultOn="true" defaultInterval="600000" dataType="trait" category="performance"/>
+ <metric property="nonDurableMessageCount" measurementType="dynamic" displayType="detail" displayName="Non Durable Message Count" description="The count of all messages in all non durable subscriptions of this topic" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="nonDurableSubscriptionsCount" measurementType="dynamic" displayType="detail" displayName="Non Durable Subscriptions Count" description="The count of all non durable subscriptions of this topic" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <resource-configuration>
+ <c:map-property required="false" name="DLQ" description="The DLQ for this topic, overrides the default DLQ on the server peer">
+ <c:simple-property required="false" name="domain" description="The domain name"/>
+ <c:map-property required="false" name="keyPropertyList" description="The unordered set of keys and associated values"/>
+ </c:map-property>
+ <c:simple-property required="false" name="JNDIName" description="The destination's JNDI name"/>
+ <c:simple-property type="boolean" required="false" name="clustered" description="Is this a clustered destination?"/>
+ <c:simple-property type="integer" required="false" name="downCacheSize" description="The write-cache size, can only be set when topic is stopped"/>
+ <c:map-property required="false" name="expiryQueue" description="The expiry queue for this topic, overrides the default expiry queue on the server peer">
+ <c:simple-property required="false" name="domain" description="The domain name"/>
+ <c:map-property required="false" name="keyPropertyList" description="The unordered set of keys and associated values"/>
+ </c:map-property>
+ <c:simple-property type="integer" required="false" name="fullSize" description="The in-memory message limit, can only be set when topic is stopped"/>
+ <c:simple-property type="integer" required="false" name="maxDeliveryAttempts" description="The maximum delivery attempts to the topic"/>
+ <c:simple-property type="integer" required="false" name="maxSize" description="The maximum number of messages this topic can hold before they are dropped"/>
+ <c:simple-property type="integer" required="false" name="pageSize" description="The paging size, can only be set when topic is stopped"/>
+ <c:simple-property type="long" required="false" name="redeliveryDelay" description="The delay before redelivering"/>
+ <c:map-property required="false" name="securityConfig" description="The destination's security configuration">
+ <c:simple-property required="false" name="tagName"/>
+ </c:map-property>
+ <c:map-property required="false" name="serverPeer" description="The ObjectName of the server peer this destination was deployed on">
+ <c:simple-property required="false" name="domain" description="The domain name"/>
+ <c:map-property required="false" name="keyPropertyList" description="The unordered set of keys and associated values"/>
+ </c:map-property>
+ </resource-configuration>
+ </service>
+ <service name="Platform MBean">
+ <operation name="gc" displayName="Gc" description="Runs the garbage collector"/>
+ <resource-configuration>
+ <c:map-property required="false" readOnly="true" name="heapMemoryUsage" description="object representing the heap memory usage.">
+ <c:simple-property type="long" required="false" name="committed"/>
+ <c:simple-property type="long" required="false" name="init"/>
+ <c:simple-property type="long" required="false" name="max"/>
+ <c:simple-property type="long" required="false" name="used"/>
+ </c:map-property>
+ <c:map-property required="false" readOnly="true" name="nonHeapMemoryUsage" description="object representing the non-heap memory usage.">
+ <c:simple-property type="long" required="false" name="committed"/>
+ <c:simple-property type="long" required="false" name="init"/>
+ <c:simple-property type="long" required="false" name="max"/>
+ <c:simple-property type="long" required="false" name="used"/>
+ </c:map-property>
+ <c:simple-property type="integer" required="false" readOnly="true" name="objectPendingFinalizationCount" description="the approximate number objects for which finalization is pending."/>
+ <c:simple-property type="boolean" required="false" name="verbose" description="the verbose output flag for the memory system."/>
+ </resource-configuration>
+ </service>
+ <service name="Web MBean">
+ <metric property="currentThreadCount" measurementType="dynamic" displayType="detail" displayName="Current Thread Count" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="currentThreadsBusy" measurementType="dynamic" displayType="detail" displayName="Current Threads Busy" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="maxThreads" measurementType="dynamic" displayType="detail" displayName="Max Threads" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="threadPriority" measurementType="dynamic" displayType="detail" displayName="Thread Priority" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <resource-configuration>
+ <c:simple-property required="false" readOnly="true" name="mbeanNameAsString"/>
+ </resource-configuration>
+ </service>
+ <service name="jboss.system:type=ServerConfig MCBean">
+ <metric property="bootstrapURL.authority" displayType="detail" displayName="Authority" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="bootstrapURL.defaultPort" measurementType="dynamic" displayType="detail" displayName="Default Port" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="bootstrapURL.file" displayType="detail" displayName="File" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="bootstrapURL.host" displayType="detail" displayName="Host" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="bootstrapURL.path" displayType="detail" displayName="Path" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="bootstrapURL.port" measurementType="dynamic" displayType="detail" displayName="Port" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="bootstrapURL.protocol" displayType="detail" displayName="Protocol" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="bootstrapURL.query" displayType="detail" displayName="Query" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="bootstrapURL.ref" displayType="detail" displayName="Ref" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="bootstrapURL.userInfo" displayType="detail" displayName="User Info" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="commonBaseURL.authority" displayType="detail" displayName="Authority" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="commonBaseURL.defaultPort" measurementType="dynamic" displayType="detail" displayName="Default Port" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="commonBaseURL.file" displayType="detail" displayName="File" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="commonBaseURL.host" displayType="detail" displayName="Host" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="commonBaseURL.path" displayType="detail" displayName="Path" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="commonBaseURL.port" measurementType="dynamic" displayType="detail" displayName="Port" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="commonBaseURL.protocol" displayType="detail" displayName="Protocol" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="commonBaseURL.query" displayType="detail" displayName="Query" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="commonBaseURL.ref" displayType="detail" displayName="Ref" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="commonBaseURL.userInfo" displayType="detail" displayName="User Info" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="commonLibraryURL.authority" displayType="detail" displayName="Authority" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="commonLibraryURL.defaultPort" measurementType="dynamic" displayType="detail" displayName="Default Port" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="commonLibraryURL.file" displayType="detail" displayName="File" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="commonLibraryURL.host" displayType="detail" displayName="Host" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="commonLibraryURL.path" displayType="detail" displayName="Path" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="commonLibraryURL.port" measurementType="dynamic" displayType="detail" displayName="Port" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="commonLibraryURL.protocol" displayType="detail" displayName="Protocol" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="commonLibraryURL.query" displayType="detail" displayName="Query" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="commonLibraryURL.ref" displayType="detail" displayName="Ref" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="commonLibraryURL.userInfo" displayType="detail" displayName="User Info" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="homeDir" measurementType="dynamic" displayType="detail" displayName="Home Dir" description="the local home directory which the server is running from" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="homeURL.authority" displayType="detail" displayName="Authority" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="homeURL.defaultPort" measurementType="dynamic" displayType="detail" displayName="Default Port" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="homeURL.file" displayType="detail" displayName="File" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="homeURL.host" displayType="detail" displayName="Host" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="homeURL.path" displayType="detail" displayName="Path" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="homeURL.port" measurementType="dynamic" displayType="detail" displayName="Port" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="homeURL.protocol" displayType="detail" displayName="Protocol" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="homeURL.query" displayType="detail" displayName="Query" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="homeURL.ref" displayType="detail" displayName="Ref" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="homeURL.userInfo" displayType="detail" displayName="User Info" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="libraryURL.authority" displayType="detail" displayName="Authority" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="libraryURL.defaultPort" measurementType="dynamic" displayType="detail" displayName="Default Port" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="libraryURL.file" displayType="detail" displayName="File" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="libraryURL.host" displayType="detail" displayName="Host" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="libraryURL.path" displayType="detail" displayName="Path" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="libraryURL.port" measurementType="dynamic" displayType="detail" displayName="Port" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="libraryURL.protocol" displayType="detail" displayName="Protocol" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="libraryURL.query" displayType="detail" displayName="Query" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="libraryURL.ref" displayType="detail" displayName="Ref" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="libraryURL.userInfo" displayType="detail" displayName="User Info" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="rootDeploymentFilename" measurementType="dynamic" displayType="detail" displayName="Root Deployment Filename" description="the filename of the root deployable that will be used to finalize the bootstrap process" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="serverBaseDir" measurementType="dynamic" displayType="detail" displayName="Server Base Dir" description="the base directory for calculating server home directories" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="serverBaseURL.authority" displayType="detail" displayName="Authority" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="serverBaseURL.defaultPort" measurementType="dynamic" displayType="detail" displayName="Default Port" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="serverBaseURL.file" displayType="detail" displayName="File" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="serverBaseURL.host" displayType="detail" displayName="Host" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="serverBaseURL.path" displayType="detail" displayName="Path" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="serverBaseURL.port" measurementType="dynamic" displayType="detail" displayName="Port" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="serverBaseURL.protocol" displayType="detail" displayName="Protocol" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="serverBaseURL.query" displayType="detail" displayName="Query" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="serverBaseURL.ref" displayType="detail" displayName="Ref" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="serverBaseURL.userInfo" displayType="detail" displayName="User Info" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="serverDataDir" measurementType="dynamic" displayType="detail" displayName="Server Data Dir" description="the directory where local data will be stored" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="serverHomeDir" measurementType="dynamic" displayType="detail" displayName="Server Home Dir" description="the server home directory" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="serverHomeURL.authority" displayType="detail" displayName="Authority" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="serverHomeURL.defaultPort" measurementType="dynamic" displayType="detail" displayName="Default Port" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="serverHomeURL.file" displayType="detail" displayName="File" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="serverHomeURL.host" displayType="detail" displayName="Host" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="serverHomeURL.path" displayType="detail" displayName="Path" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="serverHomeURL.port" measurementType="dynamic" displayType="detail" displayName="Port" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="serverHomeURL.protocol" displayType="detail" displayName="Protocol" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="serverHomeURL.query" displayType="detail" displayName="Query" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="serverHomeURL.ref" displayType="detail" displayName="Ref" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="serverHomeURL.userInfo" displayType="detail" displayName="User Info" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="serverLibraryURL.authority" displayType="detail" displayName="Authority" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="serverLibraryURL.defaultPort" measurementType="dynamic" displayType="detail" displayName="Default Port" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="serverLibraryURL.file" displayType="detail" displayName="File" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="serverLibraryURL.host" displayType="detail" displayName="Host" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="serverLibraryURL.path" displayType="detail" displayName="Path" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="serverLibraryURL.port" measurementType="dynamic" displayType="detail" displayName="Port" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="serverLibraryURL.protocol" displayType="detail" displayName="Protocol" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="serverLibraryURL.query" displayType="detail" displayName="Query" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="serverLibraryURL.ref" displayType="detail" displayName="Ref" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="serverLibraryURL.userInfo" displayType="detail" displayName="User Info" defaultOn="true" defaultInterval="60000" dataType="trait" category="performance"/>
+ <metric property="serverLogDir" measurementType="dynamic" displayType="detail" displayName="Server Log Dir" description="the server log directory" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="serverName" measurementType="dynamic" displayType="detail" displayName="Server Name" description="the name of the active profile the sever is using" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="serverNativeDir" measurementType="dynamic" displayType="detail" displayName="Server Native Dir" description="the directory for platform native files" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="serverTempDeployDir" measurementType="dynamic" displayType="detail" displayName="Server Temp Deploy Dir" description="the temporary deployment dir" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="serverTempDir" measurementType="dynamic" displayType="detail" displayName="Server Temp Dir" description="the directory where temporary files will be stored" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ <metric property="specificationVersion" measurementType="dynamic" displayType="detail" displayName="Specification Version" description="the server Specification-Version" defaultOn="true" defaultInterval="60000" dataType="measurement" category="performance"/>
+ </service>
+ <service name="%Generated% MCBean">
+ <resource-configuration>
+ <c:list-property required="false" name="properties">
+ <c:map-property required="false" name="element"/>
+ </c:list-property>
+ </resource-configuration>
+ </service>
+ <service name="%Generated% MCBean">
+ <resource-configuration>
+ <c:list-property required="false" name="properties">
+ <c:map-property required="false" name="element"/>
+ </c:list-property>
+ </resource-configuration>
+ </service>
+ <service name="%Generated% MCBean">
+ <resource-configuration>
+ <c:list-property required="false" name="properties">
+ <c:map-property required="false" name="element"/>
+ </c:list-property>
+ </resource-configuration>
+ </service>
+ <service name="%Generated% MCBean">
+ <resource-configuration>
+ <c:list-property required="false" name="properties">
+ <c:map-property required="false" name="element"/>
+ </c:list-property>
+ </resource-configuration>
+ </service>
+ <service name="%Generated% MCBean">
+ <resource-configuration>
+ <c:list-property required="false" name="properties">
+ <c:map-property required="false" name="element"/>
+ </c:list-property>
+ </resource-configuration>
+ </service>
+ <service name="%Generated% MCBean">
+ <resource-configuration>
+ <c:list-property required="false" name="properties">
+ <c:map-property required="false" name="element"/>
+ </c:list-property>
+ </resource-configuration>
+ </service>
+ <service name="jboss.system:type=MCServer MCBean">
+ <operation name="shutdown" displayName="Shutdown" description="Shutdown the server"/>
+ <resource-configuration>
+ <c:simple-property required="false" readOnly="true" name="buildDate" description="The server build date"/>
+ <c:simple-property required="false" readOnly="true" name="buildID" description="The server build ID"/>
+ <c:simple-property required="false" readOnly="true" name="buildJVM" description="The server build JVM"/>
+ <c:simple-property required="false" readOnly="true" name="buildNumber" description="The server build number"/>
+ <c:simple-property required="false" readOnly="true" name="buildOS" description="The server build OS"/>
+ <c:map-property required="false" readOnly="true" name="config">
+ <c:map-property required="false" readOnly="true" name="libraryURL" description="the bootstrap library URL for the server.">
+ <c:simple-property required="false" name="authority"/>
+ <c:simple-property type="integer" required="false" name="defaultPort"/>
+ <c:simple-property required="false" name="file"/>
+ <c:simple-property required="false" name="host"/>
+ <c:simple-property required="false" name="path"/>
+ <c:simple-property type="integer" required="false" name="port"/>
+ <c:simple-property required="false" name="protocol"/>
+ <c:simple-property required="false" name="query"/>
+ <c:simple-property required="false" name="ref"/>
+ <c:simple-property required="false" name="userInfo"/>
+ </c:map-property>
+ <c:simple-property required="false" readOnly="true" name="serverNativeDir" description="the directory for platform native files"/>
+ <c:simple-property required="false" readOnly="true" name="homeDir" description="the local home directory which the server is running from"/>
+ <c:simple-property required="false" readOnly="true" name="serverLogDir" description="the server log directory"/>
+ <c:map-property required="false" readOnly="true" name="serverLibraryURL" description="the server home URL">
+ <c:simple-property required="false" name="authority"/>
+ <c:simple-property type="integer" required="false" name="defaultPort"/>
+ <c:simple-property required="false" name="file"/>
+ <c:simple-property required="false" name="host"/>
+ <c:simple-property required="false" name="path"/>
+ <c:simple-property type="integer" required="false" name="port"/>
+ <c:simple-property required="false" name="protocol"/>
+ <c:simple-property required="false" name="query"/>
+ <c:simple-property required="false" name="ref"/>
+ <c:simple-property required="false" name="userInfo"/>
+ </c:map-property>
+ <c:simple-property required="false" readOnly="true" name="serverHomeDir" description="the server home directory"/>
+ <c:simple-property required="false" readOnly="true" name="serverName" description="the name of the active profile the sever is using"/>
+ <c:simple-property required="false" name="rootDeploymentFilename" description="the filename of the root deployable that will be used to finalize the bootstrap process"/>
+ <c:simple-property required="false" readOnly="true" name="specificationVersion" description="the server Specification-Version"/>
+ <c:map-property required="false" readOnly="true" name="serverBaseURL" description="the base URL for calculating server home URLs">
+ <c:simple-property required="false" name="authority"/>
+ <c:simple-property type="integer" required="false" name="defaultPort"/>
+ <c:simple-property required="false" name="file"/>
+ <c:simple-property required="false" name="host"/>
+ <c:simple-property required="false" name="path"/>
+ <c:simple-property type="integer" required="false" name="port"/>
+ <c:simple-property required="false" name="protocol"/>
+ <c:simple-property required="false" name="query"/>
+ <c:simple-property required="false" name="ref"/>
+ <c:simple-property required="false" name="userInfo"/>
+ </c:map-property>
+ <c:map-property required="false" readOnly="true" name="commonBaseURL" description="the common library URL base">
+ <c:simple-property required="false" name="authority"/>
+ <c:simple-property type="integer" required="false" name="defaultPort"/>
+ <c:simple-property required="false" name="file"/>
+ <c:simple-property required="false" name="host"/>
+ <c:simple-property required="false" name="path"/>
+ <c:simple-property type="integer" required="false" name="port"/>
+ <c:simple-property required="false" name="protocol"/>
+ <c:simple-property required="false" name="query"/>
+ <c:simple-property required="false" name="ref"/>
+ <c:simple-property required="false" name="userInfo"/>
+ </c:map-property>
+ <c:map-property required="false" readOnly="true" name="commonLibraryURL" description="the URL for the common library jars">
+ <c:simple-property required="false" name="authority"/>
+ <c:simple-property type="integer" required="false" name="defaultPort"/>
+ <c:simple-property required="false" name="file"/>
+ <c:simple-property required="false" name="host"/>
+ <c:simple-property required="false" name="path"/>
+ <c:simple-property type="integer" required="false" name="port"/>
+ <c:simple-property required="false" name="protocol"/>
+ <c:simple-property required="false" name="query"/>
+ <c:simple-property required="false" name="ref"/>
+ <c:simple-property required="false" name="userInfo"/>
+ </c:map-property>
+ <c:simple-property required="false" readOnly="true" name="serverTempDeployDir" description="the temporary deployment dir"/>
+ <c:map-property required="false" readOnly="true" name="serverHomeURL" description="the server home URL">
+ <c:simple-property required="false" name="authority"/>
+ <c:simple-property type="integer" required="false" name="defaultPort"/>
+ <c:simple-property required="false" name="file"/>
+ <c:simple-property required="false" name="host"/>
+ <c:simple-property required="false" name="path"/>
+ <c:simple-property type="integer" required="false" name="port"/>
+ <c:simple-property required="false" name="protocol"/>
+ <c:simple-property required="false" name="query"/>
+ <c:simple-property required="false" name="ref"/>
+ <c:simple-property required="false" name="userInfo"/>
+ </c:map-property>
+ <c:map-property required="false" readOnly="true" name="homeURL" description="home URL which the server is running from">
+ <c:simple-property required="false" name="authority"/>
+ <c:simple-property type="integer" required="false" name="defaultPort"/>
+ <c:simple-property required="false" name="file"/>
+ <c:simple-property required="false" name="host"/>
+ <c:simple-property required="false" name="path"/>
+ <c:simple-property type="integer" required="false" name="port"/>
+ <c:simple-property required="false" name="protocol"/>
+ <c:simple-property required="false" name="query"/>
+ <c:simple-property required="false" name="ref"/>
+ <c:simple-property required="false" name="userInfo"/>
+ </c:map-property>
+ <c:simple-property required="false" readOnly="true" name="serverDataDir" description="the directory where local data will be stored"/>
+ <c:simple-property required="false" readOnly="true" name="serverBaseDir" description="the base directory for calculating server home directories"/>
+ <c:simple-property required="false" readOnly="true" name="serverTempDir" description="the directory where temporary files will be stored"/>
+ <c:map-property required="false" readOnly="true" name="bootstrapURL" description="the bootstrap url">
+ <c:simple-property required="false" name="authority"/>
+ <c:simple-property type="integer" required="false" name="defaultPort"/>
+ <c:simple-property required="false" name="file"/>
+ <c:simple-property required="false" name="host"/>
+ <c:simple-property required="false" name="path"/>
+ <c:simple-property type="integer" required="false" name="port"/>
+ <c:simple-property required="false" name="protocol"/>
+ <c:simple-property required="false" name="query"/>
+ <c:simple-property required="false" name="ref"/>
+ <c:simple-property required="false" name="userInfo"/>
+ </c:map-property>
+ </c:map-property>
+ <c:simple-property required="false" readOnly="true" name="startDate" description="The server start time"/>
+ <c:simple-property required="false" readOnly="true" name="version" description="The server version string"/>
+ <c:simple-property required="false" readOnly="true" name="versionName" description="The server version name"/>
+ <c:simple-property required="false" readOnly="true" name="versionNumber" description="The server version number string"/>
+ </resource-configuration>
+ </service>
+ <service name="ManagementView MCBean"/>
+ <service name="jboss.system:type=ServerInfo MCBean"/>
+ <service name="JTA MCBean"/>
+ <service name="Security MCBean">
+ <resource-configuration>
+ <c:list-property required="false" name="properties">
+ <c:map-property required="false" name="element">
+ <c:simple-property required="false" name="description"/>
+ <c:simple-property required="false" name="name"/>
+ <c:map-property required="false" name="value"/>
+ <c:simple-property required="false" readOnly="true" name="classShortName"/>
+ <c:map-property required="false" readOnly="true" name="children"/>
+ <c:simple-property type="boolean" required="false" name="preInstantiate"/>
+ <c:list-property required="false" name="annotations">
+ <c:map-property required="false" name="element"/>
+ </c:list-property>
+ <c:simple-property required="false" readOnly="true" name="type"/>
+ </c:map-property>
+ </c:list-property>
+ </resource-configuration>
+ </service>
+ <service name="ServiceBindingSet MCBean">
+ <resource-configuration>
+ <c:simple-property required="false" name="defaultHostName" description="the host name bindings associated with this set should use not configured in the binding itself"/>
+ <c:simple-property required="false" readOnly="true" name="name" description="the name of the set"/>
+ <c:list-property required="false" readOnly="true" name="overrideBindings" description="bindings that either override or are additions to the base bindings configured in the ServiceBindingStore">
+ <c:map-property required="false" name="element">
+ <c:simple-property required="false" name="bindingName"/>
+ <c:simple-property type="boolean" required="false" name="fixedHostName"/>
+ <c:simple-property type="boolean" required="false" name="fixedPort"/>
+ <c:simple-property required="false" name="fullyQualifiedName"/>
+ <c:simple-property required="false" name="hostName"/>
+ <c:simple-property type="integer" required="false" name="port"/>
+ <c:simple-property required="false" name="serviceBindingValueSourceClassName"/>
+ <c:simple-property required="false" name="serviceName"/>
+ </c:map-property>
+ </c:list-property>
+ <c:simple-property type="integer" required="false" name="portOffset" description="offset that should be applied to non-fixed-portbindings associated with this set"/>
+ </resource-configuration>
+ </service>
+</plugin>
Property changes on: trunk/jbas5/etc/generated-rhq-plugin.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:keywords
+ Date Author Id Revision HeadURL
Name: svn:eol-style
+ LF
15 years, 9 months
EMBJOPR SVN: r257 - in trunk/jbas5/etc: overlay and 6 other directories.
by embjopr-commits@lists.jboss.org
Author: ips
Date: 2009-03-26 10:55:55 -0400 (Thu, 26 Mar 2009)
New Revision: 257
Added:
trunk/jbas5/etc/overlay/
trunk/jbas5/etc/overlay/bin/
trunk/jbas5/etc/overlay/bin/run.bat
trunk/jbas5/etc/overlay/server/
trunk/jbas5/etc/overlay/server/default/
trunk/jbas5/etc/overlay/server/default/conf/
trunk/jbas5/etc/overlay/server/default/conf/jboss-log4j.xml
trunk/jbas5/etc/overlay/server/default/deploy/
trunk/jbas5/etc/overlay/server/default/deploy/MyLocalTxCF-ds.xml
trunk/jbas5/etc/overlay/server/default/deploy/MyNoTxCF-ds.xml
trunk/jbas5/etc/overlay/server/default/deploy/MyOracleLocalTxDS-ds.xml
trunk/jbas5/etc/overlay/server/default/deploy/MyOracleNoTxDS-ds.xml
trunk/jbas5/etc/overlay/server/default/deploy/MyOracleXADS-ds.xml
trunk/jbas5/etc/overlay/server/default/deploy/MyQueue-service.xml
trunk/jbas5/etc/overlay/server/default/deploy/MyTopic-service.xml
trunk/jbas5/etc/overlay/server/default/deploy/MyXATxCF-ds.xml
trunk/jbas5/etc/overlay/server/default/deploy/messaging/
trunk/jbas5/etc/overlay/server/default/deploy/messaging/destinations-service.xml
Removed:
trunk/jbas5/etc/destinations-service.xml
trunk/jbas5/etc/jboss-log4j.xml
trunk/jbas5/etc/run.bat
Log:
files that can be overlaid on a JBAS 5.x install to be used for EmbJopr dev
Deleted: trunk/jbas5/etc/destinations-service.xml
===================================================================
--- trunk/jbas5/etc/destinations-service.xml 2009-03-25 14:44:31 UTC (rev 256)
+++ trunk/jbas5/etc/destinations-service.xml 2009-03-26 14:55:55 UTC (rev 257)
@@ -1,218 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
- Messaging Destinations deployment descriptor.
-
- $Id$
- -->
-
-<server>
-
- <!--
- The Default Dead Letter Queue. This destination is a dependency of an EJB MDB container.
- -->
-
- <mbean code="org.jboss.jms.server.destination.QueueService"
- name="jboss.messaging.destination:service=Queue,name=DLQ"
- xmbean-dd="xmdesc/Queue-xmbean.xml">
- <annotation>@org.jboss.system.deployers.managed.ManagementObjectClass(code=org.jboss.jms.server.destination.QueueServiceMO)</annotation>
- <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
- <depends>jboss.messaging:service=PostOffice</depends>
- </mbean>
-
- <!--
- The Default Expiry Queue.
- -->
-
- <mbean code="org.jboss.jms.server.destination.QueueService"
- name="jboss.messaging.destination:service=Queue,name=ExpiryQueue"
- xmbean-dd="xmdesc/Queue-xmbean.xml">
- <annotation>@org.jboss.system.deployers.managed.ManagementObjectClass(code=org.jboss.jms.server.destination.QueueServiceMO)</annotation>
- <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
- <depends>jboss.messaging:service=PostOffice</depends>
- </mbean>
-
- <!--
- Example destinations.
- -->
-
- <mbean code="org.jboss.jms.server.destination.TopicService"
- name="jboss.messaging.destination:service=Topic,name=testTopic"
- xmbean-dd="xmdesc/Topic-xmbean.xml">
- <annotation>@org.jboss.system.deployers.managed.ManagementObjectClass(code=org.jboss.jms.server.destination.TopicServiceMO)</annotation>
- <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
- <depends>jboss.messaging:service=PostOffice</depends>
- <attribute name="SecurityConfig">
- <security>
- <role name="guest" read="true" write="true"/>
- <role name="publisher" read="true" write="true" create="false"/>
- <role name="durpublisher" read="true" write="true" create="true"/>
- </security>
- </attribute>
- </mbean>
-
- <mbean code="org.jboss.jms.server.destination.TopicService"
- name="jboss.messaging.destination:service=Topic,name=securedTopic"
- xmbean-dd="xmdesc/Topic-xmbean.xml">
- <annotation>@org.jboss.system.deployers.managed.ManagementObjectClass(code=org.jboss.jms.server.destination.TopicServiceMO)</annotation>
- <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
- <depends>jboss.messaging:service=PostOffice</depends>
- <attribute name="SecurityConfig">
- <security>
- <role name="publisher" read="true" write="true" create="false"/>
- </security>
- </attribute>
- </mbean>
-
- <mbean code="org.jboss.jms.server.destination.TopicService"
- name="jboss.messaging.destination:service=Topic,name=testDurableTopic"
- xmbean-dd="xmdesc/Topic-xmbean.xml">
- <annotation>@org.jboss.system.deployers.managed.ManagementObjectClass(code=org.jboss.jms.server.destination.TopicServiceMO)</annotation>
- <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
- <depends>jboss.messaging:service=PostOffice</depends>
- <attribute name="SecurityConfig">
- <security>
- <role name="guest" read="true" write="true"/>
- <role name="publisher" read="true" write="true" create="false"/>
- <role name="durpublisher" read="true" write="true" create="true"/>
- </security>
- </attribute>
- </mbean>
-
- <mbean code="org.jboss.jms.server.destination.QueueService"
- name="jboss.messaging.destination:service=Queue,name=testQueue"
- xmbean-dd="xmdesc/Queue-xmbean.xml">
- <annotation>@org.jboss.system.deployers.managed.ManagementObjectClass(code=org.jboss.jms.server.destination.QueueServiceMO)</annotation>
- <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
- <depends>jboss.messaging:service=PostOffice</depends>
- <attribute name="SecurityConfig">
- <security>
- <role name="guest" read="true" write="true"/>
- <role name="publisher" read="true" write="true" create="false"/>
- <role name="noacc" read="false" write="false" create="false"/>
- </security>
- </attribute>
- </mbean>
-
- <mbean code="org.jboss.jms.server.destination.QueueService"
- name="jboss.messaging.destination:service=Queue,name=A"
- xmbean-dd="xmdesc/Queue-xmbean.xml">
- <annotation>@org.jboss.system.deployers.managed.ManagementObjectClass(code=org.jboss.jms.server.destination.QueueServiceMO)</annotation>
- <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
- <depends>jboss.messaging:service=PostOffice</depends>
- </mbean>
-
- <mbean code="org.jboss.jms.server.destination.QueueService"
- name="jboss.messaging.destination:service=Queue,name=B"
- xmbean-dd="xmdesc/Queue-xmbean.xml">
- <annotation>@org.jboss.system.deployers.managed.ManagementObjectClass(code=org.jboss.jms.server.destination.QueueServiceMO)</annotation>
- <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
- <depends>jboss.messaging:service=PostOffice</depends>
- </mbean>
-
- <mbean code="org.jboss.jms.server.destination.QueueService"
- name="jboss.messaging.destination:service=Queue,name=C"
- xmbean-dd="xmdesc/Queue-xmbean.xml">
- <annotation>@org.jboss.system.deployers.managed.ManagementObjectClass(code=org.jboss.jms.server.destination.QueueServiceMO)</annotation>
- <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
- <depends>jboss.messaging:service=PostOffice</depends>
- </mbean>
-
- <mbean code="org.jboss.jms.server.destination.QueueService"
- name="jboss.messaging.destination:service=Queue,name=D"
- xmbean-dd="xmdesc/Queue-xmbean.xml">
- <annotation>@org.jboss.system.deployers.managed.ManagementObjectClass(code=org.jboss.jms.server.destination.QueueServiceMO)</annotation>
- <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
- <depends>jboss.messaging:service=PostOffice</depends>
- </mbean>
-
- <mbean code="org.jboss.jms.server.destination.QueueService"
- name="jboss.messaging.destination:service=Queue,name=ex"
- xmbean-dd="xmdesc/Queue-xmbean.xml">
- <annotation>@org.jboss.system.deployers.managed.ManagementObjectClass(code=org.jboss.jms.server.destination.QueueServiceMO)</annotation>
- <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
- <depends>jboss.messaging:service=PostOffice</depends>
- </mbean>
-
- <!-- It's possible for indiviual queues and topics to use a specific queue for
- an expiry or DLQ -->
-
- <mbean code="org.jboss.jms.server.destination.QueueService"
- name="jboss.messaging.destination:service=Queue,name=PrivateDLQ"
- xmbean-dd="xmdesc/Queue-xmbean.xml">
- <annotation>@org.jboss.system.deployers.managed.ManagementObjectClass(code=org.jboss.jms.server.destination.QueueServiceMO)</annotation>
- <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
- <depends>jboss.messaging:service=PostOffice</depends>
- </mbean>
-
- <mbean code="org.jboss.jms.server.destination.QueueService"
- name="jboss.messaging.destination:service=Queue,name=PrivateExpiryQueue"
- xmbean-dd="xmdesc/Queue-xmbean.xml">
- <annotation>@org.jboss.system.deployers.managed.ManagementObjectClass(code=org.jboss.jms.server.destination.QueueServiceMO)</annotation>
- <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
- <depends>jboss.messaging:service=PostOffice</depends>
- </mbean>
-
- <mbean code="org.jboss.jms.server.destination.QueueService"
- name="jboss.messaging.destination:service=Queue,name=QueueWithOwnDLQAndExpiryQueue"
- xmbean-dd="xmdesc/Queue-xmbean.xml">
- <annotation>@org.jboss.system.deployers.managed.ManagementObjectClass(code=org.jboss.jms.server.destination.QueueServiceMO)</annotation>
- <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
- <depends>jboss.messaging:service=PostOffice</depends>
- <attribute name="DLQ">jboss.messaging.destination:service=Queue,name=PrivateDLQ</attribute>
- <attribute name="ExpiryQueue">jboss.messaging.destination:service=Queue,name=PrivateExpiryQueue</attribute>
- </mbean>
-
- <mbean code="org.jboss.jms.server.destination.TopicService"
- name="jboss.messaging.destination:service=Topic,name=TopicWithOwnDLQAndExpiryQueue"
- xmbean-dd="xmdesc/Topic-xmbean.xml">
- <annotation>@org.jboss.system.deployers.managed.ManagementObjectClass(code=org.jboss.jms.server.destination.TopicServiceMO)</annotation>
- <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
- <depends>jboss.messaging:service=PostOffice</depends>
- <attribute name="DLQ">jboss.messaging.destination:service=Queue,name=PrivateDLQ</attribute>
- <attribute name="ExpiryQueue">jboss.messaging.destination:service=Queue,name=PrivateExpiryQueue</attribute>
- </mbean>
-
- <!-- Queues and Topics can also specify their own redelivery delay -->
-
- <mbean code="org.jboss.jms.server.destination.QueueService"
- name="jboss.messaging.destination:service=Queue,name=QueueWithOwnRedeliveryDelay"
- xmbean-dd="xmdesc/Queue-xmbean.xml">
- <annotation>@org.jboss.system.deployers.managed.ManagementObjectClass(code=org.jboss.jms.server.destination.QueueServiceMO)</annotation>
- <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
- <depends>jboss.messaging:service=PostOffice</depends>
- <attribute name="RedeliveryDelay">5000</attribute>
- </mbean>
-
- <mbean code="org.jboss.jms.server.destination.TopicService"
- name="jboss.messaging.destination:service=Topic,name=TopicWithOwnRedeliveryDelay"
- xmbean-dd="xmdesc/Topic-xmbean.xml">
- <annotation>@org.jboss.system.deployers.managed.ManagementObjectClass(code=org.jboss.jms.server.destination.TopicServiceMO)</annotation>
- <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
- <depends>jboss.messaging:service=PostOffice</depends>
- <attribute name="RedeliveryDelay">5000</attribute>
- </mbean>
-
- <!--
- Example clustered destinations.
- -->
-
- <mbean code="org.jboss.jms.server.destination.QueueService"
- name="jboss.messaging.destination:service=Queue,name=testDistributedQueue"
- xmbean-dd="xmdesc/Queue-xmbean.xml">
- <annotation>@org.jboss.system.deployers.managed.ManagementObjectClass(code=org.jboss.jms.server.destination.QueueServiceMO)</annotation>
- <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
- <depends>jboss.messaging:service=PostOffice</depends>
- <attribute name="Clustered">true</attribute>
- </mbean>
-
- <mbean code="org.jboss.jms.server.destination.TopicService"
- name="jboss.messaging.destination:service=Topic,name=testDistributedTopic"
- xmbean-dd="xmdesc/Topic-xmbean.xml">
- <annotation>@org.jboss.system.deployers.managed.ManagementObjectClass(code=org.jboss.jms.server.destination.TopicServiceMO)</annotation>
- <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
- <depends>jboss.messaging:service=PostOffice</depends>
- <attribute name="Clustered">true</attribute>
- </mbean>
-
-</server>
\ No newline at end of file
Deleted: trunk/jbas5/etc/jboss-log4j.xml
===================================================================
--- trunk/jbas5/etc/jboss-log4j.xml 2009-03-25 14:44:31 UTC (rev 256)
+++ trunk/jbas5/etc/jboss-log4j.xml 2009-03-26 14:55:55 UTC (rev 257)
@@ -1,335 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
-
-<!-- ===================================================================== -->
-<!-- -->
-<!-- Log4j Configuration -->
-<!-- -->
-<!-- ===================================================================== -->
-
-<!-- $Id$ -->
-
-<!--
- | For more configuration information and examples see the Jakarta Log4j
- | owebsite: http://jakarta.apache.org/log4j
- -->
-
-<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
-
- <!-- ================================= -->
- <!-- Preserve messages in a local file -->
- <!-- ================================= -->
-
- <!-- A time/date based rolling appender -->
- <appender name="FILE" class="org.jboss.logging.appender.DailyRollingFileAppender">
- <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
- <param name="File" value="${jboss.server.log.dir}/server.log"/>
- <param name="Append" value="false"/>
-
- <!-- Rollover at midnight each day -->
- <param name="DatePattern" value="'.'yyyy-MM-dd"/>
-
- <!-- Rollover at the top of each hour
- <param name="DatePattern" value="'.'yyyy-MM-dd-HH"/>
- -->
-
- <layout class="org.apache.log4j.PatternLayout">
- <!-- The default pattern: Date Priority [Category] (Thread) Message\n -->
- <param name="ConversionPattern" value="%d %-5p [%c] (%t) %m%n"/>
-
- <!-- The full pattern: Date MS Priority [Category] (Thread:NDC) Message\n
- <param name="ConversionPattern" value="%d %-5r %-5p [%c] (%t:%x) %m%n"/>
- -->
- </layout>
- </appender>
-
- <!-- A size based file rolling appender
- <appender name="FILE" class="org.jboss.logging.appender.RollingFileAppender">
- <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
- <param name="File" value="${jboss.server.log.dir}/server.log"/>
- <param name="Append" value="false"/>
- <param name="MaxFileSize" value="500KB"/>
- <param name="MaxBackupIndex" value="1"/>
-
- <layout class="org.apache.log4j.PatternLayout">
- <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>
- </layout>
- </appender>
- -->
-
- <!-- ============================== -->
- <!-- Append messages to the console -->
- <!-- ============================== -->
-
- <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
- <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
- <param name="Target" value="System.out"/>
- <!--<param name="Threshold" value="INFO"/>-->
-
- <layout class="org.apache.log4j.PatternLayout">
- <!-- The default pattern: Date Priority [Category] Message\n -->
- <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c{1}] %m%n"/>
- </layout>
- </appender>
-
- <!-- ====================== -->
- <!-- More Appender examples -->
- <!-- ====================== -->
-
- <!-- Buffer events and log them asynchronously
- <appender name="ASYNC" class="org.apache.log4j.AsyncAppender">
- <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
- <appender-ref ref="FILE"/>
- <appender-ref ref="CONSOLE"/>
- <appender-ref ref="SMTP"/>
- </appender>
- -->
-
- <!-- EMail events to an administrator
- <appender name="SMTP" class="org.apache.log4j.net.SMTPAppender">
- <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
- <param name="Threshold" value="ERROR"/>
- <param name="To" value="admin(a)myhost.domain.com"/>
- <param name="From" value="nobody(a)myhost.domain.com"/>
- <param name="Subject" value="JBoss Sever Errors"/>
- <param name="SMTPHost" value="localhost"/>
- <param name="BufferSize" value="10"/>
- <layout class="org.apache.log4j.PatternLayout">
- <param name="ConversionPattern" value="[%d{ABSOLUTE},%c{1}] %m%n"/>
- </layout>
- </appender>
- -->
-
- <!-- Syslog events
- <appender name="SYSLOG" class="org.apache.log4j.net.SyslogAppender">
- <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
- <param name="Facility" value="LOCAL7"/>
- <param name="FacilityPrinting" value="true"/>
- <param name="SyslogHost" value="localhost"/>
- <layout class="org.apache.log4j.PatternLayout">
- <param name="ConversionPattern" value="[%d{ABSOLUTE},%c{1}] %m%n"/>
- </layout>
- </appender>
- -->
-
- <!-- Log events to JMS (requires a topic to be created)
- <appender name="JMS" class="org.apache.log4j.net.JMSAppender">
- <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
- <param name="Threshold" value="ERROR"/>
- <param name="TopicConnectionFactoryBindingName" value="java:/ConnectionFactory"/>
- <param name="TopicBindingName" value="topic/MyErrorsTopic"/>
- </appender>
- -->
-
- <!-- Log events through SNMP
- <appender name="TRAP_LOG" class="org.apache.log4j.ext.SNMPTrapAppender">
- <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
- <param name="ImplementationClassName" value="org.apache.log4j.ext.JoeSNMPTrapSender"/>
- <param name="ManagementHost" value="127.0.0.1"/>
- <param name="ManagementHostTrapListenPort" value="162"/>
- <param name="EnterpriseOID" value="1.3.6.1.4.1.24.0"/>
- <param name="LocalIPAddress" value="127.0.0.1"/>
- <param name="LocalTrapSendPort" value="161"/>
- <param name="GenericTrapType" value="6"/>
- <param name="SpecificTrapType" value="12345678"/>
- <param name="CommunityString" value="public"/>
- <param name="ForwardStackTraceWithTrap" value="true"/>
- <param name="Threshold" value="DEBUG"/>
- <param name="ApplicationTrapOID" value="1.3.6.1.4.1.24.12.10.22.64"/>
- <layout class="org.apache.log4j.PatternLayout">
- <param name="ConversionPattern" value="%d,%p,[%t],[%c],%m%n"/>
- </layout>
- </appender>
- -->
-
- <!-- Emit events as JMX notifications
- <appender name="JMX" class="org.jboss.monitor.services.JMXNotificationAppender">
- <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
-
- <param name="Threshold" value="WARN"/>
- <param name="ObjectName" value="jboss.system:service=Logging,type=JMXNotificationAppender"/>
-
- <layout class="org.apache.log4j.PatternLayout">
- <param name="ConversionPattern" value="%d %-5p [%c] %m"/>
- </layout>
- </appender>
- -->
-
- <!-- Security AUDIT Appender -->
- <appender name="AUDIT" class="org.jboss.logging.appender.DailyRollingFileAppender">
- <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
- <param name="File" value="${jboss.server.log.dir}/audit.log"/>
- <param name="Append" value="true"/>
- <param name="DatePattern" value="'.'yyyy-MM-dd"/>
- <layout class="org.apache.log4j.PatternLayout">
- <param name="ConversionPattern" value="%d %-5p [%c] (%t:%x) %m%n"/>
- </layout>
- </appender>
-
- <!-- ================ -->
- <!-- Limit categories -->
- <!-- ================ -->
-
- <!-- Limit the org.apache category to INFO as its DEBUG is verbose -->
- <category name="org.apache">
- <priority value="INFO"/>
- </category>
-
- <!-- Limit JSF logging to DEBUG. FINER and FINEST will not be logged -->
- <category name="javax.enterprise.resource.webcontainer.jsf">
- <priority value="DEBUG" />
- </category>
-
- <!-- Limit the jacorb category to WARN as its INFO is verbose -->
- <category name="jacorb">
- <priority value="WARN"/>
- </category>
-
- <!-- Set the logging level of the JSF implementation -->
- <category name="javax.enterprise.resource.webcontainer.jsf">
- <priority value="INFO" />
- </category>
-
- <!-- Limit the org.jgroups category to WARN as its INFO is verbose -->
- <category name="org.jgroups">
- <priority value="WARN"/>
- </category>
-
- <!-- Limit the org.quartz category to INFO as its DEBUG is verbose -->
- <category name="org.quartz">
- <priority value="INFO"/>
- </category>
-
- <!-- Limit JBoss categories
- <category name="org.jboss">
- <priority value="INFO"/>
- </category>
- -->
-
- <!-- Limit the JSR77 categories -->
- <category name="org.jboss.management">
- <priority value="INFO"/>
- </category>
-
- <!-- Show the evolution of the DataSource pool in the logs [inUse/Available/Max]
- <category name="org.jboss.resource.connectionmanager.JBossManagedConnectionPool">
- <priority value="TRACE"/>
- </category>
- -->
-
- <!-- Category specifically for Security Audit Provider -->
- <category name="org.jboss.security.audit.providers.LogAuditProvider" additivity="false">
- <priority value="TRACE"/>
- <appender-ref ref="AUDIT"/>
- </category>
-
- <!-- Limit the org.jboss.serial (jboss-serialization) to INFO as its DEBUG is verbose -->
- <category name="org.jboss.serial">
- <priority value="INFO"/>
- </category>
-
- <!-- Decrease the priority threshold for the org.jboss.varia category
- <category name="org.jboss.varia">
- <priority value="DEBUG"/>
- </category>
- -->
-
- <!-- Enable JBossWS message tracing
- <category name="org.jboss.ws.core.MessageTrace">
- <priority value="TRACE"/>
- </category>
- -->
-
- <!--
- | An example of enabling the custom TRACE level priority that is used
- | by the JBoss internals to diagnose low level details. This example
- | turns on TRACE level msgs for the org.jboss.ejb.plugins package and its
- | subpackages. This will produce A LOT of logging output.
- |
- | Note: since jboss AS 4.2.x, the trace level is supported natively by
- | log4j, so although the custom org.jboss.logging.XLevel priority will
- | still work, there is no need to use it. The two examples that follow
- | will both enable trace logging.
- <category name="org.jboss.system">
- <priority value="TRACE" class="org.jboss.logging.XLevel"/>
- </category>
- <category name="org.jboss.ejb.plugins">
- <priority value="TRACE"/>
- </category>
- -->
-
- <!--
- | Logs these events to SNMP:
- - server starts/stops
- - cluster evolution (node death/startup)
- - When an EJB archive is deployed (and associated verified messages)
- - When an EAR archive is deployed
-
- <category name="org.jboss.system.server.Server">
- <priority value="INFO" />
- <appender-ref ref="TRAP_LOG"/>
- </category>
-
- <category name="org.jboss.ha.framework.interfaces.HAPartition.lifecycle">
- <priority value="INFO" />
- <appender-ref ref="TRAP_LOG"/>
- </category>
-
- <category name="org.jboss.deployment.MainDeployer">
- <priority value="ERROR" />
- <appender-ref ref="TRAP_LOG"/>
- </category>
-
- <category name="org.jboss.ejb.EJBDeployer">
- <priority value="INFO" />
- <appender-ref ref="TRAP_LOG"/>
- </category>
-
- <category name="org.jboss.deployment.EARDeployer">
- <priority value="INFO" />
- <appender-ref ref="TRAP_LOG"/>
- </category>
- -->
-
- <!-- Clustering logging -->
- <!-- Uncomment the following to redirect the org.jgroups and
- org.jboss.ha categories to a cluster.log file.
-
- <appender name="CLUSTER" class="org.jboss.logging.appender.RollingFileAppender">
- <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
- <param name="File" value="${jboss.server.log.dir}/cluster.log"/>
- <param name="Append" value="false"/>
- <param name="MaxFileSize" value="500KB"/>
- <param name="MaxBackupIndex" value="1"/>
-
- <layout class="org.apache.log4j.PatternLayout">
- <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>
- </layout>
- </appender>
- <category name="org.jgroups">
- <priority value="DEBUG" />
- <appender-ref ref="CLUSTER"/>
- </category>
- <category name="org.jboss.ha">
- <priority value="DEBUG" />
- <appender-ref ref="CLUSTER"/>
- </category>
- -->
-
- <category name="org.jboss.on.embedded"><priority value="DEBUG"/></category>
- <category name="org.rhq.plugins.jbossas5"><priority value="DEBUG"/></category>
- <category name="org.jboss.seam"><priority value="WARN"/></category>
- <category name="com.sun"><priority value="WARN"/></category>
- <category name="org.rhq.core.pc.inventory.RuntimeDiscoveryExecutor"><priority value="WARN"/></category>
-
- <!-- ======================= -->
- <!-- Setup the Root category -->
- <!-- ======================= -->
-
- <root>
- <level value="INFO"/>
- <appender-ref ref="CONSOLE"/>
- <appender-ref ref="FILE"/>
- </root>
-
-</log4j:configuration>
Added: trunk/jbas5/etc/overlay/bin/run.bat
===================================================================
--- trunk/jbas5/etc/overlay/bin/run.bat (rev 0)
+++ trunk/jbas5/etc/overlay/bin/run.bat 2009-03-26 14:55:55 UTC (rev 257)
@@ -0,0 +1,153 @@
+@echo off
+rem -------------------------------------------------------------------------
+rem JBoss Bootstrap Script for Windows
+rem -------------------------------------------------------------------------
+
+rem $Id$
+
+@if not "%ECHO%" == "" echo %ECHO%
+@if "%OS%" == "Windows_NT" setlocal
+
+if "%OS%" == "Windows_NT" (
+ set "DIRNAME=%~dp0%"
+) else (
+ set DIRNAME=.\
+)
+
+pushd %DIRNAME%..
+if "x%JBOSS_HOME%" == "x" (
+ set "JBOSS_HOME=%CD%"
+)
+popd
+
+set DIRNAME=
+
+if "%OS%" == "Windows_NT" (
+ set "PROGNAME=%~nx0%"
+) else (
+ set "PROGNAME=run.bat"
+)
+
+if "x%JAVA_OPTS%" == "x" (
+ set "JAVA_OPTS=-Dprogram.name=%PROGNAME%"
+) else (
+ set "JAVA_OPTS=%JAVA_OPTS% -Dprogram.name=%PROGNAME%"
+)
+
+if "x%JAVA_HOME%" == "x" (
+ set JAVA=java
+ echo JAVA_HOME is not set. Unexpected results may occur.
+ echo Set JAVA_HOME to the directory of your local JDK to avoid this message.
+) else (
+ set "JAVA=%JAVA_HOME%\bin\java"
+ if exist "%JAVA_HOME%\lib\tools.jar" (
+ set "JAVAC_JAR=%JAVA_HOME%\lib\tools.jar"
+ )
+)
+
+rem Add -server to the JVM options, if supported
+"%JAVA%" -server -version 2>&1 | findstr /I hotspot > nul
+if not errorlevel == 1 (
+ set "JAVA_OPTS=%JAVA_OPTS% -server"
+)
+
+rem Set Java platform if 64-Bit JVM used
+set JAVA_PLATFORM=
+"%JAVA%" -version 2>&1 | findstr /I "64-Bit ^| x86_64" > nul
+if not errorlevel == 1 (
+ if /I "%PROCESSOR_ARCHITECTURE%"=="IA64" (set JAVA_PLATFORM=ia64
+ ) else if /I "%PROCESSOR_ARCHITECTURE%"=="AMD64" (set JAVA_PLATFORM=x64
+ ) else if /I "%PROCESSOR_ARCHITECTURE%"=="x64" (set JAVA_PLATFORM=x64
+ ) else if /I "%PROCESSOR_ARCHITEW6432%"=="IA64" (set JAVA_PLATFORM=i64
+ ) else if /I "%PROCESSOR_ARCHITEW6432%"=="AMD64" (set JAVA_PLATFORM=x64
+ ) else (
+ echo PROCESSOR_ARCHITECTURE is not set. Unexpected results may occur.
+ echo Set PROCESSOR_ARCHITECTURE according to the 64-Bit JVM used.
+ )
+)
+
+if "x%JAVA_PLATFORM%" == "x" set JAVA_PLATFORM=x86
+
+rem Add native to the PATH if present
+set JBOSS_NATIVE_LOC=
+if exist "%JBOSS_HOME%\bin\META-INF\lib\windows-%JAVA_PLATFORM%" (
+ set "JBOSS_NATIVE_HOME=%JBOSS_HOME%\bin\META-INF\lib\windows-%JAVA_PLATFORM%"
+) else if exist "%JBOSS_HOME%\bin\native" (
+ set "JBOSS_NATIVE_HOME=%JBOSS_HOME%\bin\native"
+)
+
+if not "x%JBOSS_NATIVE_HOME%" == "x" (
+ set "PATH=%JBOSS_NATIVE_HOME%;%PATH%;%JBOSS_HOME%\bin"
+ set JAVA_OPTS=%JAVA_OPTS% "-Djava.library.path=%JBOSS_NATIVE_HOME%;%PATH%;%JBOSS_HOME%\bin"
+)
+
+rem Find run.jar, or we can't continue
+
+if exist "%JBOSS_HOME%\bin\run.jar" (
+ if "x%JAVAC_JAR%" == "x" (
+ set "RUNJAR=%JAVAC_JAR%;%JBOSS_HOME%\bin\run.jar"
+ ) else (
+ set "RUNJAR=%JBOSS_HOME%\bin\run.jar"
+ )
+) else (
+ echo Could not locate "%JBOSS_HOME%\bin\run.jar".
+ echo Please check that you are in the bin directory when running this script.
+ goto END
+)
+
+rem If JBOSS_CLASSPATH empty, don't include it, as this will
+rem result in including the local directory in the classpath, which makes
+rem error tracking harder.
+if "x%JBOSS_CLASSPATH%" == "x" (
+ set "RUN_CLASSPATH=%RUNJAR%"
+) else (
+ set "RUN_CLASSPATH=%JBOSS_CLASSPATH%;%RUNJAR%"
+)
+
+set JBOSS_CLASSPATH=%RUN_CLASSPATH%
+
+rem Setup JBoss specific properties
+set JAVA_OPTS=%JAVA_OPTS% -Djboss.platform.mbeanserver -Djbmancon.debug=true
+
+rem JVM memory allocation pool parameters. Modify as appropriate.
+set JAVA_OPTS=%JAVA_OPTS% -Xms200M -Xmx400M -XX:PermSize=100M -XX:MaxPermSize=200M
+
+rem Warn when resolving remote XML dtd/schemas
+set JAVA_OPTS=%JAVA_OPTS% -Dorg.jboss.resolver.warning=true
+
+rem With Sun JVMs reduce the RMI GCs to once per hour
+set JAVA_OPTS=%JAVA_OPTS% -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
+
+rem JPDA options. Uncomment and modify as appropriate to enable remote debugging.
+set JAVA_OPTS=%JAVA_OPTS% -Xdebug -Xrunjdwp:transport=dt_socket,address=7777,server=y,suspend=n
+
+rem Setup the java endorsed dirs
+set JBOSS_ENDORSED_DIRS=%JBOSS_HOME%\lib\endorsed
+
+echo ===============================================================================
+echo.
+echo JBoss Bootstrap Environment
+echo.
+echo JBOSS_HOME: %JBOSS_HOME%
+echo.
+echo JAVA: %JAVA%
+echo.
+echo JAVA_OPTS: %JAVA_OPTS%
+echo.
+echo CLASSPATH: %JBOSS_CLASSPATH%
+echo.
+echo ===============================================================================
+echo.
+
+:RESTART
+"%JAVA%" %JAVA_OPTS% ^
+ -Djava.endorsed.dirs="%JBOSS_ENDORSED_DIRS%" ^
+ -classpath "%JBOSS_CLASSPATH%" ^
+ org.jboss.Main %*
+
+if ERRORLEVEL 10 goto RESTART
+
+:END
+if "x%NOPAUSE%" == "x" pause
+
+:END_NO_PAUSE
Property changes on: trunk/jbas5/etc/overlay/bin/run.bat
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Name: svn:keywords
+ Date Author Id Revision HeadURL
Name: svn:eol-style
+ CRLF
Added: trunk/jbas5/etc/overlay/server/default/conf/jboss-log4j.xml
===================================================================
--- trunk/jbas5/etc/overlay/server/default/conf/jboss-log4j.xml (rev 0)
+++ trunk/jbas5/etc/overlay/server/default/conf/jboss-log4j.xml 2009-03-26 14:55:55 UTC (rev 257)
@@ -0,0 +1,347 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
+
+<!-- ===================================================================== -->
+<!-- -->
+<!-- Log4j Configuration -->
+<!-- -->
+<!-- ===================================================================== -->
+
+<!-- $Id$ -->
+
+<!--
+ | For more configuration information and examples see the Jakarta Log4j
+ | owebsite: http://jakarta.apache.org/log4j
+ -->
+
+<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
+
+ <!-- ================================= -->
+ <!-- Preserve messages in a local file -->
+ <!-- ================================= -->
+
+ <!-- A time/date based rolling appender -->
+ <appender name="FILE" class="org.jboss.logging.appender.DailyRollingFileAppender">
+ <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+ <param name="File" value="${jboss.server.log.dir}/server.log"/>
+ <param name="Append" value="false"/>
+
+ <!-- Rollover at midnight each day -->
+ <param name="DatePattern" value="'.'yyyy-MM-dd"/>
+
+ <!-- Rollover at the top of each hour
+ <param name="DatePattern" value="'.'yyyy-MM-dd-HH"/>
+ -->
+
+ <layout class="org.apache.log4j.PatternLayout">
+ <!-- The default pattern: Date Priority [Category] (Thread) Message\n -->
+ <param name="ConversionPattern" value="%d %-5p [%c] (%t) %m%n"/>
+
+ <!-- The full pattern: Date MS Priority [Category] (Thread:NDC) Message\n
+ <param name="ConversionPattern" value="%d %-5r %-5p [%c] (%t:%x) %m%n"/>
+ -->
+ </layout>
+ </appender>
+
+ <!-- A size based file rolling appender
+ <appender name="FILE" class="org.jboss.logging.appender.RollingFileAppender">
+ <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+ <param name="File" value="${jboss.server.log.dir}/server.log"/>
+ <param name="Append" value="false"/>
+ <param name="MaxFileSize" value="500KB"/>
+ <param name="MaxBackupIndex" value="1"/>
+
+ <layout class="org.apache.log4j.PatternLayout">
+ <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>
+ </layout>
+ </appender>
+ -->
+
+ <!-- ============================== -->
+ <!-- Append messages to the console -->
+ <!-- ============================== -->
+
+ <appender name="CONSOLE" class="org.apache.log4j.ConsoleAppender">
+ <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+ <param name="Target" value="System.out"/>
+ <!--<param name="Threshold" value="INFO"/>-->
+
+ <layout class="org.apache.log4j.PatternLayout">
+ <!-- The default pattern: Date Priority [Category] Message\n -->
+ <param name="ConversionPattern" value="%d{ABSOLUTE} %-5p [%c{1}] %m%n"/>
+ </layout>
+ </appender>
+
+ <!-- ====================== -->
+ <!-- More Appender examples -->
+ <!-- ====================== -->
+
+ <!-- Buffer events and log them asynchronously
+ <appender name="ASYNC" class="org.apache.log4j.AsyncAppender">
+ <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+ <appender-ref ref="FILE"/>
+ <appender-ref ref="CONSOLE"/>
+ <appender-ref ref="SMTP"/>
+ </appender>
+ -->
+
+ <!-- EMail events to an administrator
+ <appender name="SMTP" class="org.apache.log4j.net.SMTPAppender">
+ <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+ <param name="Threshold" value="ERROR"/>
+ <param name="To" value="admin(a)myhost.domain.com"/>
+ <param name="From" value="nobody(a)myhost.domain.com"/>
+ <param name="Subject" value="JBoss Sever Errors"/>
+ <param name="SMTPHost" value="localhost"/>
+ <param name="BufferSize" value="10"/>
+ <layout class="org.apache.log4j.PatternLayout">
+ <param name="ConversionPattern" value="[%d{ABSOLUTE},%c{1}] %m%n"/>
+ </layout>
+ </appender>
+ -->
+
+ <!-- Syslog events
+ <appender name="SYSLOG" class="org.apache.log4j.net.SyslogAppender">
+ <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+ <param name="Facility" value="LOCAL7"/>
+ <param name="FacilityPrinting" value="true"/>
+ <param name="SyslogHost" value="localhost"/>
+ <layout class="org.apache.log4j.PatternLayout">
+ <param name="ConversionPattern" value="[%d{ABSOLUTE},%c{1}] %m%n"/>
+ </layout>
+ </appender>
+ -->
+
+ <!-- Log events to JMS (requires a topic to be created)
+ <appender name="JMS" class="org.apache.log4j.net.JMSAppender">
+ <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+ <param name="Threshold" value="ERROR"/>
+ <param name="TopicConnectionFactoryBindingName" value="java:/ConnectionFactory"/>
+ <param name="TopicBindingName" value="topic/MyErrorsTopic"/>
+ </appender>
+ -->
+
+ <!-- Log events through SNMP
+ <appender name="TRAP_LOG" class="org.apache.log4j.ext.SNMPTrapAppender">
+ <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+ <param name="ImplementationClassName" value="org.apache.log4j.ext.JoeSNMPTrapSender"/>
+ <param name="ManagementHost" value="127.0.0.1"/>
+ <param name="ManagementHostTrapListenPort" value="162"/>
+ <param name="EnterpriseOID" value="1.3.6.1.4.1.24.0"/>
+ <param name="LocalIPAddress" value="127.0.0.1"/>
+ <param name="LocalTrapSendPort" value="161"/>
+ <param name="GenericTrapType" value="6"/>
+ <param name="SpecificTrapType" value="12345678"/>
+ <param name="CommunityString" value="public"/>
+ <param name="ForwardStackTraceWithTrap" value="true"/>
+ <param name="Threshold" value="DEBUG"/>
+ <param name="ApplicationTrapOID" value="1.3.6.1.4.1.24.12.10.22.64"/>
+ <layout class="org.apache.log4j.PatternLayout">
+ <param name="ConversionPattern" value="%d,%p,[%t],[%c],%m%n"/>
+ </layout>
+ </appender>
+ -->
+
+ <!-- Emit events as JMX notifications
+ <appender name="JMX" class="org.jboss.monitor.services.JMXNotificationAppender">
+ <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+
+ <param name="Threshold" value="WARN"/>
+ <param name="ObjectName" value="jboss.system:service=Logging,type=JMXNotificationAppender"/>
+
+ <layout class="org.apache.log4j.PatternLayout">
+ <param name="ConversionPattern" value="%d %-5p [%c] %m"/>
+ </layout>
+ </appender>
+ -->
+
+ <!-- Security AUDIT Appender -->
+ <appender name="AUDIT" class="org.jboss.logging.appender.DailyRollingFileAppender">
+ <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+ <param name="File" value="${jboss.server.log.dir}/audit.log"/>
+ <param name="Append" value="true"/>
+ <param name="DatePattern" value="'.'yyyy-MM-dd"/>
+ <layout class="org.apache.log4j.PatternLayout">
+ <param name="ConversionPattern" value="%d %-5p [%c] (%t:%x) %m%n"/>
+ </layout>
+ </appender>
+
+ <!-- ================ -->
+ <!-- Limit categories -->
+ <!-- ================ -->
+
+ <!-- Limit the org.apache category to INFO as its DEBUG is verbose -->
+ <category name="org.apache">
+ <priority value="INFO"/>
+ </category>
+
+ <!-- Limit JSF logging to DEBUG. FINER and FINEST will not be logged -->
+ <category name="javax.enterprise.resource.webcontainer.jsf">
+ <priority value="DEBUG" />
+ </category>
+
+ <!-- Limit the jacorb category to WARN as its INFO is verbose -->
+ <category name="jacorb">
+ <priority value="WARN"/>
+ </category>
+
+ <!-- Set the logging level of the JSF implementation -->
+ <category name="javax.enterprise.resource.webcontainer.jsf">
+ <priority value="INFO" />
+ </category>
+
+ <!-- Limit the org.jgroups category to WARN as its INFO is verbose -->
+ <category name="org.jgroups">
+ <priority value="WARN"/>
+ </category>
+
+ <!-- Limit the org.quartz category to INFO as its DEBUG is verbose -->
+ <category name="org.quartz">
+ <priority value="INFO"/>
+ </category>
+
+ <!-- Limit JBoss categories
+ <category name="org.jboss">
+ <priority value="INFO"/>
+ </category>
+ -->
+
+ <!-- Limit the JSR77 categories -->
+ <category name="org.jboss.management">
+ <priority value="INFO"/>
+ </category>
+
+ <!-- Show the evolution of the DataSource pool in the logs [inUse/Available/Max]
+ <category name="org.jboss.resource.connectionmanager.JBossManagedConnectionPool">
+ <priority value="TRACE"/>
+ </category>
+ -->
+
+ <!-- Category specifically for Security Audit Provider -->
+ <category name="org.jboss.security.audit.providers.LogAuditProvider" additivity="false">
+ <priority value="TRACE"/>
+ <appender-ref ref="AUDIT"/>
+ </category>
+
+ <!-- Limit the org.jboss.serial (jboss-serialization) to INFO as its DEBUG is verbose -->
+ <category name="org.jboss.serial">
+ <priority value="INFO"/>
+ </category>
+
+ <!-- Decrease the priority threshold for the org.jboss.varia category
+ <category name="org.jboss.varia">
+ <priority value="DEBUG"/>
+ </category>
+ -->
+
+ <!-- Enable JBossWS message tracing
+ <category name="org.jboss.ws.core.MessageTrace">
+ <priority value="TRACE"/>
+ </category>
+ -->
+
+ <category name="org.jboss.ejb3">
+ <priority value="WARN"/>
+ </category>
+
+ <category name="org.jboss.ejb">
+ <priority value="WARN"/>
+ </category>
+
+ <category name="org.ajax4jsf">
+ <priority value="WARN"/>
+ </category>
+
+ <!--
+ | An example of enabling the custom TRACE level priority that is used
+ | by the JBoss internals to diagnose low level details. This example
+ | turns on TRACE level msgs for the org.jboss.ejb.plugins package and its
+ | subpackages. This will produce A LOT of logging output.
+ |
+ | Note: since jboss AS 4.2.x, the trace level is supported natively by
+ | log4j, so although the custom org.jboss.logging.XLevel priority will
+ | still work, there is no need to use it. The two examples that follow
+ | will both enable trace logging.
+ <category name="org.jboss.system">
+ <priority value="TRACE" class="org.jboss.logging.XLevel"/>
+ </category>
+ <category name="org.jboss.ejb.plugins">
+ <priority value="TRACE"/>
+ </category>
+ -->
+
+ <!--
+ | Logs these events to SNMP:
+ - server starts/stops
+ - cluster evolution (node death/startup)
+ - When an EJB archive is deployed (and associated verified messages)
+ - When an EAR archive is deployed
+
+ <category name="org.jboss.system.server.Server">
+ <priority value="INFO" />
+ <appender-ref ref="TRAP_LOG"/>
+ </category>
+
+ <category name="org.jboss.ha.framework.interfaces.HAPartition.lifecycle">
+ <priority value="INFO" />
+ <appender-ref ref="TRAP_LOG"/>
+ </category>
+
+ <category name="org.jboss.deployment.MainDeployer">
+ <priority value="ERROR" />
+ <appender-ref ref="TRAP_LOG"/>
+ </category>
+
+ <category name="org.jboss.ejb.EJBDeployer">
+ <priority value="INFO" />
+ <appender-ref ref="TRAP_LOG"/>
+ </category>
+
+ <category name="org.jboss.deployment.EARDeployer">
+ <priority value="INFO" />
+ <appender-ref ref="TRAP_LOG"/>
+ </category>
+ -->
+
+ <!-- Clustering logging -->
+ <!-- Uncomment the following to redirect the org.jgroups and
+ org.jboss.ha categories to a cluster.log file.
+
+ <appender name="CLUSTER" class="org.jboss.logging.appender.RollingFileAppender">
+ <errorHandler class="org.jboss.logging.util.OnlyOnceErrorHandler"/>
+ <param name="File" value="${jboss.server.log.dir}/cluster.log"/>
+ <param name="Append" value="false"/>
+ <param name="MaxFileSize" value="500KB"/>
+ <param name="MaxBackupIndex" value="1"/>
+
+ <layout class="org.apache.log4j.PatternLayout">
+ <param name="ConversionPattern" value="%d %-5p [%c] %m%n"/>
+ </layout>
+ </appender>
+ <category name="org.jgroups">
+ <priority value="DEBUG" />
+ <appender-ref ref="CLUSTER"/>
+ </category>
+ <category name="org.jboss.ha">
+ <priority value="DEBUG" />
+ <appender-ref ref="CLUSTER"/>
+ </category>
+ -->
+
+ <category name="org.jboss.on.embedded"><priority value="DEBUG"/></category>
+ <category name="org.rhq.plugins.jbossas5"><priority value="DEBUG"/></category>
+ <category name="org.jboss.seam"><priority value="WARN"/></category>
+ <category name="com.sun"><priority value="WARN"/></category>
+ <category name="org.rhq.core.pc.inventory.RuntimeDiscoveryExecutor"><priority value="WARN"/></category>
+
+ <!-- ======================= -->
+ <!-- Setup the Root category -->
+ <!-- ======================= -->
+
+ <root>
+ <level value="INFO"/>
+ <appender-ref ref="CONSOLE"/>
+ <appender-ref ref="FILE"/>
+ </root>
+
+</log4j:configuration>
Property changes on: trunk/jbas5/etc/overlay/server/default/conf/jboss-log4j.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:keywords
+ Date Author Id Revision HeadURL
Name: svn:eol-style
+ LF
Added: trunk/jbas5/etc/overlay/server/default/deploy/MyLocalTxCF-ds.xml
===================================================================
--- trunk/jbas5/etc/overlay/server/default/deploy/MyLocalTxCF-ds.xml (rev 0)
+++ trunk/jbas5/etc/overlay/server/default/deploy/MyLocalTxCF-ds.xml 2009-03-26 14:55:55 UTC (rev 257)
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+
+<connection-factories>
+ <tx-connection-factory>
+ <jndi-name>MyLocalTxCF</jndi-name>
+ <rar-name>jms-ra.rar</rar-name>
+ <use-java-context>true</use-java-context>
+ <connection-definition>org.jboss.resource.adapter.jms.JmsConnectionFactory</connection-definition>
+ <jmx-invoker-name>jboss:service=invoker,type=jrmp</jmx-invoker-name>
+ <min-pool-size>0</min-pool-size>
+ <max-pool-size>10</max-pool-size>
+ <blocking-timeout-millis>30000</blocking-timeout-millis>
+ <idle-timeout-minutes>30</idle-timeout-minutes>
+ <prefill>false</prefill>
+ <background-validation>false</background-validation>
+ <background-validation-millis>0</background-validation-millis>
+ <validate-on-match>true</validate-on-match>
+ <statistics-formatter>org.jboss.resource.statistic.pool.JBossDefaultSubPoolStatisticFormatter</statistics-formatter>
+ <isSameRM-override-value>false</isSameRM-override-value>
+ <allocation-retry>0</allocation-retry>
+ <allocation-retry-wait-millis>5000</allocation-retry-wait-millis>
+ <metadata/>
+ <local-transaction/>
+ <xa-resource-timeout>0</xa-resource-timeout>
+ </tx-connection-factory>
+</connection-factories>
Property changes on: trunk/jbas5/etc/overlay/server/default/deploy/MyLocalTxCF-ds.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:keywords
+ Date Author Id Revision HeadURL
Name: svn:eol-style
+ LF
Added: trunk/jbas5/etc/overlay/server/default/deploy/MyNoTxCF-ds.xml
===================================================================
--- trunk/jbas5/etc/overlay/server/default/deploy/MyNoTxCF-ds.xml (rev 0)
+++ trunk/jbas5/etc/overlay/server/default/deploy/MyNoTxCF-ds.xml 2009-03-26 14:55:55 UTC (rev 257)
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+
+<connection-factories>
+ <no-tx-connection-factory>
+ <jndi-name>MyNoTxCF</jndi-name>
+ <rar-name>jms-ra.rar</rar-name>
+ <use-java-context>true</use-java-context>
+ <connection-definition>org.jboss.resource.adapter.jms.JmsConnectionFactory</connection-definition>
+ <jmx-invoker-name>jboss:service=invoker,type=jrmp</jmx-invoker-name>
+ <min-pool-size>0</min-pool-size>
+ <max-pool-size>10</max-pool-size>
+ <blocking-timeout-millis>30000</blocking-timeout-millis>
+ <idle-timeout-minutes>30</idle-timeout-minutes>
+ <prefill>false</prefill>
+ <background-validation>false</background-validation>
+ <background-validation-millis>0</background-validation-millis>
+ <validate-on-match>true</validate-on-match>
+ <statistics-formatter>org.jboss.resource.statistic.pool.JBossDefaultSubPoolStatisticFormatter</statistics-formatter>
+ <isSameRM-override-value>false</isSameRM-override-value>
+ <interleaving/>
+ <allocation-retry>0</allocation-retry>
+ <allocation-retry-wait-millis>5000</allocation-retry-wait-millis>
+ <metadata/>
+ </no-tx-connection-factory>
+</connection-factories>
Property changes on: trunk/jbas5/etc/overlay/server/default/deploy/MyNoTxCF-ds.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:keywords
+ Date Author Id Revision HeadURL
Name: svn:eol-style
+ LF
Added: trunk/jbas5/etc/overlay/server/default/deploy/MyOracleLocalTxDS-ds.xml
===================================================================
--- trunk/jbas5/etc/overlay/server/default/deploy/MyOracleLocalTxDS-ds.xml (rev 0)
+++ trunk/jbas5/etc/overlay/server/default/deploy/MyOracleLocalTxDS-ds.xml 2009-03-26 14:55:55 UTC (rev 257)
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+
+<datasources>
+ <local-tx-datasource>
+ <jndi-name>MyOracleLocalTxDS</jndi-name>
+ <rar-name>jboss-local-jdbc.rar</rar-name>
+ <use-java-context>false</use-java-context>
+ <connection-definition>javax.sql.DataSource</connection-definition>
+ <jmx-invoker-name>jboss:service=invoker,type=jrmp</jmx-invoker-name>
+ <min-pool-size>0</min-pool-size>
+ <max-pool-size>0</max-pool-size>
+ <blocking-timeout-millis>0</blocking-timeout-millis>
+ <idle-timeout-minutes>0</idle-timeout-minutes>
+ <prefill>false</prefill>
+ <background-validation>false</background-validation>
+ <background-validation-millis>0</background-validation-millis>
+ <validate-on-match>false</validate-on-match>
+ <statistics-formatter>org.jboss.resource.statistic.pool.JBossDefaultSubPoolStatisticFormatter</statistics-formatter>
+ <isSameRM-override-value>false</isSameRM-override-value>
+ <allocation-retry>0</allocation-retry>
+ <allocation-retry-wait-millis>0</allocation-retry-wait-millis>
+ <metadata>
+ <type-mapping>Oracle9i</type-mapping>
+ </metadata>
+ <type-mapping>oracle.jdbc.driver.OracleDriver</type-mapping>
+ <local-transaction/>
+ <check-valid-connection-sql>SELECT * FROM DUAL</check-valid-connection-sql>
+ <exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name>
+ <prepared-statement-cache-size>0</prepared-statement-cache-size>
+ <share-prepared-statements>false</share-prepared-statements>
+ <set-tx-query-timeout>false</set-tx-query-timeout>
+ <query-timeout>0</query-timeout>
+ <use-try-lock>60000</use-try-lock>
+ <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
+ <connection-url>jdbc:oracle:oci:@youroracle-tns-name</connection-url>
+ </local-tx-datasource>
+</datasources>
Property changes on: trunk/jbas5/etc/overlay/server/default/deploy/MyOracleLocalTxDS-ds.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:keywords
+ Date Author Id Revision HeadURL
Name: svn:eol-style
+ LF
Added: trunk/jbas5/etc/overlay/server/default/deploy/MyOracleNoTxDS-ds.xml
===================================================================
--- trunk/jbas5/etc/overlay/server/default/deploy/MyOracleNoTxDS-ds.xml (rev 0)
+++ trunk/jbas5/etc/overlay/server/default/deploy/MyOracleNoTxDS-ds.xml 2009-03-26 14:55:55 UTC (rev 257)
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+
+<datasources>
+ <no-tx-datasource>
+ <jndi-name>MyOracleNoTxDS</jndi-name>
+ <rar-name>jboss-local-jdbc.rar</rar-name>
+ <use-java-context>false</use-java-context>
+ <connection-definition>javax.sql.DataSource</connection-definition>
+ <jmx-invoker-name>jboss:service=invoker,type=jrmp</jmx-invoker-name>
+ <min-pool-size>0</min-pool-size>
+ <max-pool-size>0</max-pool-size>
+ <blocking-timeout-millis>0</blocking-timeout-millis>
+ <idle-timeout-minutes>0</idle-timeout-minutes>
+ <prefill>false</prefill>
+ <background-validation>false</background-validation>
+ <background-validation-millis>0</background-validation-millis>
+ <validate-on-match>false</validate-on-match>
+ <statistics-formatter>org.jboss.resource.statistic.pool.JBossDefaultSubPoolStatisticFormatter</statistics-formatter>
+ <isSameRM-override-value>false</isSameRM-override-value>
+ <interleaving/>
+ <allocation-retry>0</allocation-retry>
+ <allocation-retry-wait-millis>0</allocation-retry-wait-millis>
+ <metadata>
+ <type-mapping>Oracle9i</type-mapping>
+ </metadata>
+ <type-mapping>oracle.jdbc.driver.OracleDriver</type-mapping>
+ <check-valid-connection-sql>SELECT * FROM DUAL</check-valid-connection-sql>
+ <exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name>
+ <prepared-statement-cache-size>0</prepared-statement-cache-size>
+ <share-prepared-statements>false</share-prepared-statements>
+ <set-tx-query-timeout>false</set-tx-query-timeout>
+ <query-timeout>0</query-timeout>
+ <use-try-lock>60000</use-try-lock>
+ <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
+ <connection-url>jdbc:oracle:oci:@youroracle-tns-name</connection-url>
+ </no-tx-datasource>
+</datasources>
Property changes on: trunk/jbas5/etc/overlay/server/default/deploy/MyOracleNoTxDS-ds.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:keywords
+ Date Author Id Revision HeadURL
Name: svn:eol-style
+ LF
Added: trunk/jbas5/etc/overlay/server/default/deploy/MyOracleXADS-ds.xml
===================================================================
--- trunk/jbas5/etc/overlay/server/default/deploy/MyOracleXADS-ds.xml (rev 0)
+++ trunk/jbas5/etc/overlay/server/default/deploy/MyOracleXADS-ds.xml 2009-03-26 14:55:55 UTC (rev 257)
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+
+<datasources>
+ <xa-datasource>
+ <jndi-name>MyOracleXADS</jndi-name>
+ <rar-name>jboss-xa-jdbc.rar</rar-name>
+ <use-java-context>false</use-java-context>
+ <connection-definition>javax.sql.DataSource</connection-definition>
+ <jmx-invoker-name>jboss:service=invoker,type=jrmp</jmx-invoker-name>
+ <min-pool-size>0</min-pool-size>
+ <max-pool-size>0</max-pool-size>
+ <blocking-timeout-millis>0</blocking-timeout-millis>
+ <idle-timeout-minutes>0</idle-timeout-minutes>
+ <prefill>false</prefill>
+ <background-validation>false</background-validation>
+ <background-validation-millis>0</background-validation-millis>
+ <validate-on-match>false</validate-on-match>
+ <no-tx-separate-pools/>
+ <statistics-formatter>org.jboss.resource.statistic.pool.JBossDefaultSubPoolStatisticFormatter</statistics-formatter>
+ <isSameRM-override-value>false</isSameRM-override-value>
+ <allocation-retry>0</allocation-retry>
+ <allocation-retry-wait-millis>0</allocation-retry-wait-millis>
+ <metadata>
+ <type-mapping>Oracle9i</type-mapping>
+ </metadata>
+ <exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name>
+ <prepared-statement-cache-size>0</prepared-statement-cache-size>
+ <share-prepared-statements>false</share-prepared-statements>
+ <set-tx-query-timeout>false</set-tx-query-timeout>
+ <query-timeout>0</query-timeout>
+ <use-try-lock>60000</use-try-lock>
+ <xa-datasource-class>oracle.jdbc.xa.client.OracleXADataSource</xa-datasource-class>
+ <xa-resource-timeout>0</xa-resource-timeout>
+ </xa-datasource>
+</datasources>
Property changes on: trunk/jbas5/etc/overlay/server/default/deploy/MyOracleXADS-ds.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:keywords
+ Date Author Id Revision HeadURL
Name: svn:eol-style
+ LF
Added: trunk/jbas5/etc/overlay/server/default/deploy/MyQueue-service.xml
===================================================================
--- trunk/jbas5/etc/overlay/server/default/deploy/MyQueue-service.xml (rev 0)
+++ trunk/jbas5/etc/overlay/server/default/deploy/MyQueue-service.xml 2009-03-26 14:55:55 UTC (rev 257)
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+
+<server>
+ <mbean xmbean-dd="xmdesc/Queue-xmbean.xml" name="jboss.messaging.destination:service=Queue,name=MyQueue" code="org.jboss.jms.server.destination.QueueService">
+ <annotation>@org.jboss.system.deployers.managed.ManagementObjectClass(code=org.jboss.jms.server.destination.QueueServiceMO)</annotation>
+ <attribute name="JNDIName">MyQueue</attribute>
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+ </mbean>
+</server>
Property changes on: trunk/jbas5/etc/overlay/server/default/deploy/MyQueue-service.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:keywords
+ Date Author Id Revision HeadURL
Name: svn:eol-style
+ LF
Added: trunk/jbas5/etc/overlay/server/default/deploy/MyTopic-service.xml
===================================================================
--- trunk/jbas5/etc/overlay/server/default/deploy/MyTopic-service.xml (rev 0)
+++ trunk/jbas5/etc/overlay/server/default/deploy/MyTopic-service.xml 2009-03-26 14:55:55 UTC (rev 257)
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+
+<server>
+ <mbean xmbean-dd="xmdesc/Topic-xmbean.xml" name="jboss.messaging.destination:service=Topic,name=MyTopic" code="org.jboss.jms.server.destination.TopicService">
+ <annotation>@org.jboss.system.deployers.managed.ManagementObjectClass(code=org.jboss.jms.server.destination.TopicServiceMO)</annotation>
+ <attribute name="JNDIName">MyTopic</attribute>
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+ </mbean>
+</server>
Property changes on: trunk/jbas5/etc/overlay/server/default/deploy/MyTopic-service.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:keywords
+ Date Author Id Revision HeadURL
Name: svn:eol-style
+ LF
Added: trunk/jbas5/etc/overlay/server/default/deploy/MyXATxCF-ds.xml
===================================================================
--- trunk/jbas5/etc/overlay/server/default/deploy/MyXATxCF-ds.xml (rev 0)
+++ trunk/jbas5/etc/overlay/server/default/deploy/MyXATxCF-ds.xml 2009-03-26 14:55:55 UTC (rev 257)
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+
+<connection-factories>
+ <tx-connection-factory>
+ <jndi-name>MyXATxCF</jndi-name>
+ <rar-name>jms-ra.rar</rar-name>
+ <use-java-context>true</use-java-context>
+ <connection-definition>org.jboss.resource.adapter.jms.JmsConnectionFactory</connection-definition>
+ <jmx-invoker-name>jboss:service=invoker,type=jrmp</jmx-invoker-name>
+ <min-pool-size>0</min-pool-size>
+ <max-pool-size>10</max-pool-size>
+ <blocking-timeout-millis>30000</blocking-timeout-millis>
+ <idle-timeout-minutes>30</idle-timeout-minutes>
+ <prefill>false</prefill>
+ <background-validation>false</background-validation>
+ <background-validation-millis>0</background-validation-millis>
+ <validate-on-match>true</validate-on-match>
+ <statistics-formatter>org.jboss.resource.statistic.pool.JBossDefaultSubPoolStatisticFormatter</statistics-formatter>
+ <isSameRM-override-value>false</isSameRM-override-value>
+ <allocation-retry>0</allocation-retry>
+ <allocation-retry-wait-millis>5000</allocation-retry-wait-millis>
+ <metadata/>
+ <xa-resource-timeout>0</xa-resource-timeout>
+ <xa-transaction/>
+ </tx-connection-factory>
+</connection-factories>
Property changes on: trunk/jbas5/etc/overlay/server/default/deploy/MyXATxCF-ds.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:keywords
+ Date Author Id Revision HeadURL
Name: svn:eol-style
+ LF
Added: trunk/jbas5/etc/overlay/server/default/deploy/messaging/destinations-service.xml
===================================================================
--- trunk/jbas5/etc/overlay/server/default/deploy/messaging/destinations-service.xml (rev 0)
+++ trunk/jbas5/etc/overlay/server/default/deploy/messaging/destinations-service.xml 2009-03-26 14:55:55 UTC (rev 257)
@@ -0,0 +1,218 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ Messaging Destinations deployment descriptor.
+
+ $Id$
+ -->
+
+<server>
+
+ <!--
+ The Default Dead Letter Queue. This destination is a dependency of an EJB MDB container.
+ -->
+
+ <mbean code="org.jboss.jms.server.destination.QueueService"
+ name="jboss.messaging.destination:service=Queue,name=DLQ"
+ xmbean-dd="xmdesc/Queue-xmbean.xml">
+ <annotation>@org.jboss.system.deployers.managed.ManagementObjectClass(code=org.jboss.jms.server.destination.QueueServiceMO)</annotation>
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+ </mbean>
+
+ <!--
+ The Default Expiry Queue.
+ -->
+
+ <mbean code="org.jboss.jms.server.destination.QueueService"
+ name="jboss.messaging.destination:service=Queue,name=ExpiryQueue"
+ xmbean-dd="xmdesc/Queue-xmbean.xml">
+ <annotation>@org.jboss.system.deployers.managed.ManagementObjectClass(code=org.jboss.jms.server.destination.QueueServiceMO)</annotation>
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+ </mbean>
+
+ <!--
+ Example destinations.
+ -->
+
+ <mbean code="org.jboss.jms.server.destination.TopicService"
+ name="jboss.messaging.destination:service=Topic,name=testTopic"
+ xmbean-dd="xmdesc/Topic-xmbean.xml">
+ <annotation>@org.jboss.system.deployers.managed.ManagementObjectClass(code=org.jboss.jms.server.destination.TopicServiceMO)</annotation>
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+ <attribute name="SecurityConfig">
+ <security>
+ <role name="guest" read="true" write="true"/>
+ <role name="publisher" read="true" write="true" create="false"/>
+ <role name="durpublisher" read="true" write="true" create="true"/>
+ </security>
+ </attribute>
+ </mbean>
+
+ <mbean code="org.jboss.jms.server.destination.TopicService"
+ name="jboss.messaging.destination:service=Topic,name=securedTopic"
+ xmbean-dd="xmdesc/Topic-xmbean.xml">
+ <annotation>@org.jboss.system.deployers.managed.ManagementObjectClass(code=org.jboss.jms.server.destination.TopicServiceMO)</annotation>
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+ <attribute name="SecurityConfig">
+ <security>
+ <role name="publisher" read="true" write="true" create="false"/>
+ </security>
+ </attribute>
+ </mbean>
+
+ <mbean code="org.jboss.jms.server.destination.TopicService"
+ name="jboss.messaging.destination:service=Topic,name=testDurableTopic"
+ xmbean-dd="xmdesc/Topic-xmbean.xml">
+ <annotation>@org.jboss.system.deployers.managed.ManagementObjectClass(code=org.jboss.jms.server.destination.TopicServiceMO)</annotation>
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+ <attribute name="SecurityConfig">
+ <security>
+ <role name="guest" read="true" write="true"/>
+ <role name="publisher" read="true" write="true" create="false"/>
+ <role name="durpublisher" read="true" write="true" create="true"/>
+ </security>
+ </attribute>
+ </mbean>
+
+ <mbean code="org.jboss.jms.server.destination.QueueService"
+ name="jboss.messaging.destination:service=Queue,name=testQueue"
+ xmbean-dd="xmdesc/Queue-xmbean.xml">
+ <annotation>@org.jboss.system.deployers.managed.ManagementObjectClass(code=org.jboss.jms.server.destination.QueueServiceMO)</annotation>
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+ <attribute name="SecurityConfig">
+ <security>
+ <role name="guest" read="true" write="true"/>
+ <role name="publisher" read="true" write="true" create="false"/>
+ <role name="noacc" read="false" write="false" create="false"/>
+ </security>
+ </attribute>
+ </mbean>
+
+ <mbean code="org.jboss.jms.server.destination.QueueService"
+ name="jboss.messaging.destination:service=Queue,name=A"
+ xmbean-dd="xmdesc/Queue-xmbean.xml">
+ <annotation>@org.jboss.system.deployers.managed.ManagementObjectClass(code=org.jboss.jms.server.destination.QueueServiceMO)</annotation>
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+ </mbean>
+
+ <mbean code="org.jboss.jms.server.destination.QueueService"
+ name="jboss.messaging.destination:service=Queue,name=B"
+ xmbean-dd="xmdesc/Queue-xmbean.xml">
+ <annotation>@org.jboss.system.deployers.managed.ManagementObjectClass(code=org.jboss.jms.server.destination.QueueServiceMO)</annotation>
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+ </mbean>
+
+ <mbean code="org.jboss.jms.server.destination.QueueService"
+ name="jboss.messaging.destination:service=Queue,name=C"
+ xmbean-dd="xmdesc/Queue-xmbean.xml">
+ <annotation>@org.jboss.system.deployers.managed.ManagementObjectClass(code=org.jboss.jms.server.destination.QueueServiceMO)</annotation>
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+ </mbean>
+
+ <mbean code="org.jboss.jms.server.destination.QueueService"
+ name="jboss.messaging.destination:service=Queue,name=D"
+ xmbean-dd="xmdesc/Queue-xmbean.xml">
+ <annotation>@org.jboss.system.deployers.managed.ManagementObjectClass(code=org.jboss.jms.server.destination.QueueServiceMO)</annotation>
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+ </mbean>
+
+ <mbean code="org.jboss.jms.server.destination.QueueService"
+ name="jboss.messaging.destination:service=Queue,name=ex"
+ xmbean-dd="xmdesc/Queue-xmbean.xml">
+ <annotation>@org.jboss.system.deployers.managed.ManagementObjectClass(code=org.jboss.jms.server.destination.QueueServiceMO)</annotation>
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+ </mbean>
+
+ <!-- It's possible for indiviual queues and topics to use a specific queue for
+ an expiry or DLQ -->
+
+ <mbean code="org.jboss.jms.server.destination.QueueService"
+ name="jboss.messaging.destination:service=Queue,name=PrivateDLQ"
+ xmbean-dd="xmdesc/Queue-xmbean.xml">
+ <annotation>@org.jboss.system.deployers.managed.ManagementObjectClass(code=org.jboss.jms.server.destination.QueueServiceMO)</annotation>
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+ </mbean>
+
+ <mbean code="org.jboss.jms.server.destination.QueueService"
+ name="jboss.messaging.destination:service=Queue,name=PrivateExpiryQueue"
+ xmbean-dd="xmdesc/Queue-xmbean.xml">
+ <annotation>@org.jboss.system.deployers.managed.ManagementObjectClass(code=org.jboss.jms.server.destination.QueueServiceMO)</annotation>
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+ </mbean>
+
+ <mbean code="org.jboss.jms.server.destination.QueueService"
+ name="jboss.messaging.destination:service=Queue,name=QueueWithOwnDLQAndExpiryQueue"
+ xmbean-dd="xmdesc/Queue-xmbean.xml">
+ <annotation>@org.jboss.system.deployers.managed.ManagementObjectClass(code=org.jboss.jms.server.destination.QueueServiceMO)</annotation>
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+ <attribute name="DLQ">jboss.messaging.destination:service=Queue,name=PrivateDLQ</attribute>
+ <attribute name="ExpiryQueue">jboss.messaging.destination:service=Queue,name=PrivateExpiryQueue</attribute>
+ </mbean>
+
+ <mbean code="org.jboss.jms.server.destination.TopicService"
+ name="jboss.messaging.destination:service=Topic,name=TopicWithOwnDLQAndExpiryQueue"
+ xmbean-dd="xmdesc/Topic-xmbean.xml">
+ <annotation>@org.jboss.system.deployers.managed.ManagementObjectClass(code=org.jboss.jms.server.destination.TopicServiceMO)</annotation>
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+ <attribute name="DLQ">jboss.messaging.destination:service=Queue,name=PrivateDLQ</attribute>
+ <attribute name="ExpiryQueue">jboss.messaging.destination:service=Queue,name=PrivateExpiryQueue</attribute>
+ </mbean>
+
+ <!-- Queues and Topics can also specify their own redelivery delay -->
+
+ <mbean code="org.jboss.jms.server.destination.QueueService"
+ name="jboss.messaging.destination:service=Queue,name=QueueWithOwnRedeliveryDelay"
+ xmbean-dd="xmdesc/Queue-xmbean.xml">
+ <annotation>@org.jboss.system.deployers.managed.ManagementObjectClass(code=org.jboss.jms.server.destination.QueueServiceMO)</annotation>
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+ <attribute name="RedeliveryDelay">5000</attribute>
+ </mbean>
+
+ <mbean code="org.jboss.jms.server.destination.TopicService"
+ name="jboss.messaging.destination:service=Topic,name=TopicWithOwnRedeliveryDelay"
+ xmbean-dd="xmdesc/Topic-xmbean.xml">
+ <annotation>@org.jboss.system.deployers.managed.ManagementObjectClass(code=org.jboss.jms.server.destination.TopicServiceMO)</annotation>
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+ <attribute name="RedeliveryDelay">5000</attribute>
+ </mbean>
+
+ <!--
+ Example clustered destinations.
+ -->
+
+ <mbean code="org.jboss.jms.server.destination.QueueService"
+ name="jboss.messaging.destination:service=Queue,name=testDistributedQueue"
+ xmbean-dd="xmdesc/Queue-xmbean.xml">
+ <annotation>@org.jboss.system.deployers.managed.ManagementObjectClass(code=org.jboss.jms.server.destination.QueueServiceMO)</annotation>
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+ <attribute name="Clustered">true</attribute>
+ </mbean>
+
+ <mbean code="org.jboss.jms.server.destination.TopicService"
+ name="jboss.messaging.destination:service=Topic,name=testDistributedTopic"
+ xmbean-dd="xmdesc/Topic-xmbean.xml">
+ <annotation>@org.jboss.system.deployers.managed.ManagementObjectClass(code=org.jboss.jms.server.destination.TopicServiceMO)</annotation>
+ <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer</depends>
+ <depends>jboss.messaging:service=PostOffice</depends>
+ <attribute name="Clustered">true</attribute>
+ </mbean>
+
+</server>
\ No newline at end of file
Property changes on: trunk/jbas5/etc/overlay/server/default/deploy/messaging/destinations-service.xml
___________________________________________________________________
Name: svn:mime-type
+ text/xml
Name: svn:keywords
+ Date Author Id Revision HeadURL
Name: svn:eol-style
+ LF
Deleted: trunk/jbas5/etc/run.bat
===================================================================
--- trunk/jbas5/etc/run.bat 2009-03-25 14:44:31 UTC (rev 256)
+++ trunk/jbas5/etc/run.bat 2009-03-26 14:55:55 UTC (rev 257)
@@ -1,153 +0,0 @@
-@echo off
-rem -------------------------------------------------------------------------
-rem JBoss Bootstrap Script for Windows
-rem -------------------------------------------------------------------------
-
-rem $Id$
-
-@if not "%ECHO%" == "" echo %ECHO%
-@if "%OS%" == "Windows_NT" setlocal
-
-if "%OS%" == "Windows_NT" (
- set "DIRNAME=%~dp0%"
-) else (
- set DIRNAME=.\
-)
-
-pushd %DIRNAME%..
-if "x%JBOSS_HOME%" == "x" (
- set "JBOSS_HOME=%CD%"
-)
-popd
-
-set DIRNAME=
-
-if "%OS%" == "Windows_NT" (
- set "PROGNAME=%~nx0%"
-) else (
- set "PROGNAME=run.bat"
-)
-
-if "x%JAVA_OPTS%" == "x" (
- set "JAVA_OPTS=-Dprogram.name=%PROGNAME%"
-) else (
- set "JAVA_OPTS=%JAVA_OPTS% -Dprogram.name=%PROGNAME%"
-)
-
-if "x%JAVA_HOME%" == "x" (
- set JAVA=java
- echo JAVA_HOME is not set. Unexpected results may occur.
- echo Set JAVA_HOME to the directory of your local JDK to avoid this message.
-) else (
- set "JAVA=%JAVA_HOME%\bin\java"
- if exist "%JAVA_HOME%\lib\tools.jar" (
- set "JAVAC_JAR=%JAVA_HOME%\lib\tools.jar"
- )
-)
-
-rem Add -server to the JVM options, if supported
-"%JAVA%" -server -version 2>&1 | findstr /I hotspot > nul
-if not errorlevel == 1 (
- set "JAVA_OPTS=%JAVA_OPTS% -server"
-)
-
-rem Set Java platform if 64-Bit JVM used
-set JAVA_PLATFORM=
-"%JAVA%" -version 2>&1 | findstr /I "64-Bit ^| x86_64" > nul
-if not errorlevel == 1 (
- if /I "%PROCESSOR_ARCHITECTURE%"=="IA64" (set JAVA_PLATFORM=ia64
- ) else if /I "%PROCESSOR_ARCHITECTURE%"=="AMD64" (set JAVA_PLATFORM=x64
- ) else if /I "%PROCESSOR_ARCHITECTURE%"=="x64" (set JAVA_PLATFORM=x64
- ) else if /I "%PROCESSOR_ARCHITEW6432%"=="IA64" (set JAVA_PLATFORM=i64
- ) else if /I "%PROCESSOR_ARCHITEW6432%"=="AMD64" (set JAVA_PLATFORM=x64
- ) else (
- echo PROCESSOR_ARCHITECTURE is not set. Unexpected results may occur.
- echo Set PROCESSOR_ARCHITECTURE according to the 64-Bit JVM used.
- )
-)
-
-if "x%JAVA_PLATFORM%" == "x" set JAVA_PLATFORM=x86
-
-rem Add native to the PATH if present
-set JBOSS_NATIVE_LOC=
-if exist "%JBOSS_HOME%\bin\META-INF\lib\windows-%JAVA_PLATFORM%" (
- set "JBOSS_NATIVE_HOME=%JBOSS_HOME%\bin\META-INF\lib\windows-%JAVA_PLATFORM%"
-) else if exist "%JBOSS_HOME%\bin\native" (
- set "JBOSS_NATIVE_HOME=%JBOSS_HOME%\bin\native"
-)
-
-if not "x%JBOSS_NATIVE_HOME%" == "x" (
- set "PATH=%JBOSS_NATIVE_HOME%;%PATH%;%JBOSS_HOME%\bin"
- set JAVA_OPTS=%JAVA_OPTS% "-Djava.library.path=%JBOSS_NATIVE_HOME%;%PATH%;%JBOSS_HOME%\bin"
-)
-
-rem Find run.jar, or we can't continue
-
-if exist "%JBOSS_HOME%\bin\run.jar" (
- if "x%JAVAC_JAR%" == "x" (
- set "RUNJAR=%JAVAC_JAR%;%JBOSS_HOME%\bin\run.jar"
- ) else (
- set "RUNJAR=%JBOSS_HOME%\bin\run.jar"
- )
-) else (
- echo Could not locate "%JBOSS_HOME%\bin\run.jar".
- echo Please check that you are in the bin directory when running this script.
- goto END
-)
-
-rem If JBOSS_CLASSPATH empty, don't include it, as this will
-rem result in including the local directory in the classpath, which makes
-rem error tracking harder.
-if "x%JBOSS_CLASSPATH%" == "x" (
- set "RUN_CLASSPATH=%RUNJAR%"
-) else (
- set "RUN_CLASSPATH=%JBOSS_CLASSPATH%;%RUNJAR%"
-)
-
-set JBOSS_CLASSPATH=%RUN_CLASSPATH%
-
-rem Setup JBoss specific properties
-set JAVA_OPTS=%JAVA_OPTS% -Djboss.platform.mbeanserver -Djbmancon.debug=true
-
-rem JVM memory allocation pool parameters. Modify as appropriate.
-set JAVA_OPTS=%JAVA_OPTS% -Xms125M -Xmx250M -XX:PermSize=75M -XX:MaxPermSize=150M
-
-rem Warn when resolving remote XML dtd/schemas
-set JAVA_OPTS=%JAVA_OPTS% -Dorg.jboss.resolver.warning=true
-
-rem With Sun JVMs reduce the RMI GCs to once per hour
-set JAVA_OPTS=%JAVA_OPTS% -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000
-
-rem JPDA options. Uncomment and modify as appropriate to enable remote debugging.
-set JAVA_OPTS=%JAVA_OPTS% -Xdebug -Xrunjdwp:transport=dt_socket,address=7777,server=y,suspend=n
-
-rem Setup the java endorsed dirs
-set JBOSS_ENDORSED_DIRS=%JBOSS_HOME%\lib\endorsed
-
-echo ===============================================================================
-echo.
-echo JBoss Bootstrap Environment
-echo.
-echo JBOSS_HOME: %JBOSS_HOME%
-echo.
-echo JAVA: %JAVA%
-echo.
-echo JAVA_OPTS: %JAVA_OPTS%
-echo.
-echo CLASSPATH: %JBOSS_CLASSPATH%
-echo.
-echo ===============================================================================
-echo.
-
-:RESTART
-"%JAVA%" %JAVA_OPTS% ^
- -Djava.endorsed.dirs="%JBOSS_ENDORSED_DIRS%" ^
- -classpath "%JBOSS_CLASSPATH%" ^
- org.jboss.Main %*
-
-if ERRORLEVEL 10 goto RESTART
-
-:END
-if "x%NOPAUSE%" == "x" pause
-
-:END_NO_PAUSE
15 years, 9 months