]
Ondrej Chaloupka updated JBTM-3301:
-----------------------------------
Git Pull Request:
Adjust the Narayana Tomcat quickstarts to use the JWS integration and
for working on JDK11
------------------------------------------------------------------------------------------
Key: JBTM-3301
URL:
https://issues.redhat.com/browse/JBTM-3301
Project: JBoss Transaction Manager
Issue Type: Bug
Components: Quickstarts
Affects Versions: 5.10.4.Final
Reporter: Ondrej Chaloupka
Assignee: Ondrej Chaloupka
Priority: Major
Current Tomcat related quickstarts in the Narayana quickstart repo
https://github.com/jbosstm/quickstart/tree/5.10.4.Final
First, use the old integration code of the Narayana-Tomcat from time the integration code
was part of the Narayana repo
(
https://github.com/jbosstm/narayana/tree/5.9.0.Final/tomcat)
But now it's separated under the standalone project here
https://github.com/web-servers/narayana-tomcat
There is a small trouble with this change as the code for JWS requires a newer version of
the Tomcat than it's used in the quickstart now. The Tomcate version update from
{{9.0.4}} to up-to-date version is needed as well.
The Tomcat quickstart does not start on JDK9+ as the newer JDK misses the JAX-B classes
directly in the JDK. The dependencies need to be provided as part of the {{war}} archive
(or provided to Tomcat classpath in other way).
A small trouble on the {{run.sh}} shell script used for quickstart execution is that if
{{TOMCAT_HOME}} is placed on a path with space in name it fails as the path is not
encapsulated with parentheses {{"}}.