2 Replies Latest reply on Apr 14, 2004 10:27 AM by gdagley

    Startup is looping indefiniatly...

    objec

      I'm experiencing the strangest problem...

      When i startup JBoss it loops forever. I'm using JBoss3.2.3 with Jetty on Windows with Jdk 1.4.2_04. It appears that once my webapp has been deployed, JBoss just starts over again. Checkout these lines of output:

      19:41:36,359 INFO [MainDeployer] Deployed package: file:/C:/dev/jboss-3.2.3/server/emsystem/deploy/emsystem.ear
      19:41:36,359 INFO [URLDeploymentScanner] Started jboss.deployment:type=DeploymentScanner,flavor=URL
      19:41:36,937 INFO [Server] Starting JBoss (MX MicroKernel)...
      19:41:36,937 INFO [Server] Release ID: JBoss [WonderLand] 3.2.3 (build: CVSTag=JBoss_3_2_3 date=200311301445)
      19:41:36,937 INFO [Server] Home Dir: C:\dev\jboss-3.2.3

      Any ideas?

        • 1. Re: Startup is looping indefiniatly...
          objec

          "indefiniatly" was incorrect. It does eventually finish. What's weird is that it seams to take a different number of cycles each time. Some as little as two, most many more.

          I've used JBoss for several years and this is the weirdest thing i've ever seen.

          Does anyone have a clue what could be causing it?

          • 2. Re: Startup is looping indefiniatly...
            gdagley

            I am running JBoss 3.2.3 with JDK 1.4.2_04 and was having the same problem (although I never let mine go beyond 3 restarts, so I don't know that it ever finished).

            To fix this I looked at my run.bat that had the following:

            set JAVA_OPTS=-server -Xms128m -Xmx512m %JAVA_OPTS%

            This worked in previous versions of the JDK (I recently upgraded). After removing the -server option, everything started up fine. If this doesn't work for you, maybe someone else will have a solution.

            As a note, this is my development environment so this will work fine, but may not be an acceptable solution in other circumstances.