4 Replies Latest reply on Nov 4, 2008 9:03 AM by wolfgangknauf

    PROBLEM STARTING JBOSS 4.0.2

    aliciacampos

      Hello everyone,

      I have recently installed JBOSS and, i deploy my pplications from Eclipse 3.2. The problem is when I try to start the server from Eclipse environment an error dialog pops up saying:

      Timeout waiting for JBOSS 4.0 to start. Server did not start after 50s


      Is it possible to increase the server startup time? If so, which is the file I have to modify and what attribute?

      Thanks in advance.

      alicia

        • 1. Re: PROBLEM STARTING JBOSS 4.0.2
          peterj

          Found it! (I think)

          File: workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings\org.eclipse.wst.server.core.prefs

          Setting: module-start-timeout=300000

          Note that this is for Eclipse 3.4, might be different for 3.2.

          • 2. Re: PROBLEM STARTING JBOSS 4.0.2
            aliciacampos

            Hello Peter,

            Thanks for your help. The file you refer also exist in Eclipse 3.2 and the value of module-start-timeout is the same. I haven't changed this value, however I fixed the problem by changing "Server Timeout Delay" property:

            1- Accessed to Window/Preferences/Server
            2- Set "Server Timeout Delay" to "Longer" value

            This may be valid for Eclipse 3.4 (not sure)

            Thank you anyway! :)

            Alicia

            • 3. Re: PROBLEM STARTING JBOSS 4.0.2
              peterj

              The server preferences was the first place I looked for a timeout setting, but alas I could find no such setting in 3.4. Nor was there such a setting for individual server runtime environments (so you could, for example, set one timeout for a Tomcat server and another timeout for a JBossAS server).

              I am running the Java EE developers bundle of 3.4, and the only additional addon I have is for Subversion.

              • 4. Re: PROBLEM STARTING JBOSS 4.0.2
                wolfgangknauf

                Peter,

                in Eclipse 3.4/WebTools 3.0, this setting moved from the runtime settings to the server settings. So, in the servers view, right click => "Open", you will find the timeout settings in the upper right corner of the settings editor:
                [img]http://www.informatik.fh-wiesbaden.de/~knauf/KomponentenArchitekturen2008/stateless/server8.png[/img]

                Best regards

                Wolfgang