3 Replies Latest reply on Feb 19, 2008 1:51 PM by Peter Johnson

    Start Web Service with JBoss service

    Son Doan Newbie

      I created JBoss service.
      How to run file Run_Server2.bat after JBoss service ran? (start web service).

        • 1. Re: Start Web Service with JBoss service
          Peter Johnson Master

          I am sorry, but I do not understand your question.

          What do you mean by "created JBoss service"?

          Are you saying that you registered JBossAS to run as a service on on you operating system? If so, what operating system? And what mechanism did you use to install the service (JBoss Native or one of the others)?

          Or are you saying that you wrote a service and deployed it to JBossAS (as a *.sar file) and now want that service to run the mentioned batch file?

          And what does that have to do with web services?

          • 2. Re: Start Web Service with JBoss service
            Son Doan Newbie

            Thanks Peter!
            I using Adempiere Server.
            I created JBoss as Windows Service with JavaService.
            file Run_Server2.bat was run Adempiere Web Server.
            I want to run file Run_Server2.bat after JBoss service has run.

            • 3. Re: Start Web Service with JBoss service
              Peter Johnson Master

              I have never used ADempiere, but looking at the web site it looks like it has its own server so you would have to set up a separate service (using Javaservice) to run it. Then you have to tell the operating system to not run the ADempiere service until after it runs the JBossAS service. You never said which OS you are running, so I will assume Windows - use the Dependencies tab on the ADempiere service to indicate that it depends on the JBossAS service.