Starting and Stopping Alfresco

From AlfrescoWiki

Jump to: navigation, search


Alfresco comes with startup scripts for Microsoft Windows and *nix that should work for most people in simple configurations. If you use the Web Content Management features that require the Alfresco Virtualization Server, then similar scripts are also provided to start and stop it.

[edit] Microsoft Windows

The Alfresco bundles provide a .bat script called alf_start.bat and alf_stop.bat to start and stop the Alfresco server. These in turn call the alfresco.bat script.

[edit] Linux and Unix

The Alfresco bundles provide a shell script called alfresco.sh in the main Alfresco directory. To start or stop Alfresco, call the script with start or stop.

For example: ./alfresco.sh start &

The "&" symbol throws the process into the background.


If you have multiple instances you can start each instance independently (if you are running Jboss) by running run.sh -c (instance name) located in the Jboss/bin directory

For example: ./run.sh -c instance2 &

To shutdown the specific instance you will need to know the JNP port that the instance is using to shutdown the instance by using shutdown.sh also located in the Jboss/bin directory.

For example: ./shutdown.sh -s jnp://localhost:1199

Where 1199 is the jnp port.



Back to Server Administration Guide