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
Solved

java.io.NotSerializableException

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
servlet  URL Rewriting 1 42
Java: The Public Class Main 4 30
SequenceInputStream example 3 19
Delphi Firemonkey: if the Sms contain special characters it won't send it 3 43
For customizing the look of your lightweight component and making it look lucid like it was made of glass. Or: how to make your component more Apple-ish ;) This tip assumes your component to be of rectangular shape and completely opaque. (COD…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

808 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