There are several ways of configuring the JBoss application server to automatically startup on server reboot. JBoss itself recommends using third-party tools to set up a Windows service for this.
There is another, easier way - configure it as a scheduled task.
Once you have fully configured JBoss 3.2.5 for LiveCycle and have verified that it works:
- go to Start->All Programs->Control Panel->Scheduled Tasks->Add Scheduled Task
- click Next
- browse to %JBOSS_HOME%\bin\run.bat
- Give it a name like "JBoss"
- click the radiobutton for 'When my computer starts'
- provide a local userID and password JBoss can use to run
- check the checkbox for 'Open advanced properties for this task when I click Finish'
- in the 'Task' tab, add -c all to the 'Run' field so that it looks something like this : C:\jboss-3.2.5\bin\run.bat -c all This 'c' switch will tell JBoss to run using the 'all' configuration.
- in the 'Settings' tab, uncheck the checkbox for "Stop the task if it runs for 72 hours 0 minutes". We don't want it stopping for any reason.
- uncheck all checkboxes in the 'Power Management' section. You probably won't be running JBoss AS on a laptop running on batteries!

Leave a comment