java.io.UnixFileSystem.createFileExclusively(Native Method)

Discussions

Web tier: servlets, JSP, Web frameworks: java.io.UnixFileSystem.createFileExclusively(Native Method)

  1. can anybody plz. tell me extaly waht this error is?
    I am using Tomcat,Crystal reports


    java.io.IOException: No such file or directory
    at java.io.UnixFileSystem.createFileExclusively(Native Method)
    at java.io.File.checkAndCreate(File.java:1313)
    at java.io.File.createTempFile(File.java:1401)
    at java.io.File.createTempFile(File.java:1438)
    at com.crystaldecisions.reports.common.f.c.<init>(Unknown Source)
    at com.crystaldecisions.reports.common.f.h.if(Unknown Source)
    at com.crystaldecisions.reports.dataengine.ap.jv(Unknown Source)
    at com.crystaldecisions.reports.dataengine.ap.jr(Unknown Source)
    at com.crystaldecisions.reports.dataengine.ap.case(Unknown Source)
    at com.crystaldecisions.reports.dataengine.o.if(Unknown Source)
    at com.crystaldecisions.reports.dataengine.a0.a(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.objectformatter.bf.<init>(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.objectformatter.bf.a(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.d.j.<init>(Unknown Source)
    at com.crystaldecisions.reports.formatter.formatter.d.j.if(Unknown Source)
    at com.crystaldecisions.reports.reportengineinterface.Engine.<init>(Unknown Source)
    at com.crystaldecisions.reports.reportengineinterface.Engine.NewEngine(Unknown Source)
    at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.<init>(Unknown Source)
    at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.a(Unknown Source)
    at com.crystaldecisions.reports.reportengineinterface.JPEReportSourceFactory.createReportSource(Unknown Source)
    at org.apache.jsp.example$jsp._jspService(example$jsp.java:121)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:202)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
    at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
    at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1012)
    at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107)
    at java.lang.Thread.run(Thread.java:536)
  2. Well, without any context or other information I'd have to guess that you are attempting to create a file in a folder that does not exist.

    It looks like this is a temp file that Crystal is creating for its own reasons, so the solution is probably to look for configuration options in Crystal for the temp file folder and set it to a folder that exists and is writable by the server process.

    Brian.