How to Properly Restart OutSystems Platform Services in the Java Stack

How to Properly Restart OutSystems Platform Services in the Java Stack

  
Hi,

Sometimes you need to restart some or all OutSystems Platform Services. This is easy to do on Windows, but if you are like me (don't have a Java SysOps background) fear not.

To learn about the OutSystems Platform folder structure, see the Installation Prerequisites tech note. That will help you getting started.

Start by expanding some environment variables:
source /etc/sysconfig/outsystems


For JBoss

1 - First, you need to stop the application server
Simply run  /etc/init.d/jboss-outsystems stop

2 - Make sure the application server is really stopped
  • JBoss - run tail –f $JBOSS_HOME/server/outsystems/log/server.log and see it displays:
    • JBoss 5 - "Shutdown complete"
    • JBoss 7 - "JBAS015950"

3 - Restart the OutSystems Platform services
Run /etc/init.d/outsystems restart

4 - Start the Application Server
  • JBoss - run /etc/init.d/jboss-outsystems start
  • WebLogic - use the console has above
5 - Ensure the Application Server has started
  • JBoss - run tail –f $JBOSS_HOME/server/outsystems/log/server.log and see it displays:
    • JBoss 5 - "Started in <time>"
    • JBoss 7 - "JBAS015874"


For WebLogic

1 - First, you need to stop the application server
Go to http://<server>:7001/console - Servers - Control - Shutdown

2 - Make sure the application server is really stopped
WebLogic - Check the State column

3 - Restart the OutSystems Platform services
Run /etc/init.d/outsystems restart

4 - Start the Application Server
WebLogic - use the console has above

5 - Ensure the Application Server has started
WebLogic - Check the State column