ClassCastException really means "not Serializable" in Weblogic

I'm writing this more as a public service announcement than anything else. We spent a whole day trying to diagnose a strange ClassCastException in Weblogic 8.1 SP2.
Basically, a local EJB 2.0 call was working fine for our test page, but the remote call from another server was failing. We would see a ClassCastException on a call to writeObject(). We assumed the RMI stubs and skeletons were out of synch or had a classloader issue. Nope. The complex return type did not implement Serializable. Rather than indicate this in the logs, WL threw a cryptic CCE.
When decompiling their generated classes, we did in fact see that they were attempting to cast to Serializable without first checking via instanceof.
So, please spare yourself the pain we went through. If you get a CCE in WL 8.1, first check all your arguments and return types (and any exceptions) are Serializable.
- Saish

I'm writing this more as a public service announcement than anything else. We spent a whole day trying to diagnose a strange ClassCastException in Weblogic 8.1 SP2.
Basically, a local EJB 2.0 call was working fine for our test page, but the remote call from another server was failing. We would see a ClassCastException on a call to writeObject(). We assumed the RMI stubs and skeletons were out of synch or had a classloader issue. Nope. The complex return type did not implement Serializable. Rather than indicate this in the logs, WL threw a cryptic CCE.
When decompiling their generated classes, we did in fact see that they were attempting to cast to Serializable without first checking via instanceof.
So, please spare yourself the pain we went through. If you get a CCE in WL 8.1, first check all your arguments and return types (and any exceptions) are Serializable.
- Saish

