java.io.FileNotFoundException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Does anyone know what these error means?
    via by Ellen fish,
  • I get xwiki-enterprise-installer-windows-2.6-rc-2.exe from XWiki.org website http://www.xwiki.org/xwiki/bin/view/Main/Download Just after starting XEM instance, I ve got the following error: Accès refusé. 2010-11-26 17:07:55.890::INFO: Logging to STDERR via org.mortbay.log.StdErrLog 2010-11-26 17:07:55.992::INFO: jetty-6.1.21 2010-11-26 17:07:56.042::INFO: Deploy C:\Program Files\XWiki Enterprise\jetty\c ontexts\xwiki.xml -> org.mortbay.jetty.webapp.WebAppContext@291aff{/xwiki,C:\Pro gram Files\XWiki Enterprise\jetty/../webapps/xwiki} 2010-11-26 17:07:56.047::INFO: Deploy C:\Program Files\XWiki Enterprise\jetty\c ontexts\root.xml -> org.mortbay.jetty.webapp.WebAppContext@186db54{/,C:\Program Files\XWiki Enterprise\jetty/../webapps/root} log4j:ERROR setFile(null,true) call failed. java.io.FileNotFoundException: xwiki.log (Acc+¿s refus+®) at java.io.FileOutputStream.openAppend(Native Method) at java.io.FileOutputStream.<init>(Unknown Source) at java.io.FileOutputStream.<init>(Unknown Source) at org.apache.log4j.FileAppender.setFile(FileAppender.java:294) at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppender.java :207) at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165) at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:3 07) at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.j ava:172) at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.j ava:104) at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigura tor.java:809) at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigura tor.java:735) at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyC onfigurator.java:615) at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurato r.java:502) at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurato r.java:547) at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionCon verter.java:483) at org.apache.log4j.LogManager.<clinit>(LogManager.java:127) at org.apache.log4j.Logger.getLogger(Logger.java:104) at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.jav a:289) at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:1 09) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou rce) at java.lang.reflect.Constructor.newInstance(Unknown Source) at org.apache.commons.logging.impl.LogFactoryImpl.createLogFromClass(Log FactoryImpl.java:1116) at org.apache.commons.logging.impl.LogFactoryImpl.discoverLogImplementat ion(LogFactoryImpl.java:914) at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactory Impl.java:604) at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactory Impl.java:336) at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactory Impl.java:310) at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:685) at org.xwiki.component.logging.CommonsLoggingLogger.<init>(CommonsLoggin gLogger.java:38) at org.xwiki.component.embed.EmbeddableComponentManager.<init>(Embeddabl eComponentManager.java:62) at org.xwiki.container.servlet.XWikiServletContextListener.contextInitia lized(XWikiServletContextListener.java:54) at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler. java:548) at org.mortbay.jetty.servlet.Context.startContext(Context.java:136) at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.jav a:1250) at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java: 517) at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467 ) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java: 50) at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection .java:152) at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHan dlerCollection.java:156) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java: 50) at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection .java:152) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java: 50) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java: 130) at org.mortbay.jetty.Server.doStart(Server.java:224) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java: 50) at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:985) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.mortbay.start.Main.invokeMain(Main.java:194) at org.mortbay.start.Main.start(Main.java:534) at org.mortbay.start.Main.start(Main.java:441) at org.mortbay.start.Main.main(Main.java:119) 2010-11-26 17:08:00.415::WARN: failed org.mortbay.jetty.NCSARequestLog@5878d2: java.io.FileNotFoundException: C:\Program Files\XWiki Enterprise\jetty\logs\2010 _11_26.request.log (Acc+¿s refus+®) 2010-11-26 17:08:09.643::WARN: failed RequestLogHandler@159d87f: java.io.FileNo tFoundException: C:\Program Files\XWiki Enterprise\jetty\logs\2010_11_26.request .log (Acc+¿s refus+®) 2010-11-26 17:08:09.644::WARN: failed HandlerCollection@1949f78: java.io.FileNo tFoundException: C:\Program Files\XWiki Enterprise\jetty\logs\2010_11_26.request .log (Acc+¿s refus+®) 2010-11-26 17:08:09.645::WARN: Error starting handlers java.io.FileNotFoundException: C:\Program Files\XWiki Enterprise\jetty\logs\2010 _11_26.request.log (Acc+¿s refus+®) at java.io.FileOutputStream.openAppend(Native Method) at java.io.FileOutputStream.<init>(Unknown Source) at java.io.FileOutputStream.<init>(Unknown Source) at org.mortbay.util.RolloverFileOutputStream.setFile(RolloverFileOutputS tream.java:243) at org.mortbay.util.RolloverFileOutputStream.<init>(RolloverFileOutputSt ream.java:164) at org.mortbay.jetty.NCSARequestLog.doStart(NCSARequestLog.java:428) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java: 50) at org.mortbay.jetty.handler.RequestLogHandler.doStart(RequestLogHandler .java:117) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java: 50) at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection .java:152) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java: 50) at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java: 130) at org.mortbay.jetty.Server.doStart(Server.java:224) at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java: 50) at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:985) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.mortbay.start.Main.invokeMain(Main.java:194) at org.mortbay.start.Main.start(Main.java:534) at org.mortbay.start.Main.start(Main.java:441) at org.mortbay.start.Main.main(Main.java:119) 2010-11-26 17:08:09.693::INFO: Started SelectChannelConnector@0.0.0.0:8080
    via by Christophe Coll,
  • log4j custom configuration
    via Stack Overflow by maksim2020
    ,
  • Write to a txt file
    via by Unknown author,
  • Show/Hide fields in 2.22r.
    via openbravo by kchopein
    ,
  • Error log {noformat} jvm 1 | Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved. jvm 1 | jvm 1 | Port = 8085 jvm 1 | Web App = ../webapp jvm 1 | contextPath = / jvm 1 | 2011-02-11 11:01:47.609:INFO::jetty-7.2.1.v20101111 jvm 1 | log4j:ERROR setFile(null,true) call failed. jvm 1 | java.io.FileNotFoundException: atlassian-bamboo.log (Access is denied ) jvm 1 | at java.io.FileOutputStream.openAppend(Native Method) jvm 1 | at java.io.FileOutputStream.<init>(Unknown Source) jvm 1 | at java.io.FileOutputStream.<init>(Unknown Source) jvm 1 | at org.apache.log4j.FileAppender.setFile(FileAppender.java:290) jvm 1 | at org.apache.log4j.RollingFileAppender.setFile(RollingFileAppen der.java:194) jvm 1 | at org.apache.log4j.FileAppender.activateOptions(FileAppender.ja va:164) jvm 1 | at org.apache.log4j.config.PropertySetter.activate(PropertySette r.java:257) jvm 1 | at org.apache.log4j.config.PropertySetter.setProperties(Property Setter.java:133) jvm 1 | at org.apache.log4j.config.PropertySetter.setProperties(Property Setter.java:97) jvm 1 | at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyC onfigurator.java:689) jvm 1 | at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyC onfigurator.java:647) jvm 1 | at org.apache.log4j.PropertyConfigurator.configureRootCategory(P ropertyConfigurator.java:544) jvm 1 | at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyCon figurator.java:440) jvm 1 | at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyCon figurator.java:476) jvm 1 | at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(O ptionConverter.java:471) jvm 1 | at org.apache.log4j.LogManager.<clinit>(LogManager.java:125) jvm 1 | at org.apache.log4j.Logger.getLogger(Logger.java:118) jvm 1 | at com.atlassian.bamboo.setup.BootstrapLoaderListener.<clinit>(B ootstrapLoaderListener.java:28) jvm 1 | at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) jvm 1 | at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) jvm 1 | at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unk nown Source) jvm 1 | at java.lang.reflect.Constructor.newInstance(Unknown Source) jvm 1 | at java.lang.Class.newInstance0(Unknown Source) jvm 1 | at java.lang.Class.newInstance(Unknown Source) jvm 1 | at org.eclipse.jetty.servlet.ServletContextHandler$Context.creat eListener(ServletContextHandler.java:712) jvm 1 | at org.eclipse.jetty.webapp.StandardDescriptorProcessor.newListe nerInstance(StandardDescriptorProcessor.java:1216) jvm 1 | at org.eclipse.jetty.webapp.StandardDescriptorProcessor.visitLis tener(StandardDescriptorProcessor.java:1186) jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) jvm 1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Sourc e) jvm 1 | at java.lang.reflect.Method.invoke(Unknown Source) jvm 1 | at org.eclipse.jetty.webapp.IterativeDescriptorProcessor.visit(I terativeDescriptorProcessor.java:80) jvm 1 | at org.eclipse.jetty.webapp.IterativeDescriptorProcessor.process (IterativeDescriptorProcessor.java:67) jvm 1 | at org.eclipse.jetty.webapp.MetaData.resolve(MetaData.java:285) jvm 1 | at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppCon text.java:1158) jvm 1 | at org.eclipse.jetty.server.handler.ContextHandler.doStart(Conte xtHandler.java:576) jvm 1 | at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext. java:492) jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:55) jvm 1 | at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(Handl erWrapper.java:93) jvm 1 | at org.eclipse.jetty.server.Server.doStart(Server.java:243) jvm 1 | at org.eclipse.jetty.util.component.AbstractLifeCycle.start(Abst ractLifeCycle.java:55) jvm 1 | at com.atlassian.bamboo.server.Server.main(Server.java:77) jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) jvm 1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Sourc e) jvm 1 | at java.lang.reflect.Method.invoke(Unknown Source) jvm 1 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimple App.java:240) jvm 1 | at java.lang.Thread.run(Unknown Source) jvm 1 | 2011-02-11 11:01:55,230 INFO [WrapperSimpleAppMain] [lifecycle] Real path of servlet context: C:\Program Files\Bamboo\webapp jvm 1 | 2011-02-11 11:01:55,347 INFO [WrapperSimpleAppMain] [lifecycle] Start ing Bamboo 3.0 (build #2302) jvm 1 | 2011-02-11 11:01:55.349:INFO:/:Initializing Spring root WebApplicatio nContext jvm 1 | 2011-02-11 11:01:56,014 INFO [WrapperSimpleAppMain] [BambooBootstrapP laceholderConfigurer] Loading properties file from class path resource [bamboo-i nit.properties] {noformat}
    via by Michael Truong,
    • java.io.FileNotFoundException: \logs\new.log (The system cannot find the path specified) at java.io.FileOutputStream.openAppend(Native Method) at java.io.FileOutputStream.<init>(Unknown Source) at java.io.FileOutputStream.<init>(Unknown Source)

    Users with the same issue

    filipebatistafilipebatista
    5 times, last one,
    MattyMatty
    1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    AxeloAxelo
    2 times, last one,
    rprp
    1 times, last one,
    138 more bugmates