Not Serializable exception saving where criteria in QueryModelBase

I take the exception below processing every href. It appears that
where criteria is not being applied also though I've not pursued that
yet.
THE ERROR--------------------------------------------------------------
Web event invoked:
NDbasicApp.NDbasic.PgCustomerListRepeated1TiledView.HrCustomerID
[27/Oct/2000 20:43:37:9] error: Exception: SERVLET-IO_exception:
IOException occurred
Exception Stack Trace:
java.io.NotSerializableException:
com.iplanet.jato.model.sql.QueryFieldSchema
at java.io.ObjectOutputStream.outputObject
(ObjectOutputStream.java:845)
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.ArrayList.writeObject(ArrayList.java:512)
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
com.netscape.server.servlet.platformhttp.PlatformNASSession.putMember
Value(Unknown Source)
at
com.netscape.server.servlet.platformhttp.PlatformNASSession.putValue(
Unknown Source)
at
com.netscape.server.servlet.platformhttp.PlatformNASSession.setAttrib
ute(Unknown Source)
at
com.iplanet.jato.model.sql.QueryModelBase.storeSessionedUserWhereCrit
eria(QueryModelBase.java:1368)
at com.iplanet.jato.model.sql.QueryModelBase.requestComplete
(QueryModelB
ase.java:1426)
at
com.iplanet.jato.ModelManager.notifyRequestCompletionListeners(ModelM
anager.java:218)
at NDbasicApp.NDbasicAppServletBase.fireAfterRequestEvent
(NDbasicAppServ
letBase.java:72)
at NDbasicApp.NDbasic.NDbasicServlet.fireAfterRequestEvent
(NDbasicServle
t.java:83)
at com.iplanet.jato.ApplicationServletBase.processRequest
(ApplicationSer
vletBase.java:458)
at com.iplanet.jato.ApplicationServletBase.doPost
(ApplicationServletBase
.java:293)
at com.iplanet.jato.ApplicationServletBase.doGet
(ApplicationServletBase.
java:275)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:865)
at com.netscape.server.servlet.servletrunner.ServletInfo.service
(Unknown
Source)
at
com.netscape.server.servlet.servletrunner.ServletRunner.execute(Unkno
wn 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)
An example href:
<TR>
<TD ALIGN=LEFT VALIGN=MIDDLE><a href="NDbasicServlet?
page=PgCustomerList&PgCustomerList.Repeated1
[0.hrCustomerID=ALFKI&&jato.AutoSource.0=ALFKI&pageAttributes=*amF0by5Q
Z0N1c3RvbWVyTGlzdC5SZXBlYXRlZDEud2ViQWN0aW9uLmN1cnJlbnRSb3dPZmZzZXQ9ck8w
QUJYUUFBVEElM0QmamF0by5QZ0N1c3RvbWVyTGlzdC5SZXBlYXRlZDEud2ViQWN0aW9uLm1h
eERpc3BsYXlSb3dzPXJPMEFCWFFBQVRVJTNE" target="frRight">ALFKI</a>
</TD>
<TD ALIGN=LEFT VALIGN=MIDDLE>Alfreds Futterkiste
</TD>
</TR>
Error occurs in storeUserWhereCriteria of QueryModelBase doing a
session.setAttribute

I guess we are discussing this line:
p.println("The saved DNA sequence is: " + b +"/n"+ "The Description is: "+ desc);b is a String[] and arrays don't have overridden toString(). You can use Arrays.asList(b) to get a better String representation or make your own method that lists array to String.
As far as the null desctiption is concerned - is is possible that there is no more input and readLine returns null?
HTH
Mike

Similar Messages

  • SevletContextImpl not serializable exception when one cluster is restarted.

    Hello,
              I am using WLS 5.1 SP8 with apache plug-in and in-memory session
              replication. There is one proxy server and two cluster: A and B. I started
              cluster A and B together and each cluster would "see" each other. I shut
              down cluster A and my session will continue working fine on cluster B.
              However, when I restart cluster A, I get the the following stack trace from
              cluster B:
              Mon Apr 02 12:04:56 PDT 2001:<I> <Cluster> Adding server
              6345049800752707933S172
              .17.17.77:[80,80,443,443,80,-1] to cluster view
              Mon Apr 02 12:04:57 PDT 2001:<E> <Kernel> ExecuteRequest failed.
              java.io.NotSerializableException:
              weblogic.servlet.internal.ServletContextImpl
              at java.lang.Throwable.fillInStackTrace(Native Method)
              at java.lang.Throwable.fillInStackTrace(Compiled Code)
              at java.lang.Throwable.<init>(Compiled Code)
              at java.lang.Exception.<init>(Compiled Code)
              at java.io.IOException.<init>(Compiled Code)
              at
              java.io.ObjectStreamException.<init>(ObjectStreamException.java:29)
              at
              java.io.NotSerializableException.<init>(NotSerializableException.java
              :31)
              at java.io.ObjectOutputStream.outputObject(Compiled Code)
              at java.io.ObjectOutputStream.writeObject(Compiled Code)
              at java.io.ObjectOutputStream.outputClassFields(Compiled Code)
              at java.io.ObjectOutputStream.defaultWriteObject(Compiled Code)
              at java.io.ObjectOutputStream.outputObject(Compiled Code)
              at java.io.ObjectOutputStream.writeObject(Compiled Code)
              at java.util.Hashtable.writeObject(Compiled Code)
              at java.lang.reflect.Method.invoke(Native Method)
              at java.lang.reflect.Method.invoke(Compiled Code)
              at java.io.ObjectOutputStream.invokeObjectWriter(Compiled Code)
              at java.io.ObjectOutputStream.outputObject(Compiled Code)
              at java.io.ObjectOutputStream.writeObject(Compiled Code)
              at
              weblogic.common.internal.WLObjectOutputStreamBase.writeObject(Compiled Code)
              at
              weblogic.servlet.internal.session.ReplicatedSession.writeExternal(Replicated
              Session.java:74)
              at
              weblogic.common.internal.WLObjectOutputStreamBase.writePublicSerializable(Co
              mpiled Code)
              at
              weblogic.common.internal.WLObjectOutputStreamBase.writeObjectBody(Compiled
              Code)
              at
              weblogic.common.internal.WLObjectOutputStreamBase.writeObject(Compiled Code)
              at
              weblogic.common.internal.WLObjectOutputStreamBase.writeObjectWL(Compi
              at
              weblogic.rmi.extensions.AbstractOutputStream2.writeObject(Compiled Code)
              at weblogic.rmi.extensions.AbstractOutputStream.writeObject(Compiled
              Code)
              at
              weblogic.cluster.replication.ReplicationManager_WLStub.create(ReplicationMan
              ager_WLStub.java:86)
              at
              weblogic.cluster.replication.ReplicationManager.createSecondary(Compiled
              Code)
              at
              weblogic.cluster.replication.ReplicationManager.checkHosts(Compiled Code)
              at
              weblogic.cluster.replication.ReplicationManager.clusterMembersChanged(Replic
              ationManager.java:582)
              at
              weblogic.cluster.MemberStash$ClusterMembersChangeDeliverer.execute(MemberSta
              sh.java:207)
              at weblogic.kernel.ExecuteThread.run(Compiled Code)
              --------------- nested within: ------------------
              weblogic.rmi.MarshalException: error marshalling arguments
              - with nested exception:
              [java.io.NotSerializableException:
              weblogic.servlet.internal.ServletContextImpl]
              at java.lang.Throwable.fillInStackTrace(Native Method)
              at java.lang.Throwable.fillInStackTrace(Compiled Code)
              at java.lang.Throwable.<init>(Compiled Code)
              at java.lang.Exception.<init>(Compiled Code)
              at java.io.IOException.<init>(Compiled Code)
              at weblogic.common.T3Exception.<init>(T3Exception.java:47)
              at weblogic.rmi.RemoteException.<init>(RemoteException.java:41)
              at weblogic.rmi.MarshalException.<init>(MarshalException.java:31)
              at
              weblogic.cluster.replication.ReplicationManager_WLStub.create(ReplicationMan
              ager_WLStub.java:90)
              at
              weblogic.cluster.replication.ReplicationManager.createSecondary(Compiled
              Code)
              at
              weblogic.cluster.replication.ReplicationManager.checkHosts(Compiled Code)
              at
              weblogic.cluster.replication.ReplicationManager.clusterMembersChanged(Replic
              ationManager.java:582)
              at
              weblogic.cluster.MemberStash$ClusterMembersChangeDeliverer.execute(MemberSta
              sh.java:207)
              at weblogic.kernel.ExecuteThread.run(Compiled Code)
              --------------- nested within: ------------------
              weblogic.rmi.extensions.RemoteRuntimeException: Undeclared checked
              exception - w
              ith nested exception:
              [weblogic.rmi.MarshalException: error marshalling arguments
               - with nested exception:
              [java.io.NotSerializableException:
              weblogic.servlet.internal.ServletContextImpl]
              at java.lang.Throwable.fillInStackTrace(Native Method)
              at java.lang.Throwable.fillInStackTrace(Compiled Code)
              at java.lang.Throwable.<init>(Compiled Code)
              at java.lang.Exception.<init>(Compiled Code)
              at java.lang.RuntimeException.<init>(RuntimeException.java:47)
              at
              weblogic.utils.NestedRuntimeException.<init>(NestedRuntimeException.java:23)
              at
              weblogic.rmi.extensions.RemoteRuntimeException.<init>(RemoteRuntimeException
              .java:22)
              at
              weblogic.cluster.replication.ReplicationManager_WLStub.create(ReplicationMan
              ager_WLStub.java:108)
              at
              weblogic.cluster.replication.ReplicationManager.createSecondary(Compiled
              Code)
              at
              weblogic.cluster.replication.ReplicationManager.checkHosts(Compiled Code)
              at
              weblogic.cluster.replication.ReplicationManager.clusterMembersChanged(Replic
              ationManager.java:582)
              at
              weblogic.cluster.MemberStash$ClusterMembersChangeDeliverer.execute(MemberSta
              sh.java:207)
              at weblogic.kernel.ExecuteThread.run(Compiled Code)
              I looked everywhere in our code and we don't store ServletContext object
              anywhere in the session level..Can someone give me some hints as to what the
              problem is?
              Thanks for your help in advance.
              Vincent
              

    You probably have a non serializable object in your session.
              You can have only serializable data in the session.
              Cheers,
              -- Prasad
              Vincent Shek wrote:
              > Hello,
              >
              > I am using WLS 5.1 SP8 with apache plug-in and in-memory session
              > replication. There is one proxy server and two cluster: A and B. I started
              > cluster A and B together and each cluster would "see" each other. I shut
              > down cluster A and my session will continue working fine on cluster B.
              > However, when I restart cluster A, I get the the following stack trace from
              > cluster B:
              >
              > Mon Apr 02 12:04:56 PDT 2001:<I> <Cluster> Adding server
              > 6345049800752707933S172
              > .17.17.77:[80,80,443,443,80,-1] to cluster view
              > Mon Apr 02 12:04:57 PDT 2001:<E> <Kernel> ExecuteRequest failed.
              > java.io.NotSerializableException:
              > weblogic.servlet.internal.ServletContextImpl
              > at java.lang.Throwable.fillInStackTrace(Native Method)
              > at java.lang.Throwable.fillInStackTrace(Compiled Code)
              > at java.lang.Throwable.<init>(Compiled Code)
              > at java.lang.Exception.<init>(Compiled Code)
              > at java.io.IOException.<init>(Compiled Code)
              > at
              > java.io.ObjectStreamException.<init>(ObjectStreamException.java:29)
              > at
              > java.io.NotSerializableException.<init>(NotSerializableException.java
              > :31)
              > at java.io.ObjectOutputStream.outputObject(Compiled Code)
              > at java.io.ObjectOutputStream.writeObject(Compiled Code)
              > at java.io.ObjectOutputStream.outputClassFields(Compiled Code)
              > at java.io.ObjectOutputStream.defaultWriteObject(Compiled Code)
              > at java.io.ObjectOutputStream.outputObject(Compiled Code)
              > at java.io.ObjectOutputStream.writeObject(Compiled Code)
              > at java.util.Hashtable.writeObject(Compiled Code)
              > at java.lang.reflect.Method.invoke(Native Method)
              > at java.lang.reflect.Method.invoke(Compiled Code)
              > at java.io.ObjectOutputStream.invokeObjectWriter(Compiled Code)
              > at java.io.ObjectOutputStream.outputObject(Compiled Code)
              > at java.io.ObjectOutputStream.writeObject(Compiled Code)
              > at
              > weblogic.common.internal.WLObjectOutputStreamBase.writeObject(Compiled Code)
              > at
              > weblogic.servlet.internal.session.ReplicatedSession.writeExternal(Replicated
              > Session.java:74)
              > at
              > weblogic.common.internal.WLObjectOutputStreamBase.writePublicSerializable(Co
              > mpiled Code)
              > at
              > weblogic.common.internal.WLObjectOutputStreamBase.writeObjectBody(Compiled
              > Code)
              > at
              > weblogic.common.internal.WLObjectOutputStreamBase.writeObject(Compiled Code)
              > at
              > weblogic.common.internal.WLObjectOutputStreamBase.writeObjectWL(Compi
              > at
              > weblogic.rmi.extensions.AbstractOutputStream2.writeObject(Compiled Code)
              > at weblogic.rmi.extensions.AbstractOutputStream.writeObject(Compiled
              > Code)
              > at
              > weblogic.cluster.replication.ReplicationManager_WLStub.create(ReplicationMan
              > ager_WLStub.java:86)
              > at
              > weblogic.cluster.replication.ReplicationManager.createSecondary(Compiled
              > Code)
              > at
              > weblogic.cluster.replication.ReplicationManager.checkHosts(Compiled Code)
              > at
              > weblogic.cluster.replication.ReplicationManager.clusterMembersChanged(Replic
              > ationManager.java:582)
              > at
              > weblogic.cluster.MemberStash$ClusterMembersChangeDeliverer.execute(MemberSta
              > sh.java:207)
              > at weblogic.kernel.ExecuteThread.run(Compiled Code)
              >
              > --------------- nested within: ------------------
              > weblogic.rmi.MarshalException: error marshalling arguments
              > - with nested exception:
              > [java.io.NotSerializableException:
              > weblogic.servlet.internal.ServletContextImpl]
              > at java.lang.Throwable.fillInStackTrace(Native Method)
              > at java.lang.Throwable.fillInStackTrace(Compiled Code)
              > at java.lang.Throwable.<init>(Compiled Code)
              > at java.lang.Exception.<init>(Compiled Code)
              > at java.io.IOException.<init>(Compiled Code)
              > at weblogic.common.T3Exception.<init>(T3Exception.java:47)
              > at weblogic.rmi.RemoteException.<init>(RemoteException.java:41)
              > at weblogic.rmi.MarshalException.<init>(MarshalException.java:31)
              > at
              > weblogic.cluster.replication.ReplicationManager_WLStub.create(ReplicationMan
              > ager_WLStub.java:90)
              > at
              > weblogic.cluster.replication.ReplicationManager.createSecondary(Compiled
              > Code)
              > at
              > weblogic.cluster.replication.ReplicationManager.checkHosts(Compiled Code)
              > at
              > weblogic.cluster.replication.ReplicationManager.clusterMembersChanged(Replic
              > ationManager.java:582)
              > at
              > weblogic.cluster.MemberStash$ClusterMembersChangeDeliverer.execute(MemberSta
              > sh.java:207)
              > at weblogic.kernel.ExecuteThread.run(Compiled Code)
              > --------------- nested within: ------------------
              > weblogic.rmi.extensions.RemoteRuntimeException: Undeclared checked
              > exception - w
              > ith nested exception:
              > [weblogic.rmi.MarshalException: error marshalling arguments
              >  - with nested exception:
              > [java.io.NotSerializableException:
              > weblogic.servlet.internal.ServletContextImpl]
              > ]
              > at java.lang.Throwable.fillInStackTrace(Native Method)
              > at java.lang.Throwable.fillInStackTrace(Compiled Code)
              > at java.lang.Throwable.<init>(Compiled Code)
              > at java.lang.Exception.<init>(Compiled Code)
              > at java.lang.RuntimeException.<init>(RuntimeException.java:47)
              > at
              > weblogic.utils.NestedRuntimeException.<init>(NestedRuntimeException.java:23)
              > at
              > weblogic.rmi.extensions.RemoteRuntimeException.<init>(RemoteRuntimeException
              > .java:22)
              > at
              > weblogic.cluster.replication.ReplicationManager_WLStub.create(ReplicationMan
              > ager_WLStub.java:108)
              > at
              > weblogic.cluster.replication.ReplicationManager.createSecondary(Compiled
              > Code)
              > at
              > weblogic.cluster.replication.ReplicationManager.checkHosts(Compiled Code)
              > at
              > weblogic.cluster.replication.ReplicationManager.clusterMembersChanged(Replic
              > ationManager.java:582)
              > at
              > weblogic.cluster.MemberStash$ClusterMembersChangeDeliverer.execute(MemberSta
              > sh.java:207)
              > at weblogic.kernel.ExecuteThread.run(Compiled Code)
              >
              > I looked everywhere in our code and we don't store ServletContext object
              > anywhere in the session level..Can someone give me some hints as to what the
              > problem is?
              >
              > Thanks for your help in advance.
              >
              > Vincent
              

  • ERROR: could not serialize access due to concurrent update

    Hi.
    I use ejb+glassfish+postgres in my project.
    The project is a web application for finansial data transfering.
    I have three DBs, long global transactions, serializable isolation level, container-managed transaction.
    When i test the project with concurent threads, i get an exception: "ERROR: could not serialize access due to
    concurrent update"
    I read that when you get suck kind of error, your program must rollback current transaction and then reply this transaction.
    what do i need to do to complete this transaction? :
    1) rollback and reply transaction
    2) maybe, the are other ways to reply transaction (for example: glassfish configurations, ....)
    Edited by: 856539 on 04.05.2011 8:10

    If your DAO is nicely separated from your service layer as it should be then the solution I suggested above works and doesn't require you to change many classes because you can catch the expection in the DAO layer and do the retry in the DAO layer. That's where the solution belongs too because it's only applicable for your current database solution (Postgres). i.e If you change your database solution you need to change your DAO anyway, but only your DAO. If you put the solution in your service layer (or client layer) then you need to change those layers when you change your database solution which defeats the purpose of the separation.
    If you still want the interceptor approach, you need to check if the transaction has been marked for rollback back, then you need to join the transaction with EM.join and from there you attempt to close and discard the joined transaction before starting another one to invoke the retry operation on. Bear in mind that you only do the rety when the transaction was marked for roll back because of that specific exception. Needless to say that this doesn't seem to be a clean way to handle your transactions (if you can get it to work that is).

  • GetBusinessObject - Error marshalling objects, Not Serializable

    Hi,
    I am having the following in a stateful session to create another satateful session bean.
        public AdminSession getAdminSession() throws UnknownException, WarningException {
            checkSessionUser("getAdminSession");
            if (isAdmin()) {
                AdminSession adminSession;
                try {
                    final Context context = IToolsUtil.getInitialContext();
                    adminSession = (AdminSession)context.lookup("AdminSession");
                    System.out.println("Successfully created the adminsession bean");
                } catch (NamingException ne) {
                    ne.printStackTrace();
                    throw new UnknownException (new CatalogHelper("ITOOLS_100019", new Object[]{"Admin", ne.getMessage()}));
                try {
                    adminSession.initialize((DefaultSessionLocal)context.getBusinessObject(DefaultSessionLocal.class), rfl);
                    System.out.println("adminsession is initialized");
                } catch (WarningException we) {
                    adminSession.remove();
                    adminSession = null;
                    throw we;
                System.out.println("adminsession will be returned");
                return adminSession;
            } else {
                throw new WarningException (new CatalogHelper("ITOOLS_000042", sessionUser.getUserhandle()));
        }While executing initialize method, I am getting the following error. Both the session beans implemented Serializable. Even then I got the error.
    06/10/14 07:05:38 Successfully created the adminsession bean
    2006-10-14 07:05:38.187 ERROR J2EE EJB-08006 [DefaultSession:public com.itools.vs.model.session.AdminSession com.itools.vs.model.session.DefaultSessionBean.getAdminSession() throws com.itools.vs.model.exception.UnknownException,com.itools.vs.model.exception.WarningException] exception occurred during method invocation: oracle.oc4j.rmi.OracleRemoteException: com.evermind.reflect.UndeclaredExceptionTypeException: oracle.oc4j.rmi.OracleRemoteException; nested exception is:
         com.evermind.reflect.UndeclaredExceptionTypeException: oracle.oc4j.rmi.OracleRemoteException
    2006-10-14 07:05:38.234 WARNING J2EE RMI-00009 Exception returned by remote server: {0}
    oracle.oc4j.rmi.OracleRemoteException: com.evermind.reflect.UndeclaredExceptionTypeException: oracle.oc4j.rmi.OracleRemoteException
         at com.evermind.server.ejb.EJBUtils.getUserException(EJBUtils.java:346)
         at com.evermind.server.ejb.interceptor.system.AbstractTxInterceptor.convertAndHandleMethodException(AbstractTxInterceptor.java:69)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatefulSessionEJBObject.OC4J_invokeMethod(StatefulSessionEJBObject.java:844)
         at DefaultSession_RemoteProxy_6nein01.getAdminSession(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 com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    at connection to localhost/127.0.0.1
         at com.evermind.server.rmi.RMICall.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMICall.java:109)
         at com.evermind.server.rmi.RMICall.throwRecordedException(RMICall.java:125)
         at com.evermind.server.rmi.RMIClientConnection.obtainRemoteMethodResponse(RMIClientConnection.java:480)
         at com.evermind.server.rmi.RMIClientConnection.invokeMethod(RMIClientConnection.java:424)
         at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:63)
         at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:28)
         at com.evermind.server.ejb.StatefulSessionRemoteInvocationHandler.invoke(StatefulSessionRemoteInvocationHandler.java:31)
         at __Proxy1.getAdminSession(Unknown Source)
         at com.itools.vs.view.backing.Admin.CreateUser.submit_action(CreateUser.java:182)
         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 com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:146)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:92)
         at org.ajax4jsf.framework.ajax.AjaxActionComponent.broadcast(AjaxActionComponent.java:88)
         at org.ajax4jsf.framework.ajax.AjaxViewRoot.processEvents(AjaxViewRoot.java:281)
         at org.ajax4jsf.framework.ajax.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:257)
         at org.ajax4jsf.framework.ajax.AjaxViewRoot.processApplication(AjaxViewRoot.java:412)
         at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:95)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:65)
         at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:226)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
         Nested exception is:
    com.evermind.reflect.UndeclaredExceptionTypeException: oracle.oc4j.rmi.OracleRemoteException
         at __Proxy3.initialize(Unknown Source)
         at com.itools.vs.model.session.DefaultSessionBean.getAdminSession(DefaultSessionBean.java:397)
         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 com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatefulSessionEJBObject.OC4J_invokeMethod(StatefulSessionEJBObject.java:844)
         at DefaultSession_RemoteProxy_6nein01.getAdminSession(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 com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    oracle.oc4j.rmi.OracleRemoteException: Error marshalling objects, Not Serializable: java.io.NotSerializableException: DefaultSession_LocalProxy_6nein01
         at com.evermind.server.rmi.RMIClientConnection.sendMethodInvocationRequest(RMIClientConnection.java:447)
         at com.evermind.server.rmi.RMIClientConnection.invokeMethod(RMIClientConnection.java:423)
         at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:63)
         at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:28)
         at com.evermind.server.ejb.StatefulSessionRemoteInvocationHandler.invoke(StatefulSessionRemoteInvocationHandler.java:31)
         at __Proxy3.initialize(Unknown Source)
         at com.itools.vs.model.session.DefaultSessionBean.getAdminSession(DefaultSessionBean.java:397)
         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 com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatefulSessionEJBObject.OC4J_invokeMethod(StatefulSessionEJBObject.java:844)
         at DefaultSession_RemoteProxy_6nein01.getAdminSession(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 com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
         Nested exception is:
    java.io.NotSerializableException: DefaultSession_LocalProxy_6nein01
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075)
         at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291)
         at com.evermind.server.rmi.RMIProtocol$Version.marshallParameterDirectly(RMIProtocol.java:427)
         at com.evermind.server.rmi.RMIProtocol$Version_1_0.marshallParameter(RMIProtocol.java:467)
         at com.evermind.server.rmi.RMIProtocol.writeObject(RMIProtocol.java:75)
         at com.evermind.server.rmi.RMIProtocol.writeValue(RMIProtocol.java:130)
         at com.evermind.server.rmi.RMIClientConnection.writeArguments(RMIClientConnection.java:498)
         at com.evermind.server.rmi.RMIClientConnection.sendMethodInvocationRequest(RMIClientConnection.java:441)
         at com.evermind.server.rmi.RMIClientConnection.invokeMethod(RMIClientConnection.java:423)
         at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:63)
         at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:28)
         at com.evermind.server.ejb.StatefulSessionRemoteInvocationHandler.invoke(StatefulSessionRemoteInvocationHandler.java:31)
         at __Proxy3.initialize(Unknown Source)
         at com.itools.vs.model.session.DefaultSessionBean.getAdminSession(DefaultSessionBean.java:397)
         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 com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatefulSessionEJBObject.OC4J_invokeMethod(StatefulSessionEJBObject.java:844)
         at DefaultSession_RemoteProxy_6nein01.getAdminSession(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 com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    at connection to localhost/127.0.0.1
         at oracle.oc4j.rmi.OracleRemoteException.receive(OracleRemoteException.java:123)
         at oracle.oc4j.rmi.RmiTransport.annotateException(RmiTransport.java:149)
         at com.evermind.server.rmi.RMIClientConnection.handleMethodInvocationResponse(RMIClientConnection.java:822)
         at com.evermind.server.rmi.RMIClientConnection.handleOrmiCommandResponse(RMIClientConnection.java:250)
         at com.evermind.server.rmi.RMIClientConnection.dispatchResponse(RMIClientConnection.java:205)
         at com.evermind.server.rmi.RMIClientConnection.processReceivedCommand(RMIClientConnection.java:187)
         at com.evermind.server.rmi.RMIConnection.handleCommand(RMIConnection.java:152)
         at com.evermind.server.rmi.RMIConnection.listenForOrmiCommands(RMIConnection.java:127)
         at com.evermind.server.rmi.RMIConnection.run(RMIConnection.java:107)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
         at java.lang.Thread.run(Thread.java:595)
    oracle.oc4j.rmi.OracleRemoteException: Error marshalling objects, Not Serializable: java.io.NotSerializableException: DefaultSession_LocalProxy_6nein01
         at com.evermind.server.rmi.RMIClientConnection.sendMethodInvocationRequest(RMIClientConnection.java:447)
         at com.evermind.server.rmi.RMIClientConnection.invokeMethod(RMIClientConnection.java:423)
         at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:63)
         at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:28)
         at com.evermind.server.ejb.StatefulSessionRemoteInvocationHandler.invoke(StatefulSessionRemoteInvocationHandler.java:31)
         at __Proxy3.initialize(Unknown Source)
         at com.itools.vs.model.session.DefaultSessionBean.getAdminSession(DefaultSessionBean.java:397)
         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 com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatefulSessionEJBObject.OC4J_invokeMethod(StatefulSessionEJBObject.java:844)
         at DefaultSession_RemoteProxy_6nein01.getAdminSession(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 com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
         Nested exception is:
    java.io.NotSerializableException: DefaultSession_LocalProxy_6nein01
         at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075)
         at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291)
         at com.evermind.server.rmi.RMIProtocol$Version.marshallParameterDirectly(RMIProtocol.java:427)
         at com.evermind.server.rmi.RMIProtocol$Version_1_0.marshallParameter(RMIProtocol.java:467)
         at com.evermind.server.rmi.RMIProtocol.writeObject(RMIProtocol.java:75)
         at com.evermind.server.rmi.RMIProtocol.writeValue(RMIProtocol.java:130)
         at com.evermind.server.rmi.RMIClientConnection.writeArguments(RMIClientConnection.java:498)
         at com.evermind.server.rmi.RMIClientConnection.sendMethodInvocationRequest(RMIClientConnection.java:441)
         at com.evermind.server.rmi.RMIClientConnection.invokeMethod(RMIClientConnection.java:423)
         at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:63)
         at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:28)
         at com.evermind.server.ejb.StatefulSessionRemoteInvocationHandler.invoke(StatefulSessionRemoteInvocationHandler.java:31)
         at __Proxy3.initialize(Unknown Source)
         at com.itools.vs.model.session.DefaultSessionBean.getAdminSession(DefaultSessionBean.java:397)
         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 com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatefulSessionEJBObject.OC4J_invokeMethod(StatefulSessionEJBObject.java:844)
         at DefaultSession_RemoteProxy_6nein01.getAdminSession(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 com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)

    Looks like, I can create a Local interface instance of a Session bean, but cannot pass pass it to the other session beans or classes. If I try to do that, I am getting Exception is "Error marshalling objects, Not Serializable: java.io.NotSerializableException: DefaultSession_RemoteProxy_6nein01; nested exception is:
    java.io.NotSerializableException: DefaultSession_RemoteProxy_6nein01".
    I tried making my SessionBean class implements Serializable like this.
    public class DefaultSessionBean implements SessionSynchronization, Serializable {...}
    No luck, however.
    According to http://www.oracle.com/technology/products/jdev/htdocs/10.1.3.0.3/readme.html
    TopLink POJO's Must Implement java.io.Serializable When Returned From a Session Bean's Remote Interface (4902787)
    When creating a session bean facade for TopLink POJO objects, you must implement java.io.Serializable for each of the TopLink POJO objects returned from the SessionBean facade through a remote interface. This is typically required when using ADF Swing, a EJB Sample Client, or when your EJB Session Bean resides on a separate application server from the client.
    You can also tell you you need to implement java.io.Serializable when you get the following exception:
    com.evermind.reflect.UndeclaredExceptionTypeException:
    /oracle.oc4j.rmi.OracleRemoteException/
    at __Proxy1.[Your Class Name Here] (Unknown Source)
    The workaround is to manually edit each POJO object to implement java.io.Serializable. We plan to remove the need for this manual step in a future release.
    Is this information some where related to my issue? Please help me. I am stucked since so many days because of this.
    regds
    -raju

  • Connection to Failed Service or Not Serializable Errors

    Hi. I'm getting connection to failed service errors or not serializable errors when I run a production sized load for my project.  I'm trying to generate 100,000 PDFs one at a time on each thread against the Output web service.  I'm running custom code that makes the Output web service call on individual thread.  I run up to 40 threads against my vertical cluster and occasionally I see a not serializable error or connection to failed service on my code.  Any ideas on what could be the cause of the errors?  Thank you for any insight you can provide.
    I'm running a WebLogic vertical cluster on one box.  1 admin server of WebLogic 9.2 MP3 with 10 managed WebLogic servers on the same physical box in a cluster.  I have enough RAM to support all these JVMs and the GDS is on the local drive on the box.
    Environment details:
    Software: Windows 2003 R2 SP2 (32-bit), WebLogic 9.2 MP3, Adobe LC 8.2.1 SP3 + QF 3.19, Oracle 10.2.0.4, BEA Jrockit 1.5.0_12 (32-bit)
    Hardware: 2 CPU 2.8GHz * 4 cores * Hyper-Threading = makes it look like 16 CPUs in Task Manager, Performance tab, 16 GB RAM, 50+ GB HD space free
    Error Message:
    + com.adobe.idp.dsc.DSCNotSerializableException: Not Serializable
    IVS Error Message that happens randomly when the errors are occurring.  I can resubmit the same IVS test where this error shows up on the managed WL instance and it :
    java.lang.IllegalStateException: Connection to failed service. in com.adobe.livecycle.formsservice.exception.RenderFormException, cause: java.lang.IllegalStateException: Connection to failed service. in com.adobe.livecycle.formsservice.exception.FormServerException
    Exception in Output Service
    Stack Trace
    at com.adobe.formServer.FormServer.renderForm(FormServer.java:210)
    at com.adobe.formServer.FormServer.renderForm(FormServer.java:257)
    at com.adobe.formServer.docservice.FormsDocService.renderForm(FormsDocService.java:483)
    at com.adobe.printSubmitter.util.FormSubmitter.submit(FormSubmitter.java:157)
    at com.adobe.printSubmitter.util.FormSubmitter.submit(FormSubmitter.java:94)
    at com.adobe.printSubmitter.util.Splitter.endElementNoBatch(Splitter.java:175)
    at com.adobe.printSubmitter.util.Splitter.endElement(Splitter.java:155)
    at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch( Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
    at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
    at javax.xml.parsers.SAXParser.parse(SAXParser.java:176)
    at com.adobe.printSubmitter.PrintServer.execute(PrintServer.java:519)
    at com.adobe.printSubmitter.PrintServer.submit(PrintServer.java:223)
    at com.adobe.printSubmitter.service.OutputServiceImpl.generateOutputInTxn(OutputServiceImpl. java:247)
    at com.adobe.printSubmitter.service.OutputServiceImpl.generatePDFOutputInTxn(OutputServiceIm pl.java:347)
    at com.adobe.printSubmitter.service.OutputServiceImpl.access$100(OutputServiceImpl.java:79)
    at com.adobe.printSubmitter.service.OutputServiceImpl$2.doInTransaction(OutputServiceImpl.ja va:313)
    at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapterBean.doRequiresNew (EjbTransactionBMTAdapterBean.java:218)
    at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapter_jmbvky_ELOImpl.do RequiresNew(EjbTransactionBMTAdapter_jmbvky_ELOImpl.java:63)
    at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:133)
    at com.adobe.idp.dsc.transaction.impl.DefaultTransactionTemplate.execute(DefaultTransactionT emplate.java:79)
    at com.adobe.printSubmitter.service.OutputServiceImpl.invokeGeneratePDFOutputWithSMT(OutputS erviceImpl.java:308)
    at com.adobe.printSubmitter.service.OutputServiceImpl.generatePDFOutput(OutputServiceImpl.ja va:289)

    Hi. I'm getting connection to failed service errors or not serializable errors when I run a production sized load for my project.  I'm trying to generate 100,000 PDFs one at a time on each thread against the Output web service.  I'm running custom code that makes the Output web service call on individual thread.  I run up to 40 threads against my vertical cluster and occasionally I see a not serializable error or connection to failed service on my code.  Any ideas on what could be the cause of the errors?  Thank you for any insight you can provide.
    I'm running a WebLogic vertical cluster on one box.  1 admin server of WebLogic 9.2 MP3 with 10 managed WebLogic servers on the same physical box in a cluster.  I have enough RAM to support all these JVMs and the GDS is on the local drive on the box.
    Environment details:
    Software: Windows 2003 R2 SP2 (32-bit), WebLogic 9.2 MP3, Adobe LC 8.2.1 SP3 + QF 3.19, Oracle 10.2.0.4, BEA Jrockit 1.5.0_12 (32-bit)
    Hardware: 2 CPU 2.8GHz * 4 cores * Hyper-Threading = makes it look like 16 CPUs in Task Manager, Performance tab, 16 GB RAM, 50+ GB HD space free
    Error Message:
    + com.adobe.idp.dsc.DSCNotSerializableException: Not Serializable
    IVS Error Message that happens randomly when the errors are occurring.  I can resubmit the same IVS test where this error shows up on the managed WL instance and it :
    java.lang.IllegalStateException: Connection to failed service. in com.adobe.livecycle.formsservice.exception.RenderFormException, cause: java.lang.IllegalStateException: Connection to failed service. in com.adobe.livecycle.formsservice.exception.FormServerException
    Exception in Output Service
    Stack Trace
    at com.adobe.formServer.FormServer.renderForm(FormServer.java:210)
    at com.adobe.formServer.FormServer.renderForm(FormServer.java:257)
    at com.adobe.formServer.docservice.FormsDocService.renderForm(FormsDocService.java:483)
    at com.adobe.printSubmitter.util.FormSubmitter.submit(FormSubmitter.java:157)
    at com.adobe.printSubmitter.util.FormSubmitter.submit(FormSubmitter.java:94)
    at com.adobe.printSubmitter.util.Splitter.endElementNoBatch(Splitter.java:175)
    at com.adobe.printSubmitter.util.Splitter.endElement(Splitter.java:155)
    at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch( Unknown Source)
    at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
    at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
    at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
    at javax.xml.parsers.SAXParser.parse(SAXParser.java:176)
    at com.adobe.printSubmitter.PrintServer.execute(PrintServer.java:519)
    at com.adobe.printSubmitter.PrintServer.submit(PrintServer.java:223)
    at com.adobe.printSubmitter.service.OutputServiceImpl.generateOutputInTxn(OutputServiceImpl. java:247)
    at com.adobe.printSubmitter.service.OutputServiceImpl.generatePDFOutputInTxn(OutputServiceIm pl.java:347)
    at com.adobe.printSubmitter.service.OutputServiceImpl.access$100(OutputServiceImpl.java:79)
    at com.adobe.printSubmitter.service.OutputServiceImpl$2.doInTransaction(OutputServiceImpl.ja va:313)
    at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapterBean.doRequiresNew (EjbTransactionBMTAdapterBean.java:218)
    at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapter_jmbvky_ELOImpl.do RequiresNew(EjbTransactionBMTAdapter_jmbvky_ELOImpl.java:63)
    at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:133)
    at com.adobe.idp.dsc.transaction.impl.DefaultTransactionTemplate.execute(DefaultTransactionT emplate.java:79)
    at com.adobe.printSubmitter.service.OutputServiceImpl.invokeGeneratePDFOutputWithSMT(OutputS erviceImpl.java:308)
    at com.adobe.printSubmitter.service.OutputServiceImpl.generatePDFOutput(OutputServiceImpl.ja va:289)

  • 'Payload not Serializable' with custom WSDL data types in message-style web service

    I'm implementing a message-style web service which publishes to a JMS Queue.
    I had the web service built and deployed, but noticed that the "sendRequest" message's
    part was of type "xsd:anyType." This is not specific enough for our interface,
    since it is externally facing and needs to describe the object we're expecting
    on the back end.
    So I replaced xsd:anyType with mynamespace:MyType, which is defined as a complex
    type in the same WSDL document.
    My problem is that when I test the web service with the new WSDL (using the client.jar),
    I get a server-side exception from the DestinationSendAdapter.doPost() method.
    The exception reads:
    javax.servlet.ServletException: Payload not Serializable
    at weblogic.soap.server.servlet.DestinationSendAdapter.doPost(DestinationSendAdapter.java:129)
    The domain object ('classic' JavaBean) that it should map to on the server side
    extends a class that implements Serializable, so it should inherit the trait.
    So my questions are:
    1) Did I properly go about trying to restrict the object type that gets sent to
    my Destination?
    2) If no, what is the correct way? If yes, why am I receiving the Payload not
    Serializable error if the domain object implements Serializable?
    Thanks in advance.

    Resolved:
    Apparently this is the right approach, as it boiled down to a classpath issue
    on the client-side. Thanks anyway.

  • Getting Error as Limits Not Defined while saving IT_0008

    Hi Folks..
    I am getting a message as "Limits not defined" while saving infotype basic pay our client payroll is international (it is a green colour message only) but i am unable to save the infotype entry. Request you to please advice me where to check to get resolve of this issue.
    Thanks
    sap_hr

    just a shot in the dark... due to lack of information
    i assume you use T710 for basic wage, there you should define the lower and upper limit for the payment. if these are not available for the entered payscale and level this message can occur

  • "This operation is not permitted" when saving PDF through a plugin

    Not sure what I am doing wrong. It appears as though I've followed the PDF Reference and documentation correctly, but I am getting this error when my plugin trys to save my PDF file to a new location (dont want to overwrite the original).
    Here is the sample code. I hope what I am doing wrong is easy to fix.
    PDDocClose(currentPDDoc);
    ASPathName filePathName = ASFileSysCreatePathName(NULL, ASAtomFromString("CString"), replacedSavePath.c_str(), 0);
    PDDocSave(currentPDDoc, PDSaveIncremental | PDSaveLinearized, filePathName, ASGetDefaultFileSys(), NULL, NULL);

    Ahh the problem was that the file was secured with a password. The documentation mentions:
    Known Exceptions
    Raises
    pdErrOpNotPermitted if saving is not permitted. Saving is permitted if either edit or editNotes (see PDPerms) is allowed, or you are doing a full save and saveAs is allowed.
    So I looked for that exception in the docs and it said:
    pdErrOpNotPermitted
    This operation is not permitted. Acrobat
    security does not allow content copying
    or extraction. These operations should
    be permitted when the document’s
    master password is used.
    So for anyone getting this error, try removing security from the file first.

  • Class not found exception when launching opencounterslogger.bat

    PORTAL_HOME=D:\bea\alui\ptportal\10.3.0
    Expected PORTAL_HOME=D:\bea\alui\ptportal\10.3.0
    claspath is D:\bea\alui\ptportal\10.3.0\lib\java\jakarta-oro-2.0.7.jar;D:\bea\alui\ptportal\10.3.0\lib\java\openfoundation.jar;D:\bea\alui\ptportal\10.3.0\lib\java\openlog-framework.jar;D:\bea\alui\ptportal\10.3.0\lib\java\openconfig.jar;D:\bea\alui\ptportal\10.3.0\lib\java\openkernel.jar;D:\bea\alui\ptportal\1
    0.3.0\lib\java\pmb.jar;D:\bea\alui\ptportal\10.3.0\lib\java\opencounters.jar
    Exception in thread "Main Thread" java.lang.NoClassDefFoundError: com/plumtree/openkernel/impl/counters/adaptor/logger/PTRemoteCounterLoggerMain
    Press any key to continue . . .
    The class PTRemoteCounterLoggerMain is not in any of the jars in the classpath. Also opencountersconsole.bat is not to be seen is the installation

    Hi Mark,
    I have seen your two posts and there are something you need to notice:
    Where the ClassNotFound exception you got? From deployment tool or
    application server kjs process?
    Of course, you need not to add supporting classes to each ejb jars or ears.
    1. If you use deployment tool to package your application, I'm sure you'll
    fail to resovle your classes without supporting classes added to jars.
    Please select Edit->Preference,in Classpath entry, enter the supporting
    classes(packaged to jar files) location. This should work.
    2. After deploy to ias, please edit the registry using kregedit which you
    described in your posts.
    Regards,
    Johnson
    "Mark Priest" <[email protected]> wrote in message
    news:9s6h33$[email protected]..
    When I deploy EJBs to the iPlanet app server I find that I need to include
    all supporting classes in each ejb jar file. According to the
    Administrator's manual I should be able to modify the kjs classpath bydoing
    the following:
    On Windows
    a.. Open iPlanet Registry Editor.
    (See About iPlanet Registry Editor)
    b.. Open the following key:
    SOFTWARE\iPlanet\Application Server\6.0\Java\
    c.. Modify the class path and restart the server for the change to take
    effect.
    However, when I add my supporting classes to a jar in this directory Istill
    get a class not found exception when I run the deployment tool.
    Adding the classes to each EJB jar is redundant and introduces lots of
    problems. How should I configure iPlanet so I only need to put my
    supporting classes in one place?
    Thanks,
    Mark

  • B2B Java Callout Class not found exception

    Hello B2B Gurus,
    I am facing class not found exception, when trying to call a java code from B2B and below the configuration done from B2B side.
    Could you please help me to identify that the configuration done suffice the requirement
    1.Created a call out from
    Adminstration-- Callout-- Create Callout -- XXJavaCallout(Name of the Java Callout)
    Administration-- Callout Details -- Implementation Class -- XXClassFileName
    Administration-- Callout Details -- Library Name -- XXJarFileName.jar
    Administration-- Configuration -- Callout Directory -- xx/yy/zz (UNIX server that is accesible from B2B)
    2.Partners--XX--Delivery Channel -- Select the channel where we need the call out -- Channel Attributes -- Transport Callout -- XXJavaCallout
    3.Agreement--Callout -- XXJavaCallout
    Place the jar file in xx/yy/zz UNIX location.
    Please let me know if any steps I have missed for using the callout functionality.
    Thanks,
    Sunil
    Edited by: Dathu Sunil on Mar 29, 2012 8:17 AM

    Sunil,
    Administration-- Callout Details -- Implementation Class -- XXClassFileNameMake sure that you are giving complete name of the class (without extension .class.). For an example if your class name is Sample and it is in package a.b.c then give class name as a.b.c.Sample
    Administration-- Configuration -- Callout Directory -- xx/yy/zz (UNIX server that is accesible from B2B)This must be valid directory existing on machine where B2B is installed.
    2.Partners--XX--Delivery Channel -- Select the channel where we need the call out -- Channel Attributes -- Transport Callout -- XXJavaCallout
    3.Agreement--Callout -- XXJavaCalloutTransport Callout and Agreement Callouts are used for different purpose. Are you sure that you really need both in your case?
    You may like to refer -
    http://docs.oracle.com/cd/E17904_01/integration.1111/e10229/callouts.htm#CHDEFBDG
    Regards,
    Anuj

  • Java applet class not found exception for check scan

    I am getting a class not found exception when trying to scan a check into a banking website. The application uses Java and the exception error has the name "com.epaysol.checkscanAppletV2" in the message. I have the latest Firefox and the latest Java installed. I tried going to an earlier version of Firefox and of Java where this app worked in the past and it does not work now in the earlier versions either. So I am now back to the latest version of everything.

    Try to clear the Java cache:
    * http://www.java.com/en/download/help/5000020300.xml
    Control Panel > Java > General tab > "Temporary Internet Files" > Settings > Delete Files
    *XP: C:\Documents and Settings\<user>\Application Data\Sun\Java\Deployment\cache\
    *Vista: C:\Users\<user>\AppData\LocalLow\Sun\Java\Deployment\cache\

  • Document in xml - Not serializable?

    Hi, I was working with the Document in xml.
    I tried to serialize it, but it seems that the implemantation of it is not serializable.
    The problem is that the object is created with a factory method, so also inheriting it is no use, since the creation is not in our hands.
    The only solution i can see is to inherit also the Factory and to ovverde the creation method.
    Any suggestion?
    Thanks,
    Doron

    why do you want to serialize the document object?
    you might as well serialize the xml file it represents and when or where needed, just parse it and get its document object, which would essentially be the same as the object you are trying to serialize.

  • Error : class not found exception : com.mysql.jdbc.driver in Eclipse Tool

    Hi
    I have impoted project file in eclipse in new machine using option import from existing workbence . When i stat to debug this project ,
    i am getting error as class not found exception : com.mysql.jdbc.driver . my project folder already consist of mysql .jar file in /web appls/web-inf folder.
    Application is running successfully in other machine from where i took the application file. As this error appeared I also added jar file into project path as Project ---->properties-- build java path---libraries----add external jar file.
    kindly hep me.

    Sounds like an eclipse question - not a JDBC one.
    But since eclipse is telling you it can't find it then it means it is not in the eclipse path. So you must add it. (The fact that it is somewhere is irrelevant - all that matters is it is not in the class path.)

  • How to handle "The specified resource does not exist" exception while using entity group transactions to purge WADLogs table

    Hi,
    We have a requirement to purge the Azure WADLogs table on a periodic basis. We are achieving this by using Entity group transactions to delete the
    records older than 15 days. The logic is like this.
    bool recordDoesNotExistExceptionOccured = false;
    CloudTable wadLogsTable = tableClient.GetTableReference(WADLogsTableName);
    partitionKey = "0" + DateTime.UtcNow.AddDays(noOfDays).Ticks;
    TableQuery<WadLogsEntity> buildQuery = new TableQuery<WadLogsEntity>().Where(
    TableQuery.GenerateFilterCondition("PartitionKey",
    QueryComparisons.LessThanOrEqual, partitionKey));
    while (!recordDoesNotExistExceptionOccured)
    IEnumerable<WadLogsEntity> result = wadLogsTable.ExecuteQuery(buildQuery).Take(1000);
    //// Batch entity delete.
    if (result != null && result.Count() > 0)
    Dictionary<string, TableBatchOperation> batches = new Dictionary<string, TableBatchOperation>();
    foreach (var entity in result)
    TableOperation tableOperation = TableOperation.Delete(entity);
    if (!batches.ContainsKey(entity.PartitionKey))
    batches.Add(entity.PartitionKey, new TableBatchOperation());
    // A Batch Operation allows a maximum 100 entities in the batch which must share the same PartitionKey.
    if (batches[entity.PartitionKey].Count < 100)
    batches[entity.PartitionKey].Add(tableOperation);
    // Execute batches.
    foreach (var batch in batches.Values)
    try
    await wadLogsTable.ExecuteBatchAsync(batch);
    catch (Exception exception)
    // Log exception here.
    // Set flag.
    if (exception.Message.Contains(ResourceDoesNotExist))
    recordDoesNotExistExceptionOccured = true;
    break;
    else
    break;
    My questions are:
    Is this an efficient way to purge the WADLogs table? If not, what can make this better?
    Is this the correct way to handle the "Specified resource does not exist exception"? If not, how can I make this better?
    Would this logic fail in any particular case?
    How would this approach change if this code is in a worker which has multiple instances deployed?
    I have come up with this code by referencing the solution given
    here by Keith Murray.

    Hi Nikhil,
    Thanks for your posting!
    I tested your and Keith's code on my side, every thing worked fine. And when result is null or "result.count()<0", the While() loop is break. I found you code had some logic to handle the error "ResourceDoesNotExist" .
    It seems that the code worked fine. If you always occurred this error, I suggest you could debug your code and find which line of code throw the exception.   
    >> Is this an efficient way to purge the WADLogs table? If not, what can make this better?
    Base on my experience, we could use code (like the above logic code) and using the third party tool to delete the entities manually. In my opinion, I think the code is every efficient, it could be auto-run and save our workload.
     >>Is this the correct way to handle the "Specified resource does not exist exception"? If not, how can I make this better?
    In you code, you used the "recordDoesNotExistExceptionOccured " as a flag to check whether the entity is null. It is a good choice. I had tried to deleted the log table entities, but I used the flag to check the result number.
    For example, I planed the query result count is 100, if the number is lower than 100, I will set the flag as false, and break the while loop. 
    >>Would this logic fail in any particular case?
    I think it shouldn't fail. But if the result is "0", your while loop will always run. It will never stop. I think you could add "recordDoesNotExistExceptionOccured
    = true;" into your "else" block.
    >>How would this approach change if this code is in a worker which has multiple instances deployed?
    You don't change anything expect the "else" block. It would work fine on the worker role.
    If any question about this issue, please let me know free.
    Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • ALC-DSC-005-000: com.adobe.idp.dsc.DSCNotSerializableException: Not Serializable

    We've created a process with an input parameter (String) and an output parameter. There is only one "Query Single Row" node. The SQL we've put has been tested successfully. But when the client Java program invokes it, it got the exception of "ALC-DSC-005-000: com.adobe.idp.dsc.DSCNotSerializableException: Not Serializable"

    Hi,
    I got this Exception when I was trying to convert the BarCode into XML. Here is my client Program.
    import java.io.File;
    import java.io.*;
    import java.io.FileInputStream;
    import java.util.Iterator;
    import java.util.List;
    import java.util.Properties;
    import javax.xml.transform.*;
    import javax.xml.transform.dom.DOMSource;
    import javax.xml.transform.stream.StreamResult;
    import com.adobe.livecycle.barcodedforms.CharSet;
    import com.adobe.livecycle.barcodedforms.Delimiter ;
    import com.adobe.livecycle.barcodedforms.XMLFormat ;
    import com.adobe.idp.Document;
    import com.adobe.idp.dsc.clientsdk.ServiceClientFactory;
    import com.adobe.livecycle.barcodedforms.client.*;
    public class Testmain {
    public static void main(String[] args) {
    try
    //Set LiveCycle ES service connection properties
    Properties ConnectionProps = new Properties();
    ConnectionProps.setProperty("DSC_DEFAULT_EJB_ENDPOINT", "t3://rndvipdev02:80");
    ConnectionProps.setProperty("DSC_TRANSPORT_PROTOCOL","EJB");
    ConnectionProps.setProperty("DSC_SERVER_TYPE", "Weblogic");
    ConnectionProps.setProperty("DSC_CREDENTIAL_USERNAME", "administrator");
    ConnectionProps.setProperty("DSC_CREDENTIAL_PASSWORD", "password");
    //Create a ServiceClientFactory object
    ServiceClientFactory myFactory = ServiceClientFactory.createInstance(ConnectionProps);
    BarcodedFormsServiceClient barClient = new BarcodedFormsServiceClient(myFactory);
    //Specify a PDF document to convert to a XDP file
    FileInputStream fileInputStream = new FileInputStream("D:\\abc\\barcode.pdf");
    Document inDoc = new Document (fileInputStream);
    java.lang.Boolean myFalse = new java.lang.Boolean(false);
    java.lang.Boolean myTrue = new java.lang.Boolean(true);
    //Decode barcoded form data
    org.w3c.dom.Document decodeXML = barClient.decode(
    inDoc,
    myTrue,
    myFalse,
    myFalse,
    myFalse,
    myFalse,
    myFalse,
    myFalse,
    myFalse,
    CharSet.UTF_8);
    //Convert the decoded data to XDP data
    List extractedData = barClient.extractToXML(
    decodeXML,
    Delimiter.Tab,
    Delimiter.Tab,
    XMLFormat.XDP);
    //Create an Iterator object and iterate through
    //the List object
    Iterator iter = extractedData.iterator();
    int i = 0 ;
    while (iter.hasNext()) {
    //Get the org.w3c.dom.Document object in each element
    org.w3c.dom.Document myDom = (org.w3c.dom.Document)iter.next();
    //Convert the org.w3c.dom.Document object to a
    //com.adobe.idp.Document object
    com.adobe.idp.Document myDocument = convertDOM(decodeXML);
    //Save the XML data to extractedData.xml
    File myFile = new File("D:\\abc\\extractedData"+i+".xml");
    myDocument.copyToFile(myFile);
    i++;
    catch(Exception e)
    e.printStackTrace();
    //This user-defined method converts an org.w3c.dom.Document to a
    //com.adobe.idp.Document object
    public static com.adobe.idp.Document convertDOM(org.w3c.dom.Document doc)
    byte[] mybytes = null ;
    com.adobe.idp.Document myDocument = null;
    try
    //Create a Java Transformer object
    TransformerFactory transFact = TransformerFactory.newInstance();
    Transformer transForm = transFact.newTransformer();
    //Create a Java ByteArrayOutputStream object
    ByteArrayOutputStream myOutStream = new ByteArrayOutputStream();
    //Create a Java Source object
    Source myInput = new DOMSource(doc);
    //Create a Java Result object
    Result myOutput = new StreamResult(myOutStream);
    //Populate the Java ByteArrayOutputStream object
    transForm.transform(myInput,myOutput);
    //Get the size of the ByteArrayOutputStream buffer
    int myByteSize = myOutStream.size();
    //Allocate myByteSize to the byte array
    mybytes = new byte[myByteSize];
    //Copy the content to the byte array
    mybytes = myOutStream.toByteArray();
    com.adobe.idp.Document myDoc = new com.adobe.idp.Document(mybytes);
    myDocument = myDoc ;
    catch(Exception ee)
    ee.printStackTrace();
    return myDocument;
    Here is the Exception StackTrace
    ALC-DSC-005-000: com.adobe.idp.dsc.DSCNotSerializableException: Not Serializable
    Caused by: ALC-DSC-003-000: com.adobe.idp.dsc.DSCInvocationException: Invocation error.
    at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:210)
    at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:134)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:44)
    at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)
    at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTr ansactionCMTAdapterBean.java:336)
    at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doSupports(Ej bTransactionCMTAdapterBean.java:212)
    at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapter_z73hg_ELOImpl.doS upports(EjbTransactionCMTAdapter_z73hg_ELOImpl.java:145)
    at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:104)
    at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:44)
    at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:44)
    at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:93)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:44)
    at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:113)
    at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:102)
    at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.invoke(AbstractMessageReceiv er.java:298)
    at com.adobe.idp.dsc.provider.impl.ejb.receiver.EjbReceiverBean.invoke(EjbReceiverBean.java: 151)
    at com.adobe.idp.dsc.provider.impl.ejb.receiver.Invocation_fpvhue_EOImpl.invoke(Invocation_f pvhue_EOImpl.java:61)
    at com.adobe.idp.dsc.provider.impl.ejb.receiver.Invocation_fpvhue_EOImpl_WLSkel.invoke(ILweb logic.rmi.spi.InboundRequest;Lweblogic.rmi.spi.OutboundResponse;Ljava.lang.Object;)Lweblog ic.rmi.spi.OutboundResponse;(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
    at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:224)
    at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:479)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    at weblogic.security.service.SecurityManager.runAs(Lweblogic.security.acl.internal.Authentic atedSubject;Lweblogic.security.acl.internal.AuthenticatedSubject;Ljava.security.Privileged ExceptionAction;)Ljava.lang.Object;(Unknown Source)
    at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:475)
    at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:59)
    at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:1016)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
    Caused by: com.adobe.barcodedforms.decoder.DecodingException null: com.adobe.barcodedforms.decoder.processors.DataProcessorException: com.adobe.barcodedforms.decoder.processors.DataProcessorException
    at com.adobe.livecycle.barcodedforms.BarcodedFormsService.decode(BarcodedFormsService.java:2 97)
    at j

