Tried the 09/16's build...was able to pass the
original error, but got "cannot move jar...make sure
jar is not used by another program" error.   I know it
is not, since I can delete the jar file fine.

E:\try\openejb-1.0-20050916\openejb-1.0-20050916\bin>openejb
deploy -a -m -f \tr
y\app\myejb.jar
OpenEJB Deploy Tool 1.0-20050916    build:
20050916-2036
http://www.openejb.org

This jar contains the following beans:
  Hello


-----------------------------------------------------------
Deploying bean: Hello
-----------------------------------------------------------

==--- Step 1 ---==

Auto assigning the ejb-name as the deployment id for
this bean.

Deployment ID: Hello
==--- Step 2 ---==

Auto assigning the container the bean will run in.

Container: Default Stateless Container

ERROR in \try\app\myejb.jar
Deploy option -m.  Could not move jar
E:\try\app\myejb.jar to E:\try\openejb-1.0
-20050916\openejb-1.0-20050916\beans\myejb.jar.  Make
sure the jar is not open i
n another program.

--- Marco Mistroni <[EMAIL PROTECTED]> wrote:

> 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
> >
> 


thanks, 

Lin


                
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

Reply via email to