Thanks for your answer Rainer. Please find attached the logs you requested.

Its is really strange, because it seems from the logs that jk_mod received
the answer...

Regards,
Omar


2014-08-10 14:56 GMT+01:00 Rainer Jung <rainer.j...@kippdata.de>:

> Am 10.08.2014 um 15:41 schrieb Omar Belkhodja:
>
>  Hi,
>>
>> I'm adding HTTPS access to my Java site. For that, I have chosen to leave
>> the management of HTTPS to an Apache server. The Apache server is
>> connecting to tomcat through mod_jk and AJP 1.3.
>>
>> I'm logging all my Tomcat request/responses, and I'm facing the following
>> problem:
>> - If I access my URL through the standard Tomcat connector on port 8080, I
>> have a correct response (JSON)
>> - If I access my URL through Apache HTTPS, I have an empty response(no
>> JSON)
>>
>>  From the Tomcat logs below, the last parameter is the number of bytes
>> returned, and you can see that they are different.
>>
>>      41.227.87.197:443 - - [10/Aug/2014:15:24:32 +0200] 1688 "GET
>> /url?format=json HTTP/1.1" 200 33
>>      41.227.87.197:8080 - - [10/Aug/2014:15:24:46 +0200] 734 "GET
>> /url?format=json HTTP/1.1" 200 44
>>
>> Another test I have done is to use an XML response instead of JSON
>> response, and I can't see any more the problem.
>>
>> Any idea what could it be ?
>>
>
> Can you set JkLogLevel trace for mod_jk and post the complete log output
> for a single request? We can then check the headers etc.
>
> For a first try we don't need the startup messages, only the log lines
> related to receiving and forwarding the request and reponse.
>
> Are there any other Apache directives active that might change the URI or
> headers? RewriteRules etc.?
>
> Regards,
>
> Rainer
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to