[jboss-user] [EJB 3.0] - Re: Can't get a stateless session bean to work - JNDI can't

Azavia do-not-reply at jboss.com
Fri Nov 17 21:51:49 EST 2006


Hi,

I've made progress. Not sure why, but the error has changed to:

java.lang.ClassCastException: $Proxy75 cannot be cast to com.azavia.calculator.ejb.Calculator

The line is:

	    Calculator calculator = (Calculator)context
  | 		    .lookup("CalculatorApplication/CalculatorBean/remote");

Have tried redeploying a few times, and restarting JBoss, to no avail.

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

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



More information about the jboss-user mailing list