This section is applicable only if you want to use Web Forms with Adeptia Connect. You need to configure the following to access Web Forms in Adeptia Connect:
Before start configuring, ensure that you have applied Adeptia Suite v2.7 patch.
You can configure Web Forms in MySQL, SQL Server, and Oracle database only.
To configure Web Forms in Adeptia Connect:
- Import Adeptia Suite and Adeptia Connect public certificate to Adeptia Suite Truststore. This step is mandatory only if you are accessing Adeptia Suite through HTTPS protocol.
- Export Public Key
The steps to export the key varies from browser to browser. The following are the steps to export the public key in Google Chrome browser. You need to follow the same steps to export Adeptia Suite and Adeptia Connect public key.Open the browser and type the HTTPS URL to access Adeptia Suite.
Type Adeptia Connect URL to export Adeptia Connect public key.- Click > More tools > Developer tools.
- Click Security tab.
- Click View Certificate.
- On the Certificate window, on the Details tab, click Copy to File.
- Click Next to start exporting the certificate.
- Choose DER encoded binary X.509 (.CER) and click Next.
- Specify the location to save the exported file and click Next.
- Click Finish to export. A dialog box appears confirming the export process have been completed successfully.
- Click OK to exit from the wizard.
- Import Adeptia Suite and Adeptia Connect certificate into Adeptia Suite Truststore. Below are the steps to import Adeptia Suite certificate into Adeptia Suite truststore. Follow the same steps to import Adeptia Connect certificate into Adeptia Suite truststore.
- Open Command Prompt (press Win + R and type cmd).
- Go to the directory where JRE is installed (for example, C:/Program Files/Java/jre8/bin).
- Run the following Keytool command to import a certificate
keytool -import -trustcacerts -file <Path_of_SSL_Certificate> -alias <alias_name> -keystore <Path of Truststore file> -storepass changeit
where,
<Path_of_SSL_Certificate> is the path of Adeptia Suite or Adeptia Connect SSL certificate.
<Path of Truststore file> is the path of Adeptia Suite Truststore.
For example, keytool -import -trustcacerts -file C:/adeptia.cer -alias selfsign -keystore "C:/Program Files/AdeptiaSuite-6.9/AdeptiaServer/ServerKernel/etc/truststore/cacerts"
- Export Public Key
- Apply the Web Form patch by following the same steps applied in Adeptia Suite patch.
After applying the patch, create a new database with utf-8 character set. Depending on the database you are using, expand the database to find the query to create a new database.
- Go to .../<AdeptiaInstallFolder>/ServerKernel/etc folder.
- Open server-configure.properties file in the Text Editor.
In the Rich Forms group,Type https in the abpm.frevvo.httpScheme property to access Web Forms in a secure mode.
Skip this step if you are accessing Adeptia Suite through HTTP protocol.
- Type the URL of the server hosting Adeptia Suite in the <param-value> parameter of the frevvo.internal.baseurl property. The format of the URL is: <protocol_name>://<ipaddress>:<port_no>.
where,
<protocol_name> is the protocol you are using, for example, http or https.
<IPaddress> is the domain name or IP address of the server hosting Adeptia Suite.
<Port_No> is the port number of the server hosting Adeptia Suite. - Type the URL of the server hosting Tomcat in the <param-value> parameter of the frevvo.forms.server.external.url property. The format of the URL is: <protocol_name>://<ipaddress>:<port_no>.
In Frevvo Database Configuration subgroup, provide the details of the database you are using in the properties.
Property Name Description abpm.frevvo.db.driver Name of the Frevvo database driver URL.
MySQL: com.mysql.jdbc.Driver
SQL-Server: com.microsoft.sqlserver.jdbc.SQLServerDriver
Oracle: oracle.jdbc.OracleDriver
abpm.frevvo.db.url Name of the Frevvo database connection URL. The format of the URL for MySQL and SQL Server database is:
jdbc:<Database_Name>://<IPaddress_on_which_Database_is_installed>:<Database_Port_No>/<Database_Name_Created_in_Step3>
For example,
MySQL: jdbc:mysql://192.168.1.2:3306/frevvoDB
SQL-Server: jdbc:sqlserver://192.168.1.1:1433;databaseName=frevvo
The format of the URL for Oracle database is:
Oracle: jdbc:oracle:thin:@<IPaddress_on_which_Database_is_installed>:<Database_Port_No>:<Database_Name_Created_in_Step3>
for example, jdbc:oracle:thin:@192.168.1.3:1521:frevvodb
abpm.frevvo.db.username Database username you are using. In case you are using Oracle then type the user name that you have created in the database in Step 3. abpm.frevvo.db.password Password to access database. In case you are using Oracle then type the password that you have provided in the database in Step 3. abpm.frevvo.dbType Database you are using, for example, MySQL, SQL-Server, Oracle.
Save the file. - Go to the extracted Web Form patch folder.
- Open jetty.xml.
- Copy the highlighted code from the file.
- Open jetty.xml file in the Text Editor from the .../<AdeptiaInstallFolder>/ServerKernel/etc/jetty folder.
- Replace the copied code in the file.
- Save the file.
- Go to .../<AdeptiaInstallFolder>/ServerKernel/etc/jetty/contexts folder.
- Rename richForms.xml_disable file to richForms.xml.
- Restart Kernel and WebRunner. This will create Frevvo related tables in the newly created database.
Next Step