Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

...

  1. Configure and run SELF.WSC process:
    1. copy folder D2000_EXE/templates/config/proc/_.wsc in to the folder D2000_APP/<application name>/config/proc/
    2. rename _.wsc to the self.wsc
  2. Copy file D2000_EXE/web/smartWeb.war to the folder  D2000_APP/<application name>/config/proc/self.wsc/base/webapps/
  3. Unzip file D2000_EXE/web/tutorial-application.zip to the folder D2000_APP/<application name>/config/proc/self.wsc
  4. Start process SELF.DCS, by d2connector.exe from D2000_EXE/bin folder
  5. Start process SELF.WSC, by wssc.exe from D2000_EXE/bin folder
  6. In the CNF environment enable autostart for these processes and restart your application
  7. Open tutorial application on the http://localhost:8080/smartWebsmartweb link

Installing a Smart Web application on a Tomcat standalone

...

  1. Download and install AdoptOpenJDK version 11
  2. Set the system environment variable JAVA_HOME to the root directory where the JDK was installed
  3. To use strong ciphers in the HTTPS protocol it is necessary to download Java Cryptography Extension (JCE) files and copy them to the lib/security JDK directory. If it is not necessary to configure the HTTPS protocol, this step can be skipped
  4. Download and install Tomcat version 9 according to standard procedure 
  5. Copy file D2000_EXE/web/smartWeb.war in to the webapps Tomcat folder
  6. Unzip file D2000_EXE/web/tutorial-application.zip to the Tomcat parent folder
  7. Start process SELF.DCS, by d2connector.exe from D2000_EXE/bin folder
  8. Run Tomcat server
  9. Open tutorial application on the http://localhost:8080/smartWebsmartweb link

Change the context directory of a URL link

To change the context directory of a URL link from http://localhost:8080/smartWebsmartweb to the, for example, http://localhost:8080/myApp you need to do the following:

  1. Stop Tomcat server
  2. Rename file /webapps/smartWebsmartweb.war 
  3. Run Tomcat server