[seam-dev] Arquillian and JBoss Container Managed 6
Pete Muir
pmuir at redhat.com
Tue May 24 06:56:34 EDT 2011
On 23 May 2011, at 19:56, Dan Allen wrote:
> The JBoss AS manager API exposes properties to control the log level and target. These properties need to be exposed in the Arquillian configuration.
>
> http://anonsvn.jboss.org/repos/jbossas/projects/server-manager/tags/1.0.4.Final/src/main/java/org/jboss/jbossas/servermanager/ServerController.java
>
> You need to track down Ryan Campbell if you need a change in the ServerController to expose a flag to set the log output.
Ryan is no longer involved. Talk to Shelly McGowan.
>
> Btw, I would take this up on the Arquillian forum. Also, could you create a JIRA for this in Arquillian? You are absolutely correct that this needs to be addressed.
>
> -Dan
>
> On Mon, May 23, 2011 at 06:53, Ove Ranheim <oranheim at gmail.com> wrote:
> Hi,
>
> How is it possible to control console log output when using arquillian-jbossas-managed-6?
>
> The tests are running just fine, but I'd like to route all output to console. The reason behind this is because Bamboo isn't able to pick up on target/jboss-6.0.0.Final/server/default/deploy/log/server.log. Therefor log output is required so Bamboo can catch exceptions being thrown.
>
> Any ideas folks.
>
> Cheers,
> Ove
>
>
> <?xml version="1.0"?>
>
> <arquillian xmlns="http://jboss.com/arquillian" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://jboss.org/schema/arquillian http://jboss.org/schema/arquillian/arquillian_1_0.xsd">
>
> <engine>
> <property name="deploymentExportPath">target/</property>
> </engine>
>
> <container qualifier="jbossas" default="true">
> <configuration>
> <property name="jbossHome">target/jboss-6.0.0.Final</property>
> <property name="httpPort">8280</property>
> <property name="rmiPort">1299</property>
> <property name="javaVmArguments">-Xmx512m -XX:MaxPermSize=128m -Djboss.service.binding.set=ports-02 -Darquillian.logging=system -
> Djava.util.logging.manager=org.jboss.logmanager.LogManager</property>
> </configuration>
> <protocol type="Servlet 3.0">
> <configuration>
> <property name="host">localhost</property>
> <property name="port">8280</property>
> </configuration>
> </protocol>
> </container>
>
> </arquillian>
>
>
>
> _______________________________________________
> seam-dev mailing list
> seam-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/seam-dev
>
>
>
>
> --
> Dan Allen
> Principal Software Engineer, Red Hat | Author of Seam in Action
> Registered Linux User #231597
>
> http://www.google.com/profiles/dan.j.allen#about
> http://mojavelinux.com
> http://mojavelinux.com/seaminaction
>
> _______________________________________________
> seam-dev mailing list
> seam-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/seam-dev
More information about the seam-dev
mailing list