[arquillian-issues] [JBoss JIRA] (ARQ-1040) The properties of tomcat container configuration in arquillian.xml are not parsed properly

Tomas Repel (JIRA) jira-events at lists.jboss.org
Mon Jul 23 06:43:06 EDT 2012


Tomas Repel created ARQ-1040:
--------------------------------

             Summary: The properties of tomcat container configuration in arquillian.xml are not parsed properly
                 Key: ARQ-1040
                 URL: https://issues.jboss.org/browse/ARQ-1040
             Project: Arquillian
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Configuration, Tomcat Containers
    Affects Versions: 1.0.0.CR3
            Reporter: Tomas Repel


It is impossible to use tabs or newlines in arquillian.xml when defining properties for tomcat configuration. Only space (" ") can be used as delimiter.

For example, this configuration is OK:
{code:xml}
<container qualifier="tomcat" default="true">
  <configuration>
    <property name="catalinaHome">/home/tomcat6</property>
    <property name="javaVmArguments">-Xmx1024m -XX:MaxPermSize=512</property>
  </configuration>
</container>
{code}

While this one causes failure on startup:
{code:xml}
<container qualifier="tomcat" default="true">
  <configuration>
    <property name="catalinaHome">/home/tomcat6</property>
    <property name="javaVmArguments">
-Xmx1024m
-XX:MaxPermSize=512
    </property>
  </configuration>
</container>
{code}



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the arquillian-issues mailing list