Installing 3DSwym Foundation

You can install 3DSwym Foundation on a separate machine.

On Linux, you must log in as a user having admin rights.

On Windows, you must belong to the Administrators group or have the privileges assigned to the Administrators group.

Important:
  • Starting from R2024x FD01, the embedded TomEE is no longer supported.
  • Starting from R2025x GA, the embedded Java Development Kit (JDK) is no longer supported.


Before you begin:
  • Make sure that all 3DSwym Foundation prerequisites are installed and running and the three databases exist, as well as administrators and working users with the correct rights.
  • For external TomEE, make sure you have configured all the ports before starting the installation.
  • Do not perform the installation as root but with the dedicated applicative user, for example x3ds is the user you created as explained in Create Databases and Database Users. The TomEE instance must be run with this same x3ds userid. This is usually configurable in the instance configuration file under the variable TOMCAT_USER.
  • The TomEE instance directory (and subdirectories, and files) must be owned by the x3ds userid.
    Note: A database problem may occur if you attempt to install or upgrade two front-end servers ( 3DSwym Foundation ) simultaneously. To avoid this problem, do not attempt to install two front-ends simultaneously: install the first one, and wait until the first installation is finished before installing the second one. The same recommendation applies when upgrading.
  • By default, database passwords entered during the installation procedure will be encrypted, and the encrypted passwords will be stored in the appropriate configuration file. An encryption key will be generated automatically in:

    Windows: <3DSwymInstallPath>\win_b64\3dd.cipher

    Linux: <3DSwymInstallPath>/linux_a64/3dd.cipher

  • The encryption key is shared between all the 3DSwym Foundation machines of a given environment, and is stored in the shared folder you set up as described in Create a Shared Folder in the following file:

    Windows: \\machineName\shared_directory\DassaultSystemes\3DSwymData\config\install.properties

    Linux: /share/DassaultSystemes/3DSwymData/config/install.properties

  • To disable password encryption, define the following environment variable before starting the installation:

    DS_ENCRYPT_PASSWORD=0

    Note: If you disable encryption, passwords will remain in plain text in the configuration file. You cannot set DS_ENCRYPT_PASSWORD=0 to disable encryption if upgrading an installation that is already encrypted.

  1. Procure the media for your operating system, and prepare to install the software as explained in the DS Installer Guide.

    The name of the installation media is:

    • 3DSwym-V6R2027x.Windows64.zip on Windows
    • 3DSwym-V6R2027x.Linux64.tar.gz on Linux

  2. Untar/unzip the media to create the following directory:

    • 3DSwym.Windows64 on Windows
    • 3DSwym.Linux64 on Linux.

  3. Change to the distribution directory.

    • 3DSwym.Windows64/1 on Windows
    • 3DSwym.Linux64/1 on Linux
    Start the installation as follows:

    • Windows: double-click setup.exe
    • Linux: ./StartGUI.sh for the GUI, or ./StartTUI.sh

    The installation procedure then starts:

    Note: The dialog boxes are the same on both Windows and Linux.

    Click Next.

  4. Specify the installation directory and click Next.
    • If you accept the default destination folder, click Next
    • To select a different destination folder, click Browse.... The folder you choose must be empty. You can also specify a new folder.



    The default values are:

    • C:\DassaultSystemes\R2027x\3DSwym on Windows
    • /usr/DassaultSystemes/R2027x/3DSwym on Linux.
    Note: The installation path cannot contain any space characters.

  5. In the list, select 3DSwym Foundation and click Next.



  6. Specify the Java Home path and click Next.



    This is the location of your Java Development Kit (JDK). On Windows, the Java location will be automatically detected.

    Note: If you use a local Certificate Authority, register your certificates in this Java store using the keytool utility.

  7. Specify the paths and click Next.



    Field Name Description
    Choose directory for shared storage The shared directory name to be used for storing data. The default is:
    • Windows: C:\DassaultSystemes\3DSwymData
    • Linux: /share/DassaultSystemes/3DSwymData

    This folder must already exist. It is recommended to use a mounted path for the shared directory. This method is required when each 3DSwym component is installed on a different machine. This is useful when large amounts of data need to be saved, and also facilitates management of a load balanced environment.

    Choose directory for log files The log directory containing application logs. The default is:
    • Windows: C:\DassaultSystemes\R2027x\3DSwym\3DSwymLog
    • Linux: /var/log/DassaultSystemes/3DSwym
    Choose directory for runtime temporary files The temporary directory used at 3DSwym app runtime. The default is:
    • Windows: C:\Windows\Temp\DassaultSystemes\3DSwym
    • Linux: /tmp/DassaultSystemes/3DSwym

  8. Specify the previously configured, dedicated URL endpoints for the 3DEXPERIENCE platform services.

    Note: Do not use uppercase characters in the URLs (standard form specified in RFC3986)



    Before you do so, check the following :

    • the URLs must contain Fully Qualified Domain Names (FQDN)
    • the URLs must start with http(s):// (and not ftp or other); note that all URLs are https:// except Full Text Search
    • 3DPassport, 3DCompass, and 3DSwym must have a root URI if you install all the services on the same machine
    • If you install all the services on the same machine, the ports must be different.

    Sample URLs (if the services are installed on different machines) are:

    • 3DPassport service URL: the default is: https://3dpassport.mydomain:443/3dpassport
    • 3DSwym Index configuration URL: the default is: http://3dswym.fulltextsearch.mydomain:29000
    • 3DCompass service URL: the default is: https://3dspace.mydomain:443/3dspace
    • 3DSwym service URL: the default is: https://3dswym.mydomain:443/3dswym

    The license control service URL (default is: https://dsls.mydomain:4085) will only appear if the DSLicSrv.txt file is not present in C:\ProgramData\DassaultSystemes\Licenses (Windows) or /var/DassaultSystemes/Licenses (Linux). The DSLicSrv.txt file will then be created in the correct location, and will contain, for example: dsls.mydomain:4085. The user performing the installation must have write access to the directory containing the file.

    Click Next.

  9. Specify the path of your existing TomEE+ installation and click Next.



  10. Select the database type you are using and specify the database connection parameters.

    You can choose between Oracle and SQL Server.

    • On Windows and Linux, if you selected SQL Server, enter the SQL Server connection parameters:

      Table 1. SQL Server connection parameters
      Field Name Description
      SQL Server Server Name: Host[\Instance][:Port] SQL Server database hostname. The default is localhost\SQLSERVER.
      Notes:
      • 3DSwym uses a TCP/IP connection to SQL Server, so the default 1433 port (or another) needs to be configured using SQL Server Configuration Manager.
      • Indicate additional database connection properties required to support encryption for example: localhost\SQLSERVER;encrypt=true;sslProtocol=TLSv1.2

        Make sure the SQL Server certificate is imported in the Java keystore of the service.

        Indicate additional database connection properties required to support multi subnet failover for example: localhost\SQLSERVER; MultiSubnetFailover=True

      SQL Server Database name for 3DSwym Content Database schema name you must already have created as explained in Create Databases and Database Users. The default is x3dswym_social. It should be empty in the case of a fresh install.
      SQL Server Database Name for 3DSwym Rich Media Database schema name you must already have created as explained in Create Databases and Database Users. The default is x3dswym_media. It should be empty in the case of a fresh install.
      SQL Server Database Name for 3DSwym Widgets Database schema name you must already have created as explained in Create Databases and Database Users. The default is x3dswym_widget. It should be empty in the case of a fresh install.
      Database administrator user name The default is x3ds_admin. You must have created this user already with the appropriate permissions to the above database schema, as explained in Create Databases and Database Users.
      Database administrator user password The database administrator user password.
      Database user name for 3DSwym Database user name you created already as explained in Create Databases and Database Users. The default is x3ds.
      Database user password for 3DSwym The database user password.
    • If you are using Oracle, specify the database connection parameters.



      Table 2. Oracle Server connection parameters
      Field Name Description
      Directory tnsnames.ora (optional. Usually <oracle_home>/network/admin) Specify the directory containing the tnsnames.ora file. It is usually located in <Oracle_Home>/network/admin.
      Note: We recommend that you use the tnsnames.ora file method for specifying database name details.
      Net Service Name (with tnsnames.ora) or //Host[:Port]/service_name for 3DSwym Content The default is //localhost:1521/DBSOCIAL.
      Net Service Name (with tnsnames.ora) or //Host[:Port]/service_name for 3DSwym Rich Media The default is //localhost:1521/DBMEDIA.
      Net Service Name (with tnsnames.ora) or //Host[:Port]/service_name for 3DSwym Widgets The default is //localhost:1521/DBWIDGET.
      Database user name for 3DSwym Content Database user name you created already as explained in Create Databases and Database Users. The default is x3dswym.
      Database user password for 3DSwym Content The database user password.
      Database user name for 3DSwym Rich Media Database user name you created already as explained in Create Databases and Database Users. The default is x3dswym_media.
      Database user password for 3DSwym Rich Media The database user password.
      Database user name for 3DSwym Widgets Database user name you created already as explained in Create Databases and Database Users. The default is x3dswym_widget.
      Database user password for 3DSwym Widgets The database user password.

    Click Next.

  11. Select the Use as batch server check box for one and only one 3DSwym Foundation instance.



  12. Configure the mail server and click Next.



    Field Name Description
    Mail server name The default is localhost; in this case, local system should be configured to be capable of sending emails with enterprise-specific configuration
    Mail sender name The email address of the sender of emails sent by the application; the default is admin_platform@3dswym.mydomain.

  13. Review your installation choices and click on Install .

    You can see the installation logs here:

    • <3DSwymInstallPath>\InstallData\log on Windows
    • <3DSwymInstallPath>/InstallData/log·on Linux.

    Installation log files are prefixed by the installation media name. Also, consider the following logs for debugging or analyzing: external Apache TomEE default log directory:

    • <externalTomEEInstallPath>\logs on Windows
    • <externalTomEEInstallPath>/logs on Linux.

What's Next
Complete post-installation steps.