
|
If you were logged in you would be able to see more operations.
|
|
|
| Resolution Date: |
25/Sep/06 12:13 AM
|
| Labels: |
|
|
This issue will appear in a couple different ways.
In EJB Validation: ('maven -X' output)
[java] org.openejb.OpenEJBException: Cannot find the ejb-jar.xml in C:\Sw\TestEJB\target\ejb-testing-examples-1.0.jar.
[java] at org.openejb.alt.config.Unmarshaller.unmarshalFromJar(Unmarshaller.java:101)
[java] at org.openejb.alt.config.Unmarshaller.unmarshal(Unmarshaller.java:90)
[java] at org.openejb.alt.config.Unmarshaller.unmarshal(Unmarshaller.java:82)
[java] at org.openejb.alt.config.EjbJarUtils.readEjbJar(EjbJarUtils.java:108)
[java] at org.openejb.alt.config.EjbJarUtils.<init>(EjbJarUtils.java:87)
[java] at org.openejb.alt.config.EjbValidator.main(EjbValidator.java:349)
At startup: (openejb.log)
[WARN] Jar not loaded. Cannot find the ejb-jar.xml
This issue is windows specific.
|
|
Description
|
This issue will appear in a couple different ways.
In EJB Validation: ('maven -X' output)
[java] org.openejb.OpenEJBException: Cannot find the ejb-jar.xml in C:\Sw\TestEJB\target\ejb-testing-examples-1.0.jar.
[java] at org.openejb.alt.config.Unmarshaller.unmarshalFromJar(Unmarshaller.java:101)
[java] at org.openejb.alt.config.Unmarshaller.unmarshal(Unmarshaller.java:90)
[java] at org.openejb.alt.config.Unmarshaller.unmarshal(Unmarshaller.java:82)
[java] at org.openejb.alt.config.EjbJarUtils.readEjbJar(EjbJarUtils.java:108)
[java] at org.openejb.alt.config.EjbJarUtils.<init>(EjbJarUtils.java:87)
[java] at org.openejb.alt.config.EjbValidator.main(EjbValidator.java:349)
At startup: (openejb.log)
[WARN] Jar not loaded. Cannot find the ejb-jar.xml
This issue is windows specific. |
Show » |
|
To extract the ejb-jar.xml, we use xmlFile.getPath(). On Windows, this results in META-INF\ejb-jar.xml, which I think is an invalid JarEntry.