Jump to content

[Solved] Java Servlet Regularly Shuts Down


Recommended Posts

Hi all,


Wonderful service so far, really happy with this website.


I'm running a Java server on Tommy, and I notice that it gets restarted or put to sleep regularly. Is this intended? The server I'm running was designed to run constantly. I need to regularly access a servlet page in order to keep the matchmaking service running.




Link to comment
Share on other sites

Apache restarts whenever needed (domain updates, etc.) on Tommy, and I believe Tomcat does the same, so yes, servlets are subject to restarting without notice.


Krydos would know more and might have an idea what's going on/how we can make this work for you.



Link to comment
Share on other sites

Tomcat needs to restart occasionally. Sometimes it goes days without needing a restart and sometimes only a couple hours. It's kind of random when and why it needs to be restarted. During each restart there will be a minute or so of downtime where you will probably get a 503 error. The last restart was about 6 hours ago. I have an uptime monitor on tomcat and it's usually about 1% lower than the server as a whole.

Link to comment
Share on other sites

How about a cron to call your page every minute? Even though we restrict cron in cpanel, we can set it up externally at much greater frequencies as long as the script to be called can be triggered by visiting it in a browser.


If that would work, post the URL we need to call and Krydos can set that up for you.

Link to comment
Share on other sites

This topic is now closed to further replies.

  • Similar Content

    • By hm087
      I want to put a a java class file which is integrated in html, on the helio server (Johnny). Why doesn't it work?
      I have set up a free hosting account. Does something need to be done to my web account?
      The website is hm087.heliohost.us
      Appreciate any support.
    • By jax
      I have successfully completed the node.js tutorial. I am trying to deploy an express app, and after reading another expressJS ticket I also tried putting the app in a subdomain titled express.jax.heliohost.us.
      The app folder is at the path - home/jax/node/riddleAdventure.
      The app url is - express.jax.heliohost.us/riddleadventure. 
      The app has been registered using application manager.
      Dependencies have been ensured.
      Yet, the same express-related 'Cannot GET' error is displayed when I visit the url.
      Please advise, thanks very much!
      - Jax
    • By robertzo
      My First question is, is the storage calculated in HD or SSD? Also is there a guarantee uptime or is that only for the shared hosting? Lastly what are the differences between Ubuntu, Centos, or Windows does one cost more or less?
    • By thexkey
      Hello, since ricky server has been down for quite some time, i decided to pay to move to Tommy, however due to something wrong on my end, paypal did not work so i ended up paying using Litecoin.
      here is the LTC transaction ID: 9809c3303f66df7d2f87e46a76f33e99ff8355343a1cdfd5cc14dbaeb1e87e91
    • By RichHackney
      Not sure if this is the right place to post this.
      I had my site hosted on Ricky, so I followed the instructions to get moved to Tommy. This is my email for my new account richhackney3@gmail.com.  My old account email was richchackney@gmail.com and the address was www.richhackney.heliohost.org. I verified my email through the link and chose Tommy and made a donation.  Transation ID - 3YN66085490988937 When I try to log in I get page saying I need to click the link to verify my email which is why I don't have a username. Please advise. Thanks,Rich.   Attachments area    
  • Create New...