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?
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.
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.