Issue Details (XML | Word | Printable)

Key: OPENEJB-61
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Jeremy Whitlock
Reporter: David Blevins
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
OpenEJB

Windows: Cannot find the ejb-jar.xml

Created: 16/Sep/05 03:44 PM   Updated: 20/Sep/05 03:12 PM  Due: 25/Sep/06
Component/s: deployment
Affects Version/s: 1.0 beta 1
Fix Version/s: 1.0

Time Tracking:
Not Specified

Resolution Date: 25/Sep/06 12:13 AM
Labels:


 Description  « Hide
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.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
David Blevins added a comment - 16/Sep/05 03:48 PM
Comments from Jeremy:
  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.

Jeremy Whitlock added a comment - 20/Sep/05 03:12 PM
Thanks to the resolution of these issues, Windows support for the OpenEJB tests and examples are now complete.