Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Application recycling
Message
From
17/10/2010 13:15:04
 
 
To
17/10/2010 13:00:30
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01485822
Message ID:
01485844
Views:
28
>>The two instances overlap. The original one will still complete the processing of any current hits before shutting down.
>>But you will lose session state on existing sessions (unless you are using SQL or state server)......
>
>I think this way of doing things conflicts with my current infrastructure. Basically, when the application starts, I load the data dictionary in memory. While doing this process, all concurrent hits are locked. We discussed that recently. This works well. Then, when the hit that got the data dictionary loading responsability finishes, a oApp.lTables property becomes True. This means we are ready to process as usual.
>
>Now, when the application recycles, I do not have any control on that. So, the hit in progress, those that are already running when the new hit falls into the application recycles, will use oApp.Tables collection as usual but might fall into the situation that oApp.Tables is being recontructed by the hit which will be the first one into the new cycling. So, basically, the concurrent hit, the one using the old cycling, will do several SQLs and one of them will generate an error, if it happens during the time the new hit doing the reload will initialize the oApp.Tables collection.
>
>oApp is a share object. So, how can I resolve that issue?

If oApp is a property of the application I don't see how the old instance would be affected by the creation of the new instance unless the new one locks (or attempts to lock) some *external* resource which might still be in use by the old.....)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform