Bug 204443

Summary: :8080/struts-examples/ gives "Servlet action is not available"
Product: [Fedora] Fedora Reporter: Bryce Nesbitt <bryce1>
Component: tomcat5Assignee: Vivek Lakshmanan <viveklak>
Status: CLOSED WONTFIX QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: 5   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-01-05 13:39:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Bryce Nesbitt 2006-08-29 05:50:37 UTC
This is on a fresh fedora core fc5 system.  I did "yum install struts-examples"
and tried to run the examples:

:8080/jsp-examples/
   works fine
:8080/servlets-examples/
   works fine
:8080/struts-examples/
   Gives HTTP Status 404 - Servlet action is not available

tomcat5-servlet-2.4-api.i386 is installed from "core".

My real webapp, which uses struts, gets the same error.

This error is particularly undeciperable:
org.apache.catalina.core.StandardContext processTlds
SEVERE: Error reading tld listeners java.io.EOFException

The full catalina.out will be attached (I have removed my own webapp for clarity
-- this is just the stock fc5 and struts-webapps-tomcat5.i386 package.

Comment 1 Bryce Nesbitt 2006-08-29 05:53:29 UTC
# tail -n 2000 -f /var/log/tomcat5/catalina.out
Created MBeanServer with ID: [UID:
291544,1156830067753,-32768]:indulgence.citycarshare.org:1
28-Aug-06 10:41:08 PM 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:
/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre/lib/i386

28-Aug-06 10:41:08 PM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
28-Aug-06 10:41:09 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 985 ms
28-Aug-06 10:41:09 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
28-Aug-06 10:41:09 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.15
28-Aug-06 10:41:09 PM org.apache.catalina.core.StandardHost start

INFO: XML validation disabled
28-Aug-06 10:41:09 PM org.apache.catalina.core.StandardContext processTlds
SEVERE: Error reading tld listeners java.io.EOFException
28-Aug-06 10:41:10 PM org.apache.catalina.core.StandardContext processTlds
SEVERE: Error reading tld listeners java.io.EOFException

28-Aug-06 10:41:10 PM org.apache.catalina.startup.HostConfig deployDescriptor
WARNING: A docBase /var/lib/tomcat5/webapps/struts-blank inside the host appBase
has been specified, and will be ignored

28-Aug-06 10:41:16 PM org.apache.struts.tiles.TilesPlugin initDefinitionsFactory
INFO: Tiles definition factory loaded for module ''.
28-Aug-06 10:41:16 PM org.apache.struts.validator.ValidatorPlugIn initResources
INFO: Loading validation rules file from '/WEB-INF/validator-rules.xml'
28-Aug-06 10:41:16 PM org.apache.struts.validator.ValidatorPlugIn initResources

INFO: Loading validation rules file from '/WEB-INF/validation.xml'
28-Aug-06 10:41:20 PM org.apache.catalina.core.StandardContext processTlds
SEVERE: Error reading tld listeners java.io.EOFException

28-Aug-06 10:41:20 PM org.apache.catalina.startup.HostConfig deployDescriptor
WARNING: A docBase /var/lib/tomcat5/webapps/struts-tiles-documentation inside
the host appBase has been specified, and will be ignored

28-Aug-06 10:41:26 PM org.apache.struts.tiles.TilesPlugin initDefinitionsFactory
INFO: Tiles definition factory loaded for module ''.
28-Aug-06 10:41:27 PM org.apache.struts.tiles.TilesPlugin initDefinitionsFactory
INFO: Tiles definition factory loaded for module '/examples'.
28-Aug-06 10:41:27 PM org.apache.struts.tiles.TilesPlugin initDefinitionsFactory
INFO: Tiles definition factory loaded for module '/tutorial'.
28-Aug-06 10:41:27 PM org.apache.struts.tiles.TilesPlugin initDefinitionsFactory
INFO: Tiles definition factory loaded for module '/test'.
28-Aug-06 10:41:27 PM org.apache.catalina.startup.HostConfig deployDescriptor
WARNING: A docBase /var/lib/tomcat5/webapps/struts-documentation inside the host
appBase has been specified, and will be ignored

28-Aug-06 10:41:28 PM org.apache.catalina.startup.HostConfig deployDescriptor
WARNING: A docBase /var/lib/tomcat5/webapps/struts-example inside the host
appBase has been specified, and will be ignored
28-Aug-06 10:41:33 PM org.apache.catalina.core.ApplicationContext log
INFO: action: []: Verifying ModuleConfig for this module
28-Aug-06 10:41:33 PM org.apache.catalina.core.ApplicationContext log
INFO: action: []: Verification of ModuleConfig has been completed
28-Aug-06 10:41:33 PM
org.apache.struts.webapp.example.memory.MemoryDatabasePlugIn init
INFO: Initializing memory database plug in from '/WEB-INF/database.xml'
28-Aug-06 10:41:34 PM org.apache.struts.validator.ValidatorPlugIn initResources
INFO: Loading validation rules file from '/WEB-INF/validator-rules.xml'
28-Aug-06 10:41:34 PM org.apache.struts.validator.ValidatorPlugIn initResources
INFO: Loading validation rules file from '/WEB-INF/validation.xml'
28-Aug-06 10:41:39 PM org.apache.catalina.startup.HostConfig deployDescriptor
WARNING: A docBase /var/lib/tomcat5/webapps/struts-examples inside the host
appBase has been specified, and will be ignored
28-Aug-06 10:41:44 PM org.apache.struts.validator.ValidatorPlugIn initResources
INFO: Loading validation rules file from '/WEB-INF/validator-rules.xml'
28-Aug-06 10:41:45 PM org.apache.struts.validator.ValidatorPlugIn initResources
INFO: Loading validation rules file from '/WEB-INF/validator/validation.xml'
28-Aug-06 10:41:49 PM org.apache.catalina.core.StandardContext processTlds
SEVERE: Error reading tld listeners java.io.EOFException
28-Aug-06 10:41:50 PM org.apache.catalina.core.ApplicationContext log
INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain:
[org.apache.webapp.balancer.RuleChain:
[org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News /
Redirect URL: http://www.cnn.com],
[org.apache.webapp.balancer.rules.RequestParameterRule: Target param name:
paramName / Target param value: paramValue / Redirect URL:
http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule:
Redirect URL: http://jakarta.apache.org]]
28-Aug-06 10:41:50 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
28-Aug-06 10:41:50 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
28-Aug-06 10:41:52 PM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
28-Aug-06 10:41:52 PM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()

28-Aug-06 10:41:53 PM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
28-Aug-06 10:41:53 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
28-Aug-06 10:41:54 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/109  config=null
28-Aug-06 10:41:54 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
28-Aug-06 10:41:54 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 45222 ms

Comment 2 Devrim GUNDUZ 2008-01-05 13:39:26 UTC
Closing this bug, Fedora-5 is not supported anymore.