views:

16

answers:

0

Hi, I am trying to use glassfish as a embedded server in my ejb3.1 project. below are my maven dependencies.. But when I run my tests it fails to deploy ejb modules. do I need to set javaee.home or some more variable ?

<dependency>
            <groupId>org.glassfish.extras</groupId>
            <artifactId>glassfish-embedded-all</artifactId>
            <version>3.1-SNAPSHOT</version>
            <scope>test</scope>
            <type>jar</type>
        </dependency>
            <dependency>
            <groupId>org.glassfish.extras</groupId>
            <artifactId>glassfish-embedded-static-shell</artifactId>
            <version>3.1-SNAPSHOT</version>
            <scope>test</scope>
            <type>jar</type>
        </dependency>
        <dependency>
            <groupId>javax</groupId>
            <artifactId>javaee-api</artifactId>
            <version>6.0</version>
            <scope>provided</scope>
        </dependency>

The exception is..

Caused by: org.omg.CORBA.DATA_CONVERSION:   vmcid: SUN  minor code: 214  completed: No
.
.
.
Caused by: java.lang.IllegalStateException: java.lang.RuntimeException: java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key iiop.cannot_find_keyalias