Quantcast

Adding the manager app to a Standalone tomcat install

classic Classic list List threaded Threaded
31 messages Options
12
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Adding the manager app to a Standalone tomcat install

Todd Seidenberg
On Thu, May 3, 2012 at 3:03 PM, Caldarale, Charles R <
[hidden email]> wrote:

> > From: Todd Seidenberg [mailto:[hidden email]]
> > Subject: Re: Adding the manager app to a Standalone tomcat install
>
> > I have removed all of the offending stuff from the server.xml but the
> > manager/html still gives me a 404.
>
> Just to be sure, exactly what URL are you using to try to access the
> manager?
>
>  - Chuck
>
>
http://hostname:8090/manager/html




>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you
> received this in error, please contact the sender and delete the e-mail and
> its attachments from all computers.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Adding the manager app to a Standalone tomcat install

Christopher Schultz-2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Todd,

On 5/3/12 5:22 PM, Todd Seidenberg wrote:

> On Thu, May 3, 2012 at 3:03 PM, Caldarale, Charles R <
> [hidden email]> wrote:
>
>>> From: Todd Seidenberg [mailto:[hidden email]]
>>> Subject: Re: Adding the manager app to a Standalone tomcat
>>> install
>>
>>> I have removed all of the offending stuff from the server.xml
>>> but the manager/html still gives me a 404.
>>
>> Just to be sure, exactly what URL are you using to try to access
>> the manager?
>>
>> - Chuck
>>
>>
> http://hostname:8090/manager/html

Grasping at straws: is there an old instance of Tomcat still running
and bound to your port? If you enable the AccessLogValve, can you
confirm that the request is actually being handled by the instance you
are launching?

This is truly strange.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+jGN8ACgkQ9CaO5/Lv0PDy9wCdGiyBxh4YA+K4chnAQvp0nhpT
N8UAn3gcQebCujSwO5YEVADUoWkrKGel
=qT3S
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Adding the manager app to a Standalone tomcat install

Todd Seidenberg
On May 3, 2012 5:47 PM, "Christopher Schultz" <[hidden email]>
wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Todd,
>
> On 5/3/12 5:22 PM, Todd Seidenberg wrote:
> > On Thu, May 3, 2012 at 3:03 PM, Caldarale, Charles R <
> > [hidden email]> wrote:
> >
> >>> From: Todd Seidenberg [mailto:[hidden email]]
> >>> Subject: Re: Adding the manager app to a Standalone tomcat
> >>> install
> >>
> >>> I have removed all of the offending stuff from the server.xml
> >>> but the manager/html still gives me a 404.
> >>
> >> Just to be sure, exactly what URL are you using to try to access
> >> the manager?
> >>
> >> - Chuck
> >>
> >>
> > http://hostname:8090/manager/html
>
> Grasping at straws: is there an old instance of Tomcat still running
> and bound to your port? If you enable the AccessLogValve, can you
> confirm that the request is actually being handled by the instance you
> are launching?
>
>
I've never enabled AccessLogValve. Can you give me a quick pointer for
turning it on so we can continue debugging? It sounds like something that I
should keep in my arsenal of tools.



> This is truly strange.
>
>
Agreed. Thanks for taking a look at it.



> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
> Comment: GPGTools - http://gpgtools.org
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk+jGN8ACgkQ9CaO5/Lv0PDy9wCdGiyBxh4YA+K4chnAQvp0nhpT
> N8UAn3gcQebCujSwO5YEVADUoWkrKGel
> =qT3S
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Adding the manager app to a Standalone tomcat install

Todd Seidenberg
On Fri, May 4, 2012 at 7:02 AM, Todd Seidenberg
<[hidden email]>wrote:

> On May 3, 2012 5:47 PM, "Christopher Schultz" <
> [hidden email]> wrote:
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Todd,
>>
>> On 5/3/12 5:22 PM, Todd Seidenberg wrote:
>> > On Thu, May 3, 2012 at 3:03 PM, Caldarale, Charles R <
>> > [hidden email]> wrote:
>> >
>> >>> From: Todd Seidenberg [mailto:[hidden email]]
>> >>> Subject: Re: Adding the manager app to a Standalone tomcat
>> >>> install
>> >>
>> >>> I have removed all of the offending stuff from the server.xml
>> >>> but the manager/html still gives me a 404.
>> >>
>> >> Just to be sure, exactly what URL are you using to try to access
>> >> the manager?
>> >>
>> >> - Chuck
>> >>
>> >>
>> > http://hostname:8090/manager/html
>>
>> Grasping at straws: is there an old instance of Tomcat still running
>> and bound to your port? If you enable the AccessLogValve, can you
>> confirm that the request is actually being handled by the instance you
>> are launching?
>>
>>
> I've never enabled AccessLogValve. Can you give me a quick pointer for
> turning it on so we can continue debugging? It sounds like something that I
> should keep in my arsenal of tools.
>
>
>
>> This is truly strange.
>>
>>
> Agreed. Thanks for taking a look at it.
>
>
>
By the way, I should also say that I have now COMPLETELY DISABLED the
confluence context in my server.xml file.


