Problem with HelloWorld

View: New views
2 Messages — Rating Filter:   Alert me  

Problem with HelloWorld

by Andrej Trifkovic :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

 

  Hi, I have a problem with OpenEJB. I try to run HelloWorld example in Eclipse

  with standalone OpenEJB and I get message like this :

 

 /HelloBeanRemote does not exist in the system. 
Check that the app was successfully deployed.

 

 In addition I send you openejb.log.

 

 Andrej Trifkovic 



Re: Problem with HelloWorld

by David Blevins :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Jul 15, 2008, at 10:35 AM, Andrej Trifkovic wrote:

>   Hi, I have a problem with OpenEJB. I try to run HelloWorld example  
> in Eclipse
>   with standalone OpenEJB and I get message like this :
>
>  /HelloBeanRemote does not exist in the system.
> Check that the app was successfully deployed.
>
>  In addition I send you openejb.log.

Thanks for the log!  Looks like the hello.jar was found, but there  
doesn't appear to be any EJBs in it.

Can you run this command on the command line and send the output:

   jar tvf C:\openejb-3.0\apps\hello.jar

You should see something like:

      0 Sat Jul 12 16:47:06 PDT 2008 META-INF/
    127 Sat Jul 12 16:47:04 PDT 2008 META-INF/MANIFEST.MF
      0 Sat Jul 12 16:47:04 PDT 2008 org/
      0 Sat Jul 12 16:47:04 PDT 2008 org/acme/
      0 Sat Jul 12 16:47:04 PDT 2008 org/acme/
     10 Sat Jul 12 16:47:04 PDT 2008 META-INF/ejb-jar.xml
    168 Sat Jul 12 16:47:04 PDT 2008 org/acme/Hello.class
    275 Sat Jul 12 16:47:04 PDT 2008 org/acme/HelloBean.class

-David

LightInTheBox - Buy quality products at wholesale price