On Thu, May 3, 2012 at 7:37 AM, Konstantin Kolinko <knst.koli...@gmail.com>
wrote:
>
> 2012/5/3 Todd Seidenberg <todd.seidenb...@gmail.com>:
> > (..)
>
> +1 to what Pid wrote.
>
> >
> > My previous efforts to do this resulted in a BLANK page when I tried
> > hitting the manager app - so any help would be appreciated.
> >
>
> Blank page means that there is no ROOT web application deployed on that
host.
> You are likely hitting a wrong URL and there is no default application
> to display user-friendly 404 page for you.


Ok. Thank you for that. I've been able to successfully deploy the ROOT app,
and I get the standard default Tomcat page.

However, when I click on the tomcat manager link, I get:


---------

HTTP Status 404 - /manager/html

________________________________

type Status report

message /manager/html

description The requested resource (/manager/html) is not available.

________________________________

Apache Tomcat/6.0.32
-------------



Here's what I've done.

- I've determined the version of Tomcat that my standalone install is using
(6.0.32.)

- I've grabbed a tar.gz of the 6.0.32 standard tomcat and untarred it.

- I've rsync'd the  apache-tomcat-6.0.32/webapps/manager directory to my
standalone installation's webapp directory.

- I noted that I had NOTHING in my server.xml for the manager app. (I do
have context clauses in the server.xml for the main app that the standalone
tomcat was bundled with.)

- I made sure that tomcat was killed.

- I then started it up and tailed the log file (Note that the app I'm
running is called 'confluence.' It is running as expected.


----------

To run Confluence in the foreground, start the server with
start-confluence.sh -fg
executing using dedicated user: confluence
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


SEVERE: The web application [/confluence] created a ThreadLocal with key of
type [com.opensymphony.xwork.ActionContext.ActionContextThreadLocal] (value
[com.opensymphony.xwork.ActionContext$ActionContextThreadLocal@132ba74])
and a value of type [com.opensymphony.xwork.ActionContext] (value
[com.opensymphony.xwork.ActionContext@16f488d]) but failed to remove it
when the web application was stopped. This is very likely to create a
memory leak.
May 3, 2012 9:53:10 AM org.apache.catalina.loader.WebappClassLoader
clearThreadLocalMap
SEVERE: The web application [/confluence] created a ThreadLocal with key of
type [com.atlassian.core.logging.ThreadLocalErrorCollection$2] (value
[com.atlassian.core.logging.ThreadLocalErrorCollection$2@1042d00]) and a
value of type [java.lang.Boolean] (value [false]) but failed to remove it
when the web application was stopped. This is very likely to create a
memory leak.
May 3, 2012 9:53:10 AM org.apache.catalina.loader.WebappClassLoader
clearThreadLocalMap
SEVERE: The web application [/confluence] created a ThreadLocal with key of
type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@12660a6]) and a
value of type [org.dom4j.DocumentFactory] (value
[org.dom4j.DocumentFactory@9352ad]) but failed to remove it when the web
application was stopped. This is very likely to create a memory leak.
May 3, 2012 9:53:10 AM org.apache.catalina.loader.WebappClassLoader
clearThreadLocalMap
SEVERE: The web application [/confluence] created a ThreadLocal with key of
type [com.atlassian.confluence.concurrent.ThreadLocalMap] (value
[com.atlassian.confluence.concurrent.ThreadLocalMap@191598]) and a value of
type [java.util.HashMap] (value [{}]) but failed to remove it when the web
application was stopped. This is very likely to create a memory leak.
log4j:ERROR LogMananger.repositorySelector was null likely due to error in
class reloading, using NOPLoggerRepository.
May 3, 2012 9:53:12 AM org.apache.coyote.http11.Http11Protocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8090
May 3, 2012 9:54:13 AM org.apache.tomcat.util.digester.SetPropertiesRule
begin
WARNING: [SetPropertiesRule]{Server} Setting property 'debug' to '0' did
not find a matching property.
May 3, 2012 9:54:13 AM org.apache.tomcat.util.digester.SetPropertiesRule
begin
WARNING: [SetPropertiesRule]{Server/Service/Engine} Setting property
'debug' to '0' did not find a matching property.
May 3, 2012 9:54:13 AM org.apache.tomcat.util.digester.SetPropertiesRule
begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host} Setting property
'debug' to '0' did not find a matching property.
May 3, 2012 9:54:13 AM org.apache.tomcat.util.digester.SetPropertiesRule
begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting
property 'debug' to '0' did not find a matching property.
May 3, 2012 9:54:14 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8090
May 3, 2012 9:54:14 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 397 ms
May 3, 2012 9:54:14 AM org.apache.catalina.core.StandardService start
INFO: Starting service Tomcat-Standalone
May 3, 2012 9:54:14 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.32
2012-05-03 09:54:15,137 INFO [main] [com.atlassian.confluence.lifecycle]
contextInitialized Starting Confluence 4.1.9 (build #3148)




May 3, 2012 9:56:22 AM org.apache.catalina.startup.HostConfig
deployDescriptor
INFO: Deploying configuration descriptor manager.xml
May 3, 2012 9:56:22 AM org.apache.catalina.startup.HostConfig
deployDirectory
INFO: Deploying web application directory ROOT
May 3, 2012 9:56:22 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8090
May 3, 2012 9:56:22 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
May 3, 2012 9:56:22 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/43  config=null
May 3, 2012 9:56:22 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 128937 ms

-------------

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.  However, I still don't
get the manager app.

This sounds like something very simple that I'm missing.  Any ideas?

- Thanks,

Todd




>> Anyway, a lot depends on how your "standalone" Tomcat actually
> operates. If it is close to standard distribution, then changing its
> configuration should be easy.
>
> If it is "embedded" Tomcat where all configuration is done
> programmatically by whatever starts is, then you are out of luck,
> because configuration files will be irrelevant.
>
> Best regards,
> Konstantin Kolinko
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>

Reply via email to