So it now looks like this:

 <Server port="8000" shutdown="SHUTDOWN" >
    <Service name="Tomcat-Standalone">
        <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
port="8090" minProcessors="5"
                   maxProcessors="75"
                   enableLookups="false" redirectPort="8443"
acceptCount="10" connectionTimeout="20000"
                   useURIValidationHack="false" URIEncoding="UTF-8"
        />
        <Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />
        <Engine name="Standalone" defaultHost="localhost">
            <Host name="localhost" appBase="webapps" unpackWARs="true"
autoDeploy="true">
           </Host>
        </Engine>
  </Service>
</Server>


This is the entirety of it. And of course, the manager still doesn't show
up.


just to reiterate.

- I have the server.xml listed above.
- I have grabbed the webapps/manager directory from a full fresh
tomcat-6.0.32 install
- I can start this standalone tomcat, and the
conf/Standalone/localhost/manager.xml is generated.
- I do not have an httpd running anywhere.
- I STILL get a 404 error when I try to go to
http://hostname:8090/manager/html.


Anything else I can try?


- Thanks,

Todd
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Adding the manager app to a Standalone tomcat install

Christopher Schultz-2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Todd,

On 5/4/12 10:17 AM, Todd Seidenberg wrote:
> - I have the server.xml listed above. - I have grabbed the
> webapps/manager directory from a full fresh tomcat-6.0.32 install

Where did you put it? In /usr/share/tomcat6/webapps?

> - I can start this standalone tomcat, and the
> conf/Standalone/localhost/manager.xml is generated.

Okay. Where is "conf" rooted?

> - I do not have an httpd running anywhere. - I STILL get a 404
> error when I try to go to http://hostname:8090/manager/html.

What are catalina.base and catalina.home?

Access log documentation can be found here:
http://tomcat.apache.org/tomcat-6.0-doc/config/valve.html#Access_Log_Valve

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+j6fEACgkQ9CaO5/Lv0PBCiACgtpjKeLfOi3EoCbc3CIJMh1Pe
HA0AoKd6nVnDXZJp8JLdO7246fjqvetI
=oLmi
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Adding the manager app to a Standalone tomcat install

Todd Seidenberg
On Fri, May 4, 2012 at 8:38 AM, Christopher Schultz <
[hidden email]> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Todd,
>
> On 5/4/12 10:17 AM, Todd Seidenberg wrote:
> > - I have the server.xml listed above. - I have grabbed the
> > webapps/manager directory from a full fresh tomcat-6.0.32 install
>
> Where did you put it? In /usr/share/tomcat6/webapps?
>
>
/usr/local/confluence-4/webapps/manager


> > - I can start this standalone tomcat, and the
> > conf/Standalone/localhost/manager.xml is generated.
>
> Okay. Where is "conf" rooted?
>

/usr/local/confluence-4/conf



> > - I do not have an httpd running anywhere. - I STILL get a 404
> > error when I try to go to http://hostname:8090/manager/html.
>
> What are catalina.base and catalina.home?
>
>
Here's the output of version.sh:

---------
./version.sh
If you encounter issues starting up Confluence Standalone, please see the
Installation guide at
http://confluence.atlassian.com/display/DOC/Confluence+Installation+Guide

Server startup logs are located in /usr/local/confluence-4/logs/catalina.out
Using CATALINA_BASE:   /usr/local/confluence-4
Using CATALINA_HOME:   /usr/local/confluence-4
Using CATALINA_TMPDIR: /usr/local/confluence-4/temp
Using JRE_HOME:        /usr/local/confluence-4/jre/
Using CLASSPATH:       /usr/local/confluence-4/bin/bootstrap.jar
Using CATALINA_PID:    /usr/local/confluence-4/work/catalina.pid
Server version: Apache Tomcat/6.0.32
Server built:   February 2 2011 2003
Server number:  6.0.32.0
OS Name:        Linux
OS Version:     2.6.16.54-0.2.8-default
Architecture:   i386
JVM Version:    1.6.0_26-b03
JVM Vendor:     Sun Microsystems Inc.
 -------------

>


