You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Armour David <Da...@wush.com> on 2006/06/23 15:50:31 UTC

Trouble with Admin WebApp

Hi

I am running Windows 2000.  I have installed Tomcat 5.5.17.  I am
running Java Version: build 1.5.0_06-b05.

I ran the Windows executable for the installation.  The default home
page comes up.  I have added an administrative account.  The Tomcat
Manager web application runs properly.

I downloaded the admin webapp.  I copied the admin directory under the
webapps of the Tomcat install.  I also added the admin.xml to
conf/Catalina/localhost directory.

The logs show the following error:

Jun 23, 2006 8:43:59 AM org.apache.catalina.core.StandardContext start
SEVERE: Error in resourceStart()
Jun 23, 2006 8:43:59 AM org.apache.catalina.core.StandardContext start
SEVERE: Error getConfigured
Jun 23, 2006 8:43:59 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/admin] startup failed due to previous errors
Jun 23, 2006 8:43:59 AM org.apache.catalina.core.StandardContext stop
INFO: Container
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/admin]
has not been started
Jun 23, 2006 8:45:06 AM org.apache.coyote.http11.Http11BaseProtocol
pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
Jun 23, 2006 8:45:07 AM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
Jun 23, 2006 8:45:07 AM org.apache.coyote.http11.Http11BaseProtocol
destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080
Jun 23, 2006 8:45:07 AM org.apache.catalina.core.AprLifecycleListener
lifecycleEvent
INFO: Failed shutdown of Apache Portable Runtime
Jun 23, 2006 8:45:14 AM org.apache.catalina.core.AprLifecycleListener
lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance
in production environments was not found on the java.library.path:
C:\apps\apache\Tomcat
5.5\bin;.;C:\WINNT\system32;C:\WINNT;C:\WINNT\system32;C:\WINNT;C:\WINNT
\System32\Wbem;C:\WINNT\system32\;C:\WINNT\system32\Wbem;C:\Program
Files\IBM\SQLLIB\BIN;C:\Program Files\IBM\SQLLIB\FUNCTION;C:\Program
Files\IBM\SQLLIB\samples\repl;C:\PROGRA~1\IBM\SQLLIB\BIN;C:\PROGRA~1\IBM
\SQLLIB\FUNCTION;C:\PROGRA~1\IBM\SQLLIB\SAMPLES\REPL;C:\Program
Files\Microsoft SQL Server\80\Tools\BINN;C:\Program
Files\Subversion\bin;C:\Program Files\Microsoft SQL
Server\80\Tools\Binn\;C:\j2sdk1.4.2_11\bin;C:\apps\apache-ant-1.6.5\bin;
C:\Program Files\Altiris\Software Virtualization Agent\;C:\Program
Files\InstallShield\AdminStudio\5.5\ConflictSolver\;C:\Program
Files\ActivCard\SecureLogin Single Sign-On\
Jun 23, 2006 8:45:14 AM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Jun 23, 2006 8:45:14 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 843 ms
Jun 23, 2006 8:45:14 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jun 23, 2006 8:45:14 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.17
Jun 23, 2006 8:45:14 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
SEVERE: Error starting static Resources
java.lang.IllegalArgumentException: Document base C:\apps\apache\Tomcat
5.5\server\webapps\admin does not exist or is not a readable directory
	at
org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.jav
a:140)
	at
org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.
java:3814)
	at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3985
)
	at
org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:10
89)
	at
org.apache.catalina.startup.HostConfig.check(HostConfig.java:1202)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
	at java.lang.reflect.Method.invoke(Unknown Source)

The Manager application shows the admin as deployed but not started.
Also, in the Manager application all the other webapps have a live
Reload link, while the admin applications Reload link is not enabled.
What is wrong here?

David Armour

Java Application Architect

Winterthur U.S. Holdings, Inc.
David.Armour@win-na.com
608-837-4562 

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Trouble with Admin WebApp

Posted by Lung Chan <fa...@gmail.com>.
usually the admin package doesn't come with the tomcat distribution.

You should download it and install.

If you already done so, then maybe you should try to reinstall it.

On 6/28/06, Ioana <ka...@gmail.com> wrote:
>
>
> Hi,
> I'm having the same problem u encountered. Have u solved it?
> I also deleted the admin directory that contains the index.html and
> cleared
> tomcat5.5/work/Catalina. And still..no luck.
>
> Cheers,
> Ioana
> --
> View this message in context:
> http://www.nabble.com/Trouble-with-Admin-WebApp-tf1836378.html#a5080341
> Sent from the Tomcat - User forum at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

RE: Trouble with Admin WebApp

Posted by Ioana <ka...@gmail.com>.
Hi,
I'm having the same problem u encountered. Have u solved it?
I also deleted the admin directory that contains the index.html and cleared
tomcat5.5/work/Catalina. And still..no luck.

Cheers,
Ioana
-- 
View this message in context: http://www.nabble.com/Trouble-with-Admin-WebApp-tf1836378.html#a5080341
Sent from the Tomcat - User forum at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Trouble with Admin WebApp

Posted by David Smith <dn...@cornell.edu>.
Wrong place to install the admin webapp.  The webapp itself needs to be 
in $CATALINA_HOME/server/webapps right next to the manager webapp.  
admin.xml is correctly placed.

