opengeospatial / teamengine

TEAM Engine (Test, Evaluation, And Measurement Engine) is an engine for testing web services and other resources written in JAVA. It executes test scripts written in Compliance Test Language (CTL), TestNG and other languages. It is lightweight and easy to run as a command line or to setup as a service. It can be used to test any type of service or encoding. It is also the official tool used by the Open Geospatial Consortium (OGC) for compliance testing.
Apache License 2.0
45 stars 41 forks source link

Delete Session leads to DocumentBuilderFactoryImpl not found #498

Closed ghobona closed 2 years ago

ghobona commented 2 years ago

Describe the bug Clicking on Delete Session leads to org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found

To Reproduce Steps to reproduce the behavior:

  1. Run a session
  2. Click the Delete Session button
  3. The org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found Exception appears

Expected behavior No exception error should result from attempting to Delete a session

Screenshots

Screenshot 2022-02-21 at 09 10 56

ghobona commented 2 years ago

This might be related to https://github.com/opengeospatial/teamengine/issues/486

dstenger commented 2 years ago

The error is still occurring on http://cite.ogc.org/te2/ when validating https://maps.ecere.com/ogcapi with OGC API Features test suite. HTTP Status 500 - javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found

dstenger commented 2 years ago

When https://hub.docker.com/r/ogccite/teamengine-beta is started locally, the error is not reproducible.

dstenger commented 2 years ago

Also, I am not able to reproduce it on Beta anymore (workflow as described in https://github.com/opengeospatial/teamengine/issues/498#issuecomment-1055837266).

dstenger commented 2 years ago

This issues seems to be fixed by the recent Beta update.

dstenger commented 2 years ago

The error is temporarily occurring again. However, a restart of tomcat solved the problem. Still, the root cause must be fixed.