• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Not Serializable Exception on server startup

 
Ranch Hand
Posts: 238
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi

I get an exception in my jboss console regarding one of my classes that it is not serializable when I start my jboss

[ManagerBase] IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: com.r911.core.model.SurveyAnswer
java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: com.r911.core.model.SurveyAnswer

But when I restart my jboss I dont get this exception and then if I shutdown and start I get it again and that how it alternates. Can some tell me what is wrong.
Thanks
Imad
 
Ranch Hand
Posts: 775
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is this a webapp? Sounds like the kind of error you'd get if you bound something to an HttpSession that wasn't serializable. If the server tried to restore the session (which for the integrated Tomcat I believe it does) then you might see messages like this.
reply
    Bookmark Topic Watch Topic
  • New Topic