Platform: Windows XP Prof
Java: version "1.5.0_06"
openEJB: 3.0-beta-1 build: 20070926-12:34
Example: http://openejb.apache.org/hello-world.html
Problems:
* when deploying the hello.jar, the screen output is different
from the ones on your website, i.e. no jndi name !
> openejb deploy hello.jar
Application deployed successfully at "hello.jar"
App(id=C:\user\Shiping.Chen\Test\J2EE\openEJB\projects\hello.jar)
EjbJar(id=hello.jar,
path=C:\user\Shiping.Chen\Test\J2EE\openEJB\projects\hello.jar)
* As a result, the naming service cannot find the hello bean:
>java org.acme.Tester
Exception in thread "main" javax.naming.NameNotFoundException:
/HelloBeanRemote does not exist in the system. Check that the app was
successfully deployed.
at
org.apache.openejb.client.JNDIContext.lookup(JNDIContext.java:239)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at org.acme.Tester.main(Tester.java:16)
* 'openejb undeploy' does not work
I believe that making the simplest example working is very important for
the image of openejb!
Regards,
--
Shiping Chen
Senior Research Scientist, PhD
CSIRO ICT Centre Australia www.ict.csiro.au
PO Box 76, Epping, NSW 1710, Australia
Email: shiping.chen@csiro.au
http://www.ict.csiro.au/staff/shiping.chen
|