You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Darren Davison (JIRA)" <ji...@apache.org> on 2009/01/28 13:25:04 UTC
[jira] Issue Comment Edited: (CAMEL-1271) Can only interact with
servicemix-http if logging is at DEBUG
[ https://issues.apache.org/activemq/browse/CAMEL-1271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=48988#action_48988 ]
davisond edited comment on CAMEL-1271 at 1/28/09 4:23 AM:
----------------------------------------------------------------
tried with the 2008.2 snapshot as requested; now getting what looks like an odd low level parsing issue:
{noformat}org.apache.camel.RuntimeCamelException: javax.xml.transform.TransformerException: java.io.IOException:
CRLF expected at end of chunk: 48/13{noformat}
I can send you the log file for the whole in/out route if you like, but it has some proprietary info in there that I don't want to post here.
was (Author: davisond):
tried with the 2008.2 snapshot as requested; now getting what looks like an odd low level parsing issue:
{{org.apache.camel.RuntimeCamelException: javax.xml.transform.TransformerException: java.io.IOException:
CRLF expected at end of chunk: 48/13}}
I can send you the log file for the whole in/out route if you like, but it has some proprietary info in there that I don't want to post here.
> Can only interact with servicemix-http if logging is at DEBUG
> -------------------------------------------------------------
>
> Key: CAMEL-1271
> URL: https://issues.apache.org/activemq/browse/CAMEL-1271
> Project: Apache Camel
> Issue Type: Bug
> Components: camel-jbi
> Affects Versions: 1.5.0
> Reporter: Darren Davison
> Assignee: Gert Vanthienen
> Fix For: 1.5.1, 2.0.0
>
>
> Given the following camel DSL:
> from("activemq:queue.testJms.in")
> .to("jbi:service:urn:oms:testHttp?mep=in-out")
> .to("activemq:queue.testJms.out");
> and the following xbean.xml for the smx (3.3) SU:
> <http:endpoint
> service="oms:testHttp"
> endpoint="testHttp"
> role="provider"
> locationURI="http://localhost:8080/testP1">
> </http:endpoint>
> then Camel operates correctly (or at least as desired) only if DEBUG logging is enabled in the org.apache.servicemix.http package. This seems to be because a DOMSource is returned (which Camel can convert). If the log level is reduced (say to WARN) then a StreamSource object is returned instead which Camel appears unable to convert. This results in stack traces such as:
> ERROR - DeadLetterChannel - Failed delivery for exchangeId:
> ID-davisond-laptop/53380-1232099798317/0-0. On delivery attempt: 0
> caught: org.apache.camel.RuntimeCamelException:
> javax.xml.transform.TransformerException: java.io.IOException: Attempted
> read on closed stream.
> org.apache.camel.RuntimeCamelException:
> javax.xml.transform.TransformerException: java.io.IOException: Attempted
> read on closed stream.
> at
> org.apache.camel.util.ObjectHelper.invokeMethod(ObjectHelper.java:441)
> at
> org.apache.camel.impl.converter.InstanceMethodTypeConverter.convertTo(InstanceMethodTypeCo
> +nverter.java:57)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.