By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,344 Members | 1,142 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,344 IT Pros & Developers. It's quick & easy.

ONE process at a time

P: n/a
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


Mar 24 '06 #1
Share this Question
Share on Google+
4 Replies


P: n/a
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" <wa**@vdata.com> wrote in message
news:up**************@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

Mar 24 '06 #2

P: n/a
I will think about that and thanks for your reply.

Alan

"Simon Verona" <no****@nomail.zzz> wrote in message
news:eU**************@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" <wa**@vdata.com> wrote in message
news:up**************@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


Mar 24 '06 #3

P: n/a
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" <no****@nomail.zzz> wrote in message
news:eU**************@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" <wa**@vdata.com> wrote in message
news:up**************@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


Mar 24 '06 #4

P: n/a
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

--
================================
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" <wa**@vdata.com> wrote in message
news:%2******************@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" <no****@nomail.zzz> wrote in message
news:eU**************@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" <wa**@vdata.com> wrote in message
news:up**************@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



Mar 25 '06 #5

This discussion thread is closed

Replies have been disabled for this discussion.