> Access log documentation can be found here:
> http://tomcat.apache.org/tomcat-6.0-doc/config/valve.html#Access_Log_Valve
>
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
> Comment: GPGTools - http://gpgtools.org
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk+j6fEACgkQ9CaO5/Lv0PBCiACgtpjKeLfOi3EoCbc3CIJMh1Pe
> HA0AoKd6nVnDXZJp8JLdO7246fjqvetI
> =oLmi
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Adding the manager app to a Standalone tomcat install

Todd Seidenberg
On Fri, May 4, 2012 at 8:46 AM, Todd Seidenberg
<[hidden email]>wrote:

>
>
> On Fri, May 4, 2012 at 8:38 AM, Christopher Schultz <
> [hidden email]> wrote:
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Todd,
>>
>> On 5/4/12 10:17 AM, Todd Seidenberg wrote:
>> > - I have the server.xml listed above. - I have grabbed the
>> > webapps/manager directory from a full fresh tomcat-6.0.32 install
>>
>> Where did you put it? In /usr/share/tomcat6/webapps?
>>
>>
> /usr/local/confluence-4/webapps/manager
>
>
>> > - I can start this standalone tomcat, and the
>> > conf/Standalone/localhost/manager.xml is generated.
>>
>> Okay. Where is "conf" rooted?
>>
>
> /usr/local/confluence-4/conf
>
>
>
>> > - I do not have an httpd running anywhere. - I STILL get a 404
>> > error when I try to go to http://hostname:8090/manager/html.
>>
>> What are catalina.base and catalina.home?
>>
>>
> Here's the output of version.sh:
>
> ---------
> ./version.sh
> If you encounter issues starting up Confluence Standalone, please see the
> Installation guide at
> http://confluence.atlassian.com/display/DOC/Confluence+Installation+Guide
>
> Server startup logs are located in
> /usr/local/confluence-4/logs/catalina.out
> Using CATALINA_BASE:   /usr/local/confluence-4
> Using CATALINA_HOME:   /usr/local/confluence-4
> Using CATALINA_TMPDIR: /usr/local/confluence-4/temp
> Using JRE_HOME:        /usr/local/confluence-4/jre/
> Using CLASSPATH:       /usr/local/confluence-4/bin/bootstrap.jar
> Using CATALINA_PID:    /usr/local/confluence-4/work/catalina.pid
> Server version: Apache Tomcat/6.0.32
> Server built:   February 2 2011 2003
> Server number:  6.0.32.0
> OS Name:        Linux
> OS Version:     2.6.16.54-0.2.8-default
> Architecture:   i386
> JVM Version:    1.6.0_26-b03
> JVM Vendor:     Sun Microsystems Inc.
>  -------------
>
>>
>
>
>> Access log documentation can be found here:
>>
>> http://tomcat.apache.org/tomcat-6.0-doc/config/valve.html#Access_Log_Valve
>>
>>
I've enabled the Access_log_Valve, as listed below:

<snip>
            <Host name="localhost" appBase="webapps" unpackWARs="true"
autoDeploy="true">
                <Valve
 className="org.apache.catalina.valves.AccessLogValve"
                        directory="logs"
                        prefix="tomcat_access_Logs."
                        pattern="combined"
                        resolveHosts="false"
                />
</snip>


As expected, I still get the 404 error.  Enclosed is the line from the
'tomcat_access_Logs.' file.

xx.x.32.16 - - [04/May/2012:13:59:05 -0600] "GET /manager/html HTTP/1.1"
404 991 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.19 (KHTML,
like Gecko) Ubuntu/12.04 Chromium/18.0.1025.151 Chrome/18.0.1025.151
Safari/535.19"
xx.x.32.16 - - [04/May/2012:13:59:34 -0600] "GET /manager/html HTTP/1.1"
404 991 "http://cascade:8090/" "Mozilla/5.0 (X11; Linux x86_64)
AppleWebKit/535.19 (KHTML, like Gecko) Ubuntu/12.04 Chromium/18.0.1025.151
Chrome/18.0.1025.151 Safari/535.19"



Thoughts?

- Thanks,

Todd







> - -chris
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
>> Comment: GPGTools - http://gpgtools.org
>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>>
>> iEYEARECAAYFAk+j6fEACgkQ9CaO5/Lv0PBCiACgtpjKeLfOi3EoCbc3CIJMh1Pe
>> HA0AoKd6nVnDXZJp8JLdO7246fjqvetI
>> =oLmi
>> -----END PGP SIGNATURE-----
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [hidden email]
>> For additional commands, e-mail: [hidden email]
>>
>>
>
Pid
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Adding the manager app to a Standalone tomcat install

Pid
In reply to this post by Todd Seidenberg
On 4 May 2012, at 15:18, Todd Seidenberg <[hidden email]> wrote:

> On Fri, May 4, 2012 at 7:02 AM, Todd Seidenberg
> <[hidden email]>wrote:
>
>> On May 3, 2012 5:47 PM, "Christopher Schultz" <
>> [hidden email]> wrote:
>>
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>>>
>>> Todd,
>>>
>>> On 5/3/12 5:22 PM, Todd Seidenberg wrote:
>>>> On Thu, May 3, 2012 at 3:03 PM, Caldarale, Charles R <
>>>> [hidden email]> wrote:
>>>>
>>>>>> From: Todd Seidenberg [mailto:[hidden email]]
>>>>>> Subject: Re: Adding the manager app to a Standalone tomcat
>>>>>> install
>>>>>
>>>>>> I have removed all of the offending stuff from the server.xml
>>>>>> but the manager/html still gives me a 404.
>>>>>
>>>>> Just to be sure, exactly what URL are you using to try to access
>>>>> the manager?
>>>>>
>>>>> - Chuck
>>>>>
>>>>>
>>>> http://hostname:8090/manager/html
>>>
>>> Grasping at straws: is there an old instance of Tomcat still running
>>> and bound to your port? If you enable the AccessLogValve, can you
>>> confirm that the request is actually being handled by the instance you
>>> are launching?
>>>
>>>
>> I've never enabled AccessLogValve. Can you give me a quick pointer for
>> turning it on so we can continue debugging? It sounds like something that I
>> should keep in my arsenal of tools.
>>
>>
>>
>>> This is truly strange.
>>>
>>>
>> Agreed. Thanks for taking a look at it.
>>
>>
>>
> By the way, I should also say that I have now COMPLETELY DISABLED the
> confluence context in my server.xml file.
>
>
> So it now looks like this:
>
> <Server port="8000" shutdown="SHUTDOWN" >
>    <Service name="Tomcat-Standalone">
>        <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
> port="8090" minProcessors="5"
>                   maxProcessors="75"
>                   enableLookups="false" redirectPort="8443"
> acceptCount="10" connectionTimeout="20000"
>                   useURIValidationHack="false" URIEncoding="UTF-8"
>        />

I think it's already been mentioned, but the above Connector
definition should be invalid for Tomcat 6.

Are you sure there's no extra information in the Tomcat log files that
might be useful?


p



>        <Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />
>        <Engine name="Standalone" defaultHost="localhost">
>            <Host name="localhost" appBase="webapps" unpackWARs="true"
> autoDeploy="true">
>           </Host>
>        </Engine>
>  </Service>
> </Server>
>
>
> This is the entirety of it. And of course, the manager still doesn't show
> up.
>
>
> just to reiterate.
>
> - I have the server.xml listed above.
> - I have grabbed the webapps/manager directory from a full fresh
> tomcat-6.0.32 install
> - I can start this standalone tomcat, and the
> conf/Standalone/localhost/manager.xml is generated.
> - I do not have an httpd running anywhere.
> - I STILL get a 404 error when I try to go to
> http://hostname:8090/manager/html.
>
>
> Anything else I can try?
>
>
> - Thanks,
>
> Todd

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Adding the manager app to a Standalone tomcat install

Ognjen Blagojevic-5
In reply to this post by Todd Seidenberg
Todd,

On 4.5.2012 22:01, Todd Seidenberg wrote:
> xx.x.32.16 - - [04/May/2012:13:59:05 -0600] "GET /manager/html HTTP/1.1"
> 404 991 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.19 (KHTML,
> like Gecko) Ubuntu/12.04 Chromium/18.0.1025.151 Chrome/18.0.1025.151
> Safari/535.19"
> xx.x.32.16 - - [04/May/2012:13:59:34 -0600] "GET /manager/html HTTP/1.1"
> 404 991 "http://cascade:8090/" "Mozilla/5.0 (X11; Linux x86_64)
> AppleWebKit/535.19 (KHTML, like Gecko) Ubuntu/12.04 Chromium/18.0.1025.151
> Chrome/18.0.1025.151 Safari/535.19"

Brainstorming...

Did you check access permissions for webapps/manager directory and its
contents? User running Tomcat must be able to read it.

-Ognjen

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Adding the manager app to a Standalone tomcat install

André Warnier
Ognjen Blagojevic wrote:

> Todd,
>
> On 4.5.2012 22:01, Todd Seidenberg wrote:
>> xx.x.32.16 - - [04/May/2012:13:59:05 -0600] "GET /manager/html HTTP/1.1"
>> 404 991 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.19 (KHTML,
>> like Gecko) Ubuntu/12.04 Chromium/18.0.1025.151 Chrome/18.0.1025.151
>> Safari/535.19"
>> xx.x.32.16 - - [04/May/2012:13:59:34 -0600] "GET /manager/html HTTP/1.1"
>> 404 991 "http://cascade:8090/" "Mozilla/5.0 (X11; Linux x86_64)
>> AppleWebKit/535.19 (KHTML, like Gecko) Ubuntu/12.04
>> Chromium/18.0.1025.151
>> Chrome/18.0.1025.151 Safari/535.19"
>
> Brainstorming...
>
> Did you check access permissions for webapps/manager directory and its
> contents? User running Tomcat must be able to read it.
>

And one more thing to try :
- Stop Tomcat
- delete all the Tomcat logfiles (before that, save a copy somewhere, for later reference)
- delete the directory /usr/local/confluence-4/conf/Standalone/ and all its content
(Tomcat will regenerate it)
- start Tomcat and try again to access the manager app
- stop Tomcat
- paste the full content here, of the logfile which shows Tomcat being started and the
applications being deployed, up to the end showing Tomcat being stopped

Note: the directory /usr/local/confluence-4/conf/Standalone/ is named so, instead of the
more classic /usr/local/confluence-4/conf/Catalina/, because in your server.xml, the
<Engine> tag has been modified, compared to the standard Tomcat 6 server.xml.
(the "name" attribute value was changed from "Catalina" to "Standalone").
(And maybe this has something to do with the issue here; it may in any case change the way
things are being logged)





---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Adding the manager app to a Standalone tomcat install

Todd Seidenberg
On Mon, May 7, 2012 at 2:57 PM, André Warnier <[hidden email]> wrote:

> Ognjen Blagojevic wrote:
>
>> Todd,
>>
>> On 4.5.2012 22:01, Todd Seidenberg wrote:
>>
>>> xx.x.32.16 - - [04/May/2012:13:59:05 -0600] "GET /manager/html HTTP/1.1"
>>> 404 991 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.19 (KHTML,
>>> like Gecko) Ubuntu/12.04 Chromium/18.0.1025.151 Chrome/18.0.1025.151
>>> Safari/535.19"
>>> xx.x.32.16 - - [04/May/2012:13:59:34 -0600] "GET /manager/html HTTP/1.1"
>>> 404 991 "http://cascade:8090/" "Mozilla/5.0 (X11; Linux x86_64)
>>> AppleWebKit/535.19 (KHTML, like Gecko) Ubuntu/12.04
>>> Chromium/18.0.1025.151
>>> Chrome/18.0.1025.151 Safari/535.19"
>>>
>>
>> Brainstorming...
>>
>> Did you check access permissions for webapps/manager directory and its
>> contents? User running Tomcat must be able to read it.
>>
>>
> And one more thing to try :
> - Stop Tomcat
> - delete all the Tomcat logfiles (before that, save a copy somewhere, for
> later reference)
> - delete the directory /usr/local/confluence-4/conf/**Standalone/ and all
> its content (Tomcat will regenerate it)
> - start Tomcat and try again to access the manager app
> - stop Tomcat
> - paste the full content here, of the logfile which shows Tomcat being
> started and the applications being deployed, up to the end showing Tomcat
> being stopped
>
> Note: the directory /usr/local/confluence-4/conf/**Standalone/ is named
> so, instead of the more classic /usr/local/confluence-4/conf/**Catalina/,
> because in your server.xml, the <Engine> tag has been modified, compared to
> the standard Tomcat 6 server.xml.
> (the "name" attribute value was changed from "Catalina" to "Standalone").
> (And maybe this has something to do with the issue here; it may in any
> case change the way things are being logged)
>
>
Folks,

I've solved this problem.

I wound up completely removing the Confluence/tomcat directories, and
restoring them from a tar'd backup. Once I did that, i took the following
steps:

- set autodeploy to 'true' in the server.xml file
- modified the tomcat-users.xml file and server.xml file to reflect the use
of a tomcat-users.xml file
- copied the manager directory (from the apache-tomcat-6.0.32/webapps
directory from a fresh untarring of the tomcat package) tot he webapps
directory
- started tomcat.


This is all I needed to do. The manager deployed correctly, and created a
manager.xml file in the appropriate place. Not sure how things had gotten
corrupted before, but they did - so I punted. It appears to have worked.

Thanks for everyone's help.

- Todd



>
>
>
>
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.**apache.org<[hidden email]>
> For additional commands, e-mail: [hidden email]
>
>
12
Loading...