Hi Sankara,

Can you please share the code you have written to make Provisioning
API calls and also tell us how frequently you get this error i.e 1/100
calls, 1/1000 calls etc.. ?

The error suggests that the response stream is empty which is unsual
since a failed API call typically carries an error message with an
error code . It would also be helpful  to trace/log HTTP messages and
analyze them.

-Anirudh


On Oct 18, 9:16 am, Sankar <[EMAIL PROTECTED]> wrote:
> <Oct 17, 2008 2:04:30 PM PDT> <Notice> <Stdout> <000000> <URL to
> retrieve the user:https://www.google.com/a/feeds/gene.com/user/2.0/candicef>
> java.io.EOFException: Response contained no data
>         at weblogic.net.http.MessageHeader.isHTTP(MessageHeader.java:
> 222)
>         at
> weblogic.net.http.MessageHeader.parseHeader(MessageHeader.java:143)
>         at weblogic.net.http.HttpClient.parseHTTP(HttpClient.java:475)
>         at
> weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:
> 368)
>         at
> weblogic.net.http.SOAPHttpsURLConnection.getInputStream(SOAPHttpsURLConnection.java:
> 37)
>         at
> weblogic.net.http.HttpURLConnection.getResponseCode(HttpURLConnection.java:
> 966)
>         at
> com.google.gdata.client.http.HttpGDataRequest.checkResponse(Unknown
> Source)
>         at
> com.google.gdata.client.http.HttpGDataRequest.execute(Unknown Source)
>         at
> com.google.gdata.client.http.GoogleGDataRequest.execute(Unknown
> Source)
>         at com.google.gdata.client.Service.getEntry(Unknown Source)
>         at com.google.gdata.client.GoogleService.getEntry(Unknown
> Source)
>         at com.google.gdata.client.Service.getEntry(Unknown Source)
>         at
> com.google.gdata.client.appsforyourdomain.AppsForYourDomainService.getEntry(Unknown
> Source)
>         at
> com.gene.idm.adapter.GoogleAppsResourceAdapter.retrieveUser(GoogleAppsResourceAdapter.java:
> 1667)
>         at
> com.gene.idm.adapter.GoogleAppsResourceAdapter.getUser(GoogleAppsResourceAdapter.java:
> 445)
>         at
> com.waveset.adapter.ResourceAdapterProxy.getUser(ResourceAdapterProxy.java:
> 845)
>         at
> com.waveset.provision.FetchContext.doFetch(FetchContext.java:350)
>         at
> com.waveset.provision.FetchContext.processOp(FetchContext.java:211)
>         at
> com.waveset.provision.ThreadContext.processContext(ThreadContext.java:
> 330)
>         at
> com.waveset.provision.ThreadContext.launchThreads(ThreadContext.java:
> 239)
>         at
> com.waveset.provision.Provisioner.fetchAccountsList(Provisioner.java:
> 2335)
>         at
> com.waveset.provision.Provisioner.fetchAccounts(Provisioner.java:2780)
>         at com.waveset.view.UserViewer.assembleView(UserViewer.java:
> 893)
>         at com.waveset.view.UserViewer.checkoutView(UserViewer.java:
> 749)
>         at com.waveset.object.ViewMaster.checkoutView(ViewMaster.java:
> 626)
>         at
> com.waveset.session.WorkflowServices.checkoutView(WorkflowServices.java:
> 1272)
>         at
> com.waveset.session.WorkflowServices.call(WorkflowServices.java:484)
>         at
> com.waveset.workflow.WorkflowEngine.callApplication(WorkflowEngine.java:
> 4364)
>         at
> com.waveset.workflow.WorkflowEngine.callAction(WorkflowEngine.java:
> 4191)
>         at
> com.waveset.workflow.WorkflowEngine.callAction(WorkflowEngine.java:
> 3504)
>         at
> com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:3344)
>         at
> com.waveset.workflow.WorkflowEngine.makeTransition(WorkflowEngine.java:
> 2863)
>         at
> com.waveset.workflow.WorkflowEngine.checkExplicitTransitions(WorkflowEngine.java:
> 2754)
>         at
> com.waveset.workflow.WorkflowEngine.checkTransitions(WorkflowEngine.java:
> 2540)
>         at
> com.waveset.workflow.WorkflowEngine.processSteps(WorkflowEngine.java:
> 1945)
>         at
> com.waveset.workflow.WorkflowEngine.walkCases(WorkflowEngine.java:
> 1797)
>         at
> com.waveset.workflow.WorkflowEngine.walkCases(WorkflowEngine.java:
> 1705)
>         at
> com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:843)
>         at
> com.waveset.workflow.WorkflowEngine.execute(WorkflowEngine.java:505)
>         at
> com.waveset.workflow.WorkflowExecutor.execute(WorkflowExecutor.java:
> 236)
>         at com.waveset.task.Scheduler.execute(Scheduler.java:2612)
>         at com.waveset.task.Scheduler.launchTask(Scheduler.java:1701)
>         at com.waveset.task.Scheduler.launchTask(Scheduler.java:1376)
>         at com.waveset.task.TaskManager.launchTask(TaskManager.java:
> 267)
>         at
> com.waveset.server.InternalSession.runTask(InternalSession.java:3373)
>         at com.waveset.server.ViewMaster.runTask(ViewMaster.java:931)
>         at
> com.waveset.view.ProcessViewer.checkinView(ProcessViewer.java:683)
>         at com.waveset.object.ViewMaster.checkinView(ViewMaster.java:
> 747)
>         at
> com.waveset.session.LocalSession.checkinView(LocalSession.java:611)
>         at
> com.waveset.ui.util.GenericViewSource.checkinView(GenericViewSource.java:
> 522)
>         at
> com.waveset.ui.util.GenericEditForm.process(GenericEditForm.java:613)
>         at
> jsp_servlet._user.__processlaunch._jspService(__processlaunch.java:
> 431)
>         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
>         at weblogic.servlet.internal.StubSecurityHelper
> $ServletServiceAction.run(StubSecurityHelper.java:227)
>         at
> weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:
> 125)
>         at
> weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:
> 283)
>         at
> weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:
> 175)
>         at weblogic.servlet.internal.WebAppServletContext
> $ServletInvocationAction.run(WebAppServletContext.java:3228)
>         at
> weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:
> 321)
>         at
> weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
> 121)
>         at
> weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:
> 2002)
>         at
> weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:
> 1908)
>         at
> weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:
> 1362)
>
> On Oct 9, 12:51 am, "Anirudh (Google)" <[EMAIL PROTECTED]> wrote:
>
> > Hi Sankara,
>
> > Could you please share the IOException message and stacktrace
> > alongwith the code block that throws this exception?
> > It would be helpful in finding the cause of the exception.
>
> > -Anirudh
>
> > On Oct 7, 7:57 pm, Sankar <[EMAIL PROTECTED]> wrote:
>
> > > Hello All,
>
> > > I am retrying to do provisioning / reprovisioning using the java apis.
> > > Everything works fine for lots of users. But inbetween, there are some
> > > users failing with IOException.
>
> > > Anybody has any ideas what or how can i overcome this IOException?
>
> > > regards
> > > Sankara- Hide quoted text -
>
> > - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Apps APIs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-apps-apis?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to