Solved

java.io.NotSerializableException

Posted on 2001-07-11
3
242 Views
Last Modified: 2008-02-01
Hi Guys,

Please provide me the way to handle this exception.


Tue Jul 10 22:02:16 EDT 2001:<I> <EJB JAR deployment /home/beta/weblogic/classes/com/ypoint/assetallocation/assetallocation.jar> Ignoring exception raised while passivating:
java.io.NotSerializableException: com.ypoint.global.RecommendedAssets
     at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1148)
     at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)
     at java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java:1841)
     at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:480)
     at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:1214)
     at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:366)
     at weblogic.ejb.pstore.nonTxPSFile.update(nonTxPSFile.java:104)
     at weblogic.ejb.pstore.nonTxPSFile.store(nonTxPSFile.java:159)
     at weblogic.ejb.internal.SessionEJBContext.passivate(SessionEJBContext.java:220)
     at weblogic.ejb.internal.NRUCache.passivateNode(NRUCache.java:422)
     at weblogic.ejb.internal.NRUCache.moveInActiveToFree(NRUCache.java:471)
     at weblogic.ejb.internal.NRUCache.reclaimNodes(NRUCache.java:492)
     at weblogic.ejb.internal.NRUCache.cacheScrubber(NRUCache.java:515)
     at weblogic.ejb.internal.StatefulEJBCache.trigger(StatefulEJBCache.java:563)
     at weblogic.time.common.internal.ScheduledTrigger.executeLocally(ScheduledTrigger.java:197)
     at weblogic.time.common.internal.ScheduledTrigger.execute(ScheduledTrigger.java:191)
     at weblogic.time.server.ScheduledTrigger.execute(ScheduledTrigger.java:62)
     at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

Bye,
Vinayc25
0
Comment
Question by:vinayc25
3 Comments
 
LVL 4

Accepted Solution

by:
kylar earned 50 total points
ID: 6273858
You're trying to send a remote object that isn't serializable. You need to make suer thet com.ypoint.global.RecommendedAssets implements the java.io.Serializable interface.

Kylar
0
 
LVL 5

Expert Comment

by:vemul
ID: 7669874
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
- points to kylar
Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

vemul
Cleanup Volunteer
0
 

Expert Comment

by:modulo
ID: 7729200
Finalized as proposed

modulo

Community Support Moderator
Experts Exchange
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

For customizing the look of your lightweight component and making it look opaque like it was made of plastic.  This tip assumes your component to be of rectangular shape and completely opaque.   (CODE)
This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now