This has gone on for far too long
I'm actively investigating alternatives to CQHost. If you have any suggestions, please let me know.
I have seen the Serlvet ISP list at Servlets.COM and I followed the recent JavaLobby thread on the same topic. I will review the alternatives mentioned in that JavaLobby thread in a later post. I'm really starting to wonder if $20/month is an impossible price-point. Maybe the shared Java VM concept favored by the cheap ISPs is not a workable solution.
CQHost says that shared JVM is not a workable solution and CQHost uses the latest version of the Resin Servlet engine. For the sake of Roller and Java in general, I'm interested in understanding this problem, so I wrote the following to the Resin mailing list:
I'm using a hosting service who shall remain nameless (at least in this email). This hosting service provides Resin 2.1.1 in a Java VM that is shared by multiple users.
This hosting service cannot keep Resin running for more than a day at a time (they had three outages today). When asked why they cannot keep the server up, they responded that "we cannot offer the same stability with java like PHP or ASP due to the limitations of a shared JVM setup."
I really want to know if this is true. I've been using Resin, Tomcat, and other Java app servers for quite some time and I cannot believe that my hosting service is telling the truth. Am I totally naive?
Please tell me:
1) Is the shared JVM solution an unworkable solution for a hosting service? Resin's classloader hierarchy should keep apps from interfering with each other and the app-reload capability should eliminate the need to restart the server when apps get re-deployed. Right?
2) What would cause the JVM to crash all of the time? Unreleased resources such as DB connections? System properties that interfere with each other?
3) Other app servers that I have used will automatically restart a JVM if that fails or becomes non-responsive - can Resin do this? And if Resin can do it, then why can't my hosting service do it?
10:17:55 PM
|