Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

a timeout error when I register account by web service

3 posts in Mobile Office 5.7 Beta Last posting was on 2009-07-23 21:58:17.0Z
Nan Wang Posted on 2009-07-22 05:39:08.0Z
Reply-To: "Nan Wang" <nanwang@sybase.com>
From: "Nan Wang" <nanwang@sybase.com>
Newsgroups: ianywhere.public.mobileoffice57.beta
Subject: a timeout error when I register account by web service
Lines: 87
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4a66a5fc$1@forums-3-dub.sybase.com>
Date: 21 Jul 2009 22:39:08 -0700
X-Trace: forums-3-dub.sybase.com 1248241148 10.22.241.152 (21 Jul 2009 22:39:08 -0700)
X-Original-Trace: 21 Jul 2009 22:39:08 -0700, vip152.sybase.com
X-Authenticated-User: techsupp
Path: forums-1-dub!forums-master!forums-3-dub.sybase.com!not-for-mail
Xref: forums-1-dub ianywhere.public.mobileoffice57.beta:22
Article PK: 9701

hi there,

When I try to register 1000 accounts by the webservice admin api, the
application report a timeout error. I created a array containing 1000
RegistrationRequest objects and invoke the RegisterUsersByTemplate method
one time to register these 1000 accounts.

I changed the web.config to extend the web service timeout limit of the IIS
and the client application and the client application report the timeout
error also. I guess this time error is report by mobile office server.
Please help to check it.

the error message:

System.ServiceModel.FaultException was unhandled
Message="System.Web.Services.Protocols.SoapException: Server was unable to
process request. ---> ExtendedSystems.OneBridge.MobileObject.MOException:
Request timeout while waiting for server response.\n at
ExtendedSystems.OneBridge.MobileObject.MOException.ThrowMOException(ERR
errorCode, String strErrorMsg, Exception inner, String strDetail, Int32
hResult)\n at
ExtendedSystems.OneBridge.MobileObject.MOConnection.CommAdvance(Boolean&
bIsResponseAvail, Int64& lRequestStartTime, Int64 lClientTimeout)\n at
ExtendedSystems.OneBridge.MobileObject.MOConnection.WaitForResponse(Int16
sClientTimeout)\n at
ExtendedSystems.OneBridge.MobileObject.MOObject.Execute(MORequestOptions
poRequestOptions, String strObjectName, String strMethodName)\n at
DeviceManagement.DeviceManagement.RegisterUsersByTemplate(String
strTemplateName, DataTable dtRegisterRequests, MORequestOptions
requestOptions)\n at
iAnywhere.MobileOffice.WebServices.AdminRequestHandler.RegisterUsersByTemplate(String
strTemplateName, RegistrationRequest[] requests)\n at
Admin.RegisterUsersByTemplate(String strTemplateName, RegistrationRequest[]
requests) in c:\\Program Files\\iAnywhere Mobile
Office\\Bin\\WebServices\\App_Code\\Admin.cs:line 68\n --- End of inner
exception stack trace ---"
Source="mscorlib"
StackTrace:
Server stack trace:
at
System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime
operation, ProxyRpc& rpc)
at System.ServiceModel.Channels.ServiceChannel.Call(String action,
Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[]
outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action,
Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[]
outs)
at
System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage
methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage
message)
Exception rethrown at [0]:
at
System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage
reqMsg, IMessage retMsg)
at
System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
msgData, Int32 type)
at
RegisterUser.MobileOffice.AdminSoap.RegisterUsersByTemplate(RegisterUsersByTemplateRequest
request)
at
RegisterUser.MobileOffice.AdminSoapClient.RegisterUser.MobileOffice.AdminSoap.RegisterUsersByTemplate(RegisterUsersByTemplateRequest
request) in C:\Documents and Settings\Administrator\My Documents\Visual
Studio 2008\netasp\RegisterUser\RegisterUser\Service
References\MobileOffice\Reference.cs:line 5041
at RegisterUser.Program.Main(String[] args) in C:\Documents and
Settings\Administrator\My Documents\Visual Studio
2008\netasp\RegisterUser\RegisterUser\Program.cs:line 30
at System.AppDomain._nExecuteAssembly(Assembly assembly, String[]
args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence
assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException:

thanks a lot!

Nan Wang


Diane Amdor Posted on 2009-07-23 21:10:30.0Z
From: "Diane Amdor" <dianea@sybase.com>
Newsgroups: ianywhere.public.mobileoffice57.beta
References: <4a66a5fc$1@forums-3-dub.sybase.com>
Subject: Re: a timeout error when I register account by web service
Lines: 99
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4a68d1c6$4@forums-3-dub.sybase.com>
Date: 23 Jul 2009 14:10:30 -0700
X-Trace: forums-3-dub.sybase.com 1248383430 10.22.241.152 (23 Jul 2009 14:10:30 -0700)
X-Original-Trace: 23 Jul 2009 14:10:30 -0700, vip152.sybase.com
X-Authenticated-User: zte
Path: forums-1-dub!forums-master!forums-3-dub.sybase.com!not-for-mail
Xref: forums-1-dub ianywhere.public.mobileoffice57.beta:25
Article PK: 18047

Nan,

Thank you for your detailed information. I am logging this information as a
bug for engineering to investigate.

Diane Amdor
Mobile Office Program Manager

"Nan Wang" <nanwang@sybase.com> wrote in message
news:4a66a5fc$1@forums-3-dub.sybase.com...
> hi there,
>
> When I try to register 1000 accounts by the webservice admin api, the
> application report a timeout error. I created a array containing 1000
> RegistrationRequest objects and invoke the RegisterUsersByTemplate method
> one time to register these 1000 accounts.
>
> I changed the web.config to extend the web service timeout limit of the
> IIS and the client application and the client application report the
> timeout error also. I guess this time error is report by mobile office
> server. Please help to check it.
>
> the error message:
>
> System.ServiceModel.FaultException was unhandled
> Message="System.Web.Services.Protocols.SoapException: Server was unable
> to process request. --->
> ExtendedSystems.OneBridge.MobileObject.MOException: Request timeout while
> waiting for server response.\n at
> ExtendedSystems.OneBridge.MobileObject.MOException.ThrowMOException(ERR
> errorCode, String strErrorMsg, Exception inner, String strDetail, Int32
> hResult)\n at
> ExtendedSystems.OneBridge.MobileObject.MOConnection.CommAdvance(Boolean&
> bIsResponseAvail, Int64& lRequestStartTime, Int64 lClientTimeout)\n at
> ExtendedSystems.OneBridge.MobileObject.MOConnection.WaitForResponse(Int16
> sClientTimeout)\n at
> ExtendedSystems.OneBridge.MobileObject.MOObject.Execute(MORequestOptions
> poRequestOptions, String strObjectName, String strMethodName)\n at
> DeviceManagement.DeviceManagement.RegisterUsersByTemplate(String
> strTemplateName, DataTable dtRegisterRequests, MORequestOptions
> requestOptions)\n at
> iAnywhere.MobileOffice.WebServices.AdminRequestHandler.RegisterUsersByTemplate(String
> strTemplateName, RegistrationRequest[] requests)\n at
> Admin.RegisterUsersByTemplate(String strTemplateName,
> RegistrationRequest[] requests) in c:\\Program Files\\iAnywhere Mobile
> Office\\Bin\\WebServices\\App_Code\\Admin.cs:line 68\n --- End of inner
> exception stack trace ---"
> Source="mscorlib"
> StackTrace:
> Server stack trace:
> at
> System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime
> operation, ProxyRpc& rpc)
> at System.ServiceModel.Channels.ServiceChannel.Call(String action,
> Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[]
> outs, TimeSpan timeout)
> at System.ServiceModel.Channels.ServiceChannel.Call(String action,
> Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[]
> outs)
> at
> System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage
> methodCall, ProxyOperationRuntime operation)
> at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage
> message)
> Exception rethrown at [0]:
> at
> System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage
> reqMsg, IMessage retMsg)
> at
> System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
> msgData, Int32 type)
> at
> RegisterUser.MobileOffice.AdminSoap.RegisterUsersByTemplate(RegisterUsersByTemplateRequest
> request)
> at
> RegisterUser.MobileOffice.AdminSoapClient.RegisterUser.MobileOffice.AdminSoap.RegisterUsersByTemplate(RegisterUsersByTemplateRequest
> request) in C:\Documents and Settings\Administrator\My Documents\Visual
> Studio 2008\netasp\RegisterUser\RegisterUser\Service
> References\MobileOffice\Reference.cs:line 5041
> at RegisterUser.Program.Main(String[] args) in C:\Documents and
> Settings\Administrator\My Documents\Visual Studio
> 2008\netasp\RegisterUser\RegisterUser\Program.cs:line 30
> at System.AppDomain._nExecuteAssembly(Assembly assembly, String[]
> args)
> at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence
> assemblySecurity, String[] args)
> at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
> at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
> at System.Threading.ExecutionContext.Run(ExecutionContext
> executionContext, ContextCallback callback, Object state)
> at System.Threading.ThreadHelper.ThreadStart()
> InnerException:
>
> thanks a lot!
>
> Nan Wang
>


