Women in Technology

Hear us Roar



Article:
  Sliding into WebDAV
Subject:   Problem in runnign the sample code
Date:   2005-05-24 23:46:40
From:   nageshever
Hi!


when i tried to run the compiled code obtained with slide client, I am getting the below exception. Please help me. thanks in advance.



May 25, 2005 12:13:37 PM org.apache.commons.httpclient.HttpMethodBase processRedirectResponse
INFO: Redirect requested but followRedirects is disabled
org.apache.commons.httpclient.HttpException
at org.apache.webdav.lib.WebdavResource.propfindMethod(WebdavResource.java:3467)
at org.apache.webdav.lib.WebdavResource.propfindMethod(WebdavResource.java:3423)
at org.apache.webdav.lib.WebdavResource.setNamedProp(WebdavResource.java:967)
at org.apache.webdav.lib.WebdavResource.setBasicProperties(WebdavResource.java:912)
at org.apache.webdav.lib.WebdavResource.setProperties(WebdavResource.java:1894)
at org.apache.webdav.lib.WebdavResource.setHttpURL(WebdavResource.java:1301)
at org.apache.webdav.lib.WebdavResource.setHttpURL(WebdavResource.java:1320)
at org.apache.webdav.lib.WebdavResource.setHttpURL(WebdavResource.java:1408)
at org.apache.webdav.lib.WebdavResource.<init>(WebdavResource.java:290)
at slideclient.main(slideclient.java:19)

Main Topics Newest First

Showing messages 1 through 3 of 3.

  • Problem in runnign the sample code
    2005-05-25 03:30:09  Andrew Anderson | [View]

    I am not sure, as I do not have the code, but my best guess is that the httpclient is not setup to handle redirects, but the server is trying to redirect the request via an HTTP redirect. I think you will need to look into how to setup httpclient hto determine how to handle HTTP redirects.

    Andrew
  • Problem in runnign the sample code
    2005-12-20 21:00:18  iesailaja [View]

    org.apache.commons.httpclient.HttpException
    at org.apache.webdav.lib.WebdavResource.propfindMethod(WebdavResource.java:3185)
    at org.apache.webdav.lib.WebdavResource.propfindMethod(WebdavResource.java:3145)
    at org.apache.webdav.lib.WebdavResource.setNamedProp(WebdavResource.java:879)
    at org.apache.webdav.lib.WebdavResource.setBasicProperties(WebdavResource.java:824)
    at org.apache.webdav.lib.WebdavResource.setProperties(WebdavResource.java:1746)
    at org.apache.webdav.lib.WebdavResource.setHttpURL(WebdavResource.java:1156)
    at org.apache.webdav.lib.WebdavResource.setHttpURL(WebdavResource.java:1175)
    at org.apache.webdav.lib.WebdavResource.setHttpURL(WebdavResource.java:1261)
    at org.apache.webdav.lib.WebdavResource.<init>(WebdavResource.java:274)
    at com.sungard.sws.pi.dao.admin.FileServerDAO.listPath(FileServerDAO.java:1136)
    at com.sungard.sws.pi.ejb.genAdminejbhelper.NotesTemplatesHelper.getNotesTemplates(NotesTemplatesHelper.java:51)
    at com.sungard.sws.pi.ejb.workflow.WorkFlowEJBBean.getNotesTemplates(WorkFlowEJBBean.java:3937)
    at com.sungard.sws.pi.ejb.workflow.EJSRemoteStatelessWorkFlowEJB_36f544ce.getNotesTemplates(EJSRemoteStatelessWorkFlowEJB_36f544ce.java:2163)
    at com.sungard.sws.pi.ejb.workflow._WorkFlowEJBRemote_Stub.getNotesTemplates(_WorkFlowEJBRemote_Stub.java:4669)
    at com.sungard.sws.pi.web.delegate.task.TaskBusinessDelegateImpl.getNoteTemplates(TaskBusinessDelegateImpl.java:366)
    at com.sungard.sws.pi.web.task.actions.AddNoteAction.execute(AddNoteAction.java:46)
    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
    at com.sungard.sws.pi.web.framework.DefaultRequestProcessor.process(DefaultRequestProcessor.java:55)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
    at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
    at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
    at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
    at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
    at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
    at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
    at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
    at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:61)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:965)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:555)
    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:200)
    at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:119)
    at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:276)
    at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
    at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
    at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
    at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
    at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618)
    at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439)
    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:593)
  • Problem in runnign the sample code
    2005-12-20 21:01:27  iesailaja [View]