tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pid <...@pidster.com>
Subject Re: Request params randomly null in servlet(s)
Date Thu, 15 Sep 2011 17:07:45 GMT
On 15/09/2011 14:46, Darius D. wrote:
> 
> 
> 
> Pid * wrote:
>>
>>
>> What is your server.xml config?  (please remove comments, passwords etc
>> & post it inline, in the response)
>>  
>>
> 
> Here it is, nothing special ( except usage of RemoteIpValve ). Thanks for
> looking into this problem.
> 
> 
> <?xml version='1.0' encoding='utf-8'?>
> <Server port="8005" shutdown="SHUTDOWN">
>   <Listener className="org.apache.catalina.core.AprLifecycleListener"
> SSLEngine="on" />
>   <Listener className="org.apache.catalina.core.JasperListener" />
>   <Listener
> className="org.apache.catalina.core.JreMemoryLeakPreventionListener"/>
>   <Listener
> className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
>   <Listener
> className="org.apache.catalina.core.ThreadLocalLeakPreventionListener" />
> 
> 
>     <Resource name="UserDatabase" auth="Container"
>               type="org.apache.catalina.UserDatabase"
>               description="User database that can be updated and saved"
>               factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
>               pathname="conf/tomcat-users.xml" />
>   </GlobalNamingResources>
> 
> 
>   <Service name="Catalina">
> 
>     <Connector port="8080"
> protocol="org.apache.coyote.http11.Http11NioProtocol"
>                connectionTimeout="20000"
>                enableLookups="false"
>                acceptCount="1000"
>                maxThreads="500"
>                maxPostSize="10485760"
>                 /> 
> 
>     <Engine name="Catalina" defaultHost="localhost">
> 
>       <Realm className="org.apache.catalina.realm.LockOutRealm">
>       <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
>                resourceName="UserDatabase"/>
>       </Realm>
> 
>       <Host name="localhost"  appBase="webapps"
>             unpackWARs="true" autoDeploy="true">
> 
>         <Valve className="org.apache.catalina.valves.RemoteIpValve"
>         protocolHeader="X-Forwarded-Proto" />
> 
>         <Valve className="org.apache.catalina.valves.AccessLogValve"
> directory="logs"
>                prefix="localhost_access_log." suffix=".txt"
>                pattern="%h %l %u %t &quot;%r&quot; %s %b"
> resolveHosts="false"/>
> 
>       </Host>
>     </Engine>
>   </Service>
> </Server>

Exactly which version of Tomcat are you running?


p



Mime
View raw message