You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Christopher Schultz <ch...@christopherschultz.net> on 2011/09/08 00:13:20 UTC
Setting property 'request.secret' to 'foo' did not find a matching
property
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
All,
TC 7.0.20, httpd 2.2.16, mod_jk 1.2.30
I was trying to set up a "secret" for use with my AJP connector and I
got these two warnings:
Sep 7, 2011 6:09:20 PM
org.apache.catalina.startup.SetAllPropertiesRule begin
WARNING: [SetAllPropertiesRule]{Server/Service/Connector} Setting
property 'request.secret' to 'foo' did not find a matching property.
Sep 7, 2011 6:09:20 PM
org.apache.catalina.startup.SetAllPropertiesRule begin
WARNING: [SetAllPropertiesRule]{Server/Service/Connector} Setting
property 'request.useSecret' to 'true' did not find a matching property.
The "secret" does not seem to apply to the AJP connector, as requests
get through with no "secret" configuration in mod_jk.
Am I missing something?
Here is my <Connector>:
<Connector port="8215"
redirectPort="443"
protocol="org.apache.coyote.ajp.AjpNioProtocol"
URIEncoding="UTF-8" executor="tomcatThreadPool"
request.secret="foo" request.useSecret="true" />
Thanks,
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk5n7IAACgkQ9CaO5/Lv0PAjHwCfW1px0LU5yMREmWaqdSYrvocK
pmQAn2cO08RAwnOXZBDhCHp7JvYqjer7
=Xmcr
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Setting property 'request.secret' to 'foo' did not find a matching property
Posted by ma...@apache.org.
Christopher Schultz <ch...@christopherschultz.net> wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>Mark,
>
>On 9/7/2011 6:18 PM, Mark Thomas wrote:
>>> Am I missing something?
>>
>> Yes. You haven't read the docs and you are using the wrong name
>> for the attribute. Try reading this:
>>
>http://tomcat.apache.org/tomcat-7.0-doc/config/ajp.html#Common_Attributes
>
>In
>>
>fact I did read the docs. When it didn't work, I checked to see if
>they had changed from the 6.0 release, and they looked the same. I
>must have been looking at the 6.0 docs the whole time.
>
>...could have sworn I was looking at the right ones. :(
>
>- -chris
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.4.10 (MingW32)
>Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
>iEYEARECAAYFAk5n80MACgkQ9CaO5/Lv0PAcCgCfWBLo3hcd/vP0DAxEJCx4cZ2D
>p/QAnjaGJgSJ0tlGrVluZI0sCsYymP1I
>=30qC
>-----END PGP SIGNATURE-----
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>For additional commands, e-mail: users-help@tomcat.apache.org
Easily done.
I noticed that the connector docs could do with an update for this change in 7.0.x as could the migration guide.
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Setting property 'request.secret' to 'foo' did not find a matching
property
Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Mark,
On 9/7/2011 6:18 PM, Mark Thomas wrote:
>> Am I missing something?
>
> Yes. You haven't read the docs and you are using the wrong name
> for the attribute. Try reading this:
> http://tomcat.apache.org/tomcat-7.0-doc/config/ajp.html#Common_Attributes
In
>
fact I did read the docs. When it didn't work, I checked to see if
they had changed from the 6.0 release, and they looked the same. I
must have been looking at the 6.0 docs the whole time.
...could have sworn I was looking at the right ones. :(
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk5n80MACgkQ9CaO5/Lv0PAcCgCfWBLo3hcd/vP0DAxEJCx4cZ2D
p/QAnjaGJgSJ0tlGrVluZI0sCsYymP1I
=30qC
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Setting property 'request.secret' to 'foo' did not find a matching
property
Posted by Mark Thomas <ma...@apache.org>.
On 07/09/2011 23:13, Christopher Schultz wrote:
> All,
>
> TC 7.0.20, httpd 2.2.16, mod_jk 1.2.30
>
> I was trying to set up a "secret" for use with my AJP connector and
> I got these two warnings:
>
> Sep 7, 2011 6:09:20 PM
> org.apache.catalina.startup.SetAllPropertiesRule begin WARNING:
> [SetAllPropertiesRule]{Server/Service/Connector} Setting property
> 'request.secret' to 'foo' did not find a matching property. Sep 7,
> 2011 6:09:20 PM org.apache.catalina.startup.SetAllPropertiesRule
> begin WARNING: [SetAllPropertiesRule]{Server/Service/Connector}
> Setting property 'request.useSecret' to 'true' did not find a
> matching property.
>
> The "secret" does not seem to apply to the AJP connector, as
> requests get through with no "secret" configuration in mod_jk.
>
> Am I missing something?
Yes. You haven't read the docs and you are using the wrong name for
the attribute. Try reading this:
http://tomcat.apache.org/tomcat-7.0-doc/config/ajp.html#Common_Attributes
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org