John McDonald wrote:
>
> Rickard,
> Actually, these classes are "left over" from the RMI I had implimented prior
> to moving to JNP(in Jboss). Which means the object that I'm passing extends
> UnicastRemoteObject and implements my remote interface. In the case of
> jndi(which I am new to ) must I impliment the Referenceable interface,
> instead of the remote interface? Also, I only recieve this NPE when I
> attempt to bind remotely. All is well when I bind on the same machine as the
> JNP.
>
> What do you think?
Well.. uhm, the line where the NPE was thrown from is trying to use a
Reference since the bound object was a Referenceable. And the obtained
Reference is null. That is what the code is saying. What you are saying
is not what the JNP code is saying, so something is strange, that's for
sure.
Hmm.....
/Rickard
--
Rickard �berg
Email: [EMAIL PROTECTED]
http://www.telkel.com
http://www.jboss.org
http://www.dreambean.com
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Problems?: [EMAIL PROTECTED]