[Topaz-dev] serializing Article from Session.get()

Russell Uman ruman at plos.org
Tue Mar 11 15:15:16 PDT 2008


nope. applying pradeep's fix didn't make any change. i get the exact
same error as is posted in the last comment on
http://www.topazproject.org/trac/ticket/806

perhaps my backporting strategy is bad? 

pradeep's check in affected
branches/0.8.2.1/topaz/core/src/main/java/org/topazproject/otm/Session.j
ava

after my build i copied 
	
0.8.2.1/plos/webapp/target/plosone/WEB-INF/lib/otm-0.8.2.1_rc1.jar
into
	/usr/local/topaz/lib
and
	/usr.local/topaz/plosone/webapps/ROOT/WEB-INF/lib

are any other files necessary to backport pradeep's change? (there are
many other files generated from previous check ins that i have also
backported as part of this fix)

> -----Original Message-----
> From: topaz-dev-bounces at topazproject.org 
> [mailto:topaz-dev-bounces at topazproject.org] On Behalf Of Jeff Suttor
> Sent: Tuesday, March 11, 2008 12:17 PM
> To: topaz-dev at topazproject.org
> Subject: Re: [Topaz-dev] serializing Article from Session.get()
> 
> On 03/11/2008 12:09 PM, Pradeep Krishnan wrote:
> > Hi Jeff,
> > 
> > Pradeep Krishnan wrote:
> >> Hi Jeff,
> >>
> >> Jeff Suttor wrote:
> >>> On 03/07/2008 05:38 PM, Pradeep Krishnan wrote:
> >>>> Yes, this is due to proxies.
> >>>> ...
> >>>> So what needs to be done somehow is to ensure that the 
> proxy class 
> >>>> somehow replaces the object that is serialized with an 
> instance of 
> >>>> its super-class. The alternatives that we could come up with all 
> >>>> involves a copy/clone instance.
> >> Looking further into this, the javassist proxy defines a 
> >> writeReplace() method that we can override. Could you try 
> the patch I 
> >> checked in with r4938?
> >>
> > 
> > Did this work for you?
> 
> testing in progress ...
> 
> thanks,
> 
> --
> Jeff
> 
> _______________________________________________
> Topaz-Dev mailing list
> Topaz-Dev at topazproject.org
> http://lists.topazproject.org/mailman/listinfo/topaz-dev
> 

--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
This email is confidential to the intended recipient. If you have received it in error, please notify the sender and delete it from your system. Any unauthorized use, disclosure or copying is not permitted. The views or opinions presented are solely those of the sender and do not necessarily represent those of Public Library of Science unless otherwise specifically stated. Please note that neither Public Library of Science nor any of its agents accept any responsibility for any viruses that may be contained in this e-mail or its attachments and it is your responsibility to scan the e-mail and attachments (if any).



More information about the Topaz-Dev mailing list