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 47D5E72D1 for ; Wed, 7 Dec 2011 14:39:21 +0000 (UTC) Received: (qmail 75486 invoked by uid 500); 7 Dec 2011 14:39:21 -0000 Delivered-To: apmail-chemistry-dev-archive@chemistry.apache.org Received: (qmail 75455 invoked by uid 500); 7 Dec 2011 14:39:21 -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 75446 invoked by uid 99); 7 Dec 2011 14:39:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Dec 2011 14:39:21 +0000 X-ASF-Spam-Status: No, hits=1.6 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of learning.coding25@gmail.com designates 209.85.215.42 as permitted sender) Received: from [209.85.215.42] (HELO mail-lpp01m010-f42.google.com) (209.85.215.42) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Dec 2011 14:39:14 +0000 Received: by lagj5 with SMTP id j5so592537lag.1 for ; Wed, 07 Dec 2011 06:38:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=m6003eAJ3JZ/uhOyYHgKxfG4FU/7s856aQIxa39Hsjg=; b=lPiF6UaQQb9pkGU/xwtr3x/dxPe7Xp9zIbEgLYYEZ5ASZ7cpLJf53cqRUAswfuZuR5 t3aShBNdBsE2//zCtCuLVGodgRKRe3O7VkfjjhrFITeWv9tXCIErzrBx5RulUPVD6owJ FW90YKk5RyOT7+6cAPgHsI77/x/T5X3QuLMOU= MIME-Version: 1.0 Received: by 10.152.134.10 with SMTP id pg10mr7145092lab.3.1323268733073; Wed, 07 Dec 2011 06:38:53 -0800 (PST) Received: by 10.152.22.72 with HTTP; Wed, 7 Dec 2011 06:38:53 -0800 (PST) Date: Wed, 7 Dec 2011 15:38:53 +0100 Message-ID: Subject: How to avoid Timeout while fetching: From: learning coding To: dev@chemistry.apache.org Content-Type: multipart/alternative; boundary=f46d042fde60c6f97604b3818235 --f46d042fde60c6f97604b3818235 Content-Type: text/plain; charset=ISO-8859-1 Hi , i am trying to learn CMIS using the documents and the example given in http://chemistry.apache.org/java/developing/guide.html I am able to create session , check root add a newFolder but i was stucked When, i tried to add a document in the newFolder. I am using the same Code .given in the example. i tried to debugg the code, every method is working fine like creating session , Finding the contents of the root folder, adding new folder but when the i enter in add document method its gives me error on ObjectId *id* = folder.createDocument(properties, contentStream, VersioningState.*MAJOR*); sending you the printStack.. tell me how to rectify this problem. thank you * org.apache.chemistry.opencmis.commons.exceptions.CmisConnectionException*: Cannot access http://192.168.1.185:9083/CaseManager/resources/ECM/ContentFlat/idf_11BA1855-B316-45F5-96C3-DED3DE5470D9?versioningState=major: Timeout while fetching: http://192.168.1.185:9083/CaseManager/resources/ECM/ContentFlat/idf_11BA1855-B316-45F5-96C3-DED3DE5470D9?versioningState=major at org.apache.chemistry.opencmis.client.bindings.spi.atompub.HttpUtils.invoke(* HttpUtils.java:200*) at org.apache.chemistry.opencmis.client.bindings.spi.atompub.HttpUtils.invokePOST( *HttpUtils.java:69*) at org.apache.chemistry.opencmis.client.bindings.spi.atompub.AbstractAtomPubService.post( *AbstractAtomPubService.java:564*) at org.apache.chemistry.opencmis.client.bindings.spi.atompub.ObjectServiceImpl.createDocument( *ObjectServiceImpl.java:111*) at org.apache.chemistry.opencmis.client.runtime.SessionImpl.createDocument(* SessionImpl.java:650*) at org.apache.chemistry.opencmis.client.runtime.FolderImpl.createDocument(* FolderImpl.java:88*) at org.apache.chemistry.opencmis.client.runtime.FolderImpl.createDocument(* FolderImpl.java:443*) at com.capgemini.filenet.cmis.server.FilenetCmisServiceImpl.addDocumentInSalesFolder( *FilenetCmisServiceImpl.java:135*) at com.capgemini.filenet.cmis.server.FilenetCmisServiceImpl.createFolder(* FilenetCmisServiceImpl.java:183*) at com.capgemini.filenet.cmis.server.FilenetCmisServiceImpl.ListRepository(* FilenetCmisServiceImpl.java:79*) at sun.reflect.NativeMethodAccessorImpl.invoke0(*Native Method*) at sun.reflect.NativeMethodAccessorImpl.invoke(* NativeMethodAccessorImpl.java:39*) at sun.reflect.DelegatingMethodAccessorImpl.invoke(* DelegatingMethodAccessorImpl.java:25*) at java.lang.reflect.Method.invoke(*Method.java:597*) at com.google.appengine.tools.development.agent.runtime.Runtime.invoke(* Runtime.java:100*) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(*RPC.java:569* ) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(* RemoteServiceServlet.java:208*) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(* RemoteServiceServlet.java:248*) at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(* AbstractRemoteServiceServlet.java:62*) 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*) --f46d042fde60c6f97604b3818235--