16.7 Diagnosing WFS Issues
The WFS log files provide diagnostic information.
These log files are located inside the log
directory of the configuration folder. In the WFS Administration Console, you can use the Log tab for WFS to see and download the WFS log files.
This topic explains some types of log messages and how to deal with them.
“DataSource jdbc/wfs_admin_ds not found” — GetCapabilities response error message
The response may be similar to the following (reformatted for readability):
<?xml version='1.0' encoding='UTF-8'?> <ows:ExceptionReport xmlns:ows="http://www.opengis.net/ows/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/ows/2.0 http://schemas.opengis.net/ows/2.0/owsExceptionReport.xsd" version="2.0.1"> <ows:Exception exceptionCode="NoApplicableCode" locator="DataSource jdbc/wfs_admin_ds not found"/> </ows:ExceptionReport>
This means that a WFS data source is not configured or that WebLogic Server cannot connect to the database. See Data Source Setup for the WFS Engine for information about configuring WFS data sources.
Exceptions that indicate the WFS metadata is not populated properly
If you suspect that the WFS metadata may not be populated properly, then connected as a user with sufficient privileges, check that:
-
The feature type is published and appears in the MDSYS.WFS_FeatureType$ table. (This table is used by the WFS server.)
-
If custom SRS name prefixes are used, the MDSYS.WFS_Srs$ table is populated properly.
Newly published feature type(s) not appearing in any of the responses
If any published feature types are not appearing in any responses, ensure that you have used the SDO_WFS_PROCESS.InsertFtMDUpdated when you published a new feature type.
You can also use the SDO_WFS_PROCESS.Publish_FeatureTypes_In_Schema procedure to publish all the feature types in a WFS schema.
Parent topic: Web Feature Service (WFS) Support