Tomcat containers does not handle multiline javaVmArguments
-----------------------------------------------------------
Key: ARQ-604
URL:
https://issues.jboss.org/browse/ARQ-604
Project: Arquillian
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Tomcat Containers
Affects Versions: tomcat_1.0.0.CR1
Reporter: Karel Piwko
Assignee: Juraj Huska
Fix For: tomcat_1.0.0.Final
Suppose user passes:
{code:xml}
<container qualifier="tomcat" default="true">
<configuration>
...
<property name="javaVmArguments">-Xms512m -Xmx512m
-XX:MaxPermSize=512m -Dorg.jboss.resolver.warning=true
-Dsun.rmi.dgc.client.gcInterval=3600000
-Dsun.rmi.dgc.server.gcInterval=3600000 -Dfile.encoding=UTF-8
-Djavax.servlet.request.encoding=UTF-8 </property>
...
</configuration>
</container>
{code}
Than startup of the container would fail with:
{code}
Exception in thread "main" java.lang.NoClassDefFoundError:
Caused by: java.lang.ClassNotFoundException:
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: . Program will exit.
{code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira