tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Todd Seidenberg <todd.seidenb...@gmail.com>
Subject Re: Adding the manager app to a Standalone tomcat install
Date Thu, 03 May 2012 17:55:29 GMT
On Thu, May 3, 2012 at 11:44 AM, André Warnier <aw@ice-sa.com> wrote:

> Todd Seidenberg wrote:
>
>> <snip>
>>
>>  INFO: Deploying configuration descriptor manager.xml
>>>
>>> Good.
>>>
>>>  As you can see, the manager descriptor is deployed - and sure
>>>> enough the standard manager.xml file is created in
>>>> /usr/local/confluence-4/conf/**Standalone/localhost.
>>>>
>>> Good.
>>>
>>>  However, I still don't get the manager app.
>>>>
>>> Bad. You mean you get a 404 Not Found?
>>>
>>>
>>>  Thats correct. I get the:
>>
>> HTTP Status 404 - /manager/html message.
>>
>
> and is this an Apache or a Tomcat error page ? (easy to distinguish by the
> style)
>
>
>
>>
>> Very strange.
>>
>>
>>
>>  It doesn't look like you are using anything in front of Tomcat like
>>> httpd, are you? Do you have more than one <Host> in your server.xml?
>>>
>>>
>>>  There is only one <Host> in my server.xml. We are currently running the
>> AJP
>> connector in the server.xml, and have httpd utilizing that connector to
>> talk directly to the tomcat, but this is only for the convenience of
>> redirecting a meaningful http address into the actual tomcat URL. We do
>> not
>> rely on it.
>>
>>
> And this is what I suspect : the instructions used at the Apache level to
> "proxy" some URLs to Tomcat, do not cover the URL "/manager/html".
>  Therefore, Apache/mod_jk is not forwarding this to Tomcat, and instead it
> is Apache httpd itself which tries to find the resource corresponding to
> /manager/html; but it does not find it, so it returns a 404.
>
>
>>
>>
>> Weird, huh?
>>
>>
> If my above suspicion is justified, then I would say that it's not weird
> at all.  It is entirely predictable and actually very frequent as an error.
>

I am definitely getting the 404 error from tomcat, not from httpd. Just to
be safe, I have turned httpd completely off.  I still get the same error.

Here are the contents of
my /usr/local/confluence-4/conf/Standalone/localhost/manager.xml file:
(remember that this was generated when I first started tomcat.)

----
<?xml version="1.0" encoding="UTF-8"?>
<!--
  Licensed to the Apache Software Foundation (ASF) under one or more
  contributor license agreements.  See the NOTICE file distributed with
  this work for additional information regarding copyright ownership.
  The ASF licenses this file to You under the Apache License, Version 2.0
  (the "License"); you may not use this file except in compliance with
  the License.  You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.
-->
<Context antiResourceLocking="false" privileged="true" useHttpOnly="true" />
----




>


> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.**apache.org<users-unsubscribe@tomcat.apache.org>
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message