Install/Uninstall astah* share

Before you install astah* share

Before you start installing astah* share, please make sure that your machine meets all the system requirements.

TCP Port

astah* share requires following TCP Ports.

Apache Tomcat

Browser - Port 7080 is required for HTTP connection between Tomcat

H2 Database Engine

Port 8082 is required to manage Web Interface

Port 9092 is required for JDBC connection

How to install astah* share

Please read this through with Install astah* share in the Tutorial .

The license file would not be set yet after you deployed the Archive Installer, so astah* share will be launched as Free Edition.
If you already have a license file, set it up by following How to set up license file.
Administrator's email address and password are jsadmin@example.com and jsadmin by default. We strongly advise you to change this information from User Management after the install is successfully completed.

How to install astah* share on Windows

  1. Download an archive file(.zip) of astah* share for Windows from astah Website
  2. Extract the archive file(.zip)
  3. Double-click "startup.bat" file to launch astah* share
Since there is a limit on the folder path length on Windows, please make sure you extract astah* share in the file that is appropriate path length. (i.e. C:\astah-share-2_0)

How to register to Windows service

Open a Command prompt and execute the command as follows.
Specify JAVA_HOME and CATALINA_HOME first and then register the service name, "astahshare".
You can name the service name as you like, but it should not have any spaces or symbols.

C:\> set JAVA_HOME=C:\astah-share-2_0\server\jre
C:\> set CATALINA_HOME=C:\astah-share-2_0\server
C:\> C:\astah-share-2_0\server\bin\service.bat install astahshare

Service name [astahshare] and its display name [Apache Tomcat astahshare] have been registered.

How to customize registered Windows Service

To change its display name, the JavaVM, Initial memory pool or Maximum memory pool, execute the following command and open the configuration screen.

C:\> C:\astah-share-2_0\server\bin\tomcat6w //ES//astahshare
In this example, astah* share install folder is "C:\astah-share-2_0", please put your install folder name when you do this.

How to install astah* share on Linux

  1. Download an archive file (.tar.gz) of astah* share for Linux from astah Website
  2. Extract the archive file (.tar.gz)
  3. Open "startup.sh" and "shutdown.sh" files with text editor and then configure the environment variables (DISPLAY, JAVA_HOME, PATH) for runtime environment
  4. Execute "startup.sh" to launch astah* share
X Window System(X Server) is required to use astah* share since astah* share uses Java's AWT(AbstractWindowToolkit) to generate image information from astah files. Please download X Server or virtual X Server such as Xvfb in order to use astah* share.

Configuring environment variables - startup.sh, shutdown.sh

i.e. DISPLAY variables

Specify the display number and etc to go with running X Server.

# set your environment variable 'DISPLAY' correctly.
DISPLAY=":0.0"
export DISPLAY

i.e. JAVA_HOME, PATH variables

Specify Java runtime environment to run astah* share on. Please see the System Requirements for supported Java information.

JAVA_HOME=/usr/lib/jvm/jre1.6.0_15
export JAVA_HOME

PATH=$JAVA_HOME/bin:$PATH
export PATH

i.e. DISPLAY variables (if you are using Xvnc)

If you have installed Xvnc and executed vncserver like as below

$ vncserver :1 &

Configure DISPLAY variables as below

# set your environment variable 'DISPLAY' correctly.
DISPLAY=":1.0"
export DISPLAY

i.e. DISPLAY variables (if you are using Xvfb)

If you have installed Xvfb and executed it like as below

$ Xvfb :1 -screen 0 1024x768x24 &

Configure DISPLAY variables as below

# set your environment variable 'DISPLAY' correctly.
DISPLAY=":1.0"
export DISPLAY

How to uninstall astah* share

  1. Stop astah* share
  2. Delete all the folders of astah* share from the computer
Deleting all the astah* share install folders will delete all astah files, diagrams and comments that were registered with astah* share. We strongly advise you to backup them before you uninstall in case you want to keep them. For how to backup, please refer to Backup