This is probably a silly newbie question but after finally getting a CMP
EntityBean to deploy without NullPointerException, I find this in my
client when I call a create method.

Does anyone out there in guru-land know what this means, have I still
got the deployment stuff wrong? Is my bean incorrectly coded? jboss bug?
(unlikely) :-).

Please help as I am so close now and yet ...

C:\Geoff\install\jboss\deploy\newsitem>java -classpath
.;..\..\lib\ext\jboss-client.jar;..\..\lib\ext\ejb.jar;..\..\lib\ext\jnpserver.jar
com.ironico.ejb.news.NewsItemClient

java.lang.ClassCastException: com.ironico.ejb.news.NewsItem$Proxy
        at
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:245)
        at
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:220)
        at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122)
        at
org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker_Stub.invokeHome(Unknown
Source)
        at
org.jboss.ejb.plugins.jrmp.interfaces.HomeProxy.invoke(HomeProxy.java:80)
        at
org.jboss.proxy.ProxyCompiler$Runtime.invoke(ProxyCompiler.java:74)
        at com.ironico.ejb.news.NewsItemHome$Proxy.create(UnknownSource)
        at
com.ironico.ejb.news.NewsItemClient.main(NewsItemClient.java:38)

Thanks all,

Geoff H.


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to