I made two deployments with TomEE-Arquillian Embedded but I got

*org.apache.openejb.DuplicateDeploymentIdException: Application cannot be
deployed as it contains deployment-ids which are in use*

So, I edited my arquillian.xml like this;

<arquillian xmlns="http://jboss.org/schema/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";>
    <container qualifier="tomee" default="true">
        <configuration>
            <property name="httpPort">-1</property>
            <property name="stopPort">-1</property>
            <property name="dir">target/tomee-embedded</property>
            <property name="appWorkingDir">target/working-dir</property>
            <property name="properties">
                openejb.deploymentId.format={moduleId}/{ejbName}

-Dsolr.solr.home=/Users/molgun/Downloads/solr-4.6.1/example/solr
            </property>
        </configuration>
    </container>
</arquillian>

and I see from log console;

Mar 17, 2014 3:21:17 PM org.apache.openejb.util.OptionsLog info
INFO: Using 'openejb.deploymentId.format={moduleId}/{ejbName}'

but I'm getting still same error. Should I create a ticket or did I miss
something?

Reply via email to