Commit f63de99
Port springbootdemo to Apache Tomcat 11 and fix transport-h2 parameter parsing
Add springbootdemo-tomcat11: copy of the WildFly 32 JSON/Spring Boot demo
ported to Apache Tomcat 11.0.20, targeting Axis2 2.0.1-SNAPSHOT. Removes
WildFly-specific deployment descriptors (jboss-deployment-structure.xml,
jboss-web.xml), excludes DataSource/JPA auto-configuration (not needed —
demo DAO is in-memory), and documents Tomcat 11 HTTP/2 setup via
<UpgradeProtocol> in server.xml.
Also fix bugs found during Tomcat testing that affect both demos:
- H2TransportSender: all five getXxxParameter helpers called
param.toString() on the Parameter object, producing
"Parameter : name=value" instead of the value; fixed to call
param.getValue().toString()
- bigdata_h2_resources/services.xml: wrong message receiver class
(org.apache.axis2.json.JSONMessageReceiver, non-existent) and wrong
Spring object supplier package (org.apache.axis2.spring vs
org.apache.axis2.extensions.spring.receivers); both corrected
- BigDataH2Service.java: three lossy long-to-int conversions on
getDatasetSize() division result; added explicit (int) casts
- BigDataH2Client.java: HTTPConstants.TRANSPORT_NAME/HTTP_CLIENT_VERSION/
HTTP_CLIENT_5_X moved/renamed in 2.0; updated to string literal and
HTTPTransportConstants equivalents; import fixed from
transport.http to kernel.http
- ESAPI.properties: SafeString regex lacked underscore/hyphen; fixed
pattern to ^[\\.\\p{Alnum}\\p{Space}_\\-]{0,1024}$ (double-escaped
backslashes required for Java Properties parsing)
Add json-springboot-tomcat11-userguide.xml: site doc based on the WildFly
guide, documenting Tomcat 11 differences, HTTP/2 <UpgradeProtocol> config,
and correct cp -r deploy procedure for the exploded WAR directory.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 842f372 commit f63de99
File tree
43 files changed
+5669
-31
lines changed- modules
- samples/userguide/src/userguide
- springbootdemo-tomcat11
- resources-axis2
- bigdata_h2_resources
- conf
- login_resources
- test_service_resources
- src/main
- java/userguide/springboot
- client
- configuration
- hibernate/dao
- requestactivity
- security/webservices
- webservices
- secure
- resources
- springbootdemo
- resources-axis2/bigdata_h2_resources
- src/main
- java/userguide/springboot
- client
- webservices
- resources
- transport-h2/src/main/java/org/apache/axis2/transport/h2/impl/httpclient5
- src/site/xdoc/docs
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
43 files changed
+5669
-31
lines changedLines changed: 422 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 106 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
0 commit comments