4 Replies Latest reply on Dec 5, 2008 12:10 PM by mtozserclv

    Jboss install as service is successful, but no service is st

    mtozserclv

      I have a Jboss 4.0.5 installed on Vista (using jdk1.6). We use port 8016.
      I downloaded Jboss Native and moved the service and the jbosssvc exe files under the %JBOSS_HOME%\bin.
      On the command line ran: service.bat install.
      According to the message the install was successful.

      However when I tried to start up the service:
      net start JBAS5SVC

      I could not. The service name is invalid. I cant' find any logs.

      Any suggestions?

        • 1. Re: Jboss install as service is successful, but no service i
          peterj

          Typo? JBAS50SVC (note the zero - '0')

          Did you look at the services manager to see if it is listed there?

          • 2. Re: Jboss install as service is successful, but no service i
            mtozserclv

            I just used what was listed in the service.bat as to
            net start "SVCNAME".
            Yes, the services GUI tool does not list any jboss services starting up.

            I also made some changes after my posting to the cmdStart:
            was
            ..
            call run.bat < .r.lock >> run.log 2>&1
            ..

            changed it to:
            ..
            call run.bat -c dev < .r.lock >> run.log 2>&1
            ..

            and since we use jboss 4.0.5, changed the settings to the following:
            set SVCNAME=JBAS405SVC
            set SVCDISP=JBoss Application Server 4.0.5
            set SVCDESC=JBoss Application Server 4.0.5 GA/Platform: Windows x86

            It still did not help and I still don't get any log indications of what happened.

            • 3. Re: Jboss install as service is successful, but no service i
              peterj

              Are you running a 32-bit or 64-bit version of Vista? Did you download the proper version of JBoss Native (32 or 64 bit)?

              I tried it using your settings, and it registered just fine, as viewed in the services gui and in powershell:

              [12/04/2008 12:43:23 D:\opt\powershell]
              >get-service jbas405svc
              
              Status Name DisplayName
              ------ ---- -----------
              Stopped JBAS405SVC JBoss Application Server 4.0.5


              I am running Vista Ultimate 64-bit, and downloaded the 64-bit version of JBoss Native 2.0.6.

              One other thought - do you have administrative access? Do you have user account control off or on? I am an administrator and turned off user account control. You might try running a command prompt as administrator and running service.bat from there.

              • 4. Re: Jboss install as service is successful, but no service i
                mtozserclv

                Thanks!! That was it: I had some admin prvileges problems.