Solved

java.io.NotSerializableException

Posted on 2001-07-11
3
256 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…

691 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