Ok, I could fix this introducing a interface annotated with @Local and looking 
that one up within my client.

Hm... probably a beginners error - I am letting client and EJB run on the same 
physical host :-/

Next I received another ClassNotFoundException for TimedObjectInvoker which I 
could fix by adding the jboss.jar to my client project.

What I am observing now is:


  | java.lang.NullPointerException
  |     at 
org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:74)
  |     at $Proxy0.add(Unknown Source)
  |     at client.MyCalculator_Client.main(MyCalculator_Client.java:34)
  | 

But I think the solution to this is described here:

[url]
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3915623#3915623
[/url]

I will give this a try...

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3924803#3924803

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3924803


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to