I have already deployed hermes2 on a Glassfish server and could
successfully access to the hermes2 administration console page. Then,
i tried to run the sample provided by hermes2 but got the following
error in ebms.log. The message is in pending status and couldn't be
sent to the inbox. Any ideas? thanks
2009-02-02 17:35:00 [read-48755-1] <INFO > <cecid.ebms.spa> <Store
outgoing message: 2009
0202-173...@192.168.18.13>
2009-02-02 17:35:00 [read-48755-1] <INFO > <cecid.ebms.spa> <Outbound
payload processed -
cpaId: cpaid, service:
http://localhost:48755/corvus/httpd/ebms/inbound,
action: action,
convId: convId, fromPartyId: fromPartyId, fromPartyType:
fromPartyType, toPartyId: toPar
tyId, toPartyType: toPartyType, refToMessageId: null>
2009-02-02 17:35:01 [Thread-30 ] <ERROR> <cecid.ebms.spa> <Internal
Server Error: >
hk.hku.cecid.piazza.commons.dao.DAOException: Error in executing
hk.hku.cecid.ebms.spa.da
o.MessageDataSourceDAO::Process@ee7417
by hk.hku.cecid.piazza.commons.dao.DAOException: Error in
executing update: UPDAT
E message SET ref_to_message_id=?, message_id=?, sync_reply=?,
timeout_time_stamp=?, sequ
ence_status=?, to_party_role=?, status=?, service=?, time_to_live=?,
message_type=?, mess
age_box=?, from_party_role=?, to_party_id=?, sequence_group=?,
dup_elimination=?, cpa_id=
?, status_description=?, from_party_id=?, sequence_no=?,
ack_sign_requested=?, action=?,
time_stamp=?, conv_id=?, ack_requested=? WHERE message_id=? AND
message_box=?
by hk.hku.cecid.piazza.commons.dao.DAOException: Error
occurred when executing up
date at row 0 of the specified parameter array
by java.lang.NullPointerException
at hk.hku.cecid.piazza.commons.dao.ds.DataSourceProcess.start
(DataSourceProcess.j
ava:97)
at hk.hku.cecid.piazza.commons.dao.ds.DataSourceProcess.start
(DataSourceProcess.j
ava:97)
at
hk.hku.cecid.piazza.commons.dao.ds.DataSourceDAO.executeUpdate
(DataSourceDAO.j
ava:588)
at
hk.hku.cecid.piazza.commons.dao.ds.DataSourceDAO.executeUpdate
(DataSourceDAO.j
ava:548)
at
hk.hku.cecid.piazza.commons.dao.ds.DataSourceDAO.executeUpdate
(DataSourceDAO.j
ava:528)
at hk.hku.cecid.piazza.commons.dao.ds.DataSourceDAO.persist
(DataSourceDAO.java:67
2)
at hk.hku.cecid.piazza.commons.dao.ds.DataSourceDAO.persist
(DataSourceDAO.java:65
1)
at hk.hku.cecid.ebms.spa.dao.MessageDataSourceDAO.updateMessage
(MessageDataSource
DAO.java:52)
at hk.hku.cecid.ebms.spa.task.OutboxTask.<init>
(OutboxTask.java:148)
at hk.hku.cecid.ebms.spa.task.OutboxCollector.getTaskList
(OutboxCollector.java:68
)
at hk.hku.cecid.piazza.commons.module.ActiveTaskModule.execute
(ActiveTaskModule.j
ava:137)
at hk.hku.cecid.piazza.commons.module.ActiveModule.run
(ActiveModule.java:213)
at java.lang.Thread.run(Thread.java:619)
: