DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13241>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13241

Tomcat 4.1.12 / Webapps:Examples / Disabled

           Summary: Tomcat 4.1.12 / Webapps:Examples / Disabled
           Product: Tomcat 4
           Version: 4.1.12
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Webapps:Examples
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
                CC: [EMAIL PROTECTED]


Hi!,

  I am currently working with the source code for Tomcat 4.1.12 and compiling 
it on a Linux / Redhat environment (v6.2, v7.1) and although the complete 
package can be compiled/installed without any problems, when I try to access 
the Webapps:Examples (specifically the JSP/Servlet) section I am told that 
the /examples directory is not available.

  Consulting the log file shows the following problem:

2002-10-03 16:52:27 WebappLoader[/examples]: Reloading checks are enabled for th
is Context
2002-10-03 16:52:29 ContextConfig[/examples] Exception processing TLD at resourc
e path /WEB-INF/jsp/debug-taglib.tld
javax.servlet.ServletException: Exception processing TLD at resource path /WEB-I
NF/jsp/debug-taglib.tld
 at org.apache.catalina.startup.ContextConfig.tldScanTldContextConfig.java:1010)
 at org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:870)
 at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:647)
 at org.apache.catalina.startup.ContextConfig.lifecycleEventContextConfig.java
   :243) 
 at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent
   (LifecycleSupport.java:166)
 at org.apache.catalina.core.StandardContext.start(StandardContext.java:3493)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
 at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
 at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
 at org.apache.catalina.core.StandardServer.start(StandardServer.java:2189)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:510)
 at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
 at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
 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(Bootstrap.java:203)
----- Root Cause -----
org.xml.sax.SAXParseException: The string "--" is not permitted within comments.
 at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
 at org.apache.commons.digester.Digester.parse(Digester.java:1514)
 at org.apache.catalina.startup.ContextConfig.tldScanStream
  (ContextConfig.java:977)
 at org.apache.catalina.startup.ContextConfig.tldScanTld
  (ContextConfig.java:1006)
 at org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:870)
[...]

2002-10-03 16:52:29 ContextConfig[/examples]: Marking this application unavailab
le due to previous error(s)
2002-10-03 16:52:29 StandardManager[/examples]: Seeding random number generator
class java.security.SecureRandom
2002-10-03 16:52:30 StandardManager[/examples]: Seeding of random number generat
or has been completed
2002-10-03 16:52:30 StandardContext[/examples]: Context startup failed due to pr
evious errors

  I have compiled Tomcat previously and haven't had any problems.  The build 
made use of:  JDK-1.4.1(Beta) - Blackdown, and was compiled in a full 
distribution mode.  Libraries which were used during the compile were those 
recommended in the building.txt document and were:

jakarta-tomcat-connectors, jakarta-structs-1.1-b2, jakarta-regexp-1.2, mx4j-1.1
commons-digester-1.3, tyrex-1.0, jndi-1.2.1, jaxp-1.1.3, jakarta-servletapi-4
commons-daemon-1.1, commons-logging-1.0.2, xerces-2_2_0, commons-beanutils-1.4.1
commons-pool-1.0.1, commons-dbcp-1.0, commons-modeler-1.0, commons-collections-2
jdbc2_0-stdext, junit 3.7, javamail-1.2, jsse-1.0.2, jaf-1.0.1, jta-spec1_0_1

  Would changing the xerces-2_2_0 library back to xerces-1_4_4 help, or does it 
mean that a small modification is required to the xerces package to remove 
the "--" string ?

Any information which you can provide would be greatly appreciated.

See ya

Dean Thompson

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to