-
1. Re: Can't See Log Output Running Errai From EAP 6.1
chaluwa Feb 13, 2014 12:58 PM (in response to chaluwa)I followed steps from here http://blog.jyore.com/?p=234 to use traditional approach by adding a boss-deployment-structure.xml file in WEB-INF folder containing :
<jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.2">
<deployment>
<exclusions>
<module name="org.apache.log4j"/>
<module name="org.apache.commons.logging"/>
</exclusions>
</deployment>
</jboss-deployment-structure>
But no success.
-
2. Re: Can't See Log Output Running Errai From EAP 6.1
chaluwa Feb 17, 2014 12:18 PM (in response to chaluwa)Since Errai now allows using of local AS instance for development, how can one pass startup parameters to the AS instance. I need to set -Dorg.jboss.as.logging.per-deployment=false and added it to <extraJvmArgs> thus:
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<version>${gwt.version}</version>
<executions>
<execution>
<goals>
<goal>resources</goal>
<goal>compile</goal>
</goals>
</execution>
</executions>
<configuration>
<extraJvmArgs>... -Dorg.jboss.as.logging.per-deployment=false ...</extraJvmArgs>
<logLevel>DEBUG</logLevel>
<strict>true</strict>
<noServer>false</noServer>
<server>org.jboss.errai.cdi.server.gwt.JBossLauncher</server>
<disableCastChecking>true</disableCastChecking>
<runTarget>${errai.dev.context}/index.html</runTarget>
<soyc>false</soyc>
<hostedWebapp>src/main/webapp</hostedWebapp>
</configuration>
</plugin>
.....
</plugins>
Is this how to go about it.
-
3. Re: Re: Can't See Log Output Running Errai From EAP 6.1
mbarkley Feb 18, 2014 10:05 AM (in response to chaluwa)There's a special JVM argument you can use in the <extraJvmArgs> tag as of M4, that is used to set JAVAOPTS for the JVM running the Application Server. The flag is:
-Derrai.jboss.javaopts=${JAVAOPTS}
Here is the documentation for the JBossLauncher configurations.