Configure TomEE with Derby
-
Start the
TomEE Configuration Utility with the following batch file or script:
On Windows:
<SEE_install_dir>\config\tomcat\bin\config.bat
Note: You may have to run config.bat as Administrator if you do not have access rights.On Linux:
<SEE_install_dir>/config/tomcat/bin/config.sh
This step is not necessary if the installer has already started the configuration utility.
- Select Derby as the database.
- Select either Configure existing database or Configure new database.
-
If you chose
Configure existing database, browse to the existing Derby installation directory.
Note: If the existing Derby database you intend to select was created by Isight 5.9-x then, before you move to step 6 below, you must first rename two directories in the Derby Database directory.
- Rename filemgr59 directory to filemgr
- Rename Isight59 directory to Isight
By default, the Derby Database directory for TomEE-Derby based SEE is
- On Windows:
<SEE_install_dir>\config\DerbyDatabase
- On Linux:
<SEE_install_dir>/config/DerbyDatabase
unless you changed it explicitly during 5.9-x SEE installation/configuration.
- If you chose Configure new database, Derby will be installed at the default location.
- Click Next to define the LDAP configuration.
-
Select one of the following:
- Secured Mode (configure TomEE in secured mode).
- Unsecured Mode (configure TomEE in unsecured mode).
- Skip LDAP Configuration (skip the LDAP security configuration if you have already configured the mode and do not intend to change it).
-
If you chose Secured Mode, enter the following information:
- Connection URL: The location and the port number for the LDAP server. Typically, the port is 389.
Use the following format:
ldap://10.10.10.10:389/
orldap://ldapservername:389/
- Connection Name: The distinguished name that is used to connect to the LDAP repository. For more information, consult your local system administrator. You can also find the information at the following URL: http://msdn.microsoft.com/en-us/library/aa366101%28v=vs.85%29.aspx.
- Connection Password: The password for the user name.
- User Base: The base entry for a user search. For more information, consult your system administrator.
- Role Base: The base entry for a role search. For more information, consult your system administrator.
- Connection URL: The location and the port number for the LDAP server. Typically, the port is 389.
- Assign user(s) and/ or group(s) to the required roles by entering a list of user names and/ or group names separated by semicolons.
- Click Next to define the TomEE configuration.
- Enter the EJBD Port. The default is 4201.
This port number will be reflected in the tomee.cpr connection profile file, which will be used by all SIMULIA Execution Engine clients to connect to the SIMULIA Execution Engine server.
- Select Install TomEE as a service if you want to configure the TomEE process as a service.
-
Select one of the following:
- HTTP (configure TomEE to use HTTP protocol).
- HTTPS (configure TomEE to use HTTPS protocol).
-
If you chose HTTP, enter the following information:
- Webtop Port: Port number for Webtop application.
- WebDashboard Port: Port number for WebDashboard application.
-
If you chose HTTPS, you need to first import certificate in a
keystore file (for more information, see Steps to create Keystore) before entering the following
information:
- Webtop Port: Port number for Webtop application.
- WebDashboard Port: Port number for WebDashboard application.
- Keystore path: Browse keystore file path.
- Keystore Alias Name: Alias name of certificate.
- Keystore Password: Keystore password used while creating the keystore file.
- Key Password: Key password used while creating the keystore file.
- Click Finish and then OK to complete the utility.