synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ruwan Linton <>
Subject Sample 51 client side issue when Synapse is runing on DEBUG mode
Date Sun, 07 Jun 2009 17:26:57 GMT

When I start the sample 51 with org.apache.synapse log level set to DEBUG I
get an RuntimeException on the client side;

     [java] Sending file :
./../../repository/conf/sample/resources/mtom/asf-logo.gif as MTOM
     [java] 2009-06-07 22:51:47,541 [-] [main] ERROR SandeshaModule Could
not load module policies. Using default values.
     [java] 2009-06-07 22:51:47,612 [-] [main]  INFO MailTransportSender
MAILTO Sender started
     [java] 2009-06-07 22:51:47,623 [-] [main]  INFO JMSSender JMS Sender
     [java] 2009-06-07 22:51:47,625 [-] [main]  INFO JMSSender JMS Transport
Sender initialized...
     [java] Exception in thread "main" java.lang.RuntimeException: ContentID
is null
     [java]     at
     [java]     at samples.userguide.MTOMSwAClient.sendUsingMTOM(Unknown
     [java]     at samples.userguide.MTOMSwAClient.main(Unknown Source)

Please note that this happens only if the DEBUG logs are on... So I assume
that this is something to do with the serialization.

Any one having a clue on what is going wrong here.


Ruwan Linton
Senior Software Engineer & Product Manager; WSO2 ESB;
WSO2 Inc.;
email:; cell: +94 77 341 3097

View raw message