Similar Messages

  • '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.

  • Ipod will not turn on. Black screen no logo. Nothing. I do mean nothing. Tried hold power and home. Tried connecting to PC. Nothing. Whatever i do nothing happens. No backlight. Nothing. I really mean nothing. I have tried every fix offered on comments.

    Ipod will not turn on. Black screen no logo. Nothing. I do mean nothing. Tried hold power and home. Tried connecting to PC. Nothing. Whatever i do nothing happens. No backlight. Nothing. I really mean nothing. I have tried every fix offered on commentson other post about the same problem. Does anyone know a fix for this. Please dont tell me to hold the power and home i have tried that IT DOES NOT WORK for me.

    Try:
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
      Apple Retail Store - Genius Bar

  • 'int' not serializable!?

    Hello all,
    When deploying my application to WLS 8.1, I keep getting warnings along the lines of
    <Warning> <EJB> <BEA-012034> <The Remote interface method: '//snip// Foo.bar(java.lang.String,int) throws java.rmi.RemoteException //snip// contains a parameter of type: 'int' which is not Serializable. Though the EJB 'Foo' has call-by-reference set to false, this parameter is not Serializable and hence will be passed by reference. A parameter can be passed using call-by-value only if the parameter type is Serializable.>
    This message completely confuses me. Since 'int' is a primitive, it cannot implement the Serializable interface. On the other hand this is not necessary since the JVM knows how to serialize primitives anyway. Furthermore, primitives are by Java specification always passed by value.
    My assumption is that this message is essentially bogus, a weblogic bug if you want, and the int parameter will indeed be passed by value no matter what the warning says. I just cant se how WLS could pass it by reference given that it is running on a VM that implements the java standard.
    Am I missing something here? Please give me your thoughts on this one. We have a customer who is very concerned about these warnings showing up in the log...
    Thank you
    Message was edited by:
    [email protected]

    Hello, and thanks for taking a stab at this.
    While it is great that the fix you ar putting into SP5 allows the administrator to supress BEA-012034 warnings all together, would it not be better to simply correct the code not to issue BEA-012034 warnings for ints, floats and other primitives? Enabeling your fix would indeed make these incorrect messages go away, but it will also supress correct BEA-012034 warnings should our ejb interface [heaven forbid :] contain non-serializable objects.
    thanks

  • 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

  • ALC-DSC-005-000: Not Serializable

    What does the message "ALC-DSC-005-000: Not Serializable" mean? I am trying the simple "Sending an email with an attachment" walkthrough in the training manual and I receive this error when trying to invoke the process.
    Does this mean that a configuration setting in the "Read Document" operation or the "Send With Document" operation is in error?

    You can check the step, in which you get the error, from adminui under
    Services > Process Management > Stalled Operation Errors.
    You are probably not setting a variable, typed document, as input/output.
    Oguz
    http://www.kgc.com.tr

  • Payload not Serializable

    Hi everyone,
    I have implemented an asynchronous web service based on a MDB EJB. Here is the part of the web-services.xml that describes this web service :
    <web-service name="MOCBean" targetNamespace="moc" uri="/MOCBean">
    <components>
    <jms-send-destination name="mocqueue" connection-factory="weblogic.jms.ConnectionFactory">
    <jndi-name path="jms/MOCJMSQueue"/>
    </jms-send-destination>
    </components>
    <operations>
    <operation invocation-style="one-way" name="getCourbesCharge" component="mocqueue">
    <params>
    <param name="listeSites" class-name="java.lang.String" style="in" type="xsd:string"/>
    </params>
    </operation>
    </operations>
    </web-service>
    When I call getCourbesCharge through generated classes, I get this error :
    java.rmi.RemoteException: SOAP Fault:javax.xml.rpc.soap.SOAPFaultException: Exception during processing: javax.xml.rpc.JAXRPCException: Payload not Serializable. Java type is null
    I don't understand since there is an input parameter named listeSites of type String and no return parameter... Do you know what's happening ?
    Thanks in advance,
    Mark

    Well, I think I have identified the problem. When I create asynchronous web services and I pass the operation parameters which names are different from "string", "string0", "string1", etc, then "null" is unstacked from the SOAP message. I have to put the default names as parameters names to make it working... Though, it isn't necessary on synchronous web services. I think it's a Weblogic bug in client stub generation.
    Mark

  • RMI Callback after serialization in Weblogic 10.3

    I have an application with a JRE1.6 Swing client and a J2EE server running on weblogic 10.3 (JRE1.6)
    For certain operations the server does a RMI Call back to the swing client. So the RMI Object(UpdateListener) is passed to the server during the business call.
    public interface UpdateListener extends java.rmi.Remote{
         void update(int action, Object data) throws RemoteException;
    My client class implements the this interface to get the CallBack. The problem is that, after reaching the server when i persist and read back the RMI Object from database, i'm unable to do the callback. The stacktrace is
    java.rmi.ConnectException: Could not establish a connection with 4079602057493999578C:192.168.7.20R:4131263118401458263S:127.0.0.1:[7001,7001,-1,-1,-1,-1,-1]:domain:Admin_Server, java.rmi.ConnectException: Destination is not a server; No available router to destination; nested exception is:
         java.rmi.ConnectException: Destination is not a server; No available router to destination
         at weblogic.rjvm.RJVMImpl.getOutputStream(RJVMImpl.java:349)
         at weblogic.rjvm.RJVMImpl.getRequestStreamInternal(RJVMImpl.java:609)
         at weblogic.rjvm.RJVMImpl.getRequestStream(RJVMImpl.java:560)
         at weblogic.rjvm.RJVMImpl.getOutboundRequest(RJVMImpl.java:783)
         at weblogic.rmi.internal.BasicRemoteRef.getOutboundRequest(BasicRemoteRef.java:159)
         at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:211)
         at com.ibsplc.iaviation.utility.realtime.CallBack_1030_WLStub.update(Unknown Source)
    When i do the callback before persisting, the callback is working. I thing it is some thing to do with the serialization and WEblogic.
    I'm pasting sample code.
    //Server method
    public void doBusiness(UpdateListener rmiObject, String status) {
         //This call works fine and i get the callback in client
         try {          
              rmiObject.update(0, "Direct CallBack is working");
         }catch(IOException ioe) {
              ioe.printStackTrace();
         //This call doesnot work and i get the exception stacktrace above.
         //This call was working fine in Weblogic 8.1 (JDK1.4)
         try {
              ByteArrayOutputStream byteStream = new ByteArrayOutputStream();
              ObjectOutputStream os = new ObjectOutputStream(byteStream);
              os.flush();
              os.writeObject(rmiObject);
              os.flush();
              byte[] byteArrayOfData = byteStream.toByteArray();
              os.close();
              ObjectInputStream in1 = new ObjectInputStream(new ByteArrayInputStream(byteArrayOfData));
              UpdateListener rmiObjectAfterSerialze = (UpdateListener) in1.readObject();
              System.out.println("Trying call after after serlialze");
              rmiObjectAfterSerialze.update(0, "This call is not working");
         }catch(IOException ioe) {
              ioe.printStackTrace();
    Is this something to do with Weblogic10.3? Do i have to do something to reactivate the rmiObject after serialize and deserialize?
    I had posted this in core java forum and was suggested to post in weblogic forum.
    http://forums.sun.com/thread.jspa?threadID=5436290
    Any help is greatly appreciated.
    Thanks
    Basil

    I agree with that and we have removed this kind of callback the new version of the application. But the old version is still being used and had to be recently migrated to weblogic10.3, that is when the issue popped up.
    I have made the client implementation class Activatable. The code is pasted below. But still the issue persists. Do i have to do something else after deserialization to activate the stub class?
    public class CallBack extends Activatable implements UpdateListener {
        public CallBack(CallBackListener callBackListener) throws RemoteException{
         super(null,0);
        public void update(int activity, Object data) throws java.rmi.RemoteException {
            System.out.println("CallBack Reached");
    }

  • HT1451 What does the error message 13005 really mean?!?

    It is now the second time that I got the 13005 error code. After I got it the first time nearly the whole content was out the library and I had to reimport it. Does anybody know how I  can prevent this in the future and what error code 13005 really means?!?

    I'm not certain exactly what the error means, but if the library database is corrupt you can normally restore with the method in Empty/corrupt library after upgrade/crash. Take a full backup for the future.
    tt2

  • What does "Easily import photos from other applications" really mean?

    What does "Easily import photos from other applications" really mean in the Lightroom 4 features list? I also see it stated as "...from other software" as well. Yes, I understand the LR can import from Elements libraries but can't find any reference to other applications anywhere, not in the online help, not in the user guide, not in any videos on Adobe TV. It would be nice if LR could see into iPhoto or Aperture libraries but that doesn't appear to be the case. Is that assumption correct? What other applications can LR import from?

    Hello bbb34vball,
    Since that article didn't help, I would suggest trying the steps in this article next:
    iOS: Unable to import photos to computer - Apple Support
    If that doesn't resolve your issue, you may find more information by using another one of Apple's support resources - https://getsupport.apple.com/GetproductgroupList.action.
    Regards,
    Jeff D. 

  • HT4623 I installed the new IOS 7 and now it asks me to inform a password, but I really do not know what password I need to inform. Could you help me:

    I installed the new IOS 7 and now it asks me to inform a password, but I really do not know what password I need to inform. Could you help me:

    if you mean it asks you to add a passcode to the device, you may say no.  It really tries to encourage you to put a code on, by asking twice.....

  • Weblogic.transaction.RollbackException: Could not prepare resource 'weblogi

    Hi,
              I am getting this error on wls 9.2 and not sure why.
              I have a MultiDataSource which comprises two transactional (XA) DataSources for Oracle 9.2.
              I have a UserTransaction in progress which dequeues messages from a JMS Queue and does JDBC updates using the MultiDataSource.
              Here is the stack trace (get when calling commit on UserTransaction):
              weblogic.transaction.RollbackException: Could not prepare resource 'weblogic.jdbc.wrapper.JTSXAResourceImpl
              JDBC driver does not support XA, hence cannot be a participant in two-phase commit. To force this participation, set the GlobalTransactionsProtocol attribute to LoggingLastResource (recommended) or EmulateTwoPhaseCommit for the Data Source = MyMultiDS
                   at weblogic.transaction.internal.TransactionImpl.throwRollbackException(TransactionImpl.java:1782)
                   at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:331)
                   at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:227)
                   at weblogic.transaction.internal.TransactionManagerImpl.commit(TransactionManagerImpl.java:273)
                   at weblogic.transaction.internal.TransactionManagerImpl.commit(TransactionManagerImpl.java:267)
              Any ideas on this ?
              I did create the MultiDataSource (MyMultiDS) as a TX DataSource.
              Thanx

    j2ee iscool wrote:
              > Hi Joe,
              >
              > Many thanx for you reply. I can think of the following four stages during which a failure can occur during (transactional)interaction with RAC:
              >
              > 1.Active RAC Node Fails before the application calls commit (Application takes care of retry).
              >
              > 2.Active RAC node fails after the application calls commit and before the container(WLS) has called prepare on the RAC(Node). WLS takes care of the recovery/retry ?
              >
              > 3.Active RAC node fails after container(WLS) has called prepare on the RAC( Node ) but before commit being called. WLS takes care of the recovery/retry ?
              >
              > 4.Active RAC node fails after container(WLS) has called prepare and commit on the RAC( Node ). Oracle takes care of the recovery ?
              >
              > We are using Transactional Data Sources (Emulate 2 phase commit and Supports Global Transaction )
              > Do the above failure phases apply in this case ?
              >
              > The scenarios which you have described (?partial transacitons being committed, rolled
              > back or data locked indefinitely...? ) can occur during which of the failure stages ? Are there other failure stages which I am missing ?
              >
              >
              > Thanx a lot for your help,
              If multiple WebLogic servers are involved in the same transaction
              they must know that for a given RAC installation, each of these
              WebLogic servers do their tx work to the same RAC node. Otherwise,
              we may prepare, commit, or roll back only one of them, because
              we think the DBMS is really only one, when it's not. Oracle does
              not guarantee transaction ID uniqueness across nodes until prepare,
              so if we unwittingly address multiple RAC nodes for a given XA
              tx, the DBMSes will be quite happy about getting different, conflicting
              transactional commands with the same-named tx ID as far as we're
              concerned... Stuff like that.
              Joe

  • 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)

  • What does syncing mail really mean?

    I've just started using ISync with my .mac account, telling it to copy the sync-able data (Calendar, Safari Bookmarks, Mail, etc.) from my MacBook Pro to my .mac account. The goal is to then have my old Powerbook synced and getting its data from that same .mac account -- thus, changes I make on the MacBook Pro should always be reflected on the Powerbook. So far that's working fine with Calendar; all appointments listed on the MacBook now show up on the Powerbook as well. But the mail app doesn't seem to work in the same way -- email recently sent or received on several POP accounts I set up on the MacBook Pro does not show up on the Powerbook after syncing, even though the mailbox accounts are the same on both computers. It seems like if ISync can sync individual appointments, it ought to be able to sync individual emails -- or am I misunderstanding what syncing in the mail app really means? Is it only good for syncing settings (so a new POP account set up on one computer would presumably show up on the other one as well?) I'm also wondering if syncing works differently depending on whether the accounts are POP, IMAP or .Mac?

    You haven't started using iSync with .Mac, you're using *.Mac Sync* for which a specific Discussion forum is here:
    http://discussions.apple.com/forum.jspa?forumID=957
    Your question would be better posted there.

  • What does the PopUp "Prevent this page from creating additional dialogs" really mean and if I check the Box, how do I undo this if this was the Wrong Thing To Do?

    What does the PopUp "Prevent this page from creating additional dialogs" really mean and if I check the Box, how do I undo this if this was the Wrong Thing To Do?
    Details
    Constantly, while using Firefox (Beta v 11.0), and/or ESPECIALLY, when I have my eMail @ Mail.com open, I get this PopUp stating: "For security reasons, restarting mail.com Mail is possible only via the mail.com Mail Service. Please close this window and restart mail.com Mail" BUT Then there is a CHECKBOX: "Prevent this page from creating additional dialogs."
    I have no idea if Checking this Box is a Good Idea or if it will Screw-Up my mail.com Mail Service...
    Anyone have an answer or explanation of the Use of this Little Check-Box?
    BJ Orden [email protected]

    You do not get any pop-up windows on that website if you tick that box.
    That setting is stored in the cache and you should see pop-ups again if you reload the page and bypass the cache.
    Reload web page(s) and bypass the cache.
    *Press and hold Shift and left-click the Reload button.
    *Press "Ctrl + F5" or press "Ctrl + Shift + R" (Windows,Linux)
    *Press "Cmd + Shift + R" (MAC)

Maybe you are looking for