...
Excerpt | ||||
---|---|---|---|---|
LogfilesThe Database Connector uses SLF4J with logback, which is the same logging infrastructure used in . Log MDC entries for configuration path, the querySet name, the query name, correlation.id, tenant id, subject.id. These will be captured when processing client requests.
Exceptions are properly logged with their stacktraces. This makes it easier to diagnose errors, which sometimes are frevvo/DBConnector specific and sometimes database specific. All JDBC statements are logged in the DEBUG logging level. This includes the actual SQL statement used, the actual arguments, the number or rows returned and whether it was successful. There are different logfiles for the Standalone and tomcat bundle installations. Standalone mode
Tomcat bundleWhen debugging database queries refer to output error messages in <frevvo-home>\tomcat\logs\database-connector.YYYY-MM-DD.log Log levels are controlled by the To change the log level to DEBUG, add a property
|
Common Problems
|
Common Problems
Doc Post Failure
If the submission doesn't reach the Database Connector, all tenant administrators or flow admins (if configured) will receive a Doc Post Failure notification email reporting information about the error
Live Forms tomcat running on non-default port
If you have configured your tomcat in <frevvo-home>/tomcat/conf/server.xml to run on a port other than the default 8082, then you must set the port in the Url to the database connector to that different port number.
This will not work: http://localhost:8082/database/myStore/allOrders. Change 8082 to your tomcat port.
Your browser is not on the same machine as the database connector
If your web browser is not running on the machine where your database connector is installed then you cannot use "localhost" in the Url. You must replace this with the name or ipaddr of the machine running the database connector.
This will not work: http://localhost:8082/database/myStore/allOrders. Change "localhost" to the actual hostname or ipaddr.
The configuration.xml file is not found
...
If the Database Connector cannot find the configuration.xml file, an error message will be reported in the browser:
...
Code Block |
---|
<Parameter name="frevvo.connectors.database.configuration" value="c:\<frevvo-home>\frevvo\dbconfig\configuration.xml" override="false"/> |
The format of your test query URL is invalid
...
If you type an invalid URL into the browser when testing a query, you will see this message:
...