You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Willy Faes <wi...@mediatower.be> on 2001/08/17 12:04:48 UTC

Tomcat 4 doesn't start examples or webdav context

Hi,

I installed tomcat-4.0b7 on mac OS X and used the default server.xml and 
web.xml

When I start tomcat this is all I get:
localhost# ./bin/startup.sh
Using CLASSPATH: /usr/local/jakarta-tomcat-4.0/bin/bootstrap.jar
Using CATALINA_HOME: /usr/local/jakarta-tomcat-4.0

When I point my browser to /examples this is the error message I get:
HTTP Status 503 - This application is not currently available
The requested service (This application is not currently available) is 
not currently available.

I included log file and found the following error:
2001-08-17 11:12:51 StandardContext[/examples]: Exception starting 
filter Set Character Encoding
java.lang.ClassNotFoundException: filters.SetCharacterEncodingFilter
         at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:
1264)


Can anyone tell me what is wrong here?
I included the complete log file.

Thanks,


Willy Faes
MediaTower


[localhost:local/jakarta-tomcat-4.0/logs] root# cat 
localhost_examples_log.2001-08-17.txt
2001-08-17 11:12:46 WebappLoader[/examples]: Deploying class 
repositories to work directory /usr/local/jakarta-
tomcat-4.0/work/localhost/examples
2001-08-17 11:12:46 WebappLoader[/examples]: Reloading checks are 
enabled for this Context
2001-08-17 11:12:46 StandardManager[/examples]: Seeding random number 
generator class java.security.SecureRandom
2001-08-17 11:12:47 StandardManager[/examples]: Seeding of random number 
generator has been completed
2001-08-17 11:12:49 ContextConfig[/examples]: Configured an 
authenticator for method FORM
2001-08-17 11:12:50 ContextListener: contextInitialized()
2001-08-17 11:12:50 SessionListener: contextInitialized()
2001-08-17 11:12:51 StandardContext[/examples]: Exception starting 
filter Set Character Encoding
java.lang.ClassNotFoundException: filters.SetCharacterEncodingFilter
         at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:
1264)
         at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:
1113)
         at 
org.apache.catalina.core.ApplicationFilterConfig.getFilter
(ApplicationFilterConfig.java:252)
         at 
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef
(ApplicationFilterConfig.java:314)
         at 
org.apache.catalina.core.ApplicationFilterConfig.<init>
(ApplicationFilterConfig.java:120)
         at 
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:
3038)
         at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:3337)
         at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
         at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
         at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:278)
         at 
org.apache.catalina.core.StandardService.start(StandardService.java:368)
         at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:473)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:738)
         at 
org.apache.catalina.startup.Catalina.execute(Catalina.java:657)
         at 
org.apache.catalina.startup.Catalina.process(Catalina.java:178)
         at java.lang.reflect.Method.invoke(Native Method)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:202)

2001-08-17 11:12:51 StandardContext[/examples]: Context startup failed 
due to previous errors