[rules-users] drools camel server execution has result but reponse empty result

scarlettxu xu_han_zi at 163.com
Tue Nov 12 06:30:43 EST 2013


Hi Expert,

I have a strange problem need your kind assistance!

I have deployed the drools server 5.5.0 to my tomcat, and I can use the
wrapped testing case without problem in the last week
when I type http://localhost:8080/camel-client/test.jsp

then the response will be 
Reuqest: "Hello World"
Response: "Hello World"

Today, I run it normally at first, but later I want to try to use the https
so I change the url to 
https://localhost:8443/camel-client/test.jsp

however the result is
Reuqest: "Hello World"
Response: ""

then I change back to use http, still have empty response

I have checked the log, there is execution result returned back, but just
the response is empty
Anybody can kindly check my problem? I have debug it for a whole day, but
have not figure out this strange problem.

below is the log for reference
19:23:56,015 TRACE CxfRsProducer:183 - Response body =
org.apache.cxf.jaxrs.impl.ResponseImpl at 26d6466f
19:23:56,016 TRACE DefaultCxfRsBinding:195 - Populate external header
Date=[Tue, 12 Nov 2013 11:23:55 GMT] as Date
19:23:56,016 TRACE DefaultCxfRsBinding:195 - Populate external header
Content-Length=[268] as Content-Length
19:23:56,016 TRACE DefaultCxfRsBinding:195 - Populate external header
Content-Type=[text/plain] as Content-Type
19:23:56,016 TRACE DefaultCxfRsBinding:195 - Populate external header
Server=[Apache-Coyote/1.1] as Server
19:23:56,017 TRACE DefaultTypeConverter:88 - Converting
org.apache.cxf.jaxrs.impl.ResponseImpl -> java.lang.String with value:
org.apache.cxf.jaxrs.impl.ResponseImpl at 26d6466f
19:23:56,018 TRACE DefaultTypeConverter:88 - Fallback type converter
StaticMethodFallbackTypeConverter: public static java.lang.Object
org.apache.camel.component.cxf.converter.CxfConverter.convertTo(java.lang.Class,org.apache.camel.Exchange,java.lang.Object,org.apache.camel.spi.TypeConverterRegistry)
converted type from: java.lang.String to:
org.apache.cxf.jaxrs.impl.ResponseImpl
19:23:56,018 TRACE InstrumentationProcessor:88 - to: Recording duration: 182
millis for exchange: Exchange[Message: <?xml version='1.0'
encoding='UTF-8'?><execution-results><result
identifier="message"><org.test.Message><text>echo:Hello
World</text></org.test.Message></result><fact-handle identifier="message"
external-form="0:2:1391417336:1391417336:2:DEFAULT"/></execution-results>]
19:23:56,018 TRACE DefaultTypeConverter:82 - Converting
org.apache.cxf.jaxrs.impl.ResponseImpl -> java.lang.String with value:
org.apache.cxf.jaxrs.impl.ResponseImpl at 26d6466f
19:23:56,019 TRACE DefaultTypeConverter:82 - Fallback type converter
StaticMethodFallbackTypeConverter: public static java.lang.Object
org.apache.camel.component.cxf.converter.CxfConverter.convertTo(java.lang.Class,org.apache.camel.Exchange,java.lang.Object,org.apache.camel.spi.TypeConverterRegistry)
converted type from: java.lang.String to:
org.apache.cxf.jaxrs.impl.ResponseImpl
19:23:56,019 TRACE AsyncProcessorHelper:82 - Exchange processed and is
continued routed synchronously for exchangeId:
ID-icilszxnb126-46148-1384255363195-1-1 -> Exchange[Message: ]
19:23:56,019 TRACE DefaultTypeConverter:82 - Converting
org.apache.cxf.jaxrs.impl.ResponseImpl -> java.lang.String with value:
org.apache.cxf.jaxrs.impl.ResponseImpl at 26d6466f
19:23:56,020 TRACE DefaultTypeConverter:82 - Fallback type converter
StaticMethodFallbackTypeConverter: public static java.lang.Object
org.apache.camel.component.cxf.converter.CxfConverter.convertTo(java.lang.Class,org.apache.camel.Exchange,java.lang.Object,org.apache.camel.spi.TypeConverterRegistry)
converted type from: java.lang.String to:
org.apache.cxf.jaxrs.impl.ResponseImpl
19:23:56,020 TRACE AsyncProcessorHelper:82 - Exchange processed and is
continued routed synchronously for exchangeId:
ID-icilszxnb126-46148-1384255363195-1-1 -> Exchange[Message: ]
19:23:56,020 TRACE DefaultTypeConverter:82 - Converting
org.apache.cxf.jaxrs.impl.ResponseImpl -> java.lang.String with value:
org.apache.cxf.jaxrs.impl.ResponseImpl at 26d6466f
19:23:56,021 TRACE DefaultTypeConverter:82 - Fallback type converter
StaticMethodFallbackTypeConverter: public static java.lang.Object
org.apache.camel.component.cxf.converter.CxfConverter.convertTo(java.lang.Class,org.apache.camel.Exchange,java.lang.Object,org.apache.camel.spi.TypeConverterRegistry)
converted type from: java.lang.String to:
org.apache.cxf.jaxrs.impl.ResponseImpl
19:23:56,021 TRACE AsyncProcessorHelper:82 - Exchange processed and is
continued routed synchronously for exchangeId:
ID-icilszxnb126-46148-1384255363195-1-1 -> Exchange[Message: ]
19:23:56,021 TRACE DefaultTypeConverter:82 - Converting
org.apache.cxf.jaxrs.impl.ResponseImpl -> java.lang.String with value:
org.apache.cxf.jaxrs.impl.ResponseImpl at 26d6466f
19:23:56,022 TRACE DefaultTypeConverter:82 - Fallback type converter
StaticMethodFallbackTypeConverter: public static java.lang.Object
org.apache.camel.component.cxf.converter.CxfConverter.convertTo(java.lang.Class,org.apache.camel.Exchange,java.lang.Object,org.apache.camel.spi.TypeConverterRegistry)
converted type from: java.lang.String to:
org.apache.cxf.jaxrs.impl.ResponseImpl
19:23:56,022 TRACE AsyncProcessorHelper:82 - Exchange processed and is
continued routed synchronously for exchangeId:
ID-icilszxnb126-46148-1384255363195-1-1 -> Exchange[Message: ]
19:23:56,023 TRACE DefaultErrorHandler:513 - Is exchangeId:
ID-icilszxnb126-46148-1384255363195-1-1 interrupted? false
19:23:56,023 TRACE DefaultErrorHandler:496 - Is exchangeId:
ID-icilszxnb126-46148-1384255363195-1-1 done? true
19:23:56,023 TRACE DefaultTypeConverter:82 - Converting
org.apache.cxf.jaxrs.impl.ResponseImpl -> java.lang.String with value:
org.apache.cxf.jaxrs.impl.ResponseImpl at 26d6466f
19:23:56,023 TRACE DefaultTypeConverter:82 - Fallback type converter
StaticMethodFallbackTypeConverter: public static java.lang.Object
org.apache.camel.component.cxf.converter.CxfConverter.convertTo(java.lang.Class,org.apache.camel.Exchange,java.lang.Object,org.apache.camel.spi.TypeConverterRegistry)
converted type from: java.lang.String to:
org.apache.cxf.jaxrs.impl.ResponseImpl
19:23:56,024 TRACE AsyncProcessorHelper:82 - Exchange processed and is
continued routed synchronously for exchangeId:
ID-icilszxnb126-46148-1384255363195-1-1 -> Exchange[Message: ]
19:23:56,024 TRACE Pipeline:90 - Processing exchangeId:
ID-icilszxnb126-46148-1384255363195-1-1 is continued being processed
synchronously
19:23:56,024 TRACE Pipeline:186 - ExchangeId:
ID-icilszxnb126-46148-1384255363195-1-1 should continue routing: true
19:23:56,024 TRACE DefaultTypeConverter:113 - Converting
org.apache.cxf.jaxrs.impl.ResponseImpl -> java.lang.String with value:
org.apache.cxf.jaxrs.impl.ResponseImpl at 26d6466f
19:23:56,025 TRACE DefaultTypeConverter:113 - Fallback type converter
StaticMethodFallbackTypeConverter: public static java.lang.Object
org.apache.camel.component.cxf.converter.CxfConverter.convertTo(java.lang.Class,org.apache.camel.Exchange,java.lang.Object,org.apache.camel.spi.TypeConverterRegistry)
converted type from: java.lang.String to:
org.apache.cxf.jaxrs.impl.ResponseImpl
19:23:56,025 TRACE Pipeline:113 - Processing exchangeId:
ID-icilszxnb126-46148-1384255363195-1-1 >>> Exchange[Message: ]
19:23:56,025 TRACE BeanProcessor:95 - Using a custom adapter as bean
invocation: org.drools.camel.component.PostCxfrs at 1a6313e1
19:23:56,026 TRACE DefaultTypeConverter:82 - Converting java.lang.String ->
java.lang.String with value: 
19:23:56,026 TRACE AsyncProcessorHelper:82 - Exchange processed and is
continued routed synchronously for exchangeId:
ID-icilszxnb126-46148-1384255363195-1-1 -> Exchange[Message: ]
19:23:56,026 TRACE DefaultTypeConverter:82 - Converting java.lang.String ->
java.lang.String with value: 
19:23:56,027 TRACE AsyncProcessorHelper:82 - Exchange processed and is
continued routed synchronously for exchangeId:
ID-icilszxnb126-46148-1384255363195-1-1 -> Exchange[Message: ]
19:23:56,027 TRACE DefaultErrorHandler:513 - Is exchangeId:
ID-icilszxnb126-46148-1384255363195-1-1 interrupted? false
19:23:56,027 TRACE DefaultErrorHandler:496 - Is exchangeId:
ID-icilszxnb126-46148-1384255363195-1-1 done? true
19:23:56,027 TRACE DefaultTypeConverter:82 - Converting java.lang.String ->
java.lang.String with value: 
19:23:56,028 TRACE AsyncProcessorHelper:82 - Exchange processed and is
continued routed synchronously for exchangeId:
ID-icilszxnb126-46148-1384255363195-1-1 -> Exchange[Message: ]
19:23:56,028 TRACE Pipeline:90 - Processing exchangeId:
ID-icilszxnb126-46148-1384255363195-1-1 is continued being processed
synchronously
19:23:56,028 TRACE Pipeline:186 - ExchangeId:
ID-icilszxnb126-46148-1384255363195-1-1 should continue routing: false
19:23:56,028 TRACE DefaultTypeConverter:101 - Converting java.lang.String ->
java.lang.String with value: 
19:23:56,028 TRACE Pipeline:101 - Processing complete for exchangeId:
ID-icilszxnb126-46148-1384255363195-1-1 >>> Exchange[Message: ]
19:23:56,029 TRACE DefaultTypeConverter:82 - Converting java.lang.String ->
java.lang.String with value: 
19:23:56,029 TRACE AsyncProcessorHelper:82 - Exchange processed and is
continued routed synchronously for exchangeId:
ID-icilszxnb126-46148-1384255363195-1-1 -> Exchange[Message: ]
19:23:56,029 TRACE DefaultTypeConverter:82 - Converting java.lang.String ->
java.lang.String with value: 
19:23:56,029 TRACE AsyncProcessorHelper:82 - Exchange processed and is
continued routed synchronously for exchangeId:
ID-icilszxnb126-46148-1384255363195-1-1 -> Exchange[Message: ]
19:23:56,030 TRACE DefaultTypeConverter:82 - Converting java.lang.String ->
java.lang.String with value: 
19:23:56,030 TRACE AsyncProcessorHelper:82 - Exchange processed and is
continued routed synchronously for exchangeId:
ID-icilszxnb126-46148-1384255363195-1-1 -> Exchange[Message: ]
19:23:56,030 TRACE DefaultErrorHandler:513 - Is exchangeId:
ID-icilszxnb126-46148-1384255363195-1-1 interrupted? false
19:23:56,030 TRACE DefaultErrorHandler:496 - Is exchangeId:
ID-icilszxnb126-46148-1384255363195-1-1 done? true
19:23:56,031 TRACE DefaultTypeConverter:88 - Converting java.lang.String ->
java.lang.String with value: 
19:23:56,031 TRACE InstrumentationProcessor:88 - route: Recording duration:
200 millis for exchange: Exchange[Message: ]
19:23:56,031 TRACE DefaultTypeConverter:203 - Converting java.lang.String ->
java.lang.String with value: 
19:23:56,031 TRACE DefaultUnitOfWork:203 - UnitOfWork done for ExchangeId:
ID-icilszxnb126-46148-1384255363195-1-1 with Exchange[Message: ]
19:23:56,032 TRACE DefaultInflightRepository:58 - Total 0 inflight
exchanges. Last removed: ID-icilszxnb126-46148-1384255363195-1-1
19:23:56,032 TRACE DefaultTypeConverter:82 - Converting java.lang.String ->
java.lang.String with value: 
19:23:56,032 TRACE AsyncProcessorHelper:82 - Exchange processed and is
continued routed synchronously for exchangeId:
ID-icilszxnb126-46148-1384255363195-1-1 -> Exchange[Message: ]
19:23:56,032 TRACE DefaultTypeConverter:82 - Converting java.lang.String ->
java.lang.String with value: 
19:23:56,032 TRACE AsyncProcessorHelper:82 - Exchange processed and is
continued routed synchronously for exchangeId:
ID-icilszxnb126-46148-1384255363195-1-1 -> Exchange[Message: ]
19:23:56,033 TRACE DefaultTypeConverter:155 - Converting java.lang.String ->
java.lang.String with value: 



--
View this message in context: http://drools.46999.n3.nabble.com/drools-camel-server-execution-has-result-but-reponse-empty-result-tp4026741.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list