Hi,

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. Below is 
the result of my deploying the myHelloEjb.jar file created as per the 
instructions in the Hello World example. It seems to say it's created the 
file but when I check the resulting jar file in the beans directory with:

jar tf myHelloEjb.jar

it is not listed in the contents. I've included the output of running that 
command below also. Naturally when I try to use the client program the jndi 
lookup for Hello fails. 

I've looked through the archives and seen that others have had a similar 
problem, but didn't really see any resolution (although I've probably missed 
it).

If someone has any ideas I'd really appreciate it.

Thank you
BJ

OUTPUT OF DEPLOY:

# ./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

Reply via email to