How to config for sign message

7 views
Skip to first unread message

Lanyaipen

unread,
Jul 2, 2006, 11:56:48 PM7/2/06
to Hermes 2.0 Discussion List
Hi all,

Now I try to test send/receive by use sign partnership, but when I
send message to Hermes a ebms.log file show error by below.

========== START LOG ===========

2006-07-02 15:14:45 [-Processor25] <INFO > <cecid.ebms.spa> <Outbound
payload received - cpaId: 101_102, service:
https://ebxml1.lanyaipen.com:8443/corvus/httpd/ebms/inbound, action:
PO_Action, convId: testCA, fromPartyId: TH, fromPartyType: simple,
toPartyId: PH, toPartyType: simple, refToMessageId: testCA>
2006-07-02 15:14:45 [-Processor25] <INFO > <cecid.ebms.spa>
<Genereating message id: 20060702-1...@192.168.31.101>
2006-07-02 15:14:45 [-Processor25] <INFO > <cecid.ebms.spa> <Store
outgoing message: 20060702-1...@192.168.31.101>
2006-07-02 15:14:45 [-Processor25] <INFO > <cecid.ebms.spa> <Outbound
payload processed - cpaId: 101_102, service:
https://ebxml1.lanyaipen.com:8443/corvus/httpd/ebms/inbound, action:
PO_Action, convId: testCA, fromPartyId: TH, fromPartyType: simple,
toPartyId: PH, toPartyType: simple, refToMessageId: testCA>
2006-07-02 15:14:47 [Thread-68 ] <INFO > <cecid.ebms.spa> <Sign the
message: 20060702-1...@192.168.31.101>
2006-07-02 15:14:47 [Thread-68 ] <ERROR> <ebms.pkg.PKISignatureImpl>
<[10200] Unknown error
Exception: java.lang.NullPointerException
Message: null>
2006-07-02 15:14:47 [Thread-68 ] <ERROR> <cecid.ebms.spa> <Cannot
sign the ebxml message>
hk.hku.cecid.ebms.pkg.SignatureException: [10200] Unknown error
Exception: java.lang.NullPointerException
Message: null
at
hk.hku.cecid.ebms.pkg.PKISignatureImpl.sign(PKISignatureImpl.java:280)
at
hk.hku.cecid.ebms.pkg.SignatureHandler.sign(SignatureHandler.java:135)
at
hk.hku.cecid.ebms.spa.task.OutboxTask.checkAndSignEbxmlMessage(OutboxTask.java:274)
at
hk.hku.cecid.ebms.spa.task.OutboxTask.execute(OutboxTask.java:149)
at
hk.hku.cecid.piazza.commons.module.ActiveThread.run(ActiveThread.java:90)
at java.lang.Thread.run(Thread.java:534)
2006-07-02 15:14:47 [Thread-68 ] <ERROR> <cecid.ebms.spa> <Cannot get
the sign the message: >
hk.hku.cecid.ebms.spa.task.MessageValidationException: Cannot sign the
ebxml message
by hk.hku.cecid.ebms.pkg.SignatureException: [10200] Unknown
error
Exception: java.lang.NullPointerException
Message: null
at
hk.hku.cecid.ebms.spa.task.OutboxTask.checkAndSignEbxmlMessage(OutboxTask.java:280)
at
hk.hku.cecid.ebms.spa.task.OutboxTask.execute(OutboxTask.java:149)
at
hk.hku.cecid.piazza.commons.module.ActiveThread.run(ActiveThread.java:90)
at java.lang.Thread.run(Thread.java:534)
Caused by: hk.hku.cecid.ebms.pkg.SignatureException: [10200] Unknown
error
Exception: java.lang.NullPointerException
Message: null
at
hk.hku.cecid.ebms.pkg.PKISignatureImpl.sign(PKISignatureImpl.java:280)
at
hk.hku.cecid.ebms.pkg.SignatureHandler.sign(SignatureHandler.java:135)
at
hk.hku.cecid.ebms.spa.task.OutboxTask.checkAndSignEbxmlMessage(OutboxTask.java:274)
... 3 more
2006-07-02 15:14:47 [Thread-68 ] <INFO > <cecid.ebms.spa> <Mark as
failed (Message id: 20060702-1...@192.168.31.101)>
2006-07-02 15:14:47 [Thread-68 ] <INFO > <cecid.ebms.spa> <Generate
internal error message>
2006-07-02 15:14:47 [Thread-68 ] <ERROR> <cecid.ebms.spa> <Error in
outbox task>
hk.hku.cecid.ebms.spa.task.DeliveryException: Cannot sign the ebxml
message
at
hk.hku.cecid.ebms.spa.task.OutboxTask.execute(OutboxTask.java:173)
at
hk.hku.cecid.piazza.commons.module.ActiveThread.run(ActiveThread.java:90)
at java.lang.Thread.run(Thread.java:534)
2006-07-02 15:14:48 [Thread-2 ] <INFO > <cecid.ebms.spa> <Ebxml
Message (20060702-1...@192.168.31.101) is stored in inbox with
order number: 89>

========== END LOG =============

How to config for sign correctly?

Thank you,
Lanyaipen.

Reply all
Reply to author
Forward
0 new messages