Jentrata 'samples' or 'Hello World!'

81 views
Skip to first unread message

mahenda...@gmail.com

unread,
Feb 17, 2016, 7:54:41 AM2/17/16
to jentrata
Hi All,

After the jentrata setup is completed, we just wanted to get started with a 'Hello World!' kind of a message exchange using jentrata from a sender to a receiver. Can someone give us an insight on how to go about this 'Hello World' message exchange using jentrata (and java). We are completely new to jentrata but have got some background of JMS/SOAP/Middleware, fortunately. :)

We were trying to use samples available in ${JENTRATA_HOME}/samples folder like below but getting class not found error. Verified that the errored class is not present in the jars mentioned in the classpath:

jentrata-msh-2.x-SNAPSHOT-tomcat-new/sample>./ebms-recv.sh
./config/ebms-partnership.xml ./config/ebms-recv/ebms-request.xml ./logs/ebms-recv.log ./output/ebms-recv/
/opt/app/IBM/AppServer/java_1.7_64/bin/java -cp ./lib/commons-codec-1.3.jar:./lib/commons-fileupload-1.2.jar:./lib/commons-httpclient-3.1.jar:./lib/commons-logging-1.0.4.jar:./lib/dom4j-1.6.1.jar:./lib/jaxen-1.1.1.jar:./lib/jentrata-commons-2.x-SNAPSHOT.jar:./lib/jentrata-commons-ext-2.x-SNAPSHOT.jar:./lib/jtidy-4aug2000r7-dev.jar:./lib/log4j-1.2.13.jar:./lib/mail-1.4.1.jar:./lib/slf4j-api-1.4.3.jar:./lib/slf4j-log4j12-1.4.3.jar: hk.hku.cecid.corvus.ws.EBMSReceiverSender ./config/ebms-partnership.xml ./config/ebms-recv/ebms-request.xml ./logs/ebms-recv.log ./output/ebms-recv/
Error: Could not find or load main class hk.hku.cecid.corvus.ws.EBMSReceiverSender

jentrata-msh-2.x-SNAPSHOT-tomcat-new/sample>./as2-send.sh
./config/as2-partnership.xml ./config/as2-send/as2-request.xml ./logs/as2-send.log ./config/as2-send/testpayload
/opt/app/IBM/AppServer/java_1.7_64/bin/java -cp ./lib/commons-codec-1.3.jar:./lib/commons-fileupload-1.2.jar:./lib/commons-httpclient-3.1.jar:./lib/commons-logging-1.0.4.jar:./lib/dom4j-1.6.1.jar:./lib/jaxen-1.1.1.jar:./lib/jentrata-commons-2.x-SNAPSHOT.jar:./lib/jentrata-commons-ext-2.x-SNAPSHOT.jar:./lib/jtidy-4aug2000r7-dev.jar:./lib/log4j-1.2.13.jar:./lib/mail-1.4.1.jar:./lib/slf4j-api-1.4.3.jar:./lib/slf4j-log4j12-1.4.3.jar: hk.hku.cecid.corvus.ws.AS2MessageSender ./config/as2-partnership.xml ./config/as2-send/as2-request.xml ./logs/as2-send.log ./config/as2-send/testpayload
Error: Could not find or load main class hk.hku.cecid.corvus.ws.AS2MessageSender


Regards,
Mahendar

Levon Prak

unread,
Jul 9, 2018, 8:19:27 PM7/9/18
to jentrata
Were you able to do a sample test to send an ebXML to Jentrata? 
Reply all
Reply to author
Forward
0 new messages