I'm on it. Testing fix now.

/R

Roberto Leong wrote:
> 
> I�m getting the same behavior with the CD example
> 
> here�s a client code sample:
> 
> ....
>                         Collection c = home.findAll();
>                         System.out.println(c.size());
> 
>                         for(Iterator it=c.iterator(); it.hasNext(); ) {
>                                 Object obj =it.next();
>                                 System.out.println(obj.getClass());
> 
>                                 System.out.println(obj.toString());
> 
>                                 CD ci = (CD)obj;
>                                 System.out.println(ci.getNotes());
>                         }
> ...
> 
> the output is the following
> 
> HomeProxy:findAll
> 2
> class $Proxy1
> CD:4
> java.lang.ClassCastException: java.rmi.MarshalledObject         at
> $Proxy1.getNotes(Unknown Source)        at
> ejb.roberto.InterestClient.main(InterestClient.java:45)
> 
> -----Original Message-----
> From: Ingo Bruell [mailto:[EMAIL PROTECTED]]
> Sent: Quarta-feira, 16 de Agosto de 2000 16:32
> To: jBoss
> Subject: Re: [jBoss-User] Exception getting Collection
> 
> Hi,
> 
> > I think you need to update your jboss-client.jar in your clients
> > classpath... as I said before I updated the proxy behaviour as part of
> > the performance fix, so the client classes had to change.
> 
> I have deleted the created directories from the built process and have
> rebuilt them. After that I have copied them in the required paths for jBoss
> and for the clients. But the error was thrown again.
> 
> so long
> 
> Ingo Bruell
> 
> ---
> OBL GmbH ([EMAIL PROTECTED])
> Hude (Oldenburg)
> Germany
> 
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Problems?:           [EMAIL PROTECTED]
> 
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Problems?:           [EMAIL PROTECTED]

-- 
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]

Reply via email to