Return-Path: X-Original-To: apmail-chemistry-dev-archive@www.apache.org Delivered-To: apmail-chemistry-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 735F5C488 for ; Wed, 13 Jun 2012 13:52:30 +0000 (UTC) Received: (qmail 92605 invoked by uid 500); 13 Jun 2012 13:52:30 -0000 Delivered-To: apmail-chemistry-dev-archive@chemistry.apache.org Received: (qmail 92547 invoked by uid 500); 13 Jun 2012 13:52:30 -0000 Mailing-List: contact dev-help@chemistry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@chemistry.apache.org Delivered-To: mailing list dev@chemistry.apache.org Delivered-To: moderator for dev@chemistry.apache.org Received: (qmail 25799 invoked by uid 99); 13 Jun 2012 13:29:49 -0000 X-ASF-Spam-Status: No, hits=-5.0 required=5.0 tests=RCVD_IN_DNSWL_HI,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of j.huebel@sap.com designates 155.56.66.99 as permitted sender) From: "Huebel, Jens" To: Chemistry Dev , learning coding Date: Wed, 13 Jun 2012 15:29:17 +0200 Subject: Re: problem in downloading the files from repository Thread-Topic: problem in downloading the files from repository Thread-Index: Ac1JaIkTJBxVGLXCT1iO0SrLkJ+VUQ== Message-ID: In-Reply-To: Accept-Language: en-US, de-DE Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.0.0.100825 acceptlanguage: en-US, de-DE Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org HI, Google App Engine does not support File input/output. Please check the GAE documentation. This problem is not related to Chemnistry at all. Jens On 13.06.12 11:23, "learning coding" wrote: >Hi > > I have a problem in downloading the files in the repository. > > >System.*out*.println(" id " +docId); > >FileUtils.*download*(docId,"C:/FilenetDownload",session); > > > >but i get the error : > > > >java.lang.NoClassDefFoundError: java.io.FileOutputStream is a restricted >class. Please see the Google App Engine developer's guide for more >details. > >at com.google.appengine.tools.development.agent.runtime.Runtime.reject(* >Runtime.java:51*) > >at org.apache.chemistry.opencmis.client.util.FileUtils.download(* >FileUtils.java:241*) > >at org.apache.chemistry.opencmis.client.util.FileUtils.download(* >FileUtils.java:263*) > >at com.filenet.server.CmisFileDownload.doPost(*CmisFileDownload.java:55*) > >at javax.servlet.http.HttpServlet.service(*HttpServlet.java:637*) > >at javax.servlet.http.HttpServlet.service(*HttpServlet.java:717*) > >at=20 >org.mortbay.jetty.servlet.ServletHolder.handle(*ServletHolder.java:511*) > >at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(* >ServletHandler.java:1166*) > >at=20 >com.google.appengine.tools.development.HeaderVerificationFilter.doFilter( >*HeaderVerificationFilter.java:35*) > >at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(* >ServletHandler.java:1157*) > >at com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(* >ServeBlobFilter.java:60*) > >at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(* >ServletHandler.java:1157*) > >at com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(* >TransactionCleanupFilter.java:43*) > >at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(* >ServletHandler.java:1157*) > >at com.google.appengine.tools.development.StaticFileFilter.doFilter(* >StaticFileFilter.java:122*) > >at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(* >ServletHandler.java:1157*) > >at com.google.appengine.tools.development.BackendServersFilter.doFilter(* >BackendServersFilter.java:97*) > >at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(* >ServletHandler.java:1157*) > >at=20 >org.mortbay.jetty.servlet.ServletHandler.handle(*ServletHandler.java:388* >) > >at org.mortbay.jetty.security.SecurityHandler.handle(* >SecurityHandler.java:216*) > >at=20 >org.mortbay.jetty.servlet.SessionHandler.handle(*SessionHandler.java:182* >) > >at=20 >org.mortbay.jetty.handler.ContextHandler.handle(*ContextHandler.java:765* >) > >at org.mortbay.jetty.webapp.WebAppContext.handle(*WebAppContext.java:418*) > >at=20 >com.google.appengine.tools.development.DevAppEngineWebAppContext.handle(* >DevAppEngineWebAppContext.java:78*) > >at=20 >org.mortbay.jetty.handler.HandlerWrapper.handle(*HandlerWrapper.java:152* >) > >at >com.google.appengine.tools.development.JettyContainerService$ApiProxyHandl >er.handle( >*JettyContainerService.java:363*) > >at=20 >org.mortbay.jetty.handler.HandlerWrapper.handle(*HandlerWrapper.java:152* >) > >at org.mortbay.jetty.Server.handle(*Server.java:326*) > >at=20 >org.mortbay.jetty.HttpConnection.handleRequest(*HttpConnection.java:542*) > >at org.mortbay.jetty.HttpConnection$RequestHandler.content(* >HttpConnection.java:938*) > >at org.mortbay.jetty.HttpParser.parseNext(*HttpParser.java:755*) > >at org.mortbay.jetty.HttpParser.parseAvailable(*HttpParser.java:218*) > >at org.mortbay.jetty.HttpConnection.handle(*HttpConnection.java:404*) > >at org.mortbay.io.nio.SelectChannelEndPoint.run(* >SelectChannelEndPoint.java:409*) > >at org.mortbay.thread.QueuedThreadPool$PoolThread.run(* >QueuedThreadPool.java:582*) > > > >Is there something wrong from my side. > >Plz help and explain me to do it. > >thanks