Hi Marco,

Do a "jar tvf ejb-testing-examples-1.0.jar" from the command line and send the results. At least enough to show the ejb-jar.xml location.

Thanks,
David

On Sep 9, 2005, at 11:03 AM, Marco Mistroni wrote:

hello all,
after 2 weeks holiday, i run my application that uses openEJB to test some
EJBs, and i got the following
error (with a big surprise, i haven't changed anything..)

validate:
[java] org.openejb.OpenEJBException: Cannot find the ejb-jar.xml in C:\Sw\Te
stEJB\target\ejb-testing-examples-1.0.jar.
[java] at org.openejb.alt.config.Unmarshaller.unmarshalFromJar (Unmarsha
ller.java:101)
[java] at org.openejb.alt.config.Unmarshaller.unmarshal (Unmarshaller.ja
va:90)
[java] at org.openejb.alt.config.Unmarshaller.unmarshal (Unmarshaller.ja
va:82)
[java] at org.openejb.alt.config.EjbJarUtils.readEjbJar (EjbJarUtils.jav
a:108)
[java] at org.openejb.alt.config.EjbJarUtils.<init> (EjbJarUtils.java:87
)
[java] at org.openejb.alt.config.EjbValidator.main (EjbValidator.java:34
9)


here is my project.xml dependencies.... anyone could hellp me out?

</dependency>

<dependency>
<groupId>dbunit</groupId>
<artifactId>dbunit</artifactId>
<version>2.0</version>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector</artifactId>
<version>3.0.11</version>
</dependency>

<dependency>
<groupId>geronimo-spec</groupId>
<artifactId>geronimo-spec-j2ee</artifactId>
<version>1.4-rc1</version>
</dependency>

<dependency>
<groupId>openejb</groupId>
<artifactId>openejb-core</artifactId>
<version>1.0-beta1</version>
</dependency>

<dependency>
<id>log4j</id>
<version>1.2.8</version>
<url>http://jakarta.apache.org/log4j</url>
<properties>
<runtime>true</runtime>
</properties>
</dependency>

<dependency>
<groupId>xerces</groupId>
<artifactId>xercesImpl</artifactId>
<version>2.6.0</version>
<url>http://xml.apache.org</url>
<properties>
<runtime>true</runtime>
</properties>
</dependency>

<dependency>
<id>xml-apis</id>
<version>1.0.b2</version>
<properties>
<runtime>true</runtime>
</properties>
</dependency>

<dependency>
<id>castor</id>
<version>0.9.5.3 <http://0.9.5.3></version>
<url>http://www.castor.org</url>
<properties>
<runtime>true</runtime>
</properties>
</dependency>

<dependency>
<id>oro</id>
<version>2.0.8</version>
<properties>
<runtime>true</runtime>
</properties>
</dependency>

<dependency>
<groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
<version>1.0.3</version>
<url>http://jakarta.apache.org/commons/logging/</url>
<properties>
<runtime>true</runtime>
</properties>
</dependency>


thanx in advance and regarsd
mar4co


Reply via email to