|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
ONE process at a timeHi there,
I am having a web application which has OpenOffice running as backend. The whole web application runs great if there is only one request at a time. The web application will mess up if there are more than one requests at same time. My question is what should I do to only allow one process at same time for my web application. In another words, The second request will wait until the first one has finished if there are more than one request at same time. Thanks in advanced Alan Use message queuing (MSMQ)...
Have a seperate standalone process that reads one entry off the queue, processes it and then passes back the result..... Google for Microsoft Message Queuing. Regards Simon -- Show quoteHide quote================================ Simon Verona Dealer Management Service Ltd Stewart House Centurion Business Park Julian Way Sheffield S9 1GD Tel: 0870 080 2300 Fax: 0870 735 0011 "Alan Wang" <w***@vdata.com> wrote in message news:upcEev0TGHA.1160@TK2MSFTNGP09.phx.gbl... > Hi there, > > I am having a web application which has OpenOffice running as backend. The > whole web application runs great if there is only one request at a time. > The > web application will mess up if there are more than one requests at same > time. My question is what should I do to only allow one process at same > time for my web application. In another words, The second request will > wait > until the first one has finished if there are more than one request at > same > time. > > Thanks in advanced > > Alan > > > > I will think about that and thanks for your reply.
Alan Show quoteHide quote "Simon Verona" <nom***@nomail.zzz> wrote in message news:eUE0do1TGHA.4772@TK2MSFTNGP09.phx.gbl... > Use message queuing (MSMQ)... > > Have a seperate standalone process that reads one entry off the queue, > processes it and then passes back the result..... > > Google for Microsoft Message Queuing. > > Regards > Simon > > > -- > ================================ > Simon Verona > Dealer Management Service Ltd > Stewart House > Centurion Business Park > Julian Way > Sheffield > S9 1GD > > Tel: 0870 080 2300 > Fax: 0870 735 0011 > > "Alan Wang" <w***@vdata.com> wrote in message > news:upcEev0TGHA.1160@TK2MSFTNGP09.phx.gbl... >> Hi there, >> >> I am having a web application which has OpenOffice running as backend. >> The >> whole web application runs great if there is only one request at a time. >> The >> web application will mess up if there are more than one requests at same >> time. My question is what should I do to only allow one process at same >> time for my web application. In another words, The second request will >> wait >> until the first one has finished if there are more than one request at >> same >> time. >> >> Thanks in advanced >> >> Alan >> >> >> >> > > Simon,
There is a problem by using MSMQ. My application need to get size the doc back from OpenOffice processing in order to do next step. My understanding is MSMQ doesn't return value back from the process. Any suggestions??? Alan Show quoteHide quote "Simon Verona" <nom***@nomail.zzz> wrote in message news:eUE0do1TGHA.4772@TK2MSFTNGP09.phx.gbl... > Use message queuing (MSMQ)... > > Have a seperate standalone process that reads one entry off the queue, > processes it and then passes back the result..... > > Google for Microsoft Message Queuing. > > Regards > Simon > > > -- > ================================ > Simon Verona > Dealer Management Service Ltd > Stewart House > Centurion Business Park > Julian Way > Sheffield > S9 1GD > > Tel: 0870 080 2300 > Fax: 0870 735 0011 > > "Alan Wang" <w***@vdata.com> wrote in message > news:upcEev0TGHA.1160@TK2MSFTNGP09.phx.gbl... >> Hi there, >> >> I am having a web application which has OpenOffice running as backend. >> The >> whole web application runs great if there is only one request at a time. >> The >> web application will mess up if there are more than one requests at same >> time. My question is what should I do to only allow one process at same >> time for my web application. In another words, The second request will >> wait >> until the first one has finished if there are more than one request at >> same >> time. >> >> Thanks in advanced >> >> Alan >> >> >> >> > > Yes, you can set up a return queue and bring back a result - this needs
serializing but it works fine I can dig out somw code if you cant find an example Regards Simon -- Show quoteHide quote================================ Simon Verona Dealer Management Service Ltd Stewart House Centurion Business Park Julian Way Sheffield S9 1GD Tel: 0870 080 2300 Fax: 0870 735 0011 "Alan Wang" <w***@vdata.com> wrote in message news:%23%23wek11TGHA.2444@TK2MSFTNGP14.phx.gbl... > Simon, > > There is a problem by using MSMQ. My application need to get size the doc > back from OpenOffice processing in order to do next step. My understanding > is MSMQ doesn't return value back from the process. > > Any suggestions??? > > Alan > "Simon Verona" <nom***@nomail.zzz> wrote in message > news:eUE0do1TGHA.4772@TK2MSFTNGP09.phx.gbl... >> Use message queuing (MSMQ)... >> >> Have a seperate standalone process that reads one entry off the queue, >> processes it and then passes back the result..... >> >> Google for Microsoft Message Queuing. >> >> Regards >> Simon >> >> >> -- >> ================================ >> Simon Verona >> Dealer Management Service Ltd >> Stewart House >> Centurion Business Park >> Julian Way >> Sheffield >> S9 1GD >> >> Tel: 0870 080 2300 >> Fax: 0870 735 0011 >> >> "Alan Wang" <w***@vdata.com> wrote in message >> news:upcEev0TGHA.1160@TK2MSFTNGP09.phx.gbl... >>> Hi there, >>> >>> I am having a web application which has OpenOffice running as backend. >>> The >>> whole web application runs great if there is only one request at a time. >>> The >>> web application will mess up if there are more than one requests at same >>> time. My question is what should I do to only allow one process at same >>> time for my web application. In another words, The second request will >>> wait >>> until the first one has finished if there are more than one request at >>> same >>> time. >>> >>> Thanks in advanced >>> >>> Alan >>> >>> >>> >>> >> >> > >
DEADLINE! Please help!
need help on bitblt Object Reference not set an instance of an object Serializing custom properties on a BindingList. Remove not hide User Control, posting again Scroll on MouseWheel Event - VB.NET 1.1 How program function keys (e.g. F1, F2) in Windows app? MouseMove event not firing .net input box Starting a console application from parameters |
|||||||||||||||||||||||