chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From learning coding <learning.codin...@gmail.com>
Subject problem in downloading the files from repository
Date Wed, 13 Jun 2012 09:23:43 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message