Hello, there's a message that Mr David Blevin just posted when i raised same problem here's the answer Marco,
I've put up an unstable (i.e. non-official) build of 1.0 containing Jeremy's fix. Download here: http://openejb.org/unstable/v1.0-20050916/ Or just change the openejb version number in your project.xml from 1.0-beta1 to 1.0-20050916 and maven should download it automatically. We'll leave that build up till the next official release comes out, then it will disappear. Let us know how it goes. regards marco On 9/19/05, lin sun <[EMAIL PROTECTED]> wrote: > > I followed the Hello World EJB sample and was able to > compile the java files and start the openejb server. > However, whenever I tried to deploy the myHelloEjb.jar > file, I hit the following error: > > E:\try\openejb-1.0-beta1\openejb-1.0-beta1\bin>openejb > deploy -a -m \try\app\myHelloEjb.jar > OpenEJB Deploy Tool 1.0-beta1 build: 20050829-2233 > http://www.openejb.org > > > ERROR in \try\app\myHelloEjb.jar > Cannot find the ejb-jar.xml in > \try\app\myHelloEjb.jar. > > But I know I had ejb-jar.xml in the myHelloEjb.jar > file--see below. Please help! > > E:\try\app>jar cvf myHelloEjb.jar org META-INF > added manifest > adding: org/(in = 0) (out= 0)(stored 0%) > adding: org/acme/(in = 0) (out= 0)(stored 0%) > adding: org/acme/HelloBean.class(in = 753) (out= > 393)(deflated 47%) > adding: org/acme/HelloBean.java(in = 524) (out= > 225)(deflated 57%) > adding: org/acme/HelloHome.class(in = 263) (out= > 188)(deflated 28%) > adding: org/acme/HelloHome.java(in = 204) (out= > 142)(deflated 30%) > adding: org/acme/HelloObject.class(in = 234) (out= > 177)(deflated 24%) > adding: org/acme/HelloObject.java(in = 188) (out= > 136)(deflated 27%) > ignoring entry META-INF/ > adding: META-INF/ejb-jar.xml(in = 930) (out= > 389)(deflated 58%) > > > > thanks, > > Lin > > > > __________________________________ > Yahoo! Mail - PC Magazine Editors' Choice 2005 > http://mail.yahoo.com >
