5 Replies Latest reply on Mar 26, 2014 10:40 AM by kuldeep11

    JBoss will not start - (main) Error installing to Create

    jimmylammon


      We have been running this JBoss for quite some time (years) in a clustered environment.

      This is JBoss 5.1.0.GA running on Windows 2008 Server.

       

      We moved the WIndows PageFile, and restarted... but now JBoss will not start.

      Any help we can get would be good....here is the error....

       

      ERROR [org.jboss.system.server.profileservice.repository.ScopedProfileServiceController] (main) Error installing to Create:

      name=ProfileKey@70e7a15e[domain=default, server=default, name=farm] state=Configured mode=On Demand requiredState=Installed

       

      Caused by: java.lang.IllegalArgumentException: d:\jboss-5.1.0.GA\server\all\farm\iam_im.ear\jboss does not exist

        • 1. Re: JBoss will not start - (main) Error installing to Create
          kuldeep11

          Try to move out your application from farm folder and then deploy after restarting.
          There seems some issue with deployed application.

          • 2. Re: JBoss will not start - (main) Error installing to Create
            jimmylammon

            Thanks... we removed the ear completely...and get the same error.

            We then modified the run.bat file to comment out the cluster settings with REM.

            There were 2 lines that needed commenting out.

            JBoss started up just fine when NOT in cluster mode.

            We put the run.bat back to its original cluster setting, and startup fails with the message again.

            So... it is something to do with clustering in the run.bat file.....

            The first line was:

            if [%1] -- [-c] set SERVER=%2/farm

             

            The second line was:

            set ARGS=%ARGS% -g IdmPartition -Djboss.messaging.ServerPeerID=0

             

             

             

             


            • 3. Re: JBoss will not start - (main) Error installing to Create
              kuldeep11

              Instead of specifying these options in run.bat, try by calling them manually as below :

              run.bat -c farm -g IdmPartition -Djboss.messaging.ServerPeerID=0

              Then see if it works or not.

              • 4. Re: JBoss will not start - (main) Error installing to Create
                jimmylammon

                We were able to resolve this issue by:

                 

                We deleted all the tmp, temp, and work files on the 01 server.

                We deleted all the files in the DATA folder...on the 01 server.

                We restarted JBoss on this 01 server.... it started, but still had some deployment issues.

                We began noticing problems with the 02 server.

                We restarted JBoss on the 02 server... it started.

                We deleted all the tmp/temp, and work files on the 01 server.
                We deleted all the files in the DATA folder... on the 01 server.

                We restarted JBoss on the 01 server... it started with no deployment issues.

                 

                This appears to have been some type of clustering issue with the 2 Jboss servers.

                Only after deleting the DATA folder were we able to recover.

                • 5. Re: JBoss will not start - (main) Error installing to Create
                  kuldeep11

                  Great!!
                  Normally this thing happens, Jboss store caches and other tmp data in tmp, work and data folder. So its good to delete these after doing new installation and then restart servers .