Hi, mungkin lebih baik kalo kamu sertakan disini info ttg user yang kamu pake untuk jalanin servernya, terus access rights nya apa aja. Juga URL destination buat uploadnya itu dimana tepatnya? Ada kemungkinan dia coba upload to a bogus directory di OS kamu. Kemungkinan lainnya exception ini penyebabnya waktu Struts mau rebuild filenya di server, dia coba buat temporary file dulu. Kamu bisa liat di stack trace nya :
at java.io.File.createTempFile(File.java:1402) at org.apache.struts.upload.MultipartIterator.createLocalFile(MultipartIterator.java:485) Musti di pastiin juga dia bisa create temp file nya. Terus saran aku, next time kalo ada exception jangan lgsg di copy paste di email, pertama coba jelasin dulu aplikasi kamu buat apa dan errornya terjadi pas kapan. Kalo emang butuh sertain stack tracenya, kalo bisa di format supaya orang gampang ngeliatnya. Mungkin banyak yang tau pemecahan masalah kamu, tapi terlalu males baca post jadi ga sempet ngebales. --- On Mon, 12/15/08, pieter pattiruhu <pieter.milis.c...@gmail.com> wrote: > From: pieter pattiruhu <pieter.milis.c...@gmail.com> > Subject: [JUG-Indonesia] error seperti ini :at > java.io.UnixFileSystem.createFileExclusively(Native Method), itu kenapa ya? > To: "jug-indonesia" <jug-indonesia@yahoogroups.com> > Date: Monday, December 15, 2008, 2:41 AM > kakak JUGers, mau tanya aplikasi aku dapat error seperti di > bawah ini, > kalo masalah permission denied, udah aku ubah semua jadi > dapat di > execute...tapi kok tetap muncul error seperti di bawah, > kira2 kenapa > ya?. > > errornya : > > HTTP Status 500 - > > type Exception report > message > description The server encountered an internal error () > that prevented > it from fulfilling this request. > exception > javax.servlet.ServletException: IOException while reading > file > element: Permission denied > at > org.apache.struts.upload.MultipartIterator.getNextElement(MultipartIterator.java:222) > at > org.apache.struts.upload.DiskMultipartRequestHandler.handleRequest(DiskMultipartRequestHandler.java:76) > at > org.apache.struts.util.RequestUtils.populate(RequestUtils.java:735) > at > org.apache.struts.action.ActionServlet.processPopulate(ActionServlet.java:2061) > at > org.apache.struts.action.ActionServlet.process(ActionServlet.java:1564) > at > org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510) > at > javax.servlet.http.HttpServlet.service(HttpServlet.java:760) > 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:256) > at > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) > at > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) > at > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) > at > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) > at > org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2422) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) > at > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) > at > org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171) > at > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:163) > at > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) > at > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) > at > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) > at > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) > at > org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:199) > at > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828) > at > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:700) > at > org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584) > at > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) > at java.lang.Thread.run(Thread.java:534) > root cause > java.io.IOException: Permission denied > at java.io.UnixFileSystem.createFileExclusively(Native > Method) > at java.io.File.checkAndCreate(File.java:1314) > at java.io.File.createTempFile(File.java:1402) > at > org.apache.struts.upload.MultipartIterator.createLocalFile(MultipartIterator.java:485) > at > org.apache.struts.upload.MultipartIterator.getNextElement(MultipartIterator.java:217) > at > org.apache.struts.upload.DiskMultipartRequestHandler.handleRequest(DiskMultipartRequestHandler.java:76) > at > org.apache.struts.util.RequestUtils.populate(RequestUtils.java:735) > at > org.apache.struts.action.ActionServlet.processPopulate(ActionServlet.java:2061) > at > org.apache.struts.action.ActionServlet.process(ActionServlet.java:1564) > at > org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510) > at > javax.servlet.http.HttpServlet.service(HttpServlet.java:760) > 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:256) > at > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) > at > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) > at > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) > at > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) > at > org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2422) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) > at > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) > at > org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:171) > at > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:163) > at > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) > at > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) > at > org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) > at > org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) > at > org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) > at > org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:199) > at > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828) > at > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:700) > at > org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584) > at > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) > at java.lang.Thread.run(Thread.java:534) > > Apache Tomcat/4.1.30 > > ------------------------------------ > > Kalau mau keluar dari mailing list ini, caranya kirim > sebuah email ke jug-indonesia-unsubscr...@yahoogroups.com. > > Jangan lupa, website JUG Indonesia adalah > http://www.jug.or.id > > Yahoo! Groups Links > > >