Hey Peter,

So as a disclaimer, I haven't researched this thoroughly, but wanted to share 
my thoughts.  The patch, which we are running in production, quelled the 
surface exception of this class not being serializable, but I believe (again, 
not researched) that possibly more serializable exceptions fell out from under 
it.  Particularly, I've seen, in passing, some Item.java not serializable 
exceptions.

Richard Rodgers and I have discussed this only briefly, but if you look into 
this deeper, our concerns were that there were possibly references to classes 
in DSpaceFeedGenerator that should not be held onto and should not be cached.

Sorry for the sparse nature of the reply, but in my experience, every little 
bit of information helps.  I'll let you know if I see any other evidence of 
this.


Cheers,

--
sands fish
Senior Software Engineer
MIT Libraries
Technology Research & Development
[email protected]<mailto:[email protected]>
E25-131





On Feb 2, 2011, at 5:14 PM, Peter Dietz (DuraSpace JIRA) wrote:


   [ 
https://jira.duraspace.org/browse/DS-296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18828#action_18828
 ]

Peter Dietz commented on DS-296:
--------------------------------

We just switched our production instance to XMLUI, and we're seeing this error 
frequently.
Anyone with experience with cocoon serialization / DSpaceFeedGenerator care to 
weigh in?

I may consider Wendy's fix, but I'm thinking I would first want to throw lots 
of log.debug()'s in the code to trace down what's going on where.

DspaceFeedGenerator not serializable?!
--------------------------------------

               Key: DS-296
               URL: https://jira.duraspace.org/browse/DS-296
           Project: DSpace
        Issue Type: Bug
        Components: XMLUI
  Affects Versions: 1.5.2, 1.6.0
          Reporter: Flávio Botelho

For some reason, the code wants to serialize 
org.dspace.app.xmlui.cocoon.DSpaceFeedGenerator, should it?
If so than it needs to implement serializable.
Else somewhere there is a pointer to such an object that shouldn't be.
tor--8594061610370491601_T-i18n-context://i18n/?pt_BR__S-xml-;encoding=UTF-8;indent=yes'.
 Initial cause was org.dspace.app.xmlui.cocoon.DSpaceFeedGenerator
java.io.NotSerializableException: 
org.dspace.app.xmlui.cocoon.DSpaceFeedGenerator
       at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1081)
       at 
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
       at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
       at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
       at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
       at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1251)
       at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075)
       at 
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
       at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
       at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
       at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
       at 
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
       at 
java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
       at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
       at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
       at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
       at net.sf.ehcache.store.DiskStore.serializeEntry(DiskStore.java:739)
       at net.sf.ehcache.store.DiskStore.writeElement(DiskStore.java:678)
       at net.sf.ehcache.store.DiskStore.writeOrReplaceEntry(DiskStore.java:667)
       at net.sf.ehcache.store.DiskStore.flushSpool(DiskStore.java:639)
       at 
net.sf.ehcache.store.DiskStore.throwableSafeFlushSpoolIfRequired(DiskStore.java:615)
       at 
net.sf.ehcache.store.DiskStore.spoolAndExpiryThreadMain(DiskStore.java:583)
       at net.sf.ehcache.store.DiskStore.access$800(DiskStore.java:65)
       at 
net.sf.ehcache.store.DiskStore$SpoolAndExpiryThread.run(DiskStore.java:1057)

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://jira.duraspace.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to