You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Hiranya Jayathilaka (JIRA)" <ji...@apache.org> on 2016/05/27 21:33:13 UTC

[jira] [Commented] (SYNAPSE-869) Spring integration/example does not work in 2.1.0

    [ https://issues.apache.org/jira/browse/SYNAPSE-869?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15304827#comment-15304827 ] 

Hiranya Jayathilaka commented on SYNAPSE-869:
---------------------------------------------

I assume this is regarding sample 460. I wasn't able to reproduce this problem on 2.1 or on the latest trunk. I always get the following log output as expected:

{noformat}
2016-05-27 14:30:37,011 [-] [HttpServerWorker-1]  INFO TimeoutHandler This engine will expire all callbacks after : 86400 seconds, irrespective of the timeout action, after the specified or optional timeout
2016-05-27 14:30:37,049 [-] [HttpClientWorker-1]  INFO SpringCustomLogger Starting Spring Meditor
2016-05-27 14:30:37,049 [-] [HttpClientWorker-1]  INFO SpringCustomLogger Bean in Initialized with User:["Synapse User"]
2016-05-27 14:30:37,049 [-] [HttpClientWorker-1]  INFO SpringCustomLogger E-MAIL:["usr@synapse.org"]
2016-05-27 14:30:37,049 [-] [HttpClientWorker-1]  INFO SpringCustomLogger Massage Id:  urn:uuid:f639711a-880f-4ea6-ac5f-f6da5d9bca3c
2016-05-27 14:30:37,049 [-] [HttpClientWorker-1]  INFO SpringCustomLogger Logged....
{noformat}

We also have sample 460 running as a part of our build.

> Spring integration/example does not work in 2.1.0
> -------------------------------------------------
>
>                 Key: SYNAPSE-869
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-869
>             Project: Synapse
>          Issue Type: Bug
>          Components: Extension Mediators
>    Affects Versions: 2.1
>         Environment: Windows 7, x64, java version "1.6.0_31"
>            Reporter: Maros Timko (Tino)
>             Fix For: 2.1
>
>         Attachments: synapse-2.0.0.log, synapse-2.1.0.log
>
>
> After downloading and installing the Synapse 2.1.0 I could not make Spring integration sample work. I always get:
> 2012-05-02 11:22:36,371 [-] [WrapperSimpleAppMain] ERROR MediatorFactoryFinder Invalid mediator configuration XML : org.apache.axiom.om.impl.llom.OMTextImpl@13e4a5a
> 2012-05-02 11:22:36,375 [-] [WrapperSimpleAppMain] ERROR SynapseServer Error starting Apache Synapse, trying a clean shutdown...
> org.apache.synapse.SynapseException: Invalid mediator configuration XML : org.apache.axiom.om.impl.llom.OMTextImpl@13e4a5a
>         at org.apache.synapse.config.xml.MediatorFactoryFinder.handleException(MediatorFactoryFinder.java:229)
>         at org.apache.synapse.config.xml.MediatorFactoryFinder.getObjectFromOMNode(MediatorFactoryFinder.java:222)
>         at org.apache.synapse.registry.AbstractRegistry.getResource(AbstractRegistry.java:148)
>         at org.apache.synapse.config.SynapseConfiguration.getSequence(SynapseConfiguration.java:466)
>         at org.apache.synapse.config.SynapseConfiguration.getFaultSequence(SynapseConfiguration.java:547)
>         at org.apache.synapse.config.SynapseConfigurationBuilder.getConfiguration(SynapseConfigurationBuilder.java:143)
>         at org.apache.synapse.Axis2SynapseController.createSynapseConfiguration(Axis2SynapseController.java:465)
>         at org.apache.synapse.ServerManager.start(ServerManager.java:177)
>         at org.apache.synapse.SynapseServer.main(SynapseServer.java:68)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>         at java.lang.reflect.Method.invoke(Unknown Source)
>         at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
>         at java.lang.Thread.run(Unknown Source)
> I downloaded 2.0.0 to check and the sample works fine there.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org