Skip to content

fix on stream close too early#55

Merged
menzowindhouwer merged 2 commits intoclarin-eric:masterfrom
CLARIAH:clarin_master
Apr 13, 2026
Merged

fix on stream close too early#55
menzowindhouwer merged 2 commits intoclarin-eric:masterfrom
CLARIAH:clarin_master

Conversation

@vicding-mi
Copy link
Copy Markdown
Contributor

@vicding-mi vicding-mi commented Apr 9, 2026

By reading from cached xml file instead of reading it from remote source each time, it saves time and eliminates the possibility of having remote source closed too early, which will result in an error and discontinue with the transformation.

The problem comes from the particular way of using docker to load the local jar to for testing. It loads old version of jar even built successfully using mvn and docker.

Both jdk 11 and 21 works well with the fix. This is tested with the official jdk 11 java base image and jdk 21 java based image (custom build with official java base).

Next step is to run the harvester container on an actual harvest config.

@vicding-mi vicding-mi marked this pull request as ready for review April 13, 2026 11:23
@menzowindhouwer menzowindhouwer merged commit a353877 into clarin-eric:master Apr 13, 2026
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants