As run.log file is created to redirect the output to console, there is no direct support from JBoss for file rotation. You have to run some cron job to do this.

How To Install Jboss Server

Install JBoss EAP 6 using the Zip installation, Graphical Installer, or Text-based Installer. Configure a Service for JBoss EAP 6 in Microsoft Windows Server. There are a few threads touching this topic but I thought I'd summarize my findings so far in getting JBoss AS 7 up and running as a Windows service.

But ideally your run.log file shouldn't contain JBoss server logging output in it. The server log output will gets written in the server.log (or whatever the name u've given) file of JBoss, right? Just comment appender-ref ref='CONSOLE' in the log4j file.

So run.log file will not contain same output as in server.log file hence will be smaller in size and the file rotation/roll over is not necessary. Hello, I have an issue, where in i am able to run the JBoss as windows service in XP. I am using two approach: 1) Approach 1: Using JBoss native connector: Issue with this service: Not able to start the service. Configure Wireless Connection Windows Vista. Getting an error message “service started and stopped”. Tried setting with account also but it didn’t work. 2) Approach 2: Adding a batch script in registry of windows service to start JBoss: Issue with this service: we are able to start and stop this service but when we logoff Jboss running as service gets stopped.

Appriciate your valuable inputs. I have the similar problem as promod said when I am trying to run two instances.

I have created a copy of service.bat and renamed it as service2.bat. Done the below changes to service2.bat 1. Updated the bat file name as serrvice2.bat in:cmdInstall section 2. Changed the changed the run.log to run2.log in all the places. Samsung C6112 Flash File. 3.Changed shutdown.log to shutdown2.log. Updated:cmdStart section as below: call run.bat -c instance2 -b hostname >run2.log 2>&1 Did I miss anything here? When I tried to start service2 i am getting the WIndows Service error -->'Some services stop automatically if they have no work to do, for example the Performance Log' Any advice please.

Thanks Sunil.