Hi Romain,
thank you for your response.

I prefer the second choice (the folder containing the logging.properties
file configured in arquillian.xml) but I don't' know how to set this
configuration.
I searched in the sources of tomee arquillian module
(TomEEConfiguration.java and RemoteTomEEConfiguration.java), but I found
only these properties:

jar
http://repo2.maven.org/maven2/org/apache/openejb/arquillian-common/1.5.0/arquillian-common-1.5.0-sources.jar
    protected int httpPort = 8080;
    protected int stopPort = 8005;
    protected String dir = System.getProperty("java.io.tmpdir") +
"/arquillian-apache-tomee";
    protected String appWorkingDir = System.getProperty("java.io.tmpdir");
    protected String host = "localhost";
    protected String stopHost = "localhost"; // generally localhost but host
(http) can be different
    protected String stopCommand = "SHUTDOWN"; // default one - can be
overriden in server.xml
    protected String serverXml = null;
    protected String properties = "";
    protected String portRange = ""; // only used if port < 0, empty means
whatever, can be "1024-65535"
    protected boolean quickSession = true;

jar
http://repo2.maven.org/maven2/org/apache/openejb/arquillian-tomee-remote/1.5.0/arquillian-tomee-remote-1.5.0-sources.jar
    private boolean removeUnusedWebapps = true;
    private int ajpPort = 8009;
    private String conf;
    private String bin;
    private String lib;
    private boolean cleanOnStartUp;
    private boolean debug;
    private int debugPort = 5005;

I guess that the conf field from RemoteTomEEConfiguration.java is a property
to set the configuration directory: it's right?
I tried to add the conf property to my arquillian.xml file, but nothing
changes:

<container qualifier="tomee-remote" default="true">
                <configuration>
                        <property name="httpPort">-1</property>
                        <property name="stopPort">-1</property>
                        <property name="ajpPort">-1</property>
                        <property name="version">1.5.0</property>
                        <property name="classifier">plus</property>
                        <property
name="conf">/opt/develop/workspace/bravofly-eclipse/bravofly-scheduler-2.0/src/test/resources/conf</property>
                        <property name="properties">
                My\ DataSource.JdbcUrl = jdbc:hsqldb:mem:hsqldb
                My\ Unmanaged\ DataSource.JdbcUrl = jdbc:hsqldb:mem:hsqldb
                Default\ JMS\ Resource\ Adapter.BrokerXmlConfig =
broker:(tcp://localhost:61616)?useJmx=false&amp;broker.persistent=false
            </property>
                </configuration>
        </container>

Any ideas?
Thank you,

Demis Gallisto




--
View this message in context: 
http://openejb.979440.n4.nabble.com/TomEE-and-Arquillian-tp4658102p4658107.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to