Ok now im wierded out. I had the Advice client example running last week just fine, and I come back and rerun it ... and get the following:
D:\WorkSpace\JavaPlayground\EJB\Advice>javac -classpath %CLASSPATH%:AdviceAppClient.jar AdviceClient.java
D:\WorkSpace\JavaPlayground\EJB\Advice>
java -cp %CLASSPATH%:AdviceAppClient.jar;. AdviceClient
begin.....
Getting context
look up advisor
looked up, setting HOME
java.lang.ClassCastException
at com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(Unknown Source)
at javax.rmi.PortableRemoteObject.narrow(Unknown Source)
at AdviceClient.go(AdviceClient.java:23)
at AdviceClient.main(AdviceClient.java:11)
It bloody worked last week. Its doing this deliberately isn't it? Its a conspiricy to freak me out. I just finished doing the developer assignment for the
SCJD exam and was looking forward to focusing on
EJB ... now im thinking about committing myself and getting a nice armless jacket.