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 ?

Thanks !

Reply via email to