Before the Web EEC is installed and configured, you must stop the service of the Tomcat web server:
- Right-click the symbol of the Tomcat Monitor on the taskbar.
- Select Stop service from the context menu.
- Extract the file webec.war to a folder of the same name.
- Open the file \webec\WEB-INF\web.xml in an editor.
- Change the following configuration parameters:
- Copy the folder \webec to the folder C:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps.
- Delete the content of the folder C:\Program Files\Apache Software Foundation\Tomcat 7.0\work.
- Right-click the symbol of the Tomcat Monitor on the taskbar.
- Select Start service from the context menu. Check the Tomcat log files for any error messages.
The Web EEC is provided as a web archive with the file extension .war. This file format represents a JAR and / or ZIP archive, and can be opened and edited using a compression program, for example, 7-ZIP.
Configuration parameter | Description |
---|---|
com.mind8.formui.eox | Name of the model EOX file without file extension. This information must match the information in the file ec.ini of the EEC Server. |
com.mind8.formui.perspective.object | Path to the project component that contains the Form-UI to be displayed initially. |
com.mind8.formui.perspective.form-id | The ID of the Form-UI to be displayed initially. |
com.mind8.formui.host | Host of the EEC Server. |
com.mind8.formui.port | Port of the EEC Server. This information must match the information in the file ec.ini of the EEC Server. |
com.mind8.formui.timeout | Waiting time until a session-timeout is triggered after inactivity (in seconds). |
Note:
The configurations section is commented out on start. The comment tags should be deleted before saving to make the configuration operative.
Example of configuration:
<web-app id="WebApp">
...
<context-param>
<param-name>com.mind8.formui.eox</param-name>
<param-value>demo_model</param-value>
</context-param>
<context-param>
<param-name>com.mind8.formui.perspective.object</param-name>
<param-value>Pfuderer_Projektverwaltung.Mechatronik.Start</param-value>
</context-param>
<context-param>
<param-name>com.mind8.formui.perspective.form-id</param-name>
<param-value>Start</param-value>
</context-param>
<context-param>
<param-name>com.mind8.formui.host</param-name>
<param-value>localhost</param-value>
</context-param>
<context-param>
<param-name>com.mind8.formui.port</param-name>
<param-value>7171</param-value>
</context-param>
...
</web-app>