1 Reply Latest reply on Mar 2, 2007 12:15 PM by Rob Stryker

    "Server failed to start" dialog after a succesful start

    Henri Muurimaa Newbie


      I'm using JBoss Eclipse IDE 2.0.0.Beta2 with JBoss 4.0.5 GA, and it seems that the IDE fails to detect a succesful server start.

      I start the server with the start button in JBoss perspective and it starts up ok, but the server view reports it as "Starting...". After a while I get the dialog "Server failed to start" and apparently the server process is killed at that point, though it was running without problems. Sometimes I get the dialog even before the server has completed the startup procedure.

      Any ideas?

        • 1. Re:
          Rob Stryker Master

          The default method used to tell if the server has started or stopped is executing the 'twiddle' command, which comes with each jboss distro.

          First and foremost, twiddle and stop require proper username and password authentication. You must add them to your launch configurations and command line arguments.

          The way to tell if the server is up or down can be changed via preferences under JBoss IDE / servers. You can change the timeout value and then change what to do upon a timeout. Options are cancel the startup if it times out, or just mark it as started.

          If changing the username / pw doesnt work (though it should), you can just change the timeout value to a low one and set behavior to ignore the timeout and mark server as started.