Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Auto restart of Cassini Service
pbhaskar
#1 Posted : Tuesday, September 9, 2008 8:51:20 PM(UTC)
Groups: Member
Joined: 7/16/2008(UTC)
Posts: 3

Hello Team;

We choose to use Cassini in place of IIS for reasons thereof; Following this, our application (ASP .NET 2.0) was tested against Cassini under various use cases.

Here is our observation and follow up request.
While an ASP .NET web application hosted on IIS fails at a case, like application crash, the IIS is capable of restarting its own process (aspnet_wp.exe under Win XP) thereby allowing the application to attend to subsequent user requests.

In case of Cassini, this case was a failure, as an application level crash, stops the Cassini Windows Service, thereby failing to attend for subsequent calls from the application (while you re-run it). We think this is because these applications are hosted in Cassini service process.

If our argument is correct, this is a serious problem, as our application can fail while other application (also hosted in Cassini but by other vendor) fails. May be other way round too.

What is your suggesstion here; Do you have any mechanism to auto restart the service?

Thanks
Ultidev Team
#2 Posted : Wednesday, September 10, 2008 6:34:24 AM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hi there!

Unfortunately current version does not have built-in means to restart the service in case it was brought down by misbehaving application. Building a monitoring program that would restart the Cassini service would be fairly simple, with one exception - such monitoring application would have to distinguish between crashing service process and gracefully shutting down service. The monitoring program should try to restart the service when the service is stopping dues machine shutdown or Cassini upgrade, for example. Implementing this logic may be tricky because it may be hard to tell whether the service has stopped for a good reason or just crashed.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Rss Feed  Atom Feed
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You can vote in polls in this forum.