AnsweredAssumed Answered

Linux WCM virtual_start missing, and resolution

Question asked by dmusser on Jan 23, 2007
Latest reply on Jan 23, 2007 by kvc
Everyone

Using the Alfresco 2.0 Beta I found the following issues:

1.  alfvirtual.sh - does not reference virtual-tomcat but rather the standard tomcat.
2.  virtual_start.sh - does not exist
3.  virtual_stop.sh - does not exist

This is using the Alfresco-community-2.0Preview-Linux-x86-Install.

We have been working with Kevin on this, but for now you can grab the files out of the WCM preview release or an earlier build, but i'm adding them here as well.

1)alfvirtual.sh
#!/bin/sh
# Start or stop Alfresco server
# Set the following to where Tomcat is installed
ALF_HOME=/opt/alfresco
cd "$ALF_HOME"
APPSERVER="$ALF_HOME"/virtual-tomcat
export JAVA_HOME="$ALF_HOME"/java
# Set any default JVM values
#
if [ "$1" = "start" ]; then
  "$APPSERVER"/bin/startup.sh
  if [ -r ./start_oo.sh ]; then
    sh ./start_oo.sh
  fi
elif [ "$1" = "stop" ]; then
  "$APPSERVER"/bin/shutdown.sh
  if [ -r ./start_oo.sh ]; then
    killall soffice.bin
  fi
fi

2)virtual_start.sh

#!/bin/sh
sh /opt/alfresco/alfvirtual.sh start

3)virtual_stop.sh

#!/bin/sh
sh /opt/alfresco/alfvirtual.sh stop

Outcomes