Maybe you are looking for

  • HP Pavilion dv6 1444ee Recovery Disc Issue

    Hi, I created three recovery discs soon after I purchased my laptop..The Recovery Disc #1 was inside the optical disc tray while I was resolving some issues on a Linux distro called Backtrack5..Playing around with linux' bootloader and when I tried b

  • Imported photos appear in wrong event, and won't open. Help!

    I have a large photo collection (15,000 pics), and have recently been having problems with iPhoto. Today, I imported 60 photos from an SD card. I deleted them from the card when prompted - but now I have the following problems in iPhoto; The event di

  • Muse 4.0 Bug with Google Translation: MuseJSAssert:Error Calling Selector Function

    This message comes up everytime I  convert this page to french. Just click the French flag and see the issue The Accordion Menu is distorted and the page is unusable. This is the url: http://mtelng.vivovecompany.com/our-partners.html All pages are ac

  • How do I uninstall iOS 7 in all my Apple products?

    This is the most frustrating operating system to date. iOS6 had great features and very easy to use. Apple products were fun to use. Not the case any longer on iOS7. My Apple products on iOS7 have become a frustration, and should not be the case. iOS

  • RG1 - SD - TAXINN

    Dear Friends, 1.The RG1 register gets updated after Goods Issue. For trading ideally the RG1 should not get updated. Do we need to have a separate Distribution channel for Trading (Currently we have two Dist channels - Domestic and Export) or simply