Hi,
I have experienced similar log entries.
I had to copy the webapps directory from a W2K machine to an HP-UX environment, and my
transfer method removed all the capitalisation from my directory and filenames (e.g.
WEB-INF became web-inf).
I notice that your app is ATTS - in uppercase.
Maybe, as you configured everything manually, you didn't preserve the case sensitivity
of the directory and filenames?
HTH
-Original Message-
From: Edison Ch [mailto:[EMAIL PROTECTED]]
Sent: Freitag, 20. Dezember 2002 10:41
To: [EMAIL PROTECTED]
Subject: Deployment in Tomcat 4.1.17 failed ?
I just d/l Tomcat 4.1.17 and am having a heck of time
trying to deploy web application into Tomcat. I am
using the latest ant 1.5.1 with combination of 4.1.17
tomcat. I use ant install and it always failed to
install. Spent a day to figure it out and it finally
worked after tweaking this and that. Ant install
succesfully. Now when I try to access the apps -
localhost:8080/app - it always said the page is not
accessible. Then I look at the log to find out why.
Can't quite figure out what's the error so I go to
localhost:8080/manager/html/list to see what's the
current status of my apps. It showed that it was not
running. I click on run - yet it failed to load. So i
decide to deploy manually by copying the whole working
directory under ${CATALINA_HOME}/webapps -- and
structure it accordingly [with WEB-INF and web.xml].
Then i register the apps into the server.xml [just
like the manual asked] then i turn on the logger for
that apps -- and got this as the result:
2002-12-20 15:52:08 StandardContext[/ATTS]: Starting
2002-12-20 15:52:08 StandardContext[/ATTS]: Processing
start(), current available=false
2002-12-20 15:52:08 StandardContext[/ATTS]:
Configuring default Resources
2002-12-20 15:52:08 StandardContext[/ATTS]: Resources
start failed:
2002-12-20 15:52:08 StandardContext[/ATTS]:
Configuring privileged default Loader
2002-12-20 15:52:08 StandardContext[/ATTS]:
Configuring default Manager
2002-12-20 15:52:08 StandardContext[/ATTS]: Processing
standard container startup
2002-12-20 15:52:08 StandardContext[/ATTS]: Context
startup failed due to previous errors
2002-12-20 15:52:08 StandardContext[/ATTS]: Exception
during cleanup after start failed
LifecycleException: Container StandardContext[/ATTS]
has not been started
at
org.apache.catalina.core.StandardContext.stop(Unknown
Source)
at
org.apache.catalina.core.StandardContext.start(Unknown
Source)
at
org.apache.catalina.core.ContainerBase.start(Unknown
Source)
at
org.apache.catalina.core.StandardHost.start(Unknown
Source)
at
org.apache.catalina.core.ContainerBase.start(Unknown
Source)
at
org.apache.catalina.core.StandardEngine.start(Unknown
Source)
at
org.apache.catalina.core.StandardService.start(Unknown
Source)
at
org.apache.catalina.core.StandardServer.start(Unknown
Source)
at
org.apache.catalina.startup.Catalina.start(Unknown
Source)
at
org.apache.catalina.startup.Catalina.execute(Unknown
Source)
at
org.apache.catalina.startup.Catalina.process(Unknown
Source)
at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at
java.lang.reflect.Method.invoke(Method.java:324)
at
org.apache.catalina.startup.Bootstrap.main(Unknown
Source)
Is it my web.xml fault? or?
my config of application web.xml is like:
?xml version=1.0 encoding=ISO-8859-1?
!--
!DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.
//DTD Web Application 2.3//EN
http://java.sun.com/j2ee/dtd/web-app_2_3.dtd;
--
web-app
display-nameATTS beta/display-name
descriptionThis is beta of ATTS/description
context-param
param-namewebmaster/param-name
param-valueroot@localhost/param-value
descriptionEmail of the maintainer of the
site/description
/context-param
welcome-file-list
welcome-fileindex.html/welcome-file
/welcome-file-list
servlet
descriptionATTS to add route/description
servlet-nameATTSaddRoute/servlet-name
servlet-classATTSaddRoute/servlet-class
load-on-startup2/load-on-startup
/servlet
servlet
descriptionConnection Pool of
JDBC/description
servlet-nameConnectionPool/servlet-name
servlet-classConnectionPool/servlet-class
load-on-startup2/load-on-startup
/servlet
servlet-mapping
servlet-nameATTSaddRoute/servlet-name
url-pattern/ATTSaddRoute/url-pattern
/servlet-mapping
servlet-mapping
servlet-nameConnectionPool/servlet-name
url-pattern/ConnectionPool/url-pattern
/servlet-mapping
session-config
session-timeout10/session-timeout
/session-config
/web-app
What did i do wrong ?
please help..
=
Sincerely,
Edison Ch