org.openas2.OpenAS2Exception: Message was sent but an error occured while receiving the MDN

openas2 | tswolin | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    openAS2 sample MDN problem

    openas2 | 1 decade ago | tswolin
    org.openas2.OpenAS2Exception: Message was sent but an error occured while receiving the MDN

    Root Cause Analysis

    1. java.security.cert.CertificateExpiredException

      certificate expired on 20050513070000GMT+00:00

      at org.bouncycastle.jce.provider.X509CertificateObject.checkValidity()
    2. BouncyCastle
      X509CertificateObject.checkValidity
      1. org.bouncycastle.jce.provider.X509CertificateObject.checkValidity(X509CertificateObject.java:62)
      1 frame
    3. BouncyCastle
      SignerInformation.verify
      1. org.bouncycastle.cms.SignerInformation.verify(SignerInformation.java:329)
      1 frame
    4. org.openas2.util
      AS2Util.parseMDN
      1. org.openas2.util.AS2Util.verifySignature(AS2Util.java:391)
      2. org.openas2.util.AS2Util.verifySignature(AS2Util.java:375)
      3. org.openas2.util.AS2Util.parseMDN(AS2Util.java:294)
      3 frames
    5. org.openas2.processor
      PollingModule$PollTask.run
      1. org.openas2.processor.sender.AS2SenderModule.receiveMDN(AS2SenderModule.java:159)
      2. org.openas2.processor.sender.AS2SenderModule.handle(AS2SenderModule.java:91)
      3. org.openas2.processor.DefaultProcessor.handle(DefaultProcessor.java:53)
      4. org.openas2.processor.receiver.DirectoryPollingModule.processFile(DirectoryPollingModule.java:91)
      5. org.openas2.processor.receiver.DirectoryPollingModule.poll(DirectoryPollingModule.java:61)
      6. org.openas2.processor.receiver.PollingModule$PollTask.run(PollingModule.java:49)
      6 frames
    6. Java RT
      TimerThread.run
      1. java.util.TimerThread.mainLoop(Timer.java:512)
      2. java.util.TimerThread.run(Timer.java:462)
      2 frames