I added the @Local annotation to the AnnotatedEJBLocal interface and
added a @Remote AnnotatedEJBRemote interface to the example; both
work fine for me.
Can you try the servlet-examples war?
As for the test client jar, I rewrote the packing configuration for
it the other day, and tested it on linux and windows. So, if it was
broken before, I'm confident it is fixed now :)
-dain
On Sep 20, 2007, at 11:16 AM, Dario Laverde wrote:
Dain,
Correct, I can't get remote interfaces working (you left out the
@Local annotation
in your example). I also noticed that the optional tests client jar
is packaged
incorrectly (had to unpack it to be able to find and run the Main
class).
-Dario
Forgot to click the send button on this email yesterday :(
On Sep 18, 2007, at 2:17 PM, Dario Laverde wrote:
Dain,
Thanks for the work! I've updated the "New Instructions" adding the
manual steps for
Windows users, you can try including this in your installer.
I updated the installer and tested it.
Just a minor comment, I
also copied the agent jar in addition to the loader jar into
Tomcat's lib folder
because hardcoding to webapps/openejb/lib may be a problem should
webapps be changed
or openejb be deployed w/o unpacking the war/zip.
Interesting idea. I'll give that a try also.
Now for the example, I'm getting the following error:
javax.naming.NameNotFoundException: Name "org.acme.TestServlet/ejb"
not found.
I tried out your example by adding it to the previous example Karan
posted but even
that one no longer works for me:
javax.naming.NameNotFoundException: Name
"GreetingBeanBusinessRemote" not found.
Maybe I'm still missing something?
Can you try my example directly? There may be something wrong with
Karan's example or maybe remote business interfaces are broken.
-dain