Repository navigation
Description
Description
Our testing pipeline always includes printing plugin. Also local testing includes it.
This made us not notice that, after duplicates clean-up, the standard war (produced with build.sh lunched without any profile, or only with the binary one) produces a war that, deployed in tomcat (even in the binary produced in the same build) is not starting.
The main start issue is caused by the missing httpcore jar.
I noticed that removing from packageExclusions http core, the war starts.
How to reproduce
./build.sh -Pbinaryor./build.sh- run the binary (or deploy the war in a tomcat).
Expected Result
binary starts
Current Result
binary can not start
- Not browser related
Browser info
(use this site: https://www.whatsmybrowser.org/ for non expert users)| Browser Affected | Version |
|---|---|
| Internet Explorer | |
| Edge | |
| Chrome | |
| Firefox | |
| Safari |
Other useful information
Here the list of additional jars introduced by printing profile,
aircompressor-0.27.jar
apiguardian-api-1.1.1.jar
avalon-framework-api-4.3.1.jar
avalon-framework-impl-4.3.1.jar
batik-anim-1.7.jar
batik-awt-util-1.7.jar
batik-bridge-1.7.jar
batik-css-1.7.jar
batik-dom-1.7.jar
batik-ext-1.7.jar
batik-gvt-1.7.jar
batik-js-1.7.jar
batik-parser-1.7.jar
batik-script-1.7.jar
batik-svg-dom-1.7.jar
batik-svggen-1.7.jar
batik-transcoder-1.7.jar
batik-util-1.7.jar
batik-xml-1.7.jar
bigint-0.7.1.jar
commons-httpclient-3.1.jar
disruptor-1.2.15.jar
ejml-core-0.41.jar
ejml-ddense-0.41.jar
fontbox-2.0.26.jar
fop-0.94.jar
GeographicLib-Java-1.49.jar
gt-api-31.3.jar
gt-coverage-31.3.jar
gt-cql-31.3.jar
gt-epsg-hsql-31.3.jar
gt-http-31.3.jar
gt-main-31.3.jar
gt-metadata-31.3.jar
gt-referencing-31.3.jar
gt-render-31.3.jar
guava-15.0.jar
hsqldb-2.7.2.jar
httpcore-4.4.15.jar
imageio-ext-geocore-1.4.12.jar
imageio-ext-streams-1.4.12.jar
imageio-ext-tiff-1.4.12.jar
imageio-ext-utilities-1.4.12.jar
indriya-2.1.3.jar
jackson-dataformat-yaml-2.16.1.jar
jai_codec-1.1.3.jar
jai_core-1.1.3.jar
jai_imageio-1.1.jar
jakarta.annotation-api-1.3.4.jar
javax.inject-1.jar
jgridshift-core-1.3.jar
json-20230618.jar
jt-affine-1.1.25.jar
jt-algebra-1.1.25.jar
jt-bandcombine-1.1.25.jar
jt-bandmerge-1.1.25.jar
jt-bandselect-1.1.25.jar
jt-binarize-1.1.25.jar
jt-border-1.1.25.jar
jt-buffer-1.1.25.jar
jt-classifier-1.1.25.jar
jt-colorconvert-1.1.25.jar
jt-colorindexer-1.1.25.jar
jt-crop-1.1.25.jar
jt-errordiffusion-1.1.25.jar
jt-format-1.1.25.jar
jt-imagefunction-1.1.25.jar
jt-iterators-1.1.25.jar
jt-lookup-1.1.25.jar
jt-mosaic-1.1.25.jar
jt-nullop-1.1.25.jar
jt-orderdither-1.1.25.jar
jt-piecewise-1.1.25.jar
jt-rescale-1.1.25.jar
jt-rlookup-1.1.25.jar
jt-scale-1.1.25.jar
jt-scale2-1.1.25.jar
jts-core-1.19.0.jar
jt-shadedrelief-1.1.25.jar
jt-stats-1.1.25.jar
jt-translate-1.1.25.jar
jt-utilities-1.1.25.jar
jt-utils-1.6.0.jar
jt-vectorbin-1.1.25.jar
jt-warp-1.1.25.jar
jt-zonal-1.1.25.jar
jt-zonalstats-1.6.0.jar
mapstore-services-1.9-SNAPSHOT.jar
metrics-core-4.2.12.jar
metrics-healthchecks-4.2.12.jar
metrics-httpclient-4.2.12.jar
metrics-jmx-4.2.12.jar
metrics-json-4.2.12.jar
metrics-jvm-4.2.12.jar
metrics-log4j2-4.2.12.jar
metrics-servlet-4.2.12.jar
metrics-servlets-4.2.12.jar
net.opengis.ows-31.3.jar
openpdf-1.3.26.jar
org.eclipse.emf.common-2.15.0.jar
org.eclipse.emf.ecore-2.15.0.jar
org.eclipse.emf.ecore.xmi-2.15.0.jar
org.w3.xlink-31.3.jar
pdfbox-2.0.26.jar
pdfbox-debugger-2.0.26.jar
pdfbox-tools-2.0.26.jar
print-lib-2.3.1.jar
profiler-1.1.1.jar
re2j-1.6.jar
si-quantity-2.1.jar
si-units-2.1.jar
snakeyaml-2.2.jar
systems-common-2.1.jar
unit-api-2.1.2.jar
uom-lib-common-2.1.jar
xalan-2.7.0.jar
xercesImpl-2.7.1.jar
xml-apis-1.3.04.jar
xml-apis-ext-1.3.04.jar
xmlgraphics-commons-1.2.jar
There are still some duplicates in particular :
- @tdipisa provide the list
- common-pool
- common-lang(3) not a problem
- common-codec
- jsr305
Activity
offtherailz commentedon Jun 13, 2025
let's try to
offtherailz commentedon Jun 13, 2025
tests
Without printing (removing all
packageExclusionsasWEB-INF/lib/httpcore-4.4.13.jar:with printing
httpcore
Coming from print
from geostore
Exclusion of httpcore in
httpclientThis exclusion looks to be added to avoid duplication (same dependency as from geostore). Anyway it doesn't look to have any effect
in
(with
<httpclient.version>4.5.13</httpclient.version>)do not look to have any effect
here with printing
here without printing
Proposal
we can:
Tried to produce a exclusion that:
But obtained some issues. Maybe a backend resource is more appropriate for this task.
tdipisa commentedon Jun 13, 2025
@offtherailz thanks for taking a look at this but we definitely need a BE resource for addressing this issue. I don't want to include JARs duplications, of course. This is something @afabiani has to work on Monday. We will have then to definitely fix our pipelines to prevent this problems from happening again.
[#11205] MapStore war stand-alone not starting
[#11205] MapStore war stand-alone not starting
[#11205] MapStore war stand-alone not starting (#11207)
[Backport to 2025.01.xx][#11205] MapStore war stand-alone not starting (
Update to v2025.01.00 (#54)
Update to v2025.01.00 (#54)