https://issues.apache.org/bugzilla/show_bug.cgi?id=48179

           Summary: After startup seeing
                    java.io.FileNotFoundException:<file path>/tldcache.ser
                    (No such file or directory)
           Product: Tomcat 5
           Version: 5.5.23
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Jasper
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: smend...@redhat.com


This issue is seeing in Tomcat 5.5.23 after startup the following exception is
seeing:
java.io.FileNotFoundException: <path removed for privacy>/tldCache.ser (No such
file or directory)
       at java.io.FileOutputStream.open(Native Method)
       at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
       at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
       at org.apache.catalina.startup.TldConfig.execute(TldConfig.java:317)
       at
org.apache.catalina.core.StandardContext.processTlds(StandardContext.java:4307)
       at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4144)
       at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
       at
org.apache.catalina.core.ContainerBase.access$000(ContainerBase.java:122)
       at
org.apache.catalina.core.ContainerBase$PrivilegedAddChild.run(ContainerBase.java:144)
       at java.security.AccessController.doPrivileged(Native Method)
       at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:738)
       at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
       at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)
       at
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)
       at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
       at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
       at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
       at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)

Note that JSPs are not being used.

This exception doesn't happen when setting processTlds="false" in
conf/context.xml but still occurs when setting it in a <context> defined in
conf/server.xml, it won't work. 

The processTlds attribute should work in the <Context> in conf/server.xml also
as seen here http://tomcat.apache.org/tomcat-5.5-doc/config/context.html 
(though not recommended)

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to