NotSerializableException

I have a class that imports :
import com.sun.xml.tree.ElementNode.*;
in this class i use createElement function, getElementsByTagName it gives an exception as :
java.io.NotSerializableException: com.sun.xml.tree.ElementNode
The console output is:
java.io.NotSerializableException: com.sun.xml.tree.ElementNode
at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:845)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:342)
at java.util.Hashtable.writeObject(Hashtable.java:738)
at java.lang.reflect.Method.invoke(Native Method)
at java.io.ObjectOutputStream.invokeObjectWriter(ObjectOutputStream.java:1585)
at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:907)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:342)
at java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java:1567)
at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:453)
at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:911)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:342)
at java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java:1567)
at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:453)
at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:911)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:342)
at java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java:1567)
at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:453)
at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:911)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:342)
at java.util.Hashtable.writeObject(Hashtable.java:738)
at java.lang.reflect.Method.invoke(Native Method)
at java.io.ObjectOutputStream.invokeObjectWriter(ObjectOutputStream.java:1585)
at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:907)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:342)
at java.io.ObjectOutputStream.outputClassFields(ObjectOutputStream.java:1567)
at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:453)
at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.java:911)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:342)
at com.netscape.server.servlet.platformhttp.PlatformNASSession.putMemberValue(Unknown Source)
at com.netscape.server.servlet.platformhttp.PlatformNASSession.saveSession(Unknown Source)
at com.netscape.server.servlet.platformhttp.PlatformHttpServletRequest.saveSession(Unknown Source)
at com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unknown Source)
at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
at com.kivasoft.applogic.AppLogic.execute(Unknown Source)
at com.kivasoft.thread.ThreadBasic.run(Native Method)
at java.lang.Thread.run(Thread.java:479)
The class prg is :
package nncls;
import java.io.*;
import java.util.*;
import javax.xml.parsers.*;
import org.xml.sax.*;
import org.w3c.dom.*;
import com.sun.xml.tree.*;
import com.sun.xml.tree.ElementNode.*;
class ElementTest extends com.sun.xml.tree.ElementNode implements java.io.Serializable {
     public ElementTest(){};
public class DataCarrier implements java.io.Serializable
     XmlDocument gXmlDocument;
     Node gRootNode;
     int gReferenceIdCtr;
     Hashtable gReferenceTable;
     public DataCarrier() {
     public DataCarrier(String pObjectName){
               gXmlDocument = new XmlDocument();
               gReferenceTable = new Hashtable();
               Node eroot = gXmlDocument;
               gRootNode = (Node)gXmlDocument.createElement("OBJECT");
               eroot.appendChild(gRootNode);
               eroot = gRootNode;
               gRootNode = (Node)gXmlDocument.createElement("NAME");
               eroot.appendChild(gRootNode);
               Text textnode = gXmlDocument.createTextNode(pObjectName);
               gRootNode.appendChild(textnode);
               gRootNode = (Node)gXmlDocument.getDocumentElement();
     public String traverseRecord(String refid) {
          try {
          System.out.println("In traverse record");
          boolean found = false;
          Node s5treenode ;
          s5treenode = null;
          System.out.println("In traverse record b4 getelementsbytagname");
          //eTestNode=(Element)gRootNode;
          NodeList list = ((Element)gRootNode).getElementsByTagName("REFID");
          System.out.println("In traverse record list.getLength()" + list.getLength());
          for(int i = 0;i < list.getLength();i++)
               System.out.println("in for loop of traverseRecord list.item(i) :" + list.item(i));
               s5treenode =list.item(i);
               String str5 = getValue(s5treenode);
               if(str5.equalsIgnoreCase(refid)) {
                    s5treenode = list.item(i);
                    found = true;
                    break;
          System.out.println("----------------------------");
          System.out.println("found?? :" + found);
          if(found)
               Node parentnode = (s5treenode.getParentNode()).getParentNode();
               Node namenode = findFirst(parentnode,"NAME");
               System.out.println("name node value :" + namenode);
               if(namenode != null)
                    Node testNode=(Node)s5treenode.getParentNode();
                    System.out.println("b4 putting in gref hastable" + s5treenode.getParentNode());
                    gReferenceTable.put(getValue(namenode),testNode);
                    System.out.println("aft putting");
                    return getValue(namenode);
               else
                    return "";
          return "";
     }catch(Exception e) {
          System.out.println(" in traverseRecord: " + e);
          return "";
     public Node findFirst(Node node,String name)     {
          try {
          System.out.println("in findFirst the value of node: " + node);
          if(node == null) {
               return null;
          Node s5treenode = node.getFirstChild();
          System.out.println("in find first the value of s5treenode:" + s5treenode);
          while(s5treenode != null) {
               if(s5treenode.getNodeName().equalsIgnoreCase(name)) {
                    System.out.println("the return value of s5treenode:"+ s5treenode);
                    return s5treenode;
               s5treenode = s5treenode.getNextSibling();
          System.out.println("-------------------------------------------");
          System.out.println("returning null in find first");
          return null;
     } catch(Exception e) {
          System.out.println("Exception in findFirst" + e);
          return null;
     public Node findNext(Node node,String name) {
          try{
          if(node == null) {
               return null;
          Node s5treenode = node.getNextSibling();
          while(s5treenode != null) {
               if(s5treenode.getNodeName().equalsIgnoreCase(name)) {
                    return s5treenode;
               s5treenode = s5treenode.getNextSibling();
          return null;
     } catch(Exception e) {
          System.out.println("Exception in findNext" + e);
          return null;
public Node findPrevious(Node node,String name) {
          try {
          if(node == null) {
               return null;
          Node s5treenode = null;
          s5treenode = node.getPreviousSibling();
          while(s5treenode != null) {
               if(s5treenode.getNodeName().equalsIgnoreCase(name)) {
                    return s5treenode;
               s5treenode = s5treenode.getPreviousSibling();
          return null;
     } catch(Exception e) {
          System.out.println("Exception in findPrevious" + e);
          return null;
     public String getValue(Node tempnode) {
          try {
          System.out.println("In get value");
          System.out.println("the val of tempnode.getFirstChild() in getValue : "+ tempnode.getFirstChild());
               System.out.println("has child nodes!!!!!!!!!!!!!!!!!!!!!!");
               Node child = tempnode.getFirstChild();
               System.out.println("after associating to child" + child);
               if((child != null) && (child.getNodeType() == Node.TEXT_NODE)) {
                         System.out.println(" the val of ((Text)child).getData(): " + ((Text)child).getData());
                         System.out.println("at the end of getValue");
                         return ((Text)child).getData();
               else {
                    System.out.println("in else the value of return value is empty");
                    return "";
          } catch(Exception e) {
               System.out.println("Exception in getValue" + e);
               return "";
     public void setValue(Node tempnode,String value) {
          try {
          if(value == null)
               value = "";
          value = value.trim();
          System.out.println(tempnode + "In setData function");
          System.out.println("The child is in setValue function: " + tempnode.getFirstChild());
          Node child = tempnode.getFirstChild();
          System.out.println("the node type in setData is: " + child);
          if((child != null) && (child.getNodeType() == Node.TEXT_NODE)) {
                    ((Text)child).setData(value);
          else
               Text textnode = gXmlDocument.createTextNode(value);
               tempnode.appendChild(textnode);
               System.out.println("At teh end of setValue before return");
               return;
          System.out.println("At teh end of setValue");
     } catch(Exception e) {
          System.out.println("Exception in setVALUE" + e);
          return;
     public String getObjectName()
          try{
          Node lObject = (Node)gReferenceTable.get("OBJECT");
          Node lNameNode = findFirst(lObject,"NAME");
          if(lNameNode != null)
               return getValue(lNameNode);
          else
               return "";
          }catch(Exception e) {
               System.out.println("Exception in getObjectName" + e);
               return "";
     public void firstObject()
          try{
          Node testNode=(Node)gRootNode;
          gReferenceTable.put("OBJECT",testNode);
          } catch(Exception e) {
               System.out.println("Exception in firstObject" + e);
     public boolean nextObject()
          try {
          Node lObject = (Node)gReferenceTable.get("OBJECT");
          lObject = findNext(lObject,"OBJECT");
          if(lObject != null)
               gReferenceTable.put("OBJECT",lObject);
               return true;
          else
               return false;
          }catch(Exception e) {
               System.out.println("Exception in nextobject" + e);
               return false;
     public void save()
          try {
               FileWriter files = new FileWriter("c:\\save.xml");
               gXmlDocument.write(files);
          } catch(Exception e) {
               System.out.println("In exception of save");
               e.printStackTrace();}
     public String getRecordOperation(String pType)
          try {
          System.out.println("In getrecordOperation ");
          Node recordnode = (Node)gReferenceTable.get(pType);
          Node performnode = findFirst(recordnode,"PERFORM");
          if(performnode != null)
               return getValue(performnode);
          return "";
          }catch(Exception e) {
               System.out.println("Exception in getRecordOperation" + e);
               return "";
     public void setRecordOperation(String pType,String pOperation)
          try {
          Node recordnode = (Node)gReferenceTable.get(pType);
          Node performnode = (Node)findFirst(recordnode,"PERFORM");
          if(performnode != null)
               setValue(performnode,pOperation);
          return;
          }catch(Exception e) {
               System.out.println("Exception in setRecordOperation" + e);
     public void InsertRoot(String type,String perform)
          try {
          Node child = (Node)gXmlDocument.createElement("RECORD");
          Node parent = gXmlDocument.getDocumentElement();
          System.out.println("in insert root");
          parent.appendChild(child);
          System.out.println("b4 putting in hashtable of insert root");
          gReferenceTable.put(type,child);
          System.out.println("aft putting in hashtable of insert root");
          Node childrecord;
          childrecord = (Node)gXmlDocument.createElement("PERFORM");
          child.appendChild(childrecord);
          System.out.println(childrecord + "append chile done" + childrecord.getNodeValue());
          setValue(childrecord,perform);
          childrecord = (Node)gXmlDocument.createElement("REFID");
          child.appendChild(childrecord);
          gReferenceIdCtr = gReferenceIdCtr + 1;
          String value = Integer.toString(gReferenceIdCtr);
          setValue(childrecord,value);
          System.out.println("At teh end of insrert root");
          }catch (Exception e) {
               System.out.println("Exception in InsertRoot" + e);
     private Node getDetail(Node parent,String type)
          try {
          NodeList list = ((Element)parent).getElementsByTagName("DETAIL");
          if(list.getLength() > 0)
               for(int i =0;i<list.getLength();i++)
                    Node detailnode = list.item(i);
                    Node namenode = detailnode.getFirstChild();
                    if(getValue(namenode).equalsIgnoreCase(type))
                         return detailnode;
          Node detailnode = (Node)gXmlDocument.createElement("DETAIL");
          parent.appendChild(detailnode);
          Node namenode = (Node)gXmlDocument.createElement("NAME");
          detailnode.appendChild(namenode);
          Node textnode = gXmlDocument.createTextNode(type);
          namenode.appendChild(textnode);
          return detailnode;
          } catch (Exception e) {
               System.out.println("Exception in getDetail" + e);
               return null;
     public void InsertChild(String parenttype,String type,String perform)
          try {
          Node parent = (Node)gReferenceTable.get(parenttype);
          Node detailnode = getDetail(parent,type);
          Node child = (Node)gXmlDocument.createElement("RECORD");
          detailnode.appendChild(child);
          gReferenceTable.put(type,child);
          Node childrecord;
          childrecord = (Node)gXmlDocument.createElement("PERFORM");
          child.appendChild(childrecord);
          if(perform.equals(""))
          else
               setValue(childrecord,perform);
          childrecord = (Node)gXmlDocument.createElement("REFID");
          child.appendChild(childrecord);
          gReferenceIdCtr = gReferenceIdCtr + 1;
          String value = Integer.toString(gReferenceIdCtr);
          setValue(childrecord,value);
          } catch(Exception e) {
               System.out.println("Exception in InsertChild" + e);
     public void AddField(String type,String fieldname,String fieldvalue)
          try {
          Node fieldnode;
          Node childnode;
          System.out.println("in addfield b4 parentnode");
          Node parent = (Node)gReferenceTable.get(type);
          System.out.println("aft get");
          fieldnode = (Node)gXmlDocument.createElement("FIELD");
          System.out.println("aft creating fieldnode");
          parent.appendChild(fieldnode);
          System.out.println("aft appendchild of fiel node");
          childnode = (Node)gXmlDocument.createElement("NAME");
          fieldnode.appendChild(childnode);
          setValue(childnode,fieldname);
          childnode = (Node)gXmlDocument.createElement("VALUE");
          fieldnode.appendChild(childnode);
          setValue(childnode,fieldvalue);
          //code changed by bala as on 13-08-2001
          childnode = (Node)gXmlDocument.createElement("OLDVALUE");
          fieldnode.appendChild(childnode);
          System.out.println("Allappend child done in addfield now calling setval");
          setValue(childnode,fieldvalue);
          //end of code changed by bala as on 13-08-2001
          } catch(Exception e) {
               System.out.println("Exception in AddField" + e);
     public String getField(String type,String fieldname)
          try {
          System.out.println( "In getField");
          Node recordnode = (Node)gReferenceTable.get(type);
          System.out.println( "after reference table in getField");
          Node fieldnode = findFirst(recordnode,"FIELD");
          System.out.println( "the value of fieldNode in getField :"+ fieldnode);
          while(fieldnode != null)
               System.out.println( "in getField the field type is:" + type + " fieldname : "+ fieldname);
               if((getValue((Node)findFirst((Node)fieldnode,"NAME"))).equalsIgnoreCase(fieldname)) {
                    System.out.println("-------------------------------------------");
                    System.out.println("in getfield b4 second time calling getValue:" + fieldnode);
                    return getValue((Node)findFirst((Node)fieldnode,"VALUE"));
               fieldnode = findNext(fieldnode,"FIELD");
          return "";
          } catch(Exception e) {
               System.out.println("Exception in getField" + e);
               return "";
     public void setField(String type,String fieldname,String fieldvalue)
          try {
               Node recordnode = (Node)gReferenceTable.get(type);
               Node fieldnode = findFirst(recordnode,"FIELD");
               boolean lFieldSet = false;
               while(fieldnode != null)
                    if((getValue(findFirst(fieldnode,"NAME"))).equalsIgnoreCase(fieldname))
                         lFieldSet = true;
                         setValue(findFirst(fieldnode,"VALUE"),fieldvalue);
                    fieldnode = findNext(fieldnode,"FIELD");
               if(!lFieldSet)
                    AddField(type,fieldname,fieldvalue);
          } catch(Exception e) {
               System.out.println("Exception in setField" + e);
     public boolean firstRecord()
          try {
          Node namenode = findFirst((Node)gRootNode,"NAME");
          Node recordnode = findNext(namenode,"RECORD");
          if(recordnode != null)
               gReferenceTable.put(getValue(namenode),recordnode);
               return true;
          return false;
     } catch(Exception e) {
          System.out.println("Exception in firstRecord" + e);
          return false;
     public boolean nextRecord(String type)
          try {
          Node recordnode = (Node)gReferenceTable.get(type);
          Node nextrecordnode = findNext(recordnode,"RECORD");
          if(nextrecordnode != null)
               gReferenceTable.put(type,nextrecordnode);
               return true;
          return false;
          } catch(Exception e) {
               System.out.println("Exception in nextRecord" + e);
               return false;
public boolean previousRecord(String type)
          try {
          Node recordnode = (Node)gReferenceTable.get(type);
          Node nextrecordnode = findPrevious(recordnode,"RECORD");
          if(nextrecordnode != null)
               gReferenceTable.put(type,nextrecordnode);
               return true;
          return false;
          }catch(Exception e) {
               System.out.println("Exception in previousRecord" + e);
               return false;
     public boolean firstChildRecord(String parenttype,String childtype)
          try
               Node parentrecordnode = (Node)gReferenceTable.get(parenttype);
               Node detailnode = (Node)findFirst(parentrecordnode,"DETAIL");
                         if(detailnode == null)
                              gReferenceTable.remove(childtype);
                              return false;
               while(detailnode != null)
                    Node namenode = detailnode.getFirstChild();
                    if(getValue(namenode).equalsIgnoreCase(childtype))
                         Node recordnode = (Node)findNext(namenode,"RECORD");
                         if(recordnode != null)
                              gReferenceTable.put(childtype,recordnode);
                              return true;
                    detailnode = findNext(detailnode,"DETAIL");
               return false;
          catch(Exception e)
               System.out.println(" in catch of firstChildRecord");
               e.printStackTrace();
               return false;
     public String getRootReferenceId()
          try {
          Node lRecordNode = findFirst((Node)gRootNode,"RECORD");
          if(lRecordNode == null)
               return "0";
          Node lReferenceIdNode = findFirst(lRecordNode,"REFID");
          return getValue(lReferenceIdNode);
          } catch(Exception e) {
               System.out.println("Exception in getRootReferenceId" + e);
               return "0";
     public String getReferenceId(String pType)
          try {
          System.out.println("In getReferenceId ");
          Node lRecordNode = (Node)gReferenceTable.get(pType);
          if(lRecordNode == null)
               return "0";
          System.out.println("b4 findFirst in getReference id");
          Node lReferenceIdNode = findFirst(lRecordNode,"REFID");
          System.out.println("after findfirst");
          return getValue(lReferenceIdNode);
          } catch(Exception e) {
               System.out.println("Exception in getReferenceId" + e);
               return "0";
     public boolean nextRecordNode(String pType,String pFilter)
          try {
          String lFilter = "";
          if(pFilter.equalsIgnoreCase("selected"))
               lFilter = "Y";
          Node lRecordNode = (Node)gReferenceTable.get(pType);
          Node lNextRecordNode = findNext(lRecordNode,"RECORD");
          if(lNextRecordNode != null)
               if(lFilter.equals(""))
                    gReferenceTable.put(pType,lNextRecordNode);
                    return true;
               else
                    Node lFieldNode = null;
                    Node lNameNode = null;
                    String lName = "",lValue = "";
                    Node lValueNode = null;
                    while(lNextRecordNode != null)
                         lFieldNode = findFirst(lNextRecordNode,"FIELD");
                         while(lFieldNode != null)
                              lNameNode = findFirst(lFieldNode,"NAME");
                              lName = getValue(lNameNode);
                              if(lName.equalsIgnoreCase("selected"))
                                   lValueNode = findNext(lNameNode,"VALUE");
                                   lValue = getValue(lValueNode);
                                   if(lValue.equalsIgnoreCase(lFilter))
                                        gReferenceTable.put(pType,lNextRecordNode);
                                        return true;
                              lFieldNode = findNext(lFieldNode,"FIELD");
                         lNextRecordNode = findNext(lNextRecordNode,"RECORD");
          else
               return false;
          return false;
          } catch(Exception e) {
               System.out.println("Exception in nextRecordNode" + e);
               return false;
     public void setErrorStatus(String pType,String pErrorCode,String pErrorDescription)
          try {
          Node lRecordNode = (Node)gReferenceTable.get(pType);
          if(lRecordNode != null)
               Node lStatusNode = findFirst(lRecordNode,"STATUS");
               if(lStatusNode == null)
                    lStatusNode = (Node)gXmlDocument.createElement("STATUS");
                    lRecordNode.appendChild(lStatusNode);
                    Node lErrorCodeNode = (Node)gXmlDocument.createElement("ERRORCODE");
                    lStatusNode.appendChild(lErrorCodeNode);
                    Node lErrorDescription = (Node)gXmlDocument.createElement("ERRORDESCRIPTION");
                    lStatusNode.appendChild(lErrorDescription);
               setValue(findFirst(lStatusNode,"ERRORCODE"),pErrorCode);
               setValue(findFirst(lStatusNode,"ERRORDESCRIPTION"),pErrorDescription);
          } catch(Exception e) {
               System.out.println("Exception in setErrorStatus" + e);
     public String getErrorStatusCode(String pType)
          try {
          Node lRecordNode = (Node)gReferenceTable.get(pType);
          if(lRecordNode != null)
               Node lStatusNode = findFirst(lRecordNode,"STATUS");
               if(lStatusNode != null)
                    return getValue(findFirst(lStatusNode,"ERRORCODE"));
          return "";
          } catch(Exception e) {
               System.out.println("Exception in getErrorStatusCode" + e);
               return "";
     public String getErrorStatusDescription(String pType)
          try{
          Node lRecordNode = (Node)gReferenceTable.get(pType);
          if(lRecordNode != null)
               Node lStatusNode = findFirst(lRecordNode,"STATUS");
               if(lStatusNode != null)
                    return getValue(findFirst(lStatusNode,"ERRORDESCRIPTION"));
          return "";
          } catch(Exception e) {
               System.out.println("Exception in getErrorStatusDescription" + e);
               return "";
     public String getNextReferenceId(String pType)
          try {
          Node lRecordNode = (Node)gReferenceTable.get(pType);
          if(lRecordNode != null)
               Node lNextRecordNode = findNext(lRecordNode,"RECORD");
               if(lNextRecordNode != null)
                    Node lReferenceIdNode = findFirst(lRecordNode,"REFID");
                    return getValue(lReferenceIdNode);
          return "";
     } catch(Exception e) {
          System.out.println("Exception in getNextReferenceId" + e);
          return "";
     public String getDCCurrentPositions()
          try {
          String lPositions = "",lDelimeter = ";";
          String lKey ="";
          Enumeration lKeysEnum = gReferenceTable.keys();
          Node lRecordNode = null;
          Node lReferenceIdNode = null;
          while(lKeysEnum.hasMoreElements())
               lKey = (String)lKeysEnum.nextElement();
               lRecordNode = (Node)gReferenceTable.get(lKey);
               lReferenceIdNode = findFirst(lRecordNode,"REFID");
               lPositions = lPositions+lKey+lDelimeter+getValue(lReferenceIdNode)+lDelimeter;
          return lPositions;
          } catch(Exception e) {
               System.out.println("Exception in getDCCurrentPositions" + e);
               return "";
     public void setDCCurrentPositions(String pRecordType)
          try {
          Node lNameNode = null;
          Node lRecordNode = (Node)gReferenceTable.get(pRecordType);
          Node lDetailNode = findFirst(lRecordNode,"DETAIL");
          while(lDetailNode != null)
               lNameNode = findFirst(lDetailNode,"NAME");
               lRecordNode = (Node)findFirst(lDetailNode,"RECORD");
               gReferenceTable.put(getValue(lNameNode),lRecordNode);
               setDCCurrentPositions(getValue(lNameNode));
               lDetailNode = findNext(lDetailNode,"DETAIL");
          } catch(Exception e) {
               System.out.println("Exception in getDCCurrentPositions" + e);
public void setListPositions(String pRecordType,String pReferenceId,int pCount)
               try {
int lCounter = 1;
String lStartingReferenceId = getReferenceId(pRecordType);
if(lStartingReferenceId.equals(pReferenceId))
                    return;
String lReferenceId = "";
boolean lExist = nextRecord(pRecordType);
while(lExist)
lCounter ++;
lReferenceId = getReferenceId(pRecordType);
if(lReferenceId.equals(pReferenceId))
                         if(lCounter > pCount)
                              lStartingReferenceId = lReferenceId;
pRecordType = traverseRecord(lStartingReferenceId);
return;
if(lCounter > pCount)
lStartingReferenceId = lReferenceId;
lCounter = 1;
lExist = nextRecord(pRecordType);
               } catch(Exception e) {
                    System.out.println("Exception in setListPositions" + e);
public String getParentReferenceId(String pRefernceId)
String lParentReferenceId = "";
try
String lChildType = traverseRecord(pRefernceId);
if(lChildType.length() > 0)
Node lChildRecordNode = (Node)gReferenceTable.get(lChildType);
Node lDetailNode = lChildRecordNode.getParentNode();
Node lRecordNode = lDetailNode.getParentNode();
Node lReferenceIdNode = findFirst(lRecordNode,"REFID");
lParentReferenceId = getValue(lReferenceIdNode);
return lParentReferenceId;
catch(Exception e)
                    System.out.println("Exception in getParentReferenceId" + e);
return lParentReferenceId;
          //new function added by balamb on 20-07-2001
          public void deleteNode(String pReferenceId)
               This function is supposed to find the record of the passed
               referenceid. If found, then store it. Check whether it has
               a previos record.if the prev record is present, make that
               as the current referred node. else check whether there is
               next record. if the next record is present,make that
               as the current referred node.*/
               try {
               String lsRecordType = traverseRecord(pReferenceId);
               if(lsRecordType.length() > 0)
                    Node lToBeDeletedNode = (Node)gReferenceTable.get(lsRecordType);
                    if(lToBeDeletedNode != null)
                         Node lToBeCurrentNode = (Node)findPrevious(lToBeDeletedNode,"RECORD");
                         if(lToBeCurrentNode != null)
                              //prev node is there. make it as current node
                              gReferenceTable.put(lsRecordType,lToBeCurrentNode);
                         else
                              //prev node is not there. check for next node
                              lToBeCurrentNode = (Node)findNext(lToBeDeletedNode,"RECORD");
                              if(lToBeCurrentNode != null)
                                   //next node is there. make it as current node
                                   gReferenceTable.put(lsRecordType,lToBeCurrentNode);
                              else
                                   gReferenceTable.remove(lsRecordType);
                         //delete the node
                         Node lParentNode = lToBeDeletedNode.getParentNode();
                         lToBeDeletedNode = lParentNode.removeChild(lToBeDeletedNode);
               } catch(Exception e) {
                    System.out.println("Exception in deleteNode" + e);
          //code changed by bala as on 13-08-2001
          public String getOldValue(String type,String fieldname)
               try {
               Node recordnode = (Node)gReferenceTable.get(type);
               Node fieldnode = findFirst(recordnode,"FIELD");
               while(fieldnode != null)
                    if((getValue(findFirst(fieldnode,"NAME"))).equalsIgnoreCase(fieldname))
                         return getValue(findFirst(fieldnode,"OLDVALUE"));
                    fieldnode = findNext(fieldnode,"FIELD");
               return "";
               } catch(Exception e) {
                    System.out.println("Exception in getOldValue" + e);
                    return "";
          //end of code changed by bala as on 13-08-2001
          public void removeAllDeletedNodes()
               try
                    String lsNodeValue;
                    NodeList lRecordNodes;
                    Node lPerformNode,lParentNode,lDetailNode,lPositionNode,lNameNode;
                    lRecordNodes = ((Element)gRootNode).getElementsByTagName("RECORD");
                    int lCtr = 0;
                    System.out.println("length of list is " + lRecordNodes.getLength());
                    if(lRecordNodes.getLength() > 0)
                         for(lCtr = 0; lCtr <= lRecordNodes.getLength() - 1;lCtr ++)
                              lPerformNode = findFirst(lRecordNodes.item(lCtr), "PERFORM");
                              System.out.println("perform node is " + lPerformNode);
                              if(lPerformNode != null)
                                   System.out.println("perform node is not nothing");
                                   lsNodeValue = "";
                                   lsNodeValue = getValue(lPerformNode);
                                   System.out.println("ls node val bef check is " + lsNodeValue);
                                   if(lsNodeValue.equalsIgnoreCase("DELETE"))
                                        System.out.println("lrec node inide del check is " + lRecordNodes.item(lCtr));
                                        lDetailNode = lRecordNodes.item(lCtr).getParentNode();
                                        lNameNode = findFirst(lDetailNode,"NAME");
                                        if((Node)gReferenceTable.get(getValue(lNameNode))==lRecordNodes.item(lCtr))
                                             System.out.println("position table has this node");
                                             lPositionNode = (Node)findPrevious(lRecordNodes.item(lCtr), "RECORD");
                                             if(lPositionNode == null)
                                                  // The Node is the first record under the
                                                  // detail. Position will be set to next
                                                  // record, if it is available
                                                  System.out.println("previous node is nothing");
                                                  lPositionNode = (Node)findNext(lRecordNodes.item(lCtr), "RECORD");
                                                  if(lPositionNode == null)
                                                       System.out.println("next node is also null");
                                                       gReferenceTable.remove(getValue(lNameNode));
                                                       System.out.println("af removing from ref id table");
                                                       Node lDetailParentNode;
                                                       lDetailParentNode = lDetailNode.getParentNode();
                                                       System.out.println("ldetail parentnode " + lDetailParentNode);
                                                       lDetailNode.removeChild(lRecordNodes.item(lCtr));
                                                       lDetailParentNode.removeChild(lDetailNode);
                                                       lCtr = lCtr - 1;
                                                       System.out.println("af removing the child node");
                                                       System.out.println("len of list af del child node " + lRecordNodes.getLength());
                                                  else
                                                       System.out.println("next node i

I don't think ElementNode is serializable.

Similar Messages

  • Thread unserialized exception: NotSerializableException: java.lang.Thread

    hello experts,
    i have this exception coming; seems to be coming from some thread but i removed all the threads from my code, i thought its because of some object which is still unserialized, i am not sure whether this is because of one unserialized object or its because of more reasons, please have a look:
    Exception in client main: java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
         java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: java.lang.Thread
    java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
         java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: java.lang.Thread
         at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:173)
         at BallServerImpl_Stub.getAllBallProxies(Unknown Source)
         at CopyOfManyMovingBalls.<init>(CopyOfManyMovingBalls.java:80)
         at CopyOfManyMovingBalls$2.run(CopyOfManyMovingBalls.java:294)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    Caused by: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: java.lang.Thread
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1333)
         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)
         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
         at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1667)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1323)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
         at sun.rmi.server.UnicastRef.unmarshalValue(UnicastRef.java:306)
         at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:155)
         ... 11 more
    this is coming  when i m accessing this method:
    class BallServerImpl extends UnicastRemoteObject
    implements BallServer
    * @return an enumeration of all Balls as proxy objects
    public Ball[] getAllBallProxies() throws java.rmi.RemoteException
         Ball[] locations1 = new Ball[hash.size()];
    java.util.Enumeration iter = hash.elements();
    int idx = 0;
    while (iter.hasMoreElements())
         BallImpl impl = (BallImpl)iter.nextElement();
    locations1[idx++] = new BallProxy(impl);
    return locations1;
    why this function is running fine when i m calling this from client unlike getAllBallProxies() nevertheless both are returning the same thing:
    * @return an enumeration of all Balls as remote references
    public Ball[] getAllBalls()
         Ball[] locations = new Ball[hash.size()];
    java.util.Enumeration iter = hash.elements();
    int idx = 0;
    while (iter.hasMoreElements())
    locations[idx++] = (Ball)iter.nextElement();
    return locations;
    the proxy Class:
    * The Proxybouncing ball.
    public class BallProxy implements Serializable,Ball {
    * The Real bouncing ball.
    public class BallImpl extends UnicastRemoteObject implements IBallRemote,Serializable
    *load of thanks as this is "SHOW STOPPER",
    jibbylala*
    Edited by: 805185 on Oct 25, 2010 8:33 PM
    Edited by: 805185 on Oct 25, 2010 8:39 PM
    Edited by: 805185 on Oct 25, 2010 9:21 PM
    Edited by: 805185 on Oct 25, 2010 9:25 PM
    Edited by: 805185 on Oct 25, 2010 9:27 PM
    Edited by: 805185 on Oct 25, 2010 9:46 PM

    that there was some thread there in BallProxy but i removed all from them and now testingIf you don't post the code people ask to see, you may never get a useful answer here.
    P.S i didn't know that threads are not SerializedThe Thread class is not Serializable. Precision please.
    Now i m updating the code, i needed the confirmationConfirmation of what?
    and now trying to avoid them.Them?
    But what if i need them.Them?
    Please make the effort to express yourself clearly. You've already been told you're not making much sense and you haven't done anything about it.
    how can we make serialized?The concept of serializing a Thread makes no sense whatsoever. You don't want to do it. You don't need to do it. You can't do it. It wouldn't work if you could do it.
    Somewhere or other you have a class member that is a reference to a Thread. Remove it or make it transient. If you post the code somebody may help you. If you don't, nobody can possibly do that.

  • Why do I get this NotSerializableException?

    Using NetBeans 6.7, glassfish V2.1.
    The code will compile, deploy and run, but when it initializes I get a NotSerializableException error.
    Any clues as to how I can get rid of this?
    Let me know if more information is needed.
    Thanks.
    In my main session bean (SessionBean1) I do the following in the init method:
        public String enc = "9W4xFQqTa56JZ8z9C+w8xw==";
        AESEncryption aes;
        public void init() {
            super.init();
            try {
                _init();
            } catch (Exception e) {
                log("SessionBean1 Initialization Failure", e);
                throw e instanceof FacesException ? (FacesException) e: new FacesException(e);
            readCfg();
            fillCcList();
            fillStateList();
            fillCountryList();
            fillBusinessTypeList();
            fillContactList();
            fillQuarterList();
            fillMonthList();
            fillCcYearList();
            *aes = new AESEncryption( enc );*
            initialized = false;
            initializeSource();
        }Here is my AESEncryption class
    package fmtax;
    import javax.crypto.*;
    import javax.crypto.spec.*;
    public class AESEncryption {
        byte[] rawKey;
        public AESEncryption( String strKey )
              char[] carray = strKey.toCharArray();
              rawKey = Base64Coder.decode(carray);
        public byte[] encrypt( String message )
            try
                // Get the KeyGenerator
                KeyGenerator kgen = KeyGenerator.getInstance("AES");
                kgen.init(128); // 192 and 256 bits may not be available
                char[] carray = Base64Coder.encode(rawKey);
                String strkey = new String(carray);
                SecretKeySpec skeySpec = new SecretKeySpec(rawKey, "AES");
                // Instantiate the cipher
                Cipher cipher = Cipher.getInstance("AES");
                cipher.init(Cipher.ENCRYPT_MODE, skeySpec);
                byte[] encrypted = cipher.doFinal(message.getBytes());
                return encrypted;
            catch( Exception e )
                return new byte[1];
        public String decrypt( byte[] encrypted )
            try
                SecretKeySpec skeySpec = new SecretKeySpec(rawKey, "AES");
                // Instantiate the cipher
                Cipher cipher = Cipher.getInstance("AES");
                cipher.init(Cipher.DECRYPT_MODE, skeySpec);
                byte[] original = cipher.doFinal(encrypted);
                return new String(original);
            catch( Exception e )
                return "";
    }When the application tries to initialize, I get the following error:
    Initializing Sun's JavaServer Faces implementation (1.2_04-b22-p05) for context '/FMTaxNL'
    PWC2785: Cannot serialize session attribute SessionBean1 for session c6cd82f3f97bd0574ddb969f8df7
    java.io.NotSerializableException: fmtax.AESEncryption
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156)
            at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
            at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)
            at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
            at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
            at org.apache.catalina.session.StandardSession.writeObject(StandardSession.java:1947)
    <...CUT TO FIT IN POST CHARACTER LIMIT - will post in separately if neecessary...>
            at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
            at org.apache.catalina.session.StandardManager.doUnload(StandardManager.java:670)
            at org.apache.catalina.session.StandardManager.unload(StandardManager.java:584)
            at com.sun.enterprise.admin.server.core.jmx.SunoneInterceptor.invoke(SunoneInterceptor.java:304)
            at com.sun.enterprise.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:174)
            at com.sun.enterprise.admin.jmx.remote.server.callers.InvokeCaller.call(InvokeCaller.java:69)
            at com.sun.enterprise.admin.jmx.remote.server.MBeanServerRequestHandler.handle(MBeanServerRequestHandler.java:155)
            at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.processRequest(RemoteJmxConnectorServlet.java:122)
            at com.sun.enterprise.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet.doPost(RemoteJmxConnectorServlet.java:193)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
            at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:315)
            at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
            at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
            at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
            at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
            at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:288)
            at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:647)
            at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:579)
            at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:831)
            at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
            at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
            at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
            at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
            at com.sun.enterprise.web.connector.grizzly.WorkerThreadImpl.run(WorkerThreadImpl.java:116)
    classLoader = WebappClassLoader
      delegate: true

    Thanks for the feedback.
    I removed the "aes" property from being a session bean property to beinig a local variable within the methods that need the security portion.
    That did not help.
    It looks like the issue is not with the session bean, but within the AESEncryption class, based on the error message.
    If I add 'implements Serializable' to my AESEncryption class definition, I get a different error (see below).
    I also had to add the import 'import java.io.Serializable;'.
    I don't think this is the basic problem, however, because I have never added 'implements Serializable' to any of my other classes and I do not get a serializable error on them.
    Both this error and the last one seem to point to something dealing with java.io.
    But, I do not have a clue as to what would cause that.
    PWC2768: IOException while loading persisted sessions: java.io.StreamCorruptedException: unexpected end of block data
    java.io.StreamCorruptedException: unexpected end of block data
            at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1351)
            at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)
            at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)
            at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
            at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
            at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
            at org.apache.catalina.session.StandardSession.readRemainingObject(StandardSession.java:1827)
            at org.apache.catalina.session.StandardSession.readObject(StandardSession.java:1759)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:597)
            at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974)
            at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1849)
            at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
            at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
            at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
            at org.apache.catalina.session.StandardSession.deserialize(StandardSession.java:1125)
            at org.apache.catalina.session.StandardManager.doLoad(StandardManager.java:501)
            at org.apache.catalina.session.StandardManager.load(StandardManager.java:418)
            at org.apache.catalina.session.StandardManager.start(StandardManager.java:810)
            at org.apache.catalina.core.StandardContext.managerStart(StandardContext.java:4942)
            at org.apache.catalina.core.StandardContext.start(StandardContext.java:5259)
            at com.sun.enterprise.web.WebModule.start(WebModule.java:353)
            at com.sun.enterprise.web.LifecycleStarter.doRun(LifecycleStarter.java:58)
            at com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:304)
            at com.sun.appserv.management.util.misc.RunnableBase.run(RunnableBase.java:341)
            at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
            at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
            at java.util.concurrent.FutureTask.run(FutureTask.java:138)
            at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
            at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
            at java.lang.Thread.run(Thread.java:619)

  • Java.io.NotSerializableException in Query

    All,
    I am encountering a strange java.io.NotSerializable error on certain
    queries. I am using Kodo Std 2.2.6 (trial version) on RH7.1 with Postgres
    7.1 (inside a Struts 1.1 servlet running inside Tomcat 4.1).
    The error is the following: I am attempting to find "Resources" that have
    associated "File"s, where those files have "FileRole" == a particular
    FileRole object.
    The objects (simplified) are:
    public class Resource {
    File file;
    String driver;
    String driverId;
    public class File {
    FileRole fileRole;
    public class FileRole {
    String name;
    The query is:
    public List findByDriver(String driver, String driverId, FileRole fileRole)
    List li = null;
    try {
    String filter = "driver == driverString && driverId ==
    driverIdString && file.fileRole == theFileRole";
    Extent beanExtent =
    JDOManager.getInstance().getPersistenceManager().getExtent(Resource.class,
    false);
    Query q =
    JDOManager.getInstance().getPersistenceManager().newQuery(Resource.class,
    beanExtent, filter);
    q.declareImports("import lepton.core.file.File;" + "import
    lepton.core.file.FileRole");
    q.declareParameters("String driverString, String driverIdString,
    FileRole theFileRole);
    ArrayList queryArray = new ArrayList();
    queryArray.add(driver);
    queryArray.add(driverId);
    queryArray.add(fileRole);
    Collection results = (Collection) q.execute(queryArray);
    li = new ArrayList(results);
    } catch (Exception e) {
    throw new LeptonException(e);
    return li;
    The error is:
    javax.jdo.JDOException: lepton.core.file.FileRole
    NestedThrowables:
    java.io.NotSerializableException: lepton.core.file.FileRole
    at
    com.solarmetric.kodo.impl.jdbc.schema.dict.GenericDictionary.toSQL(GenericDi
    ctionary.java:169)
    at
    com.solarmetric.kodo.impl.jdbc.runtime.JDBCExpressionFactory$Constant.(JDBCE
    xpressionFactory.java:465)
    at
    com.solarmetric.kodo.impl.jdbc.runtime.JDBCExpressionFactory.getConstant(JDB
    CExpressionFactory.java:229)
    at
    com.solarmetric.kodo.impl.jdbc.runtime.JDBCExpressionFactory.getParameter(JD
    BCExpressionFactory.java:249)
    at com.solarmetric.kodo.query.FilterParser.eval(FilterParser.java:563)
    at com.solarmetric.kodo.query.FilterParser.getValue(FilterParser.java:669)
    at com.solarmetric.kodo.query.FilterParser.eval(FilterParser.java:582)
    at
    com.solarmetric.kodo.query.FilterParser.getExpression(FilterParser.java:678)
    at com.solarmetric.kodo.query.FilterParser.eval(FilterParser.java:653)
    at
    com.solarmetric.kodo.query.FilterParser.getExpression(FilterParser.java:678)
    at com.solarmetric.kodo.query.FilterParser.eval(FilterParser.java:653)
    at
    com.solarmetric.kodo.query.FilterParser.getExpression(FilterParser.java:678)
    at com.solarmetric.kodo.query.FilterParser.eval(FilterParser.java:653)
    at
    com.solarmetric.kodo.query.FilterParser.getExpression(FilterParser.java:678)
    at com.solarmetric.kodo.query.FilterParser.evaluate(FilterParser.java:530)
    at com.solarmetric.kodo.query.QueryImpl.getExpression(QueryImpl.java:502)
    at com.solarmetric.kodo.query.QueryImpl.getExpression(QueryImpl.java:468)
    at
    com.solarmetric.kodo.impl.jdbc.runtime.JDBCQuery.getExpression(JDBCQuery.jav
    a:190)
    at com.solarmetric.kodo.query.QueryImpl.executeWithMap(QueryImpl.java:342)
    at
    com.solarmetric.kodo.query.QueryImpl.executeWithArray(QueryImpl.java:529)
    at com.solarmetric.kodo.query.QueryImpl.execute(QueryImpl.java:314)
    at lepton.knowledgebase.ResourceHome.findByDriver(ResourceHome.java:91)
    My jdo mappings (simplified) are:
    Resource:
    <jdo>
    <package name="lepton.knowledgebase">
    <class name="Resource" >
    <field name="driver">
    </field>
    <field name="driverId">
    </field>
    <field name="file">
    </field>
    </class>
    </package>
    </jdo>
    File:
    <jdo>
    <package name="lepton.core.file">
    <class name="File" >
    <field name="fileRole">
    </field>
    </class>
    </package>
    </jdo>
    FileRole:
    <jdo>
    <package name="lepton.core.file">
    <class name="FileRole" >
    <field name="name">
    <extension vendor-name="kodo"
    key="column-index"
    value="true" />
    </field>
    </class>
    </package>
    </jdo>
    Any help/suggestions would be greatly appreciated. I am seeing this error
    in one other query, with a similar (but slightly more involved) syntax.
    (The point of commonality is querying a somewhat distant--but
    related--portion of the object graph, in the form xx.xx.xx == yy).
    Thanks,
    David
    David Sachs
    Redpoint Ventures
    [email protected]

    Abe,
    Thanks again for your help. I discovered (much to my embarassment) that
    this was a case of a massively silly error on my part, and a somewhat
    misleading error message.
    The cause of the problem was my query--Kodo is working great.
    I had:
    public List findByDriver(String driver, String driverId, FileRole fileRole)
    q.declareParameters("String driverString, String driverIdString,
    FileRole theFileRole);
    ArrayList queryArray = new ArrayList();
    queryArray.add(driver);
    queryArray.add(driverId);
    queryArray.add(fileRole);
    Collection results = (Collection) q.execute(queryArray);
    This should be:
    q.declareParameters("String driverString, String driverIdString,
    FileRole theFileRole);
    Map queryMap = new HashMap();
    queryMap.add(driver);
    queryMap.add(driverId);
    queryMap.add(fileRole);
    Collection results = (Collection) q.executeWithMap(queryMap);
    It works perfectly, as does the other case in which I saw a
    java.io.NotSerializable error.
    Anyway, sorry to have wasted your time on this, but maybe there is some way
    to make the reported error slightly more specific. As an aside, I did try
    to track down whether a superfluous jdo/kodo.jar was lurking anywhere in
    Kodo's classpath, but I didn't find anything. Clearly (since this now
    works), the properly enhanced FileRole class is present, but the error
    message was didn't indicate that I was wildly misusing the q.executeXXX
    facility.
    Anyway, thanks very much for your assistance, and sorry to have led you
    astray chasing down a user error.
    David
    "Abe White" <[email protected]> wrote in message
    news:[email protected]...
    I wasn't able to find a class called"javax.jdo.spi.PersistenceCapable"--did
    you mean just "javax.jdo.PersistenceCapable?"Yeah, sorry. In JDO 1.0 they moved PersistenceCapable to the 'spi'subpackage;
    Kodo 2.2.6 (unlike 2.3, which is out now), uses an older version of the spec.
    >
    Assuming that you meant javax.jdo.PersistenceCapable, my class reportsthat
    it IS persistence capable.Well I've checked our code (the version that you're using), and itcouldn't
    really be more clear. It's basically:
    if (obj instanceof PersistenceCapable)
    ... 1 ...
    else
    ... 2 ...
    And your stack trace ends up in position 2. That means that to Kodo, that
    object is not persistence capable. This has to be a class loader issue.
    I assume your install script is run outside of the servlet? Or in a
    different web app? Tomcat does some funky things with class loaders; ifyou
    have multiple JDO jars floating around there might also technically be
    multiple PersistenceCapable classes, and the one Kodo sees is differentthan
    the one your application sees. Make sure both the kodo jars and the jdojars
    are only in a single location.
    This makes sense, since I have been able to create and make persistent
    instances of the FileRole class. (I can successfully create a bunch of
    FileRoles and persist them to my database as part of my install script,
    which would alos fail were FileRole not enhanced).
    Any ideas?
    Thanks very much,
    David
    "Abe White" <[email protected]> wrote in message
    news:[email protected]...
    David --
    Before you execute the query, can you please check to see that
    (fileRole instanceof javax.jdo.spi.PersistenceCapable) ?
    If a parameter isn't persistence-capable, we try to convert it to SQL;
    for complex types, this means serializing it. I have a feeling there
    is
    a class loader issue or something where an unenhanced version of your
    class is sneaking in. Let us know what you find out.

  • Java.io.NotSerializableException error when starting 8.1 app server

    I am running JES 054Q with uwc deployed on the app server 8.1 (along with am, portal, and da). I am getting a java.io.NotSerializableException for com.sun.uwc.common.util.UWCPreferences when the application server starts. Any access to get attributes from UWCPreferences results more java.io.NotSerializableException errors. How do I get the app server to not load com.sun.uwc.common.util.UWCPreferences as Serializable?
    Following is what is showing up the log file with finest level:
    # grep -n UWCPreferences *
    server.log:2:java.io.NotSerializableException: com.sun.uwc.common.util.UWCPreferences
    server.log:44:java.io.NotSerializableException: com.sun.uwc.common.util.UWCPreferences
    server.log_2006-08-28T03-08-05:10373:[#|2006-08-28T03:07:59.991-0600|FINE|sun-appserver-ee8.1_02|org.apache.catalina.loader.WebappClassLoader|_ThreadID=10;|loadClass(com.sun.uwc.common.util.UWCPreferences, false)|#]
    server.log_2006-08-28T03-08-05:10383:[#|2006-08-28T03:07:59.994-0600|FINE|sun-appserver-ee8.1_02|org.apache.catalina.loader.WebappClassLoader|_ThreadID=10;|    findClass(com.sun.uwc.common.util.UWCPreferences)|#]
    server.log_2006-08-28T03-08-05:10385:[#|2006-08-28T03:07:59.995-0600|FINEST|sun-appserver-ee8.1_02|org.apache.catalina.loader.WebappClassLoader|_ThreadID=10;|      findClassInternal(com.sun.uwc.common.util.UWCPreferences)|#]
    server.log_2006-08-28T03-08-05:10397:[#|2006-08-28T03:08:00.001-0600|FINE|sun-appserver-ee8.1_02|org.apache.catalina.loader.WebappClassLoader|_ThreadID=10;|      Returning class class com.sun.uwc.common.util.UWCPreferences|#]
    server.log_2006-08-28T03-08-05:10781:[#|2006-08-28T03:08:00.154-0600|SEVERE|sun-appserver-ee8.1_02|org.apache.catalina.session.ManagerBase|_ThreadID=10;|IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: com.sun.uwc.common.util.UWCPreferences
    server.log_2006-08-28T03-08-05:10782:java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: com.sun.uwc.common.util.UWCPreferences
    server.log_2006-08-28T03-08-05:10807:Caused by: java.io.NotSerializableException: com.sun.uwc.common.util.UWCPreferences
    server.log_2006-08-28T03-08-05:10849:java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: com.sun.uwc.common.util.UWCPreferences
    server.log_2006-08-28T03-08-05:10874:Caused by: java.io.NotSerializableException: com.sun.uwc.common.util.UWCPreferences
    server.log_2006-08-28T03-08-05:11313:[#|2006-08-28T03:08:00.286-0600|FINE|sun-appserver-ee8.1_02|org.apache.catalina.loader.WebappClassLoader|_ThreadID=10;|loadClass(com.sun.uwc.common.util.UWCPreferencesFactory, false)|#]
    server.log_2006-08-28T03-08-05:11323:[#|2006-08-28T03:08:00.289-0600|FINE|sun-appserver-ee8.1_02|org.apache.catalina.loader.WebappClassLoader|_ThreadID=10;|    findClass(com.sun.uwc.common.util.UWCPreferencesFactory)|#]
    server.log_2006-08-28T03-08-05:11325:[#|2006-08-28T03:08:00.290-0600|FINEST|sun-appserver-ee8.1_02|org.apache.catalina.loader.WebappClassLoader|_ThreadID=10;|      findClassInternal(com.sun.uwc.common.util.UWCPreferencesFactory)|#]
    server.log_2006-08-28T03-08-05:11327:[#|2006-08-28T03:08:00.292-0600|FINE|sun-appserver-ee8.1_02|org.apache.catalina.loader.WebappClassLoader|_ThreadID=10;|      Returning class class com.sun.uwc.common.util.UWCPreferencesFactory|#]
    server.log_2006-08-28T03-15-11:22429:[#|2006-08-28T03:09:45.991-0600|FINE|sun-appserver-ee8.1_02|org.apache.catalina.loader.WebappClassLoader|_ThreadID=23;|loadClass(com.sun.uwc.common.util.UWCPreferences, false)|#]
    server.log_2006-08-28T03-15-11:29542:java.io.NotSerializableException: com.sun.uwc.common.util.UWCPreferences
    server.log_2006-08-28T03-15-11:29584:java.io.NotSerializableException: com.sun.uwc.common.util.UWCPreferences
    server.log_2006-08-28T03-15-11:29626:java.io.NotSerializableException: com.sun.uwc.common.util.UWCPreferences
    server.log_2006-08-28T03-15-11:29668:java.io.NotSerializableException: com.sun.uwc.common.util.UWCPreferences
    Thanks

    I think this might occur if you don't have the patch for SunAlert 46042 installed. There's more information on this critical Solaris security vulnerability, which was reported back in 2002, at http://sunsolve.central.sun.com/search/document.do?assetkey=1-26-46042-1
    Can you run the following command to check if you have patch 109326-09 installed and let us know the result?showrev -p | grep 109326If you don't have 109326-09 or higher installed, you should install it as soon as possible. You can follow the link from the SunAlert. Better yet, install the latest Solaris 8 recommended patch cluster from http://sunsolve.sun.com/pub-cgi/show.pl?target=patches/patch-access to make sure your system is fully patched and up to date.

  • Help needed to solve "java.io.NotSerializableException: java.util.Vector$1"

    hi to all,
    i am using a session less bean A to querry a Entity Bean B , which inturns calls another EntityBean C ,
    finally a ' find' method is invoked on the EntityBean C, In this a vector is created which holds 3 different vectors at different indexes, now the problem i am facing is that when Enity Bean B is returning the final vector to the A , it's firing out a errors that :-
    TRANSACTION COULD NOT BE COMPLETED: RemoteException occurred in server thread;
    ested exception is:
    java.rmi.RemoteException: null; nested exception is:
    java.rmi.ServerException: RemoteException occurred in server thread; ne
    ted exception is:
    java.rmi.RemoteException: null; nested exception is:
    java.io.NotSerializableException: java.util.Vector$1
    java.rmi.ServerException: RemoteException occurred in server thread; nested exc
    ption is:
    java.rmi.RemoteException: null; nested exception is:
    java.rmi.ServerException: RemoteException occurred in server thread; ne
    ted exception is:
    java.rmi.RemoteException: null; nested exception is:
    java.io.NotSerializableException: java.util.Vector$1
    java.rmi.RemoteException: null; nested exception is:
    java.rmi.ServerException: RemoteException occurred in server thread; ne
    ted exception is:
    java.rmi.RemoteException: null; nested exception is:
    java.io.NotSerializableException: java.util.Vector$1
    java.rmi.ServerException: RemoteException occurred in server thread; nested exc
    ption is:
    java.rmi.RemoteException: null; nested exception is:
    java.io.NotSerializableException: java.util.Vector$1
    java.rmi.RemoteException: null; nested exception is:
    java.io.NotSerializableException: java.util.Vector$1
    java.io.NotSerializableException: java.util.Vector$1
    <<no stack trace available>>
    ur any help would be highly appricated to solve out this prob.
    If i try to iterate through this vector it's gives IOR:0232003x343242344asdsd................................................blabla....................
    thanxs in adavance
    Deepak

    Hi I think you are using the method elements() in a remote method.
    This method can't be Serializable!! Because it returns an Interface. Interfaces are never Serializable.
    Regards,
    Peter

  • Java.io.NotSerializableException when using POF over Extend

    I changed a class to use POF and it seems to work fine among TCMP cluster members but when apps connect with Extend I get an exception indicating that maybe either the extend proxy or client app is not correctly configured to use POF.
    (Wrapped) java.io.NotSerializableException: dj_quotes.DJ_Quote
            at com.tangosol.util.Base.ensureRuntimeException(Base.java:288)
            at com.tangosol.util.Base.ensureRuntimeException(Base.java:269)
            at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Peer.send(Peer.CDB:22)
            at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Peer.post(Peer.CDB:23)
            at com.tangosol.coherence.component.net.extend.Channel.post(Channel.CDB:25)
            at com.tangosol.coherence.component.net.extend.Channel.send(Channel.CDB:6)
            at com.tangosol.coherence.component.net.extend.Channel.receive(Channel.CDB:55)
            at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Peer$DaemonPool$WrapperTask.run(Peer.CDB:9)
            at com.tangosol.coherence.component.util.DaemonPool$WrapperTask.run(DaemonPool.CDB:32)
            at com.tangosol.coherence.component.util.DaemonPool$Daemon.onNotify(DaemonPool.CDB:63)
            at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
            at java.lang.Thread.run(Thread.java:662)
    Caused by: java.io.NotSerializableException: dj_quotes.DJ_Quote
            at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1164)
            at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)
            at com.tangosol.util.ExternalizableHelper.writeSerializable(ExternalizableHelper.java:2252)
            at com.tangosol.util.ExternalizableHelper.writeObjectInternal(ExternalizableHelper.java:2696)
            at com.tangosol.util.ExternalizableHelper.serializeInternal(ExternalizableHelper.java:2600)
            at com.tangosol.util.ExternalizableHelper.toBinary(ExternalizableHelper.java:210)
            at com.tangosol.coherence.component.net.extend.proxy.serviceProxy.CacheServiceProxy$ConverterToBinary.convert(CacheServiceProxy.CDB:3)
            at com.tangosol.util.ConverterCollections$AbstractConverterEntry.getValue(ConverterCollections.java:3547)
            at com.tangosol.io.pof.PofBufferWriter.writeMap(PofBufferWriter.java:1977)
            at com.tangosol.coherence.component.net.extend.message.Response.writeExternal(Response.CDB:23)
            at com.tangosol.coherence.component.net.extend.message.response.PartialResponse.writeExternal(PartialResponse.CDB:1)
            at com.tangosol.coherence.component.net.extend.Codec.encode(Codec.CDB:23)
            at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Peer.encodeMessage(Peer.CDB:23)
            at com.tangosol.coherence.component.util.daemon.queueProcessor.service.peer.acceptor.TcpAcceptor.encodeMessage(TcpAcceptor.CDB:8)
            at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Peer.send(Peer.CDB:16)
            ... 9 moreLooks like it failed while attempting default serialization, right?
    My extend proxy servers start with
    -Dtangosol.coherence.cacheconfig=cache-config-extend-proxy.xml
    here:
    <?xml version="1.0"?>
    <!DOCTYPE cache-config SYSTEM "cache-config.dtd">
    <cache-config>
         <!-- ***********  SCHEME MAPPINGS  ***********  -->
         <caching-scheme-mapping>
              <cache-mapping>
                   <cache-name>quotes.*</cache-name>
                   <scheme-name>quotes-scheme</scheme-name>
              </cache-mapping>   
         </caching-scheme-mapping>
         <!-- ******************************** -->
         <caching-schemes>
              <proxy-scheme>
          <service-name>ExtendTcpProxyService</service-name>
          <thread-count>8</thread-count>
          <acceptor-config>
            <tcp-acceptor>
              <local-address>
                <address system-property="tangosol.coherence.proxy.address">localhost</address>
                <port system-property="tangosol.coherence.proxy.port">9090</port>
              </local-address>
            </tcp-acceptor>
          </acceptor-config>
          <proxy-config>
                  <cache-service-proxy>
                    <lock-enabled>true</lock-enabled>
                  </cache-service-proxy>
                </proxy-config>
          <autostart>true</autostart>
        </proxy-scheme>
              <distributed-scheme>
                   <scheme-name>quotes-scheme</scheme-name>
                   <service-name>DistributedQuotesCacheService</service-name>
                   <serializer>
                        <class-name>com.tangosol.io.pof.ConfigurablePofContext</class-name>
                        <init-params>
              <init-param>
                <param-type>string</param-type>
                <param-value system-property="pof.config">z:/coherence/pof-config.xml</param-value>
              </init-param>
            </init-params>
                   </serializer>
                   <backing-map-scheme>
                        <local-scheme/>
                   </backing-map-scheme>
                   <autostart>true</autostart>
              </distributed-scheme>
    </caching-schemes>
    </cache-config>extend client apps start with
    -Dtangosol.coherence.cacheconfig=z:/coherence/cache-config-extend-client.xml
    here:
    <?xml version="1.0"?>
    <!DOCTYPE cache-config SYSTEM "cache-config.dtd">
    <cache-config>
         <!-- ***********  SCHEME MAPPINGS  ***********  -->
         <caching-scheme-mapping>
              <cache-mapping>
                   <cache-name>quotes.*</cache-name>
                   <scheme-name>extend-scheme</scheme-name>
              </cache-mapping>
         </caching-scheme-mapping>
         <!-- ******************************** -->
         <caching-schemes>
              <remote-cache-scheme>
                    <scheme-name>extend-scheme</scheme-name>
                    <service-name>ExtendTcpCacheService</service-name>
                    <initiator-config>
                    <tcp-initiator>
              <remote-addresses>
                 <socket-address>
                  <address>192.168.3.6</address>
                  <port>9090</port>
                </socket-address>
              </remote-addresses>
              <connect-timeout>12s</connect-timeout>
            </tcp-initiator>
            <outgoing-message-handler>
              <request-timeout>6s</request-timeout>
            </outgoing-message-handler>
          </initiator-config>
        </remote-cache-scheme>
              <!-- ALSO TRIED THIS IN PLACE OF extend-scheme -->
                    <remote-cache-scheme>
          <scheme-name>extend-scheme-pof</scheme-name>
          <service-name>ExtendPofTcpCacheService</service-name>
                   <serializer>
                        <class-name>com.tangosol.io.pof.ConfigurablePofContext</class-name>
                        <init-params>
              <init-param>
                <param-type>string</param-type>
                <param-value system-property="pof.config">z:/coherence/pof-config.xml</param-value>
              </init-param>
            </init-params>
                   </serializer>
          <initiator-config>
            <tcp-initiator>
              <remote-addresses>
                <!-- mothra -->
                 <socket-address>
                  <address>192.168.3.6</address>
                  <port>9090</port>
                </socket-address>
              </remote-addresses>
              <connect-timeout>12s</connect-timeout>
            </tcp-initiator>
            <outgoing-message-handler>
              <request-timeout>6s</request-timeout>
            </outgoing-message-handler>
          </initiator-config>
        </remote-cache-scheme>
    </caching-schemes>
    </cache-config>pof-config.xml should be fine...
    <!DOCTYPE pof-config SYSTEM "pof-config.dtd">
    <pof-config>
      <user-type-list>
        <include>coherence-pof-config.xml</include>
        <user-type>
          <type-id>10001</type-id>
          <class-name>dj_quotes.DJ_Quote</class-name>
        </user-type>
      </user-type-list>
    </pof-config>Any ideas what I missed?
    Thanks,
    Andrew

    Looks like I spoke too soon. Moving the <serializer> to the correct location in the Extend client XML config did fix the problem I was seeing but it created a new problem. It appears the Extend client wants to use POF for everything including non-POF services like the one handling the Serializable (non-POF) object oms.Order. That's what I gather from this exception
    Exception in thread "AWT-EventQueue-0" (Wrapped) java.io.IOException: unknown user type: oms.Order
            at com.tangosol.util.Base.ensureRuntimeException(Base.java:288)
            at com.tangosol.util.Base.ensureRuntimeException(Base.java:269)
            at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Peer.send(Peer.CDB:22)
            at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Peer.post(Peer.CDB:23)
            at com.tangosol.coherence.component.net.extend.Channel.post(Channel.CDB:25)
            at com.tangosol.coherence.component.net.extend.Channel.request(Channel.CDB:18)
            at com.tangosol.coherence.component.net.extend.Channel.request(Channel.CDB:1)
            at com.tangosol.coherence.component.net.extend.RemoteNamedCache$BinaryCache.putAll(RemoteNamedCache.CDB:10)
            at com.tangosol.util.ConverterCollections$ConverterMap.putAll(ConverterCollections.java:1702)
            at com.tangosol.coherence.component.net.extend.RemoteNamedCache.putAll(RemoteNamedCache.CDB:1)
            at com.tangosol.coherence.component.util.SafeNamedCache.putAll(SafeNamedCache.CDB:1)
            at oms.Order.sendMultiple(Order.java:357)
            at order_entry_window.OrderEntryPanel$SubmitListener.sendOrder(OrderEntryPanel.java:1307)
            at order_entry_window.OrderEntryPanel$SubmitListener.actionPerformed(OrderEntryPanel.java:1321)
            at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
            at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
            at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
            at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
            at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
            at java.awt.Component.processMouseEvent(Component.java:6504)
            at javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
            at java.awt.Component.processEvent(Component.java:6269)
            at java.awt.Container.processEvent(Container.java:2229)
            at java.awt.Component.dispatchEventImpl(Component.java:4860)
            at java.awt.Container.dispatchEventImpl(Container.java:2287)
            at java.awt.Component.dispatchEvent(Component.java:4686)
            at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
            at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
            at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
            at java.awt.Container.dispatchEventImpl(Container.java:2273)
            at java.awt.Window.dispatchEventImpl(Window.java:2713)
            at java.awt.Component.dispatchEvent(Component.java:4686)
            at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:707)
            at java.awt.EventQueue.access$000(EventQueue.java:101)
            at java.awt.EventQueue$3.run(EventQueue.java:666)
            at java.awt.EventQueue$3.run(EventQueue.java:664)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
            at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
            at java.awt.EventQueue$4.run(EventQueue.java:680)
            at java.awt.EventQueue$4.run(EventQueue.java:678)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:677)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:211)
            at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
    Caused by: java.io.IOException: unknown user type: oms.Order
            at com.tangosol.io.pof.ConfigurablePofContext.serialize(ConfigurablePofContext.java:341)
            at com.tangosol.util.ExternalizableHelper.serializeInternal(ExternalizableHelper.java:2596)
            at com.tangosol.util.ExternalizableHelper.toBinary(ExternalizableHelper.java:210)
            at com.tangosol.coherence.component.net.extend.RemoteNamedCache$ConverterToBinary.convert(RemoteNamedCache.CDB:4)
            at com.tangosol.util.ConverterCollections$AbstractConverterEntry.getValue(ConverterCollections.java:3547)
            at com.tangosol.io.pof.PofBufferWriter.writeMap(PofBufferWriter.java:1977)
            at com.tangosol.coherence.component.net.extend.messageFactory.NamedCacheFactory$PutAllRequest.writeExternal(NamedCacheFactory.CDB:3)
            at com.tangosol.coherence.component.net.extend.Codec.encode(Codec.CDB:23)
            at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Peer.encodeMessage(Peer.CDB:23)
            at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Peer.send(Peer.CDB:16)
            ... 47 more
    Caused by: java.lang.IllegalArgumentException: unknown user type: oms.Order
            at com.tangosol.io.pof.ConfigurablePofContext.getUserTypeIdentifier(ConfigurablePofContext.java:420)
            at com.tangosol.io.pof.ConfigurablePofContext.getUserTypeIdentifier(ConfigurablePofContext.java:409)
            at com.tangosol.io.pof.PofBufferWriter.writeUserType(PofBufferWriter.java:1660)
            at com.tangosol.io.pof.PofBufferWriter.writeObject(PofBufferWriter.java:1622)
            at com.tangosol.io.pof.ConfigurablePofContext.serialize(ConfigurablePofContext.java:335)
            ... 56 moreSo I posted a follow-up question here:
    Can an extend client use both POF and java.io.Serializable?
    Thanks,
    Andrew

  • NotSerializableException reading file from configuration adapter

    Hi!
    When I try to access a file with config.getFile() that is stored in VA configuration adapter I get a P4BaseRuntimeException with an underlying NotSerializableException.
    This is what I'm doing:
    Context ctx = new InitialContext();
    ConfigurationRuntimeInterface configInterface = 
         (ConfigurationRuntimeInterface)ctx.lookup("configuration");
    cfgContext      = configInterface.getConfigurationContext();
    cfgHandler      = cfgContext.getConfigurationHandler();
    config     = cfgHandler.openConfiguration(path, ConfigurationHandler.READ_ACCESS);
    boolean exists     = config.existsFile(filename);
    InputStream is = config.getFile(filename);  // this is where the exception occurs
    I've omitted handling for InconsistentReadException in this post, to keep the code short.
    The existence check with config.existsFile() returns true, so configuration path and filename seem to be ok. However, config.getFile() throws a NotSerializableException.
    So, how can I read a file from configuration adapter? What is my mistake?
    Thanks for your help,
    Frank

    hi frank,
    in addition to the above content
    u can refer the how to use the  config.getFile()
    http://kickjava.com/src/org/apache/commons/configuration/reloading/FileChangedReloadingStrategy.java.htm
    let me know u need any further info
    bvr

  • Can we not store Arraylist in a File? - NotSerializableException Error

    Hello frnds,
    wht am doing is storing Arralist object in a File.. Here is piece of code where am doing that..
    public StoreData(ArrayList arrlst) {
        try {
          BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
          File file = new File("DATA.txt");
          FileOutputStream fos = new FileOutputStream(file.getName(), false);
          ObjectOutputStream oos = (file.length() > 0) ?
              new NoHeaderOutputStream(fos) : new ObjectOutputStream(fos);
          oos.writeObject(arrlst);
          oos.flush();
          oos.close();
          fos.close();
        catch (NotSerializableException e) {
          System.out.println("Error in Serialization");
        catch (IOException e) {
          System.out.println("Error" + e);
        }But each time I run code.. it gives NotSerializableException .. so I caught it.. !!
    Can any one tell me is there any way to store Arraylist?.. or what am doing wrong!!
    Thanks in advance
    gervini

    Inside Arraylist is object of Profile Collection--> Inside that is SpriteFrameCollection--> SpriteFrame--> Sprite
    I am new to java.. Have to take care of many sprites in a frame.. then many frames in Frame collection.. and finally many frame collection..
    Am finally storing ProfileCollection Object in Arraylist.. is that wrong way??
    Please help.. am really too much confused!!
    public class ProfileCollection { // Consisting of many frames..
      ArrayList profilelist = new ArrayList(); // Arraylist of many frames
      String pname;
      void addFrameCollection(int index, SpriteFrameCollection framecoll) {
        profilelist.add(index, framecoll);
    public class SpriteFrameCollection { // Consisting of many frames..
      ArrayList spriteframelist = new ArrayList(); // Arraylist of many frames
      String aname;
      int fps;
      void addSpriteFrame(int index, SpriteFrame spriteframe) {
        spriteframelist.add(index, spriteframe);
    public class SpriteFrame { // Full One Frame consisting of many sprites..
      ArrayList spritelist = new ArrayList(); // arraylist containing many sprites
      ImageIcon icon = null; // arraylist containing whole frame as ImageIcon
      int frameno = -1;
      void addSprite(Sprite sprite) {
        spritelist.add(sprite);
    }// And Finally.. Sprite Class
    public class Sprite               // Each single sprite
         Image img;
         File file;                 // is filepath where this sprite is located
         int xcord,ycord;           // xcoord,ycoord are real position in frame
         int numberinfile;           // this is the position of the sprite in the raw file
            int mirrorh, mirrorv;      // for normal=00,horizontal=10,vertical=01,both=11
            int bitno;
            boolean transparent;
         void newSprite(Image img, File file, int xcord, int ycord, int numberinfile, int mirrorh, int mirrorv, int bitno, boolean transparent)
              this.img = img;
              this.file = file;
              this.xcord = xcord;
              this.ycord = ycord;
              this.numberinfile = numberinfile;
              this.mirrorh = mirrorh;
              this.mirrorv = mirrorv;
                    this.bitno = bitno;
                    this.transparent = transparent;
         public Sprite(){}
    }gervini

  • Javabeans: Difficult NotSerializableException problem

    Hi. I have a pretty complex problem with a javabean application. My javabean application is bundled in a jar file.
    This application needs a Database to run. I had to bundle the Database driver INSIDE the jar file, along with the javabean application. The problem is:
    - When I try to serialize my javabean application, I get a NotSerializableException saying that the Class org.gjt.mm.mysql.jdbc2.ResultSetMetaData could not get serialized. BUT THIS CLASS IS A DATABASE DRIVER CLASS. I don't NEED to serialize it. And the problem is that I can't even modify this class to make it serializable.
    Please help, this is making me crazy!

    Find out which instance variables in your classes reference the driver class and add the "transient" keyword to their definition. They will then be excluded from serialization. After deserialization it is then up to you to populate the variables with new objects (they will be null then).

  • NotSerializableException when writing to disk

    Hi,
    I am having a problem with simply writing an object to disk. Have a class called DataHolder which implements serializable. This class consists of about a dozen strings and nothing else:
    class DataHolder implements Serializable{
    String a="abc";
    String b="def";
    etc..........
    I add instances to an ArrayList then pull them out.
    DataHolder holder=(DataHolder)list.get(i);
    When I try to write them to disk with:
    ObjectOutputStream objectOut = new ObjectOutputStream(new FileOutputStream("myFile"));
    objectOut.writeObject(holder);
    I get an error:
    java.io.NotSerializableException: DataHolder
    I know there must be a simple explanation for this but I don't see it. I think DataHolder should be serializable since it implements Serializable, right?
    thanks
    john

    Hi john,
    The error[b] java.io.NotSerializableException:
    thrown when an instance is required to have a Serializable interface. The serialization runtime or the class of the instance can throw this exception.
    For this the argument should be the name of the class.
    Try by doing
    class DataHolder implements java.io.Serializable {
    String a="abc";
    String b="def";
    Hope this will help you.
    Regards,
    Anil.
    Tehnical Support Engineer.

  • RMI related NotSerializableException problem

    Hi,
    I am attempting to write a distributed chess player program. I've written a ChessServer class that all clients register with before they can play (which keeps track of how many clients are connected). Each clients creates an instance of a ChessServerListener which they add to the ChessServer's vector of listeners via a remote call to the method 'addChessServerListener(ChessServerListener listener)' in the ChessServer class. Everytime a new Client registers with the server, an event method is fired which notifies all listeners.
    My client uses the following code to create the listener and add it to the server's vector of listeners:
    chessServerListener = new ChessServerListener() {
    public void clientListValueChanged() {
    System.out.println("client list value changed");
    //The following results in a RemoteException:
    chessServer.addChessServerListener(chessServerListener);
    The exception is as follows:
    trouble: RemoteException
    java.rmi.MarshalException: error marshalling arguments; nested exception is:
              java.io.NotSerializableException: frontend.IBoard$12
              at sun.rmi.server.UnicastRef.invoke(Uknown Source)
              at frontend.RMI.ChessServerImpl_Stub.addChessServerListener(Uknown Source)
              at frontend.IBoard.connectToChessServer(IBoard.java:430)
    I have done a million Google searches trying to sort this out, and I think it might have something to do with the code I use to start up my ChessServer, which is as follows:
    UnicastRemoteObject.exportObject(this,REG_PORT);
    reg = LocateRegistry.createRegistry(REG_PORT);
    reg.rebind(SERVER_NAME, this);
    Can anyone help me? I can't continue with my project until I solve this!
    Thanks in advance.

    Anonymous classes that you create from an interface implement only that interface; they are not Serializable. You need to declare the listener as a named local class:class LocalClass implements ChessServerListener, Serializable {
        public void clientListValueChanged() {
            System.out.println("client list value changed");
    chessServerListener = new LocalClass();
    chessServer.addChessServerListener(chessServerListener);
    ...

  • NotSerializableException using PreparedStatement in 2.3.1

    Hi,
    I tried the new 2.3.1 and got a java.io.NotSerializableException using
    query.executeWithMap(...) on a precompiled query. The same query without
    precompilation succeeds.
    We use an Oracle 8.1.7.
    This is the query:
    String filter = "fromStateNode == from && action.name == name";
    Class cls = Class.forName("TransitionDef");
    Extent extent = pm.getExtent (cls, true);
    Query query = pm.newQuery (extent, filter);
    query.declareParameters("StateNodeDef from, String name");
    query.compile();
    now let:
    StateNodeDef fromState => be a PersistenceCapable class,
    initialized by a former query
    String actionName => a non-null-String
    and execute the query:
    HashMap params = new HashMap(2);
    params.put("from",fromState);
    params.put("name",actionName);
    Collection result = (Collection)query.executeWithMap(params);
    => The precompiled query throws the java.io.NotSerializableException (the next
    line of the stack trace is the method that executes the query)
    => If I remove the query.compile, the query succeeds.
    The important parts of package.jdo:
    <class name="TransitionDef">
    <extension vendor-name="tt" key="table" value="VC_TRANSITION"/>
    <extension vendor-name="tt" key="pk-column" value="ID"/>
    <extension vendor-name="tt" key="lock-column" value="none"/>
    <extension vendor-name="tt" key="class-column" value="none"/>
    <!-- a StateNodeDef: -->
    <field name="fromStateNode">
    <extension vendor-name="tt" key="data-column" value="FROM_NODE_ID"/>
    </field>
    <!-- a StateNodeDef: -->
    <field name="toNode">
    <extension vendor-name="tt" key="data-column" value="TO_NODE_ID"/>
    </field>
    <!-- an ActionDef: -->
    <field name="action">
    <extension vendor-name="tt" key="data-column" value="ACT_ID"/>
    </field>
    </class>
    <class name="NodeDef">
    <extension vendor-name="tt" key="table" value="VC_TYPED_NODE"/>
    <extension vendor-name="tt" key="pk-column" value="ID"/>
    <extension vendor-name="tt" key="lock-column" value="none"/>
    <extension vendor-name="tt" key="class-column" value="CLASS"/>
    <field name="name">
    <extension vendor-name="tt" key="data-column" value="NAME"/>
    </field>
    </class>
    <class name="StateNodeDef" persistence-capable-superclass="NodeDef">
    ...some more fields...
    </class>
    <class name="ActionDef">
    <extension vendor-name="tt" key="table" value="VC_ACTION"/>
    <extension vendor-name="tt" key="pk-column" value="ID"/>
    <extension vendor-name="tt" key="lock-column" value="none"/>
    <extension vendor-name="tt" key="class-column" value="none"/>
    <field name="type" persistence-modifier="none"/>
    <field name="name">
    <extension vendor-name="tt" key="data-column" value="NAME"/>
    </field>
    ...some more fields...
    </class>
    Another hint for the solution could be this case:
    The same query with the parameters
    StateNodeDef fromState => be a PersistenceCapable class,
    initialized by a former query
    but now:
    String actionName => a NULL-String
    succeeds precompiled and compiled.
    Any ideas?
    Thanks,
    Christian

    Abe White wrote:
    Could you please post the stack trace for the exception?As described before:
    => The precompiled query throws the java.io.NotSerializableException (the next
    line of the stack trace is the method that executes the query)
    The method that executes the query (calls query.executeWithMap) is a
    business method, the stack trace doesn't contain any information that
    spots to kodo-methods, I suppose the query-implementation does not catch
    this exception.
    Maybe kodo tries to serialize any objects of the query?
    Hope this helps.
    Christian

  • Coherence POF java.io.NotSerializableException on standalone Webcenter spaces server.

    Hi,
    I’m using coherence(V3.6.1) with POF serialization in ADF web application. I have setup local coherence server node and Jdev integrated webcenter server in my local system(windows 7 OS), the application works perfectly when I run in local Jdeveloper integrated server. But when I deploy the application on dev environment ( standalone webcenter spaces server v11G on Unix OS) we are getting exception “(Wrapped) java.io.NotSerializableException: com.enbridge.co.ux.coherence.pojos.CommodityPojo”
    It seems that POF is not configured properly on the standalone webcenter (spaces) server, please help finding out the solution for this issue. On standalone webcenter spaces server is there any extra configurations we have to do?
    The error logs and configuration filess I have used:
    1. Exception logs:
    <14-Jun-2013 3:43:04 o'clock AM MDT> <Error> <HTTP> <BEA-101216> <Servlet: "MMFBootStrapServlet" failed to preload on startup in Web application: "MMFUIPortal-Portal-context-root".
    (Wrapped) java.io.NotSerializableException: com.enbridge.co.ux.coherence.pojos.CommodityPojo
                    at com.tangosol.util.ExternalizableHelper.toBinary(ExternalizableHelper.java:215)
                    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$ConverterValueToBinary.convert(PartitionedCache.CDB:3)
                    at com.tangosol.util.ConverterCollections$ConverterMap.put(ConverterCollections.java:1578)
                    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$ViewMap.put(PartitionedCache.CDB:1)
                    at com.tangosol.coherence.component.util.SafeNamedCache.put(SafeNamedCache.CDB:1)
                    Truncated. see log file for complete stacktrace
    Caused By: java.io.NotSerializableException: com.enbridge.co.ux.coherence.pojos.CommodityPojo
                    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1164)
                    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:330)
                    at java.util.ArrayList.writeObject(ArrayList.java:570)
                    at sun.reflect.GeneratedMethodAccessor983.invoke(Unknown Source)
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                    Truncated. see log file for complete stacktrace
    2.     2.  tangosol-coherence-override.xml:
    <?xml version='1.0'?>
    <coherence xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
               xmlns="http://xmlns.oracle.com/coherence/coherence-operational-config"
               xsi:schemaLocation="http://xmlns.oracle.com/coherence/ coherence-operational-config coherence-operational-config.xsd">
      <cluster-config>
        <member-identity>
          <cluster-name>mmf_Coh_Cluster</cluster-name>
        </member-identity>
        <multicast-listener>
          <address>224.3.6.0</address>
          <port>60001</port>
          <time-to-live>0</time-to-live>
        </multicast-listener>
        <serializers>
          <serializer>
            <class-name>com.tangosol.io.pof.ConfigurablePofContext</class-name>
            <init-params>
              <init-param>
                <param-type>java.lang.String</param-type>
                <param-value system-property="pof.config">mmfui-pof-config.xml</param-value>
               </init-param>
            </init-params>
          </serializer>
        </serializers>
      </cluster-config>
      <configurable-cache-fact0ry-config>
        <init-params>
          <init-param>
            <param-type>java.lang.String</param-type>
            <param-value system-property="tangosol.coherence.cacheconfig">mmfui-cache-config.xml</param-value>
          </init-param>
        </init-params>
      </configurable-cache-fact0ry-config>
    </coherence>
    3. mmfui-cache-config.xml
    <?xml version="1.0"?>
    <!DOCTYPE cache-config SYSTEM "cache-config.dtd">
    <cache-config>
    <defaults>
        <serializer>pof</serializer>
    </defaults>
      <caching-scheme-mapping>
        <cache-mapping>
          <cache-name>mmfcache</cache-name>
          <scheme-name>ExamplesPartitionedPofScheme</scheme-name>
        </cache-mapping>
      </caching-scheme-mapping>
      <caching-schemes>
        <distributed-scheme>
          <scheme-name>ExamplesPartitionedPofScheme</scheme-name>
          <service-name>PartitionedPofCache</service-name>
          <serializer>
          <instance>
            <class-name>com.tangosol.io.pof.ConfigurablePofContext</class-name>
            <init-params>
             <init-param>
                <param-type>String</param-type>
                <param-value system-property="pof.config">mmfui-pof-config.xml</param-value>
              </init-param>       
            </init-params>
          </instance>
          </serializer>
          <backing-map-scheme>
            <local-scheme>
              <!-- each node will be limited to 250MB -->
              <high-units>250M</high-units>
              <unit-calculator>binary</unit-calculator>
            </local-scheme>
          </backing-map-scheme>
          <autostart>true</autostart>
        </distributed-scheme>
      </caching-schemes>
    </cache-config>
    4. mmfui-pof-config.xml
    <?xml version="1.0"?>
    <!DOCTYPE pof-config SYSTEM "pof-config.dtd">
    <pof-config>
      <user-type-list>
        <!-- coherence POF user types -->
        <include>coherence-pof-config.xml</include>
        <!-- com.tangosol.examples package -->
        <user-type>
          <type-id>1001</type-id>
          <class-name>com.enbridge.co.ux.coherence.pojos.CommodityPojo</class-name>
        </user-type>
      </user-type-list>
    </pof-config>
    5. ~-cache-server.sh file on coherence distribution
    COHERENCE_HOME=/u01/app/oracle/product/fmw11g/coherence_3.6
    JAVA_HOME=/usr/java/jdk1.6.0_24
    PATH=$PATH:$JAVA_HOME/bin
    CONFIG_HOME=/u01/app/oracle/product/fmw11g/coherence_3.6/mmfconfig
    # specify the JVM heap size
    MEMORY=512m
    if [ ! -f ${COHERENCE_HOME}/bin/cache-server.sh ]; then
      echo "coherence.sh: must be run from the Coherence installation directory."
      exit
    fi
    if [ -f $JAVA_HOME/bin/java ]; then
      JAVAEXEC=$JAVA_HOME/bin/java
    else
      JAVAEXEC=java
    Fi
    COH_OPTS=$COH_OPTS  -Dtangosol.coherence.distributed.localstorage=true -Dtangosol.coherence.cluster=mmf_Coh_Cluster -Dtangosol.coherence.clusterport=60001 -Dtangosol.coherence.clusteraddress=224.3.6.0 -Dtangosol.coherence.cacheconfig=~/mmfui-cache-config.xml
    JAVA_OPTS="-Xms$MEMORY -Xmx$MEMORY -Dtangosol.pof.enabled=true -Dtangosol.pof.config=~/mmfui-pof-config.xml"
    $JAVAEXEC $COH_OPTS -server -showversion $JAVA_OPTS -cp "$COHERENCE_VAR:$CONFIG_HOME:$COHERENCE_HOME/lib/coherence.jar:$COHERENCE_HOME/lib/coherence-common-1.5.0.jar:pojoClasses.jar" com.tangosol.net.DefaultCacheServer $1
    6.COHERENCE_PROPERTIES variable added in setDomainEnv.sh file:
    COHERENCE_PROPERTIES=-Dtangosol.coherence.distributed.localstorage=false -Dtangosol.coherence.clusteraddress=224.3.6.0 -Dtangosol.coherence.clusterport=60001 -Dtangosol.coherence.cluster=mmf_Coh_Cluster -Dtangosol.coherence.override=~/tangosol-coherence-override.xml  -Dtangosol.coherence.cacheconfig=~/mmfui-cache-config.xml -Dpof.config=~/ mmfui-pof-config.xml
    JAVA_PROPERTIES=-Dplatform.home=${WL_HOME} -Dwls.home=${WLS_HOME} -Dweblogic.home=${WLS_HOME} ${COHERENCE_PROPERTIES}

    does the below class implement java.io.Serializable
    com.enbridge.co.ux.coherence.pojos.CommodityPojo
    if not implement serializable

  • Drag and Drop and java.io.NotSerializableException

    I have been implementing some code to essentially allow me to drag and drop from one JTree to another. The requirement was to be able to drag multiple nodes at one time and drop them on the other JTree in the order selected.
    I was getting a java.io.NotSerializableException when I was in the drop code in the destination jTree and could not figure out what was going on. Basically, I was wrapping all the objects that i wanted to transfer in a custom ArrayList subclass that implemented transferable. The NotSerializableException was was indicating that the object in the JList was not serializable.
    If you are getting a NotSerializableException and you have defined a custom DataFlavor like so:
    public static DataFlavor DATATYPE_TRANSFER =
            new DataFlavor(
               TransferableImplementor.class,  //  make sure that this is the class that implements transferable
                "Datatype Information");make sure that the .class is indeed the class that implements the transferable interface (and not some other random .class). You can be led down a wild goose chase on trying to make sure every object in your Transferable implementor class is serializable, when the problem lays in the DataFlavor instantiation.
    Nik

    If you haven't already read these, here are a couple of good sources for DND tree implementation details.
    http://www.javaworld.com/javaworld/javatips/jw-javatip97.html
    http://www.javaworld.com/javaworld/javatips/jw-javatip114.html

  • Need help in solving java.io.NotSerializableException

    Hi,
    Weblogic 9.2
    I need help in solving the java.io.NotSerializableException: weblogic.jndi.internal.ApplicationNamingNode
    I dont know why ApplicationNamingNode has to be serialized.
    Full stack trace will be provided if needed.
    thank you

    Here is the stack trace
    Remote service [com.gfs.corp.component.price.customerbid.PCBMaint] threw exception
    weblogic.rjvm.PeerGoneException: ; nested exception is:
         java.rmi.UnmarshalException: Incoming message header or abbreviation processing failed ; nested exception is:
         java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: weblogic.jndi.internal.ApplicationNamingNode
         at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:211)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:338)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:252)
         at com.gfs.corp.component.price.maint.customerbid.ejb.PCBMaint_q9igfc_EOImpl_922_WLStub.createBid(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.springframework.remoting.rmi.RmiClientInterceptorUtils.doInvoke(RmiClientInterceptorUtils.java:107)
         at org.springframework.ejb.access.SimpleRemoteSlsbInvokerInterceptor.doInvoke(SimpleRemoteSlsbInvokerInterceptor.java:75)
         at org.springframework.ejb.access.AbstractRemoteSlsbInvokerInterceptor.invoke(AbstractRemoteSlsbInvokerInterceptor.java:119)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy47.createBid(Unknown Source)
         at com.gfs.corp.bid.price.controller.DefaultBidPriceUpdater.awardBid(DefaultBidPriceUpdater.java:83)
         at com.gfs.corp.bid.price.ejb.AwardQueueMessageHandler.onMessage(AwardQueueMessageHandler.java:98)
         at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:429)
         at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:335)
         at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:291)
         at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4072)
         at weblogic.jms.client.JMSSession.execute(JMSSession.java:3962)
         at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:4490)
         at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    Caused by: java.rmi.UnmarshalException: Incoming message header or abbreviation processing failed ; nested exception is:
         java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: weblogic.jndi.internal.ApplicationNamingNode
         at weblogic.rjvm.MsgAbbrevJVMConnection.dispatch(MsgAbbrevJVMConnection.java:441)
         at weblogic.rjvm.t3.MuxableSocketT3.dispatch(MuxableSocketT3.java:368)
         at weblogic.socket.AbstractMuxableSocket.dispatch(AbstractMuxableSocket.java:378)
         at weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:105)
         at weblogic.socket.SocketReaderRequest.run(SocketReaderRequest.java:29)
         at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:42)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)
    Caused by: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: weblogic.jndi.internal.ApplicationNamingNode
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1309)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
         at weblogic.transaction.internal.PropagationContext.readRollbackReason(PropagationContext.java:804)
         at weblogic.transaction.internal.PropagationContext.readExternal(PropagationContext.java:376)
         at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1755)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1717)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
         at weblogic.rmi.provider.BasicServiceContext.readExternal(BasicServiceContext.java:56)
         at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1755)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1717)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
         at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:195)
         at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:565)
         at weblogic.rjvm.MsgAbbrevInputStream.readExtendedContexts(MsgAbbrevInputStream.java:224)
         at weblogic.rjvm.MsgAbbrevInputStream.init(MsgAbbrevInputStream.java:188)
         at weblogic.rjvm.MsgAbbrevJVMConnection.dispatch(MsgAbbrevJVMConnection.java:435)
         ... 7 more
    Caused by: java.io.NotSerializableException: weblogic.jndi.internal.ApplicationNamingNode
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1081)
         at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
         at weblogic.jndi.internal.WLContextImpl.writeExternal(WLContextImpl.java:453)
         at weblogic.jndi.internal.WLEventContextImpl.writeExternal(WLEventContextImpl.java:422)
         at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1310)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1288)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
         at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
         at weblogic.transaction.internal.PropagationContext.convertRollbackReasonToBytes(PropagationContext.java:735)
         at weblogic.transaction.internal.PropagationContext.writeRollbackReason(PropagationContext.java:819)
         at weblogic.transaction.internal.PropagationContext.writeExternal(PropagationContext.java:183)
         at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1310)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1288)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
         at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
         at weblogic.rmi.provider.BasicServiceContext.writeExternal(BasicServiceContext.java:48)
         at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1310)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1288)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
         at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
         at weblogic.rjvm.MsgAbbrevOutputStream.writeObject(MsgAbbrevOutputStream.java:614)
         at weblogic.rjvm.MsgAbbrevOutputStream.marshalCustomCallData(MsgAbbrevOutputStream.java:319)
         at weblogic.rjvm.MsgAbbrevOutputStream.transferThreadLocalContext(MsgAbbrevOutputStream.java:149)
         at weblogic.rmi.internal.BasicServerRef.postInvoke(BasicServerRef.java:606)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:455)
         at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:58)
         at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:975)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    2007-10-18 08:38:04,931 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] WARN org.springframework.ejb.access.SimpleRemoteStatelessSessionProxyFactoryBean - Could not invoke 'remove' on remote EJB proxy
    weblogic.rjvm.PeerGoneException: ; nested exception is:
         java.rmi.UnmarshalException: Incoming message header or abbreviation processing failed ; nested exception is:
         java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: weblogic.jndi.internal.ApplicationNamingNode
         at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:211)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:338)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:252)
         at com.gfs.corp.component.price.maint.customerbid.ejb.PCBMaint_q9igfc_EOImpl_922_WLStub.remove(Unknown Source)
         at org.springframework.ejb.access.AbstractRemoteSlsbInvokerInterceptor.removeSessionBeanInstance(AbstractRemoteSlsbInvokerInterceptor.java:227)
         at org.springframework.ejb.access.SimpleRemoteSlsbInvokerInterceptor.releaseSessionBeanInstance(SimpleRemoteSlsbInvokerInterceptor.java:118)
         at org.springframework.ejb.access.SimpleRemoteSlsbInvokerInterceptor.doInvoke(SimpleRemoteSlsbInvokerInterceptor.java:95)
         at org.springframework.ejb.access.AbstractRemoteSlsbInvokerInterceptor.invoke(AbstractRemoteSlsbInvokerInterceptor.java:119)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
         at $Proxy47.createBid(Unknown Source)
         at com.gfs.corp.bid.price.controller.DefaultBidPriceUpdater.awardBid(DefaultBidPriceUpdater.java:83)
         at com.gfs.corp.bid.price.ejb.AwardQueueMessageHandler.onMessage(AwardQueueMessageHandler.java:98)
         at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:429)
         at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:335)
         at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:291)
         at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:4072)
         at weblogic.jms.client.JMSSession.execute(JMSSession.java:3962)
         at weblogic.jms.client.JMSSession$UseForRunnable.run(JMSSession.java:4490)
         at weblogic.work.ServerWorkManagerImpl$WorkAdapterImpl.run(ServerWorkManagerImpl.java:518)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    Caused by: java.rmi.UnmarshalException: Incoming message header or abbreviation processing failed ; nested exception is:
         java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: weblogic.jndi.internal.ApplicationNamingNode
         at weblogic.rjvm.MsgAbbrevJVMConnection.dispatch(MsgAbbrevJVMConnection.java:441)
         at weblogic.rjvm.t3.MuxableSocketT3.dispatch(MuxableSocketT3.java:368)
         at weblogic.socket.AbstractMuxableSocket.dispatch(AbstractMuxableSocket.java:378)
         at weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:105)
         at weblogic.socket.SocketReaderRequest.run(SocketReaderRequest.java:29)
         at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:42)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)
    Caused by: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: weblogic.jndi.internal.ApplicationNamingNode
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1309)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
         at weblogic.transaction.internal.PropagationContext.readRollbackReason(PropagationContext.java:804)
         at weblogic.transaction.internal.PropagationContext.readExternal(PropagationContext.java:376)
         at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1755)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1717)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
         at weblogic.rmi.provider.BasicServiceContext.readExternal(BasicServiceContext.java:56)
         at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1755)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1717)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348)
         at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:195)
         at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:565)
         at weblogic.rjvm.MsgAbbrevInputStream.readExtendedContexts(MsgAbbrevInputStream.java:224)
         at weblogic.rjvm.MsgAbbrevInputStream.init(MsgAbbrevInputStream.java:188)
         at weblogic.rjvm.MsgAbbrevJVMConnection.dispatch(MsgAbbrevJVMConnection.java:435)
         ... 7 more
    Caused by: java.io.NotSerializableException: weblogic.jndi.internal.ApplicationNamingNode
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1081)
         at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
         at weblogic.jndi.internal.WLContextImpl.writeExternal(WLContextImpl.java:453)
         at weblogic.jndi.internal.WLEventContextImpl.writeExternal(WLEventContextImpl.java:422)
         at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1310)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1288)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
         at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375)
         at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
         at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
         at weblogic.transaction.internal.PropagationContext.convertRollbackReasonToBytes(PropagationContext.java:735)
         at weblogic.transaction.internal.PropagationContext.writeRollbackReason(PropagationContext.java:819)
         at weblogic.transaction.internal.PropagationContext.writeExternal(PropagationContext.java:183)
         at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1310)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1288)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
         at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
         at weblogic.rmi.provider.BasicServiceContext.writeExternal(BasicServiceContext.java:48)
         at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1310)
         at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1288)
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
         at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
         at weblogic.rjvm.MsgAbbrevOutputStream.writeObject(MsgAbbrevOutputStream.java:614)
         at weblogic.rjvm.MsgAbbrevOutputStream.marshalCustomCallData(MsgAbbrevOutputStream.java:319)
         at weblogic.rjvm.MsgAbbrevOutputStream.transferThreadLocalContext(MsgAbbrevOutputStream.java:149)
         at weblogic.rmi.internal.ReplyOnError.run(ReplyOnError.java:54)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    2007-10-18 08:38:05,244 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] DEBUG org.springframework.ejb.access.SimpleRemoteStatelessSessionProxyFactoryBean - Could not connect to remote EJB [com.gfs.corp.component.price.customerbid.PCBMaint] - retrying
    org.springframework.remoting.RemoteConnectFailureException: Could not connect to remote service [com.gfs.corp.component.price.customerbid.PCBMaint]; nested exception is weblogic.rjvm.PeerGoneException: ; nested exception is:
         java.rmi.UnmarshalException: Incoming message header or abbreviation processing failed ; nested exception is:
         java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: weblogic.jndi.internal.ApplicationNamingNode
    thank you

Maybe you are looking for

  • Amex SPG 10K SL w/ Major Derog

    Just wanted to share in case anyone who is still working on a rebuild would find it useful. Tried to boil it down to bullets so it's as straightforward as possible. A year ago I had gotten my scores into the 680s at all 3, and got a targeted mail off

  • Can i set up an iphone 3GS when my left bottom of my screen isn't responding? (Can't click on '123' button)

    So I got an old iPhone 3GS from a friend. He said he would reset it for me. He also said that sometimes the bottom of the screen isn't responding (only when you use the keyboard). Now I'm home and I want to set-up the iphone with my icloud and such.

  • Secondary storyline issue in 10.0.6

    Hello. I am having an issue that I don't remember happening in 10.0.5. I want to move a clip in the secondary storyline while skimming through it in the process. Normally this happens at the point where your playhead is. However, since upgrading to 1

  • Read pageID / iView-Path

    Hi all I'd like to make a "Support-Link"-Application which will be started from the PageToolBar. When starting this App it should read the pageID of the content currently viewed by the user, something like "pcd:portal_content/TEST/TEST_iViews/Footer"

  • Can Premiere create a Quicktime movie that loops?

    I have some Quicktime movies (.mov) that I made in Director. I want them to loop by default, but there's no setting for this in Director that I can find. (Not getting any answers on the Director forum...) I know I can set Quicktime Player to loop mov