473,396 Members | 1,826 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

ONE process at a time

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
4 1092
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

77
by: Charles Law | last post by:
Hi guys I have a time critical process, running on a worker thread. By "time critical", I mean that certain parts of the process must be completed in a specific time frame. The time when the...
4
by: Prince Kumar | last post by:
I joined a company recently and they have a java program which hangs (does nothing) after a while. This is no way consistent. It could succeed quite a few times and can fail a few other times....
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.