Run the setup program following the on-screen instructions.
Upon finishing the installation, you will be presented with the configuration utility
Finally for easier usage it is recommended to install and start the Web Server Service.

Configuring

From the Start Menu run Configure Nomitech Cost Modeler (Standalone Edition)
The following options are available:

Database

Database type: You can choose between Embedded server or a Microsoft SQL Server installation.
After setting the connection properties click the Test Connection Button to ensure that you have entered the right information

Paths

These are folder locations that the application uses. All the default paths reside in C:/ProgramData/Cosmo/
Local Repository: This is where uploaded files and images are stored.
Temp Folder/Cache Folder: These are locations of temporary files used by the application.

Java Runtime

Select one of the installed Java Development Kits that are installed on your system.
If the JDK is not on the list the select using the Custom JRE Field.
By default the bundled JDK is used

Web Server

Select the ports used by the server. These ports must not be used by another application.
If you want, for performance reasons you can fine tune the memory used by this application.
You can also install/remove and start/stop the service.

Running behind a Firewall (or Reverse Proxy)

To use this program behind a reverse proxy, you need to configure it to allow gracefully websocket connections.
Here follows the configuration for Apache HTTP Server. To configure another server like NGINX, follow the documentation of that server.
Make sure to replace the text in italic with the appropriate value


ProxyPass "/cosmo" "http://internal-server-ip-or-name:port/cosmo" connectiontimeout=3000 timeout=3000
ProxyPassReverse "/cosmo" "http:// internal-server-ip-or-name:port /cosmo"
RewriteEngine on
RewriteCond %{REQUEST_URI} cosmo/stomp-endpoint.*/websocket
RewriteCond %{HTTP:UPGRADE} ^WebSocket$ [NC]
RewriteCond %{HTTP:CONNECTION} Upgrade$ [NC]
RewriteRule .* ws:// internal-server-ip-or-name:port %{REQUEST_URI} [P,L]
<LocationMatch "/cosmo/stomp-endpoint.*/websocket">
RequestHeader set "X-Forwarded-Host" "external-fqdn"
RequestHeader set "X-Forwarded-Proto" "https"
</LocationMatch>


  • No labels