9 Replies Latest reply on Oct 13, 2011 3:52 PM by bprocek

    AS 6 CR1 service installation working?

    nickarls

      I did a service.bat install on my Win7 64b machine and the script claimed that the service was installed  but it's not in the service list? Do you have to install something else (I recall something about JBossNative in previous versions)? There is already the jbosssvc.exe available, is something more required?

        • 1. Re: AS 6 CR1 service installation working?
          jaikiran

          Are you an admin on that system?

          • 2. Re: AS 6 CR1 service installation working?
            nickarls

            Yep. And no error message either. Looked at the native connectors as the last version appears to be for the 5.x series(?)

            • 3. Re: AS 6 CR1 service installation working?
              jaikiran

              I'm not on Windows OS, so can't say for sure. But from what I understand, the service.bat that shipped in the AS should work fine. There was an issue in M4 which was fixed later http://community.jboss.org/message/555603

              • 4. Re: AS 6 CR1 service installation working?
                nickarls

                The event log said

                 

                """The description for Event ID 1 from source JBAS60SVC cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

                 

                If the event originated on another computer, the display information had to be saved with the event.
                The following information was included with the event:
                Access is denied.
                Failed installing JBAS60SVC

                The description for Event ID 1 from source JBAS60SVC cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

                 

                If the event originated on another computer, the display information had to be saved with the event.

                 

                The following information was included with the event:

                 

                Access is denied.

                 

                Failed installing JBAS60SVC

                """

                 

                so apparently there is some access problem, the script just failed to report it correctly. What more it requires than local admin is beyond my understanding as I recall having installed other services before...

                 

                It installed fine on a 2003 server so I guess it's more of a "script returning wrong value on failure" type of issue.

                 

                Message was edited by: Nicklas Karlsson (additional info)

                • 5. Re: AS 6 CR1 service installation working?
                  kwutzke

                  It's been a while, but have you been able to find out what caused this? I'm having exactly the same problem of not being able to find a JBoss AS service in the list.

                   

                  Edit, see here:

                  http://community.jboss.org/thread/163824

                   

                  Karsten

                  • 6. AS 6 CR1 service installation working?
                    mahesh_kamalakannan

                    I am facing the same problem while trying to install JBoss 6 server as window services in windows 32 bit.

                    After running the services.bat script, it prints 'Service JBoss Application Server 6.0 installed'. But the service is not displayed in service list.

                     

                    I modified the batch file to print the error level (while ruuning >>service.bat install), the error level displayed was 3. I am not sure what this error level-3

                    is all about, since as per the script only the following error levels were handled,

                     

                    :errExplain
                    if errorlevel 1 echo Invalid command line parameters
                    if errorlevel 2 echo Failed installing %SVCDISP%
                    if errorlevel 4 echo Failed removing %SVCDISP%
                    if errorlevel 6 echo Unknown service mode for %SVCDISP%

                     

                     

                    Please shed some light on this if any solution was met.

                     

                    Thanks,

                    Mahesh

                    e61e78adde34cb5d4082a3ee78bcc9371d94dea2
                    • 7. AS 6 CR1 service installation working?
                      wolfgangknauf

                      Hi,

                       

                      do you use Win7 or Vista? If yes this might help: http://community.jboss.org/thread/163824

                       

                      Best regards

                       

                      Wolfgang

                      • 8. AS 6 CR1 service installation working?
                        mahesh_kamalakannan

                        Hi Wolfgang,

                         

                        Thanks for the response.

                        I am using Windows XP.

                         

                        Regards,

                        Mahesh

                        • 9. Re: AS 6 CR1 service installation working?
                          bprocek

                          Two things I've found can cause this. I needed to open a Windows command shell as an Administrator.  Also, the service name cannot have spaces within it.