Hi ,
We are doing a PoC using H2O for one of our clients and we have to
compete this by first week of July. So some one could kindly help us
to resolve the below issue ASAP?
Issue
------------
When we used the certficate which was there in default path(comes as
part Hermes2.0 installation) we were able to successfully send signed
messages to another H2O and got back the Ack also.The issue is when we
tried using our own certficate , below error is ocurring in the logs
while sending signed messages to other H2O. We were able to use the
same certifcate and able to exchange messages successfully with
Cyclone and Oracle B2B product.Can some one please help us to resolve
this issue?
2009-06-29 16:27:59 [-Processor23] <INFO > <cecid.ebms.spa> <Outbound
payload received - cpaId: cpaid2, service: urn:bcRequestOrder,
serviceType:null, action: action, convId: convId1, fromPartyId:
fromPartyId, fromPartyType: fromPartyType, toPartyId: toPartyId,
toPartyType: toPartyType, refToMessageId: convIdcema>
2009-06-29 16:27:59 [-Processor23] <INFO > <cecid.ebms.spa>
<Genereating message id:
20090629-1...@10.23.100.25>
2009-06-29 16:27:59 [-Processor23] <INFO > <cecid.ebms.spa> <Store
outgoing message:
20090629-1...@10.23.100.25>
2009-06-29 16:27:59 [-Processor23] <INFO > <cecid.ebms.spa> <Outbound
payload processed - cpaId: cpaid2, service: urn:bcRequestOrder,
action: action, convId: convId1, fromPartyId: fromPartyId,
fromPartyType: fromPartyType, toPartyId: toPartyId, toPartyType:
toPartyType, refToMessageId: convIdcema>
2009-06-29 16:27:59 [Thread-107 ] <INFO > <cecid.ebms.spa> <Sign the
message:
20090629-1...@10.23.100.25>
2009-06-29 16:27:59 [Thread-107 ] <ERROR> <ebms.pkg.PKISignatureImpl>
<[10200] Unknown error
Exception: java.lang.NullPointerException
Message: null>
2009-06-29 16:27:59 [Thread-107 ] <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:
113)
at hk.hku.cecid.ebms.spa.task.OutboxTask.checkAndSignEbxmlMessage
(OutboxTask.java:545)
at hk.hku.cecid.ebms.spa.task.OutboxTask.execute(OutboxTask.java:356)
at hk.hku.cecid.piazza.commons.module.ActiveThread.run
(ActiveThread.java:90)
at java.lang.Thread.run(Unknown Source)
2009-06-29 16:27:59 [Thread-107 ] <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:552)
at hk.hku.cecid.ebms.spa.task.OutboxTask.execute(OutboxTask.java:356)
at hk.hku.cecid.piazza.commons.module.ActiveThread.run
(ActiveThread.java:90)
at java.lang.Thread.run(Unknown Source)
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:
113)
at hk.hku.cecid.ebms.spa.task.OutboxTask.checkAndSignEbxmlMessage
(OutboxTask.java:545)
... 3 more
2009-06-29 16:27:59 [Thread-107 ] <INFO > <cecid.ebms.spa> <Mark as
failed (Message id:
20090629-1...@10.23.100.25)>
2009-06-29 16:27:59 [Thread-107 ] <INFO > <cecid.ebms.spa> <Generate
internal error message>
2009-06-29 16:27:59 [Thread-107 ] <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:374)
at hk.hku.cecid.piazza.commons.module.ActiveThread.run
(ActiveThread.java:90)
at java.lang.Thread.run(Unknown Source)