tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblevins <dblev...@visi.com>
Subject Re: Bugs Report
Date Sun, 21 Oct 2007 17:34:34 GMT

It seems like the business interface isn't getting picked up.  Definitely
check that the bean implements an interface and that interface is annotated
with either javax.ejb.Local or javax.ejb.Remote.

Also if you can send us your log file and we can take a look.  Set the
"OpenEJB.startup" and "OpenEJB.startup.config" categories to DEBUG, try
deploying again, then attach the log file to a new JIRA issue (emailing them
to the list doesn't seem to work).

The examples.zip on our download page has examples that are already typed in
and ready to go.  You might want to give on of those a try.

-David


Shiping.Chen wrote:
> 
> 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 
> 
>  
> 
>  
> 
>  
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Bugs-Report-tf4655708.html#a13331246
Sent from the OpenEJB User mailing list archive at Nabble.com.


Mime
View raw message