Solved

java.io.NotSerializableException

Posted on 2001-07-11
3
246 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
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 …

910 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

20 Experts available now in Live!

Get 1:1 Help Now