Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-11438

Remove FileNotFoundException from catalina.out at startup

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.0, 2.4.1
    • Fix Version/s: 2.5.0
    • Component/s: Linktool
    • Labels:
      None

      Description

      This may be due to the fact that no sakai directory exists. It would be great if it failed a little more quietly or maybe creates the sakai directory if it does not exist. These kinds of stack trace cleanup is something we normally do before a big release. Thanks! L

      INFO: Deploying web application archive sakai-rutgers-linktool.war
      INFO: registering tools from resource: /tools/sakai.rutgers.testlink.xml (2007-09-08 18:15:43,257 main_org.sakaiproject.util.ToolListener)
      INFO: registering tools from resource: /tools/sakai.rutgers.linktool.xml (2007-09-08 18:15:43,259 main_org.sakaiproject.util.ToolListener)
      Generating key...
      java.io.FileNotFoundException: /Develop/apache-tomcat-5.5.23/sakai/sakai.rutgers.linktool.privkey (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:70)
      at org.sakaiproject.tool.rutgers.LinkTool.writeKey(LinkTool.java:823)
      at org.sakaiproject.tool.rutgers.LinkTool.genkey(LinkTool.java:810)
      at org.sakaiproject.tool.rutgers.LinkTool.init(LinkTool.java:150)
      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
      at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
      at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4230)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
      at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
      at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
      at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
      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)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
      at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
      at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
      at org.apache.catalina.core.StandardService.start(StandardService.java:448)
      at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
      at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
      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:585)
      at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
      java.io.FileNotFoundException: /Develop/apache-tomcat-5.5.23/sakai/sakai.rutgers.linktool.salt (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:70)
      at org.sakaiproject.tool.rutgers.LinkTool.writeKey(LinkTool.java:823)
      at org.sakaiproject.tool.rutgers.LinkTool.gensalt(LinkTool.java:843)
      at org.sakaiproject.tool.rutgers.LinkTool.init(LinkTool.java:161)
      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
      at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
      at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4230)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
      at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
      at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
      at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
      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)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
      at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
      at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
      at org.apache.catalina.core.StandardService.start(StandardService.java:448)
      at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
      at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
      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:585)
      at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
      INFO: init() (2007-09-08 18:15:43,502 main_org.sakaiproject.tool.rutgers.LinkTool)
      Generating key...
      java.io.FileNotFoundException: /Develop/apache-tomcat-5.5.23/sakai/sakai.rutgers.linktool.privkey (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:70)
      at org.sakaiproject.tool.rutgers.LinkTool.writeKey(LinkTool.java:823)
      at org.sakaiproject.tool.rutgers.LinkTool.genkey(LinkTool.java:810)
      at org.sakaiproject.tool.rutgers.LinkTool.init(LinkTool.java:150)
      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
      at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
      at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4230)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
      at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
      at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
      at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
      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)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
      at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
      at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
      at org.apache.catalina.core.StandardService.start(StandardService.java:448)
      at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
      at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
      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:585)
      at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
      java.io.FileNotFoundException: /Develop/apache-tomcat-5.5.23/sakai/sakai.rutgers.linktool.salt (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:70)
      at org.sakaiproject.tool.rutgers.LinkTool.writeKey(LinkTool.java:823)
      at org.sakaiproject.tool.rutgers.LinkTool.gensalt(LinkTool.java:843)
      at org.sakaiproject.tool.rutgers.LinkTool.init(LinkTool.java:161)
      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
      at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
      at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:4230)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
      at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:825)
      at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:714)
      at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:490)
      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)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
      at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
      at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
      at org.apache.catalina.core.StandardService.start(StandardService.java:448)
      at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
      at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
      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:585)
      at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
      INFO: init() (2007-09-08 18:15:43,509 main_org.sakaiproject.tool.rutgers.LinkTool)

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  • Assignee:
                    Unassigned
                    Reporter:
                    lance@indiana.edu Lance Speelmon (Inactive)
                  • Votes:
                    0 Vote for this issue
                    Watchers:
                    1 Start watching this issue

                    Dates

                    • Created:
                      Updated:
                      Resolved:

                      Git Integration