Marco,
What command did you use to create the Jar file? Some zip tools mess
up the Jar encoding so when the VM attempts to load the Jar it gets
confused.
-dain
On Sep 10, 2005, at 2:03 PM, David Blevins wrote:
That jar looks perfectly good. (scratches head)
You had me thinking that maybe the container driven testing support
had been broken, so I pulled down the examples from the series and
updated the openejb version and j2ee.jar version. All the examples
worked just fine. I put the updated version of the examples on the
website for everyone's convenience:
http://www.openejb.org/1.0-beta1/ejb-testing-examples.zip
I am not sure what to look at next. I'd be fine giving your whole
project a try myself if you wanted to send it to me offline--not
sure how much you are comfortable sharing. Otherwise you might
build with 'maven -X' and attach that output plus your maven.xml,
ejb-jar.xml and openejb-jar.xml. Or try deleting the ~/.maven/
repository/openejb/jars/openejb-1.0-beta1.jar from your machine's
maven repo and try downloading again. Definitely, delete the
'target' directory from your project and building again just to be
sure it's clean.
Really want to get to the bottom of this incase anyone else is
having the same issue.
Thanks for your patients,
David
On Sep 10, 2005, at 5:15 AM, Marco Mistroni wrote:
Hello David,
here it is..
0 Fri Sep 09 17:51:30 GMT 2005 META-INF/
408 Fri Sep 09 17:51:28 GMT 2005 META-INF/MANIFEST.MF
[...]
2636 Fri Sep 09 17:51:30 GMT 2005 com/myapp/client/TestClient.class
2316 Fri Sep 09 17:51:30 GMT 2005 com/myapp/common/EntryDTO.class
7196 Fri Sep 09 17:51:26 GMT 2005 META-INF/ejb-jar.xml
2026 Fri Sep 09 17:51:28 GMT 2005 META-INF/jaws.xml
1624 Fri Sep 09 17:51:28 GMT 2005 META-INF/jboss.xml
3037 Fri Sep 09 17:51:28 GMT 2005 META-INF/openejb-jar.xml
722 Fri Sep 09 17:51:30 GMT 2005 openejb.properties
regars
marco
On 9/9/05, David Blevins <[EMAIL PROTECTED]> wrote:
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> <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