From dev-return-5155-apmail-chemistry-dev-archive=chemistry.apache.org@chemistry.apache.org Wed Jun 13 09:24:16 2012 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 1EB2EC610 for ; Wed, 13 Jun 2012 09:24:16 +0000 (UTC) Received: (qmail 57017 invoked by uid 500); 13 Jun 2012 09:24:16 -0000 Delivered-To: apmail-chemistry-dev-archive@chemistry.apache.org Received: (qmail 56727 invoked by uid 500); 13 Jun 2012 09:24:12 -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 Received: (qmail 55945 invoked by uid 99); 13 Jun 2012 09:24:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jun 2012 09:24:11 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of learning.coding25@gmail.com designates 209.85.215.170 as permitted sender) Received: from [209.85.215.170] (HELO mail-ey0-f170.google.com) (209.85.215.170) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Jun 2012 09:24:03 +0000 Received: by eaal12 with SMTP id l12so209501eaa.1 for ; Wed, 13 Jun 2012 02:23:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=JNmOdu1iRSrOUFGpn0vU3p7weIDOgkKS3zq3KvcP+8g=; b=IKK+soAXIc3fySJ8MH6LuH64XG70HdVA7JRqe0ThDI//DblxkdBcSChEwQWZVGguqI INdaHOGpzqUEsNhlQxrjgkrLHfdsPYfIB6ZXtK2daUHUt9kMEzVgfthfvu2MI/A9Gw5Q h9IufD2UljMMmjUiTjAZ7AAHYjiahFBkwtG77b1t906wIrM714H0qNuGIhhqlCYSTG/P 6+XG38glJ6GzCFDMzWczAuKZmMBfq1Dp4pVc8M0Vi3HUO/NW8Za5zQk/bLCW/yAEvpw4 m5uVTiDeB4zvNo7vdRlic6vmWZTydp0YnYleiI/JJAH30LziKLU/Iz85bGUHYxHOGa3M iiBA== MIME-Version: 1.0 Received: by 10.14.37.205 with SMTP id y53mr7211869eea.124.1339579423098; Wed, 13 Jun 2012 02:23:43 -0700 (PDT) Received: by 10.14.174.2 with HTTP; Wed, 13 Jun 2012 02:23:43 -0700 (PDT) Date: Wed, 13 Jun 2012 11:23:43 +0200 Message-ID: Subject: problem in downloading the files from repository From: learning coding To: dev@chemistry.apache.org Content-Type: multipart/alternative; boundary=bcaec517a72aa988df04c2572361 --bcaec517a72aa988df04c2572361 Content-Type: text/plain; charset=ISO-8859-1 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 org.mortbay.jetty.servlet.ServletHolder.handle(*ServletHolder.java:511*) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(* ServletHandler.java:1166*) at 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 org.mortbay.jetty.servlet.ServletHandler.handle(*ServletHandler.java:388* ) at org.mortbay.jetty.security.SecurityHandler.handle(* SecurityHandler.java:216*) at org.mortbay.jetty.servlet.SessionHandler.handle(*SessionHandler.java:182* ) at org.mortbay.jetty.handler.ContextHandler.handle(*ContextHandler.java:765* ) at org.mortbay.jetty.webapp.WebAppContext.handle(*WebAppContext.java:418*) at com.google.appengine.tools.development.DevAppEngineWebAppContext.handle(* DevAppEngineWebAppContext.java:78*) at org.mortbay.jetty.handler.HandlerWrapper.handle(*HandlerWrapper.java:152* ) at com.google.appengine.tools.development.JettyContainerService$ApiProxyHandler.handle( *JettyContainerService.java:363*) at org.mortbay.jetty.handler.HandlerWrapper.handle(*HandlerWrapper.java:152* ) at org.mortbay.jetty.Server.handle(*Server.java:326*) at 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 --bcaec517a72aa988df04c2572361--