--David

Armour David wrote:

>Hi
>
>I am running Windows 2000.  I have installed Tomcat 5.5.17.  I am
>running Java Version: build 1.5.0_06-b05.
>
>I ran the Windows executable for the installation.  The default home
>page comes up.  I have added an administrative account.  The Tomcat
>Manager web application runs properly.
>
>I downloaded the admin webapp.  I copied the admin directory under the
>webapps of the Tomcat install.  I also added the admin.xml to
>conf/Catalina/localhost directory.
>
>The logs show the following error:
>
>Jun 23, 2006 8:43:59 AM org.apache.catalina.core.StandardContext start
>SEVERE: Error in resourceStart()
>Jun 23, 2006 8:43:59 AM org.apache.catalina.core.StandardContext start
>SEVERE: Error getConfigured
>Jun 23, 2006 8:43:59 AM org.apache.catalina.core.StandardContext start
>SEVERE: Context [/admin] startup failed due to previous errors
>Jun 23, 2006 8:43:59 AM org.apache.catalina.core.StandardContext stop
>INFO: Container
>org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/admin]
>has not been started
>Jun 23, 2006 8:45:06 AM org.apache.coyote.http11.Http11BaseProtocol
>pause
>INFO: Pausing Coyote HTTP/1.1 on http-8080
>Jun 23, 2006 8:45:07 AM org.apache.catalina.core.StandardService stop
>INFO: Stopping service Catalina
>Jun 23, 2006 8:45:07 AM org.apache.coyote.http11.Http11BaseProtocol
>destroy
>INFO: Stopping Coyote HTTP/1.1 on http-8080
>Jun 23, 2006 8:45:07 AM org.apache.catalina.core.AprLifecycleListener
>lifecycleEvent
>INFO: Failed shutdown of Apache Portable Runtime
>Jun 23, 2006 8:45:14 AM org.apache.catalina.core.AprLifecycleListener
>lifecycleEvent
>INFO: The Apache Tomcat Native library which allows optimal performance
>in production environments was not found on the java.library.path:
>C:\apps\apache\Tomcat
>5.5\bin;.;C:\WINNT\system32;C:\WINNT;C:\WINNT\system32;C:\WINNT;C:\WINNT
>\System32\Wbem;C:\WINNT\system32\;C:\WINNT\system32\Wbem;C:\Program
>Files\IBM\SQLLIB\BIN;C:\Program Files\IBM\SQLLIB\FUNCTION;C:\Program
>Files\IBM\SQLLIB\samples\repl;C:\PROGRA~1\IBM\SQLLIB\BIN;C:\PROGRA~1\IBM
>\SQLLIB\FUNCTION;C:\PROGRA~1\IBM\SQLLIB\SAMPLES\REPL;C:\Program
>Files\Microsoft SQL Server\80\Tools\BINN;C:\Program
>Files\Subversion\bin;C:\Program Files\Microsoft SQL
>Server\80\Tools\Binn\;C:\j2sdk1.4.2_11\bin;C:\apps\apache-ant-1.6.5\bin;
>C:\Program Files\Altiris\Software Virtualization Agent\;C:\Program
>Files\InstallShield\AdminStudio\5.5\ConflictSolver\;C:\Program
>Files\ActivCard\SecureLogin Single Sign-On\
>Jun 23, 2006 8:45:14 AM org.apache.coyote.http11.Http11BaseProtocol init
>INFO: Initializing Coyote HTTP/1.1 on http-8080
>Jun 23, 2006 8:45:14 AM org.apache.catalina.startup.Catalina load
>INFO: Initialization processed in 843 ms
>Jun 23, 2006 8:45:14 AM org.apache.catalina.core.StandardService start
>INFO: Starting service Catalina
>Jun 23, 2006 8:45:14 AM org.apache.catalina.core.StandardEngine start
>INFO: Starting Servlet Engine: Apache Tomcat/5.5.17
>Jun 23, 2006 8:45:14 AM org.apache.catalina.core.StandardHost start
>INFO: XML validation disabled
>SEVERE: Error starting static Resources
>java.lang.IllegalArgumentException: Document base C:\apps\apache\Tomcat
>5.5\server\webapps\admin does not exist or is not a readable directory
>	at
>org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.jav
>a:140)
>	at
>org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.
>java:3814)
>	at
>org.apache.catalina.core.StandardContext.start(StandardContext.java:3985
>)
>	at
>org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:10
>89)
>	at
>org.apache.catalina.startup.HostConfig.check(HostConfig.java:1202)
>	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
>Source)
>	at java.lang.reflect.Method.invoke(Unknown Source)
>
>The Manager application shows the admin as deployed but not started.
>Also, in the Manager application all the other webapps have a live
>Reload link, while the admin applications Reload link is not enabled.
>What is wrong here?
>
>David Armour
>
>Java Application Architect
>
>Winterthur U.S. Holdings, Inc.
>David.Armour@win-na.com
>608-837-4562 
>
>---------------------------------------------------------------------
>To start a new topic, e-mail: users@tomcat.apache.org
>To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>For additional commands, e-mail: users-help@tomcat.apache.org
>
>  
>


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org