Diane Amdor Posted on 2009-07-23 21:58:17.0Z
From: "Diane Amdor" <dianea@sybase.com>
Newsgroups: ianywhere.public.mobileoffice57.beta
References: <4a66a5fc$1@forums-3-dub.sybase.com>
Subject: Re: a timeout error when I register account by web service
Lines: 99
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
NNTP-Posting-Host: vip152.sybase.com
X-Original-NNTP-Posting-Host: vip152.sybase.com
Message-ID: <4a68dcf9$1@forums-3-dub.sybase.com>
Date: 23 Jul 2009 14:58:17 -0700
X-Trace: forums-3-dub.sybase.com 1248386297 10.22.241.152 (23 Jul 2009 14:58:17 -0700)
X-Original-Trace: 23 Jul 2009 14:58:17 -0700, vip152.sybase.com
X-Authenticated-User: zte
Path: forums-1-dub!forums-master!forums-3-dub.sybase.com!not-for-mail
Xref: forums-1-dub ianywhere.public.mobileoffice57.beta:27
Article PK: 18049

Hello Nan,
The timeout error you reported occurred from a Mobile Office RMI call. The
MO RMI call timeout setting for Web Service mehtod is hard-coded to 2
minutes. Currently there is no way to adjust this number through Admin.

Diane Amdor
Mobile Office Program Manager

"Nan Wang" <nanwang@sybase.com> wrote in message
news:4a66a5fc$1@forums-3-dub.sybase.com...
> hi there,
>
> When I try to register 1000 accounts by the webservice admin api, the
> application report a timeout error. I created a array containing 1000
> RegistrationRequest objects and invoke the RegisterUsersByTemplate method
> one time to register these 1000 accounts.
>
> I changed the web.config to extend the web service timeout limit of the
> IIS and the client application and the client application report the
> timeout error also. I guess this time error is report by mobile office
> server. Please help to check it.
>
> the error message:
>
> System.ServiceModel.FaultException was unhandled
> Message="System.Web.Services.Protocols.SoapException: Server was unable
> to process request. --->
> ExtendedSystems.OneBridge.MobileObject.MOException: Request timeout while
> waiting for server response.\n at
> ExtendedSystems.OneBridge.MobileObject.MOException.ThrowMOException(ERR
> errorCode, String strErrorMsg, Exception inner, String strDetail, Int32
> hResult)\n at
> ExtendedSystems.OneBridge.MobileObject.MOConnection.CommAdvance(Boolean&
> bIsResponseAvail, Int64& lRequestStartTime, Int64 lClientTimeout)\n at
> ExtendedSystems.OneBridge.MobileObject.MOConnection.WaitForResponse(Int16
> sClientTimeout)\n at
> ExtendedSystems.OneBridge.MobileObject.MOObject.Execute(MORequestOptions
> poRequestOptions, String strObjectName, String strMethodName)\n at
> DeviceManagement.DeviceManagement.RegisterUsersByTemplate(String
> strTemplateName, DataTable dtRegisterRequests, MORequestOptions
> requestOptions)\n at
> iAnywhere.MobileOffice.WebServices.AdminRequestHandler.RegisterUsersByTemplate(String
> strTemplateName, RegistrationRequest[] requests)\n at
> Admin.RegisterUsersByTemplate(String strTemplateName,
> RegistrationRequest[] requests) in c:\\Program Files\\iAnywhere Mobile
> Office\\Bin\\WebServices\\App_Code\\Admin.cs:line 68\n --- End of inner
> exception stack trace ---"
> Source="mscorlib"
> StackTrace:
> Server stack trace:
> at
> System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime
> operation, ProxyRpc& rpc)
> at System.ServiceModel.Channels.ServiceChannel.Call(String action,
> Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[]
> outs, TimeSpan timeout)
> at System.ServiceModel.Channels.ServiceChannel.Call(String action,
> Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[]
> outs)
> at
> System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage
> methodCall, ProxyOperationRuntime operation)
> at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage
> message)
> Exception rethrown at [0]:
> at
> System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage
> reqMsg, IMessage retMsg)
> at
> System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
> msgData, Int32 type)
> at
> RegisterUser.MobileOffice.AdminSoap.RegisterUsersByTemplate(RegisterUsersByTemplateRequest
> request)
> at
> RegisterUser.MobileOffice.AdminSoapClient.RegisterUser.MobileOffice.AdminSoap.RegisterUsersByTemplate(RegisterUsersByTemplateRequest
> request) in C:\Documents and Settings\Administrator\My Documents\Visual
> Studio 2008\netasp\RegisterUser\RegisterUser\Service
> References\MobileOffice\Reference.cs:line 5041
> at RegisterUser.Program.Main(String[] args) in C:\Documents and
> Settings\Administrator\My Documents\Visual Studio
> 2008\netasp\RegisterUser\RegisterUser\Program.cs:line 30
> at System.AppDomain._nExecuteAssembly(Assembly assembly, String[]
> args)
> at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence
> assemblySecurity, String[] args)
> at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
> at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
> at System.Threading.ExecutionContext.Run(ExecutionContext
> executionContext, ContextCallback callback, Object state)
> at System.Threading.ThreadHelper.ThreadStart()
> InnerException:
>
> thanks a lot!
>
> Nan Wang
>