Re: Apache SSI breaks with tomcat-connectors-1.2.43 or newer

2019-09-25 Thread Ezsra McDonald
Thank you Mark,



I never saw Rainer's response. I just found it in my SPAM folder. I will
look it over.


-Ez


On Wed, Sep 25, 2019 at 10:26 AM Mark Thomas  wrote:

> On 25/09/2019 16:13, Ezsra McDonald wrote:
> > Hello,
> > Does anyone have any suggestions? Am I missing something obvious?
>
> See Rainer's response the day after your post.
>
> Given the issue appeared between 1.2.42 and 1.2.43, it might be related
> to the fix for CVE-2019-1175 but we need the information Rainer asked
> for to identify the root cause.
>
> Mark
>
>
> >
> > --Ez
> >
> > On Tue, Sep 17, 2019 at 10:44 AM Ezsra McDonald <
> ezsra.mcdon...@gmail.com>
> > wrote:
> >
> >> Hello,
> >>
> >> Environment:
> >> OS: CentOS 7
> >> Apache: Apache/2.4.6 (CentOS)
> >> Working Connector: tomcat-connectors-1.2.42
> >>
> >> When we installed the latest version of the connector, 1.2.46 at this
> >> time, some of our customer Server Side Includes stopped working. SSIs
> using
> >> the  directives produce the following
> >> error in the log files:
> >>
> >> unable to include "layout/includes/headernav.html" in parsed file
> >> /var/www/html/horses/index.shtml, subrequest setup returned 400,
> referer:
> >> http://10.211.55.44/horses/
> >>
> >> When we roll back to tomcat-connectors-1.2.42 the SSI works.
> >>
> >> We do not know why tomcat-connectors impact mod_include.
> >>
> >> Any assistance would be appreciated.
> >>
> >> -Ez
> >>
> >
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>


Re: Apache SSI breaks with tomcat-connectors-1.2.43 or newer

2019-09-25 Thread Mark Thomas
On 25/09/2019 16:13, Ezsra McDonald wrote:
> Hello,
> Does anyone have any suggestions? Am I missing something obvious?

See Rainer's response the day after your post.

Given the issue appeared between 1.2.42 and 1.2.43, it might be related
to the fix for CVE-2019-1175 but we need the information Rainer asked
for to identify the root cause.

Mark


> 
> --Ez
> 
> On Tue, Sep 17, 2019 at 10:44 AM Ezsra McDonald 
> wrote:
> 
>> Hello,
>>
>> Environment:
>> OS: CentOS 7
>> Apache: Apache/2.4.6 (CentOS)
>> Working Connector: tomcat-connectors-1.2.42
>>
>> When we installed the latest version of the connector, 1.2.46 at this
>> time, some of our customer Server Side Includes stopped working. SSIs using
>> the  directives produce the following
>> error in the log files:
>>
>> unable to include "layout/includes/headernav.html" in parsed file
>> /var/www/html/horses/index.shtml, subrequest setup returned 400, referer:
>> http://10.211.55.44/horses/
>>
>> When we roll back to tomcat-connectors-1.2.42 the SSI works.
>>
>> We do not know why tomcat-connectors impact mod_include.
>>
>> Any assistance would be appreciated.
>>
>> -Ez
>>
> 


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: Apache SSI breaks with tomcat-connectors-1.2.43 or newer

2019-09-25 Thread Ezsra McDonald
Hello,
Does anyone have any suggestions? Am I missing something obvious?

--Ez

On Tue, Sep 17, 2019 at 10:44 AM Ezsra McDonald 
wrote:

> Hello,
>
> Environment:
> OS: CentOS 7
> Apache: Apache/2.4.6 (CentOS)
> Working Connector: tomcat-connectors-1.2.42
>
> When we installed the latest version of the connector, 1.2.46 at this
> time, some of our customer Server Side Includes stopped working. SSIs using
> the  directives produce the following
> error in the log files:
>
> unable to include "layout/includes/headernav.html" in parsed file
> /var/www/html/horses/index.shtml, subrequest setup returned 400, referer:
> http://10.211.55.44/horses/
>
> When we roll back to tomcat-connectors-1.2.42 the SSI works.
>
> We do not know why tomcat-connectors impact mod_include.
>
> Any assistance would be appreciated.
>
> -Ez
>


RE: SSO fails on Tomcat 9

2019-09-25 Thread Heidi Leerink - Duverger
Hello Mark,André,

No success on my side for SSO, I have installed 9.0.26 and changed the config 
according to this mail but no success.

Regards, Heidi Leerink - Duverger

-Oorspronkelijk bericht-
Van: Mark Thomas  
Verzonden: dinsdag 10 september 2019 18:07
Aan: users@tomcat.apache.org
Onderwerp: Re: SSO fails on Tomcat 9

On 10/09/2019 16:47, André Warnier (tomcat) wrote:
> On 10.09.2019 15:38, Mark Thomas wrote:
>> On 06/09/2019 13:20, Heidi Leerink - Duverger wrote:
>>> Hello Mark,
>>>
>>> That helps somewhat, my browser now shows the login page for our 
>>> application, BUT I do not get my username in HTTP variable 
>>> REMOTE_USER but the principal keytab related name.
>>>
>>> So instead of hduverge I get HTTP/nlsl-decadetst.u4agr.com@U$AGR.COM
>>
>> The Tomcat Authenticator takes care of validating the user. In the 
>> configuration you provided the JAASRealm is - effectively - 
>> (re-)validating the contents of the keytab file. That is why you see 
>> the keytab principal as the authenticated user.
>>
>> Try replacing the JAASRealm with the AuthenticatedUserRealm. 
>> Something
>> like:
>>
>>    >   allRolesMode="authOnly"
> 
> Mmm. That looks like a typo, likely to confuse this OP even more, no ?

Yep. Copy paste error. Should be:



Tx.

Mark

-
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



it takes very long for Tomcat Server to start etc

2019-09-25 Thread Karen Goh
Hi experts,

Recently, the Tomcat server - version 9.0.24 for Windows 10 is acting very 
strangely.  It takes very very long for it to start.

Furthermore, I have problem in using it for debug in Eclipse.

Usually, I will start the server before right click on the jsp page that I want 
to debug.

The VM argument as follows:
-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=y

The JVM will start but when the web page appear, it will say that the port -the 
configuration port along with the other ports - Tomcat admin port and ACP port 
are in used.

I tried to kill it but the problem will appear again and again.

Using stackoverflow as reference, I have put in this line in the run 
configuration
Djava.security.egd=file:/dev/urandom
but no help.

I have deleted the Tomcat and re-installed new instances but no help.

Please advise what can I do to let Tomcat run again and be able to do debug 
again normally.

Thanks for your help!

Karen

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org