On Mon, Feb 02, 2004 at 10:21:17PM -0500, Brendan Grainger wrote:
> I am new to openejb and trying to get the HelloWorld example. I'm using 
> openejb-0.9.2, java 1.4.2 on linux. The problem I have is that no matter what 
> I do I can't seem to get openejb to create the openejb-jar.xml file. 

Try removing the beans/myHelloEjb.jar file by hand.  I suspect that the server may be 
running which would prevent it from being updated.  

-David


> 
> # ./openejb.sh deploy -a -m -f /usr/local/openejb-0.9.2/example/myHelloEjb.jar
> --------------SUPPORT INFO-------------
> Linux 2.6.1-apm #1 Wed Jan 28 23:19:26 EST 2004
> Using JAVA_HOME:     /usr/local/java
> Using OPENEJB_HOME:  /usr/local/openejb-0.9.2
> .
> OpenEJB Deploy Tool 0.9.2    build: 20030605-0409
> http://openejb.sf.net
> 
> 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
> 
> -----------------------------------------------------------
> Done collecting deployment information!
> Creating the openejb-jar.xml file...done
> Writing openejb-jar.xml to the jar...done
> 
> Congratulations! Your jar is ready to use with OpenEJB.
> 
> If the OpenEJB remote server is already running, you will
> need to restart it in order for OpenEJB to recognize your bean.
> 
> NOTE: If you move or rename your jar file, you will have to
> update the path in this jar's deployment entry in your
> OpenEJB config file.
> 
> OUTPUT OF jar tf beans/myHelloEjb.jar
> # jar tf beans/myHelloEjb.jar
> META-INF/
> META-INF/MANIFEST.MF
> org/
> org/acme/
> org/acme/HelloBean.java
> org/acme/HelloHome.java
> org/acme/HelloObject.java
> org/acme/HelloBean.class
> org/acme/HelloHome.class
> org/acme/HelloObject.class
> org/acme/HelloWorld.java
> org/acme/HelloWorld.class
> META-INF/
> META-INF/ejb-jar.xml
> 
> 
> 
> -------------------------------------------------------
> The SF.Net email is sponsored by EclipseCon 2004
> Premiere Conference on Open Tools Development and Integration
> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> http://www.eclipsecon.org/osdn
> _______________________________________________
> http://OpenEJB.sf.net
> OpenEJB-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/openejb-user


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
http://OpenEJB.sf.net
OpenEJB-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openejb-user

Reply via email to