geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From genspr...@apache.org
Subject svn commit: r1164330 - /geronimo/server/branches/2.1/framework/modules/geronimo-system/src/test/java/org/apache/geronimo/system/configuration/LocalAttributeManagerReadWriteTest.java
Date Fri, 02 Sep 2011 02:13:34 GMT
Author: genspring
Date: Fri Sep  2 02:13:34 2011
New Revision: 1164330

URL: http://svn.apache.org/viewvc?rev=1164330&view=rev
Log:
fixing the unit after upgrading jaxb to 2.1.13.

Modified:
    geronimo/server/branches/2.1/framework/modules/geronimo-system/src/test/java/org/apache/geronimo/system/configuration/LocalAttributeManagerReadWriteTest.java

Modified: geronimo/server/branches/2.1/framework/modules/geronimo-system/src/test/java/org/apache/geronimo/system/configuration/LocalAttributeManagerReadWriteTest.java
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.1/framework/modules/geronimo-system/src/test/java/org/apache/geronimo/system/configuration/LocalAttributeManagerReadWriteTest.java?rev=1164330&r1=1164329&r2=1164330&view=diff
==============================================================================
--- geronimo/server/branches/2.1/framework/modules/geronimo-system/src/test/java/org/apache/geronimo/system/configuration/LocalAttributeManagerReadWriteTest.java
(original)
+++ geronimo/server/branches/2.1/framework/modules/geronimo-system/src/test/java/org/apache/geronimo/system/configuration/LocalAttributeManagerReadWriteTest.java
Fri Sep  2 02:13:34 2011
@@ -35,232 +35,236 @@ import org.w3c.dom.Document;
 public class LocalAttributeManagerReadWriteTest extends TestCase {
 
     private static final String CONFIG =
-            "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n" +
-                    "<ns2:attributes xmlns:ns2=\"http://geronimo.apache.org/xml/ns/attributes-1.2\"
xmlns=\"http://geronimo.apache.org/xml/ns/plugins-1.3\">\n" +
-                    "    <ns2:comment>This is a test comment.  Without it, a default
warning comment will be created</ns2:comment>\n" +
-                    "    <ns2:module name=\"org.apache.geronimo.configs/ca-helper-jetty/2.1-SNAPSHOT/car\"/>\n"
+
-                    "    <ns2:module name=\"org.apache.geronimo.configs/jasper/2.1-SNAPSHOT/car\"/>\n"
+
-                    "    <ns2:module name=\"org.apache.geronimo.configs/j2ee-server/2.1-SNAPSHOT/car\"/>\n"
+
-                    "    <ns2:module name=\"org.apache.geronimo.configs/transaction/2.1-SNAPSHOT/car\"/>\n"
+
-                    "    <ns2:module name=\"org.apache.geronimo.configs/jetty6/2.1-SNAPSHOT/car\">\n"
+
-                    "        <ns2:gbean name=\"JettyWebConnector\">\n" +
-                    "            <ns2:attribute name=\"host\">${ServerHostname}</ns2:attribute>\n"
+
-                    "            <ns2:attribute name=\"port\">${HTTPPort + PortOffset}</ns2:attribute>\n"
+
-                    "            <ns2:attribute name=\"redirectPort\">${HTTPSPortPrimary
+ PortOffset}</ns2:attribute>\n" +
-                    "        </ns2:gbean>\n" +
-                    "        <ns2:gbean name=\"JettyAJP13Connector\">\n" +
-                    "            <ns2:attribute name=\"host\">${ServerHostname}</ns2:attribute>\n"
+
-                    "            <ns2:attribute name=\"port\">${AJPPort + PortOffset}</ns2:attribute>\n"
+
-                    "            <ns2:attribute name=\"redirectPort\">${HTTPSPortPrimary
+ PortOffset}</ns2:attribute>\n" +
-                    "        </ns2:gbean>\n" +
-                    "        <ns2:gbean name=\"JettySSLConnector\">\n" +
-                    "            <ns2:attribute name=\"host\">${ServerHostname}</ns2:attribute>\n"
+
-                    "            <ns2:attribute name=\"port\">${HTTPSPort + PortOffset}</ns2:attribute>\n"
+
-                    "        </ns2:gbean>\n" +
-                    "    </ns2:module>\n" +
-                    "    <ns2:module name=\"org.apache.geronimo.configs/clustering/2.1-SNAPSHOT/car\">\n"
+
-                    "        <ns2:gbean name=\"Node\">\n" +
-                    "            <ns2:attribute name=\"nodeName\">${clusterNodeName}</ns2:attribute>\n"
+
-                    "        </ns2:gbean>\n" +
-                    "    </ns2:module>\n" +
-                    "    <ns2:module name=\"org.apache.geronimo.configs/webservices-common/2.1-SNAPSHOT/car\"/>\n"
+
-                    "    <ns2:module name=\"org.apache.geronimo.configs/myfaces-deployer/2.1-SNAPSHOT/car\"/>\n"
+
-                    "    <ns2:module name=\"org.apache.geronimo.configs/myfaces/2.1-SNAPSHOT/car\"/>\n"
+
-                    "    <ns2:module name=\"org.apache.geronimo.configs/j2ee-deployer/2.1-SNAPSHOT/car\">\n"
+
-                    "        <ns2:gbean name=\"WebBuilder\">\n" +
-                    "            <ns2:attribute name=\"defaultNamespace\">http://geronimo.apache.org/xml/ns/j2ee/web/jetty-2.0</ns2:attribute>\n"
+
-                    "        </ns2:gbean>\n" +
-                    "        <ns2:gbean name=\"EnvironmentEntryBuilder\">\n" +
-                    "            <ns2:attribute name=\"eeNamespaces\">http://java.sun.com/xml/ns/j2ee,http://java.sun.com/xml/ns/javaee</ns2:attribute>\n"
+
-                    "        </ns2:gbean>\n" +
-                    "    </ns2:module>\n" +
-                    "    <ns2:module name=\"org.apache.geronimo.configs/activemq-ra/2.1-SNAPSHOT/car\">\n"
+
-                    "        <ns2:gbean name=\"ActiveMQ RA\">\n" +
-                    "            <ns2:attribute name=\"ServerUrl\">tcp://${ServerHostname}:${ActiveMQPort
+ PortOffset}</ns2:attribute>\n" +
-                    "        </ns2:gbean>\n" +
-                    "    </ns2:module>\n" +
-                    "    <ns2:module name=\"org.apache.geronimo.configs/activemq-broker/2.1-SNAPSHOT/car\">\n"
+
-                    "        <ns2:gbean name=\"ActiveMQ.tcp.default\">\n" +
-                    "            <ns2:attribute name=\"host\">${ServerHostname}</ns2:attribute>\n"
+
-                    "            <ns2:attribute name=\"port\">${ActiveMQPort + PortOffset}</ns2:attribute>\n"
+
-                    "        </ns2:gbean>\n" +
-                    "        <ns2:gbean name=\"ActiveMQ.stomp.default\">\n" +
-                    "            <ns2:attribute name=\"host\">${ServerHostname}</ns2:attribute>\n"
+
-                    "            <ns2:attribute name=\"port\">${ActiveMQStompPort +
PortOffset}</ns2:attribute>\n" +
-                    "        </ns2:gbean>\n" +
-                    "    </ns2:module>\n" +
-                    "    <ns2:module name=\"org.apache.geronimo.configs/system-database/2.1-SNAPSHOT/car\">\n"
+
-                    "        <ns2:gbean name=\"DerbyNetwork\">\n" +
-                    "            <ns2:attribute name=\"host\">${ServerHostname}</ns2:attribute>\n"
+
-                    "            <ns2:attribute name=\"port\">${DerbyPort + PortOffset}</ns2:attribute>\n"
+
-                    "        </ns2:gbean>\n" +
-                    "    </ns2:module>\n" +
-                    "    <ns2:module name=\"org.apache.geronimo.configs/connector-deployer/2.1-SNAPSHOT/car\">\n"
+
-                    "        <ns2:gbean name=\"ResourceRefBuilder\">\n" +
-                    "            <ns2:attribute name=\"eeNamespaces\">http://java.sun.com/xml/ns/j2ee,http://java.sun.com/xml/ns/javaee</ns2:attribute>\n"
+
-                    "            <ns2:attribute name=\"defaultEnvironment\">\n" +
-                    "                <environment:environment xmlns:environment=\"http://geronimo.apache.org/xml/ns/deployment-1.2\">\n"
+
-                    "                    <environment:dependencies>\n" +
-                    "                        <environment:dependency>\n" +
-                    "                            <environment:groupId>org.apache.geronimo.configs</environment:groupId>\n"
+
-                    "                            <environment:artifactId>j2ee-corba-yoko</environment:artifactId>\n"
+
-                    "                            <environment:type>car</environment:type>\n"
+
-                    "            </environment:dependency>\n" +
-                    "          </environment:dependencies>\n" +
-                    "        </environment:environment></ns2:attribute>\n" +
-                    "        </ns2:gbean>\n" +
-                    "        <ns2:gbean name=\"AdminObjectRefBuilder\">\n" +
-                    "            <ns2:attribute name=\"eeNamespaces\">http://java.sun.com/xml/ns/j2ee,http://java.sun.com/xml/ns/javaee</ns2:attribute>\n"
+
-                    "        </ns2:gbean>\n" +
-                    "        <ns2:gbean name=\"ClientResourceRefBuilder\">\n" +
-                    "            <ns2:attribute name=\"eeNamespaces\">http://java.sun.com/xml/ns/j2ee,http://java.sun.com/xml/ns/javaee</ns2:attribute>\n"
+
-                    "            <ns2:attribute name=\"defaultEnvironment\">\n" +
-                    "                <environment:environment xmlns:environment=\"http://geronimo.apache.org/xml/ns/deployment-1.2\">\n"
+
-                    "                    <environment:dependencies>\n" +
-                    "                        <environment:dependency>\n" +
-                    "                            <environment:groupId>org.apache.geronimo.configs</environment:groupId>\n"
+
-                    "                            <environment:artifactId>client-corba-yoko</environment:artifactId>\n"
+
-                    "                            <environment:type>car</environment:type>\n"
+
-                    "            </environment:dependency>\n" +
-                    "          </environment:dependencies>\n" +
-                    "        </environment:environment></ns2:attribute>\n" +
-                    "        </ns2:gbean>\n" +
-                    "    </ns2:module>\n" +
-                    "    <ns2:module name=\"org.apache.geronimo.configs/jasper-deployer/2.1-SNAPSHOT/car\"/>\n"
+
-                    "    <ns2:module name=\"org.apache.geronimo.configs/jetty6-deployer/2.1-SNAPSHOT/car\"/>\n"
+
-                    "    <ns2:module name=\"org.apache.geronimo.configs/client-security/2.1-SNAPSHOT/car\"
load=\"false\"/>\n" +
-                    "    <ns2:module name=\"org.apache.geronimo.configs/client/2.1-SNAPSHOT/car\"
load=\"false\"/>\n" +
-                    "    <ns2:module name=\"org.apache.geronimo.configs/axis2-ejb-deployer/2.1-SNAPSHOT/car\"
condition=\"props['org.apache.geronimo.jaxws.provider'] == 'axis2'\">\n" +
-                    "        <ns2:gbean name=\"Axis2ModuleBuilderExtension\">\n" +
-                    "            <ns2:attribute name=\"listener\">?name=${webcontainer}</ns2:attribute>\n"
+
-                    "        </ns2:gbean>\n" +
-                    "    </ns2:module>\n" +
-                    "    <ns2:module name=\"org.apache.geronimo.configs/jaxws-ejb-deployer/2.1-SNAPSHOT/car\"/>\n"
+
-                    "    <ns2:module name=\"org.apache.geronimo.configs/jaxws-deployer/2.1-SNAPSHOT/car\"/>\n"
+
-                    "    <ns2:module name=\"org.apache.geronimo.configs/openejb-deployer/2.1-SNAPSHOT/car\">\n"
+
-                    "        <ns2:gbean name=\"EjbRefBuilder\">\n" +
-                    "            <ns2:attribute name=\"eeNamespaces\">http://java.sun.com/xml/ns/j2ee,http://java.sun.com/xml/ns/javaee</ns2:attribute>\n"
+
-                    "        </ns2:gbean>\n" +
-                    "        <ns2:gbean name=\"ClientEjbRefBuilder\">\n" +
-                    "            <ns2:attribute name=\"eeNamespaces\">http://java.sun.com/xml/ns/j2ee,http://java.sun.com/xml/ns/javaee</ns2:attribute>\n"
+
-                    "            <ns2:attribute name=\"host\">${ServerHostname}</ns2:attribute>\n"
+
-                    "            <ns2:attribute name=\"port\">${OpenEJBPort + PortOffset}</ns2:attribute>\n"
+
-                    "        </ns2:gbean>\n" +
-                    "    </ns2:module>\n" +
-                    "    <ns2:module name=\"org.apache.geronimo.configs/openejb/2.1-SNAPSHOT/car\">\n"
+
-                    "        <ns2:gbean name=\"EJBNetworkService\">\n" +
-                    "            <ns2:attribute name=\"port\">${OpenEJBPort + PortOffset}</ns2:attribute>\n"
+
-                    "            <ns2:attribute name=\"host\">${ServerHostname}</ns2:attribute>\n"
+
-                    "        </ns2:gbean>\n" +
-                    "    </ns2:module>\n" +
-                    "    <ns2:module name=\"org.apache.geronimo.configs/openjpa/2.1-SNAPSHOT/car\"/>\n"
+
-                    "    <ns2:module name=\"org.apache.geronimo.configs/axis2-deployer/2.1-SNAPSHOT/car\"
condition=\"props['org.apache.geronimo.jaxws.provider'] == 'axis2'\"/>\n" +
-                    "    <ns2:module name=\"org.apache.geronimo.configs/axis2/2.1-SNAPSHOT/car\"/>\n"
+
-                    "    <ns2:module name=\"org.apache.geronimo.configs/axis2-ejb/2.1-SNAPSHOT/car\"/>\n"
+
-                    "    <ns2:module name=\"org.apache.geronimo.plugins/system-database-jetty/2.1-SNAPSHOT/car\"/>\n"
+
-                    "    <ns2:module name=\"org.apache.geronimo.plugins/console-jetty/2.1-SNAPSHOT/car\"/>\n"
+
-                    "    <ns2:module name=\"org.apache.geronimo.plugins/pluto-support/2.1-SNAPSHOT/car\"/>\n"
+
-                    "    <ns2:module name=\"org.apache.geronimo.configs/spring/2.1-SNAPSHOT/car\"/>\n"
+
-                    "    <ns2:module name=\"org.apache.geronimo.framework/transformer-agent/2.1-SNAPSHOT/car\"/>\n"
+
-                    "    <ns2:module name=\"org.apache.geronimo.configs/remote-deploy-jetty/2.1-SNAPSHOT/car\"/>\n"
+
-                    "    <ns2:module name=\"org.apache.geronimo.configs/cxf-ejb/2.1-SNAPSHOT/car\"/>\n"
+
-                    "    <ns2:module name=\"org.apache.geronimo.configs/cxf/2.1-SNAPSHOT/car\"/>\n"
+
-                    "    <ns2:module name=\"org.apache.geronimo.plugins/debugviews-jetty/2.1-SNAPSHOT/car\"/>\n"
+
-                    "    <ns2:module name=\"org.apache.geronimo.configs/dojo-jetty6/2.1-SNAPSHOT/car\"/>\n"
+
-                    "    <ns2:module name=\"org.apache.geronimo.configs/persistence-jpa10-deployer/2.1-SNAPSHOT/car\">\n"
+
-                    "        <ns2:gbean name=\"PersistenceUnitBuilder\">\n" +
-                    "            <ns2:attribute name=\"defaultPersistenceProviderClassName\">org.apache.openjpa.persistence.PersistenceProviderImpl</ns2:attribute>\n"
+
-                    "            <ns2:attribute name=\"defaultPersistenceUnitProperties\">openjpa.Log=commons\n"
+
-                    "                                        openjpa.jdbc.SynchronizeMappings=buildSchema(ForeignKeys=true)\n"
+
-                    "                                        openjpa.jdbc.UpdateManager=operation-order\n"
+
-                    "                                        openjpa.Sequence=table(Table=OPENJPASEQ,
Increment=100)</ns2:attribute>\n" +
-                    "            <ns2:attribute name=\"defaultEnvironment\">\n" +
-                    "                <environment:environment xmlns:environment=\"http://geronimo.apache.org/xml/ns/deployment-1.2\">\n"
+
-                    "                    <environment:dependencies>\n" +
-                    "                        <environment:dependency>\n" +
-                    "                            <environment:groupId>org.apache.geronimo.configs</environment:groupId>\n"
+
-                    "                            <environment:artifactId>openjpa</environment:artifactId>\n"
+
-                    "                            <environment:type>car</environment:type>\n"
+
-                    "            </environment:dependency>\n" +
-                    "          </environment:dependencies>\n" +
-                    "        </environment:environment></ns2:attribute>\n" +
-                    "        </ns2:gbean>\n" +
-                    "    </ns2:module>\n" +
-                    "    <ns2:module name=\"org.apache.geronimo.plugins/activemq-jetty/2.1-SNAPSHOT/car\"/>\n"
+
-                    "    <ns2:module name=\"org.apache.geronimo.configs/jetty6-clustering-wadi/2.1-SNAPSHOT/car\"/>\n"
+
-                    "    <ns2:module name=\"org.apache.geronimo.configs/wadi-clustering/2.1-SNAPSHOT/car\">\n"
+
-                    "        <ns2:gbean name=\"DefaultBackingStrategyFactory\">\n"
+
-                    "            <ns2:attribute name=\"nbReplica\">${ReplicaCount}</ns2:attribute>\n"
+
-                    "        </ns2:gbean>\n" +
-                    "        <ns2:gbean name=\"DefaultDispatcherHolder\">\n" +
-                    "            <ns2:attribute name=\"endPointURI\">${EndPointURI}</ns2:attribute>\n"
+
-                    "            <ns2:attribute name=\"clusterName\">${ClusterName}</ns2:attribute>\n"
+
-                    "        </ns2:gbean>\n" +
-                    "    </ns2:module>\n" +
-                    "    <ns2:module name=\"org.apache.geronimo.configs/uddi-jetty6/2.1-SNAPSHOT/car\"/>\n"
+
-                    "    <ns2:module name=\"org.apache.geronimo.configs/axis/2.1-SNAPSHOT/car\"/>\n"
+
-                    "    <ns2:module name=\"org.apache.geronimo.configs/axis-deployer/2.1-SNAPSHOT/car\">\n"
+
-                    "        <ns2:gbean name=\"AxisModuleBuilderExtension\">\n" +
-                    "            <ns2:attribute name=\"listener\">?name=${webcontainer}</ns2:attribute>\n"
+
-                    "            <ns2:attribute name=\"defaultEnvironment\">\n" +
-                    "                <environment:environment xmlns:environment=\"http://geronimo.apache.org/xml/ns/deployment-1.2\">\n"
+
-                    "                    <environment:dependencies>\n" +
-                    "                        <environment:dependency>\n" +
-                    "                            <environment:groupId>org.apache.geronimo.configs</environment:groupId>\n"
+
-                    "                            <environment:artifactId>${webcontainerName}</environment:artifactId>\n"
+
-                    "                            <environment:type>car</environment:type>\n"
+
-                    "            </environment:dependency>\n" +
-                    "          </environment:dependencies>\n" +
-                    "        </environment:environment></ns2:attribute>\n" +
-                    "        </ns2:gbean>\n" +
-                    "    </ns2:module>\n" +
-                    "    <ns2:module name=\"org.apache.geronimo.configs/j2ee-corba-yoko/2.1-SNAPSHOT/car\">\n"
+
-                    "        <ns2:gbean name=\"NameServer\">\n" +
-                    "            <ns2:attribute name=\"port\">${COSNamingPort + PortOffset}</ns2:attribute>\n"
+
-                    "            <ns2:attribute name=\"host\">${COSNamingHost}</ns2:attribute>\n"
+
-                    "        </ns2:gbean>\n" +
-                    "        <ns2:gbean name=\"Server\">\n" +
-                    "            <ns2:attribute name=\"port\">${ORBSSLPort + PortOffset}</ns2:attribute>\n"
+
-                    "            <ns2:attribute name=\"host\">${ORBSSLHost}</ns2:attribute>\n"
+
-                    "        </ns2:gbean>\n" +
-                    "        <ns2:gbean name=\"UnprotectedServer\">\n" +
-                    "            <ns2:attribute name=\"port\">${ORBPort + PortOffset}</ns2:attribute>\n"
+
-                    "            <ns2:attribute name=\"host\">${ORBHost}</ns2:attribute>\n"
+
-                    "        </ns2:gbean>\n" +
-                    "    </ns2:module>\n" +
-                    "    <ns2:module name=\"org.apache.geronimo.configs/mejb/2.1-SNAPSHOT/car\"/>\n"
+
-                    "    <ns2:module name=\"org.apache.geronimo.configs/jetty6-clustering-builder-wadi/2.1-SNAPSHOT/car\">\n"
+
-                    "        <ns2:gbean name=\"JettyClusteringBuilder\">\n" +
-                    "            <ns2:attribute name=\"defaultSweepInterval\">${DefaultWadiSweepInterval}</ns2:attribute>\n"
+
-                    "            <ns2:attribute name=\"defaultNumPartitions\">${DefaultWadiNumPartitions}</ns2:attribute>\n"
+
-                    "        </ns2:gbean>\n" +
-                    "    </ns2:module>\n" +
-                    "    <ns2:module name=\"org.apache.geronimo.configs/hot-deployer/2.1-SNAPSHOT/car\">\n"
+
-                    "        <ns2:gbean name=\"HotDeployer\">\n" +
-                    "            <ns2:attribute name=\"path\">deploy/</ns2:attribute>\n"
+
-                    "            <ns2:attribute name=\"pollIntervalMillis\">2000</ns2:attribute>\n"
+
-                    "        </ns2:gbean>\n" +
-                    "    </ns2:module>\n" +
-                    "    <ns2:module name=\"org.apache.geronimo.configs/openejb-corba-deployer/2.1-SNAPSHOT/car\"/>\n"
+
-                    "    <ns2:module name=\"org.apache.geronimo.configs/client-corba-yoko/2.1-SNAPSHOT/car\"
load=\"false\"/>\n" +
-                    "    <ns2:module name=\"org.apache.geronimo.configs/javamail/2.1-SNAPSHOT/car\">\n"
+
-                    "        <ns2:gbean name=\"SMTPTransport\">\n" +
-                    "            <ns2:attribute name=\"host\">${SMTPHost}</ns2:attribute>\n"
+
-                    "            <ns2:attribute name=\"port\">${SMTPPort + PortOffset}</ns2:attribute>\n"
+
-                    "        </ns2:gbean>\n" +
-                    "    </ns2:module>\n" +
-                    "    <ns2:module name=\"org.apache.geronimo.configs/cxf-deployer/2.1-SNAPSHOT/car\"
condition=\"props.getProperty('org.apache.geronimo.jaxws.provider', 'cxf') == 'cxf'\"/>\n"
+
-                    "    <ns2:module name=\"org.apache.geronimo.configs/welcome-jetty/2.1-SNAPSHOT/car\"/>\n"
+
-                    "    <ns2:module name=\"org.apache.geronimo.configs/sharedlib/2.1-SNAPSHOT/car\"/>\n"
+
-                    "    <ns2:module name=\"org.apache.geronimo.configs/client-deployer/2.1-SNAPSHOT/car\"/>\n"
+
-                    "    <ns2:module name=\"org.apache.geronimo.configs/client-transaction/2.1-SNAPSHOT/car\"
load=\"false\"/>\n" +
-                    "    <ns2:module name=\"org.apache.geronimo.configs/cxf-ejb-deployer/2.1-SNAPSHOT/car\"
condition=\"props.getProperty('org.apache.geronimo.jaxws.provider', 'cxf') == 'cxf'\">\n"
+
-                    "        <ns2:gbean name=\"CXFModuleBuilderExtension\">\n" +
-                    "            <ns2:attribute name=\"listener\">?name=${webcontainer}</ns2:attribute>\n"
+
-                    "        </ns2:gbean>\n" +
-                    "    </ns2:module>\n" +
-                    "    <ns2:module name=\"org.apache.geronimo.plugins/plancreator-jetty/2.1-SNAPSHOT/car\"/>\n"
+
-                    "</ns2:attributes>\n";
+    	"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n" +
+    			"<attributes xmlns:ns2=\"http://geronimo.apache.org/xml/ns/plugins-1.3\" xmlns=\"http://geronimo.apache.org/xml/ns/attributes-1.2\">\n"
+
+    			"    <comment>This is a test comment.  Without it, a default warning comment
will be created</comment>\n" +
+    			"    <module name=\"org.apache.geronimo.configs/ca-helper-jetty/2.1/car\"/>\n"
+
+    			"    <module name=\"org.apache.geronimo.configs/jasper/2.1/car\"/>\n" +
+    			"    <module name=\"org.apache.geronimo.configs/j2ee-server/2.1/car\"/>\n" +
+    			"    <module name=\"org.apache.geronimo.configs/transaction/2.1/car\"/>\n" +
+    			"    <module name=\"org.apache.geronimo.configs/jetty6/2.1/car\">\n" +
+    			"        <gbean name=\"JettyWebConnector\">\n" +
+    			"            <attribute name=\"host\">${ServerHostname}</attribute>\n"
+
+    			"            <attribute name=\"port\">${HTTPPort + PortOffset}</attribute>\n"
+
+    			"            <attribute name=\"redirectPort\">${HTTPSPortPrimary + PortOffset}</attribute>\n"
+
+    			"        </gbean>\n" +
+    			"        <gbean name=\"JettyAJP13Connector\">\n" +
+    			"            <attribute name=\"host\">${ServerHostname}</attribute>\n"
+
+    			"            <attribute name=\"port\">${AJPPort + PortOffset}</attribute>\n"
+
+    			"            <attribute name=\"redirectPort\">${HTTPSPortPrimary + PortOffset}</attribute>\n"
+
+    			"        </gbean>\n" +
+    			"        <gbean name=\"JettySSLConnector\">\n" +
+    			"            <attribute name=\"host\">${ServerHostname}</attribute>\n"
+
+    			"            <attribute name=\"port\">${HTTPSPort + PortOffset}</attribute>\n"
+
+    			"        </gbean>\n" +
+    			"    </module>\n" +
+    			"    <module name=\"org.apache.geronimo.configs/clustering/2.1/car\">\n" +
+    			"        <gbean name=\"Node\">\n" +
+    			"            <attribute name=\"nodeName\">${clusterNodeName}</attribute>\n"
+
+    			"        </gbean>\n" +
+    			"    </module>\n" +
+    			"    <module name=\"org.apache.geronimo.configs/webservices-common/2.1/car\"/>\n"
+
+    			"    <module name=\"org.apache.geronimo.configs/myfaces-deployer/2.1/car\"/>\n"
+
+    			"    <module name=\"org.apache.geronimo.configs/myfaces/2.1/car\"/>\n" +
+    			"    <module name=\"org.apache.geronimo.configs/j2ee-deployer/2.1/car\">\n"
+
+    			"        <gbean name=\"WebBuilder\">\n" +
+    			"            <attribute name=\"defaultNamespace\">http://geronimo.apache.org/xml/ns/j2ee/web/jetty-2.0</attribute>\n"
+
+    			"        </gbean>\n" +
+    			"        <gbean name=\"EnvironmentEntryBuilder\">\n" +
+    			"            <attribute name=\"eeNamespaces\">http://java.sun.com/xml/ns/j2ee,http://java.sun.com/xml/ns/javaee</attribute>\n"
+
+    			"        </gbean>\n" +
+    			"    </module>\n" +
+    			"    <module name=\"org.apache.geronimo.configs/activemq-ra/2.1/car\">\n" +
+    			"        <gbean name=\"ActiveMQ RA\">\n" +
+    			"            <attribute name=\"ServerUrl\">tcp://${ServerHostname}:${ActiveMQPort
+ PortOffset}</attribute>\n" +
+    			"        </gbean>\n" +
+    			"    </module>\n" +
+    			"    <module name=\"org.apache.geronimo.configs/activemq-broker/2.1/car\">\n"
+
+    			"        <gbean name=\"ActiveMQ.tcp.default\">\n" +
+    			"            <attribute name=\"host\">${ServerHostname}</attribute>\n"
+
+    			"            <attribute name=\"port\">${ActiveMQPort + PortOffset}</attribute>\n"
+
+    			"        </gbean>\n" +
+    			"        <gbean name=\"ActiveMQ.stomp.default\">\n" +
+    			"            <attribute name=\"host\">${ServerHostname}</attribute>\n"
+
+    			"            <attribute name=\"port\">${ActiveMQStompPort + PortOffset}</attribute>\n"
+
+    			"        </gbean>\n" +
+    			"    </module>\n" +
+    			"    <module name=\"org.apache.geronimo.configs/system-database/2.1/car\">\n"
+
+    			"        <gbean name=\"DerbyNetwork\">\n" +
+    			"            <attribute name=\"host\">${ServerHostname}</attribute>\n"
+
+    			"            <attribute name=\"port\">${DerbyPort + PortOffset}</attribute>\n"
+
+    			"        </gbean>\n" +
+    			"    </module>\n" +
+    			"    <module name=\"org.apache.geronimo.configs/connector-deployer/2.1/car\">\n"
+
+    			"        <gbean name=\"ResourceRefBuilder\">\n" +
+    			"            <attribute name=\"eeNamespaces\">http://java.sun.com/xml/ns/j2ee,http://java.sun.com/xml/ns/javaee</attribute>\n"
+
+    			"            <attribute name=\"defaultEnvironment\">\n" +
+    			"                <environment:environment xmlns:ns2=\"http://geronimo.apache.org/xml/ns/attributes-1.2\"
xmlns=\"http://geronimo.apache.org/xml/ns/plugins-1.3\" xmlns:environment=\"http://geronimo.apache.org/xml/ns/deployment-1.2\">\n"
+
+    			"                    <environment:dependencies>\n" +
+    			"                        <environment:dependency>\n" +
+    			"                            <environment:groupId>org.apache.geronimo.configs</environment:groupId>\n"
+
+    			"                            <environment:artifactId>j2ee-corba-yoko</environment:artifactId>\n"
+
+    			"                            <environment:type>car</environment:type>\n"
+
+    			"            </environment:dependency>\n" +
+    			"          </environment:dependencies>\n" +
+    			"        </environment:environment>\n" +
+    			"            </attribute>\n" +
+    			"        </gbean>\n" +
+    			"        <gbean name=\"AdminObjectRefBuilder\">\n" +
+    			"            <attribute name=\"eeNamespaces\">http://java.sun.com/xml/ns/j2ee,http://java.sun.com/xml/ns/javaee</attribute>\n"
+
+    			"        </gbean>\n" +
+    			"        <gbean name=\"ClientResourceRefBuilder\">\n" +
+    			"            <attribute name=\"eeNamespaces\">http://java.sun.com/xml/ns/j2ee,http://java.sun.com/xml/ns/javaee</attribute>\n"
+
+    			"            <attribute name=\"defaultEnvironment\">\n" +
+    			"                <environment:environment xmlns:ns2=\"http://geronimo.apache.org/xml/ns/attributes-1.2\"
xmlns=\"http://geronimo.apache.org/xml/ns/plugins-1.3\" xmlns:environment=\"http://geronimo.apache.org/xml/ns/deployment-1.2\">\n"
+
+    			"                    <environment:dependencies>\n" +
+    			"                        <environment:dependency>\n" +
+    			"                            <environment:groupId>org.apache.geronimo.configs</environment:groupId>\n"
+
+    			"                            <environment:artifactId>client-corba-yoko</environment:artifactId>\n"
+
+    			"                            <environment:type>car</environment:type>\n"
+
+    			"            </environment:dependency>\n" +
+    			"          </environment:dependencies>\n" +
+    			"        </environment:environment>\n" +
+    			"            </attribute>\n" +
+    			"        </gbean>\n" +
+    			"    </module>\n" +
+    			"    <module name=\"org.apache.geronimo.configs/jasper-deployer/2.1/car\"/>\n"
+
+    			"    <module name=\"org.apache.geronimo.configs/jetty6-deployer/2.1/car\"/>\n"
+
+    			"    <module load=\"false\" name=\"org.apache.geronimo.configs/client-security/2.1/car\"/>\n"
+
+    			"    <module load=\"false\" name=\"org.apache.geronimo.configs/client/2.1/car\"/>\n"
+
+    			"    <module condition=\"props['org.apache.geronimo.jaxws.provider'] == 'axis2'\"
name=\"org.apache.geronimo.configs/axis2-ejb-deployer/2.1/car\">\n" +
+    			"        <gbean name=\"Axis2ModuleBuilderExtension\">\n" +
+    			"            <attribute name=\"listener\">?name=${webcontainer}</attribute>\n"
+
+    			"        </gbean>\n" +
+    			"    </module>\n" +
+    			"    <module name=\"org.apache.geronimo.configs/jaxws-ejb-deployer/2.1/car\"/>\n"
+
+    			"    <module name=\"org.apache.geronimo.configs/jaxws-deployer/2.1/car\"/>\n"
+
+    			"    <module name=\"org.apache.geronimo.configs/openejb-deployer/2.1/car\">\n"
+
+    			"        <gbean name=\"EjbRefBuilder\">\n" +
+    			"            <attribute name=\"eeNamespaces\">http://java.sun.com/xml/ns/j2ee,http://java.sun.com/xml/ns/javaee</attribute>\n"
+
+    			"        </gbean>\n" +
+    			"        <gbean name=\"ClientEjbRefBuilder\">\n" +
+    			"            <attribute name=\"eeNamespaces\">http://java.sun.com/xml/ns/j2ee,http://java.sun.com/xml/ns/javaee</attribute>\n"
+
+    			"            <attribute name=\"host\">${ServerHostname}</attribute>\n"
+
+    			"            <attribute name=\"port\">${OpenEJBPort + PortOffset}</attribute>\n"
+
+    			"        </gbean>\n" +
+    			"    </module>\n" +
+    			"    <module name=\"org.apache.geronimo.configs/openejb/2.1/car\">\n" +
+    			"        <gbean name=\"EJBNetworkService\">\n" +
+    			"            <attribute name=\"port\">${OpenEJBPort + PortOffset}</attribute>\n"
+
+    			"            <attribute name=\"host\">${ServerHostname}</attribute>\n"
+
+    			"        </gbean>\n" +
+    			"    </module>\n" +
+    			"    <module name=\"org.apache.geronimo.configs/openjpa/2.1/car\"/>\n" +
+    			"    <module condition=\"props['org.apache.geronimo.jaxws.provider'] == 'axis2'\"
name=\"org.apache.geronimo.configs/axis2-deployer/2.1/car\"/>\n" +
+    			"    <module name=\"org.apache.geronimo.configs/axis2/2.1/car\"/>\n" +
+    			"    <module name=\"org.apache.geronimo.configs/axis2-ejb/2.1/car\"/>\n" +
+    			"    <module name=\"org.apache.geronimo.plugins/system-database-jetty/2.1/car\"/>\n"
+
+    			"    <module name=\"org.apache.geronimo.plugins/console-jetty/2.1/car\"/>\n"
+
+    			"    <module name=\"org.apache.geronimo.plugins/pluto-support/2.1/car\"/>\n"
+
+    			"    <module name=\"org.apache.geronimo.configs/spring/2.1/car\"/>\n" +
+    			"    <module name=\"org.apache.geronimo.framework/transformer-agent/2.1/car\"/>\n"
+
+    			"    <module name=\"org.apache.geronimo.configs/remote-deploy-jetty/2.1/car\"/>\n"
+
+    			"    <module name=\"org.apache.geronimo.configs/cxf-ejb/2.1/car\"/>\n" +
+    			"    <module name=\"org.apache.geronimo.configs/cxf/2.1/car\"/>\n" +
+    			"    <module name=\"org.apache.geronimo.plugins/debugviews-jetty/2.1/car\"/>\n"
+
+    			"    <module name=\"org.apache.geronimo.configs/dojo-jetty6/2.1/car\"/>\n" +
+    			"    <module name=\"org.apache.geronimo.configs/persistence-jpa10-deployer/2.1/car\">\n"
+
+    			"        <gbean name=\"PersistenceUnitBuilder\">\n" +
+    			"            <attribute name=\"defaultPersistenceProviderClassName\">org.apache.openjpa.persistence.PersistenceProviderImpl</attribute>\n"
+
+    			"            <attribute name=\"defaultPersistenceUnitProperties\">openjpa.Log=commons\n"
+
+    			"                                        openjpa.jdbc.SynchronizeMappings=buildSchema(ForeignKeys=true)\n"
+
+    			"                                        openjpa.jdbc.UpdateManager=operation-order\n"
+
+    			"                                        openjpa.Sequence=table(Table=OPENJPASEQ,
Increment=100)</attribute>\n" +
+    			"            <attribute name=\"defaultEnvironment\">\n" +
+    			"                <environment:environment xmlns:ns2=\"http://geronimo.apache.org/xml/ns/attributes-1.2\"
xmlns=\"http://geronimo.apache.org/xml/ns/plugins-1.3\" xmlns:environment=\"http://geronimo.apache.org/xml/ns/deployment-1.2\">\n"
+
+    			"                    <environment:dependencies>\n" +
+    			"                        <environment:dependency>\n" +
+    			"                            <environment:groupId>org.apache.geronimo.configs</environment:groupId>\n"
+
+    			"                            <environment:artifactId>openjpa</environment:artifactId>\n"
+
+    			"                            <environment:type>car</environment:type>\n"
+
+    			"            </environment:dependency>\n" +
+    			"          </environment:dependencies>\n" +
+    			"        </environment:environment>\n" +
+    			"            </attribute>\n" +
+    			"        </gbean>\n" +
+    			"    </module>\n" +
+    			"    <module name=\"org.apache.geronimo.plugins/activemq-jetty/2.1/car\"/>\n"
+
+    			"    <module name=\"org.apache.geronimo.configs/jetty6-clustering-wadi/2.1/car\"/>\n"
+
+    			"    <module name=\"org.apache.geronimo.configs/wadi-clustering/2.1/car\">\n"
+
+    			"        <gbean name=\"DefaultBackingStrategyFactory\">\n" +
+    			"            <attribute name=\"nbReplica\">${ReplicaCount}</attribute>\n"
+
+    			"        </gbean>\n" +
+    			"        <gbean name=\"DefaultDispatcherHolder\">\n" +
+    			"            <attribute name=\"endPointURI\">${EndPointURI}</attribute>\n"
+
+    			"            <attribute name=\"clusterName\">${ClusterName}</attribute>\n"
+
+    			"        </gbean>\n" +
+    			"    </module>\n" +
+    			"    <module name=\"org.apache.geronimo.configs/uddi-jetty6/2.1/car\"/>\n" +
+    			"    <module name=\"org.apache.geronimo.configs/axis/2.1/car\"/>\n" +
+    			"    <module name=\"org.apache.geronimo.configs/axis-deployer/2.1/car\">\n"
+
+    			"        <gbean name=\"AxisModuleBuilderExtension\">\n" +
+    			"            <attribute name=\"listener\">?name=${webcontainer}</attribute>\n"
+
+    			"            <attribute name=\"defaultEnvironment\">\n" +
+    			"                <environment:environment xmlns:ns2=\"http://geronimo.apache.org/xml/ns/attributes-1.2\"
xmlns=\"http://geronimo.apache.org/xml/ns/plugins-1.3\" xmlns:environment=\"http://geronimo.apache.org/xml/ns/deployment-1.2\">\n"
+
+    			"                    <environment:dependencies>\n" +
+    			"                        <environment:dependency>\n" +
+    			"                            <environment:groupId>org.apache.geronimo.configs</environment:groupId>\n"
+
+    			"                            <environment:artifactId>${webcontainerName}</environment:artifactId>\n"
+
+    			"                            <environment:type>car</environment:type>\n"
+
+    			"            </environment:dependency>\n" +
+    			"          </environment:dependencies>\n" +
+    			"        </environment:environment>\n" +
+    			"            </attribute>\n" +
+    			"        </gbean>\n" +
+    			"    </module>\n" +
+    			"    <module name=\"org.apache.geronimo.configs/j2ee-corba-yoko/2.1/car\">\n"
+
+    			"        <gbean name=\"NameServer\">\n" +
+    			"            <attribute name=\"port\">${COSNamingPort + PortOffset}</attribute>\n"
+
+    			"            <attribute name=\"host\">${COSNamingHost}</attribute>\n"
+
+    			"        </gbean>\n" +
+    			"        <gbean name=\"Server\">\n" +
+    			"            <attribute name=\"port\">${ORBSSLPort + PortOffset}</attribute>\n"
+
+    			"            <attribute name=\"host\">${ORBSSLHost}</attribute>\n" +
+    			"        </gbean>\n" +
+    			"        <gbean name=\"UnprotectedServer\">\n" +
+    			"            <attribute name=\"port\">${ORBPort + PortOffset}</attribute>\n"
+
+    			"            <attribute name=\"host\">${ORBHost}</attribute>\n" +
+    			"        </gbean>\n" +
+    			"    </module>\n" +
+    			"    <module name=\"org.apache.geronimo.configs/mejb/2.1/car\"/>\n" +
+    			"    <module name=\"org.apache.geronimo.configs/jetty6-clustering-builder-wadi/2.1/car\">\n"
+
+    			"        <gbean name=\"JettyClusteringBuilder\">\n" +
+    			"            <attribute name=\"defaultSweepInterval\">${DefaultWadiSweepInterval}</attribute>\n"
+
+    			"            <attribute name=\"defaultNumPartitions\">${DefaultWadiNumPartitions}</attribute>\n"
+
+    			"        </gbean>\n" +
+    			"    </module>\n" +
+    			"    <module name=\"org.apache.geronimo.configs/hot-deployer/2.1/car\">\n" +
+    			"        <gbean name=\"HotDeployer\">\n" +
+    			"            <attribute name=\"path\">deploy/</attribute>\n" +
+    			"            <attribute name=\"pollIntervalMillis\">2000</attribute>\n"
+
+    			"        </gbean>\n" +
+    			"    </module>\n" +
+    			"    <module name=\"org.apache.geronimo.configs/openejb-corba-deployer/2.1/car\"/>\n"
+
+    			"    <module load=\"false\" name=\"org.apache.geronimo.configs/client-corba-yoko/2.1/car\"/>\n"
+
+    			"    <module name=\"org.apache.geronimo.configs/javamail/2.1/car\">\n" +
+    			"        <gbean name=\"SMTPTransport\">\n" +
+    			"            <attribute name=\"host\">${SMTPHost}</attribute>\n" +
+    			"            <attribute name=\"port\">${SMTPPort + PortOffset}</attribute>\n"
+
+    			"        </gbean>\n" +
+    			"    </module>\n" +
+    			"    <module condition=\"props.getProperty('org.apache.geronimo.jaxws.provider',
'cxf') == 'cxf'\" name=\"org.apache.geronimo.configs/cxf-deployer/2.1/car\"/>\n" +
+    			"    <module name=\"org.apache.geronimo.configs/welcome-jetty/2.1/car\"/>\n"
+
+    			"    <module name=\"org.apache.geronimo.configs/sharedlib/2.1/car\"/>\n" +
+    			"    <module name=\"org.apache.geronimo.configs/client-deployer/2.1/car\"/>\n"
+
+    			"    <module load=\"false\" name=\"org.apache.geronimo.configs/client-transaction/2.1/car\"/>\n"
+
+    			"    <module condition=\"props.getProperty('org.apache.geronimo.jaxws.provider',
'cxf') == 'cxf'\" name=\"org.apache.geronimo.configs/cxf-ejb-deployer/2.1/car\">\n" +
+    			"        <gbean name=\"CXFModuleBuilderExtension\">\n" +
+    			"            <attribute name=\"listener\">?name=${webcontainer}</attribute>\n"
+
+    			"        </gbean>\n" +
+    			"    </module>\n" +
+    			"    <module name=\"org.apache.geronimo.plugins/plancreator-jetty/2.1/car\"/>\n"
+
+    			"</attributes>\n";
     
     public void testReadWrite() throws Exception {
         Reader reader = new StringReader(CONFIG);



Mime
View raw message