Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct way to configure the TCK #220

Open
markt-asf opened this issue Sep 19, 2024 · 0 comments
Open

Correct way to configure the TCK #220

markt-asf opened this issue Sep 19, 2024 · 0 comments

Comments

@markt-asf
Copy link
Contributor

I have manged, barring some challenges, to get the TCK passing with Tomcat 11. However, that required various configuration steps that seem rather hacky. I suspect I am not quite doing things the right way. I'd like to understand the right way to do these things so I can submit a PR to add the necessary configuration to the TCK to run with Tomcat.

I added to tomcat-11 profile to tck/pom.xml. This appears to the the correct way to do things so I am not concerned about these.

The configuration changes I am concerned about are:

  • arquillian.xml. Placed in tck/common/src/main/resources, sets the user name and password required to deploy the test WARs to Tomcat. Also sets a number of system properties required by the tests.
  • tomcat-users.xml. Placed in tck/common/src/main/resources, used to configure the user required to deploy the test WARs to Tomcat. Also creates a user required by some tests.
  • ProviderConfiguration.xml. It was necessary to modify this file as the application context identifier needed to be changed to match the naming used by Tomcat.

Pointers to better/correct ways for each of the above welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant