OpenHFT/Chronicle-Queue

Re-opening a chronicle queue results in exception

andrm opened this issue · 9 comments

andrm commented

[Posted originally on SO, but an editor demanded a working example. I tried to build CQ ea branch, but maven can't download the bom from teamcity]

I'm using ChronicleQueue.close() and a forced GarbageCollector run to make sure that old cq files are released by my process:

 var oldQueue = queue;
  this.queue = SingleChronicleQueueBuilder.binary(logDir)
            .rollCycle(RollCycles.DAILY)
            .build();
  // make sure all appenders are update
  logHandlerSet.forEach(logHandler -> logHandler.updateAppender(queue));
  oldQueue.close();
   ... after some delay ...
    LOGGER.debug("Running gc");
    System.gc();
    LOGGER.debug("gc done");

I do the same for the tailers. However, when the finalizer runs I get this exception:

Dec 27 03:31:11 r-114 r[3810067]: 03:31:11.992 [Finalizer] WARN  n.o.c.b.i.ChunkedMappedBytes [on:50] -
Dec 27 03:31:11 r-114 r[3810067]: net.openhft.chronicle.core.io.ClosedIllegalStateException: net.openhft.chronicle.bytes.internal.ChunkedMappedFile released
Dec 27 03:31:11 r-114 r[3810067]: #011at net.openhft.chronicle.core.io.VanillaReferenceCounted.newReleasedClosedIllegalStateException(VanillaReferenceCounted.java:249)
Dec 27 03:31:11 r-114 r[3810067]: #011at net.openhft.chronicle.core.io.VanillaReferenceCounted.release(VanillaReferenceCounted.java:142)
Dec 27 03:31:11 r-114 r[3810067]: #011at net.openhft.chronicle.core.io.AbstractReferenceCounted.release(AbstractReferenceCounted.java:195)
Dec 27 03:31:11 r-114 r[3810067]: #011at net.openhft.chronicle.core.io.AbstractCloseableReferenceCounted.release(AbstractCloseableReferenceCounted.java:97)
Dec 27 03:31:11 r-114 r[3810067]: #011at net.openhft.chronicle.bytes.internal.CommonMappedBytes.performRelease(CommonMappedBytes.java:232)
Dec 27 03:31:11 r-114 r[3810067]: #011at net.openhft.chronicle.core.io.AbstractReferenceCounted.inThreadPerformRelease(AbstractReferenceCounted.java:147)
Dec 27 03:31:11 r-114 r[3810067]: #011at net.openhft.chronicle.core.io.VanillaReferenceCounted.callOnRelease(VanillaReferenceCounted.java:160)
Dec 27 03:31:11 r-114 r[3810067]: #011at net.openhft.chronicle.core.io.VanillaReferenceCounted.release(VanillaReferenceCounted.java:148)
Dec 27 03:31:11 r-114 r[3810067]: #011at net.openhft.chronicle.core.io.AbstractReferenceCounted.release(AbstractReferenceCounted.java:195)
Dec 27 03:31:11 r-114 r[3810067]: #011at net.openhft.chronicle.bytes.internal.CommonMappedBytes.release(CommonMappedBytes.java:412)
Dec 27 03:31:11 r-114 r[3810067]: #011at net.openhft.chronicle.queue.impl.single.StoreTailer$StoreTailerContext.wire(StoreTailer.java:1454)
Dec 27 03:31:11 r-114 r[3810067]: #011at net.openhft.chronicle.queue.impl.single.StoreTailer.performClose(StoreTailer.java:156)
Dec 27 03:31:11 r-114 r[3810067]: #011at net.openhft.chronicle.core.io.AbstractCloseable.callPerformClose(AbstractCloseable.java:327)
Dec 27 03:31:11 r-114 r[3810067]: #011at net.openhft.chronicle.core.io.AbstractCloseable.close(AbstractCloseable.java:205)
Dec 27 03:31:11 r-114 r[3810067]: #011at net.openhft.chronicle.core.internal.CloseableUtils.closeQuietly(CloseableUtils.java:323)
Dec 27 03:31:11 r-114 r[3810067]: #011at net.openhft.chronicle.core.internal.CloseableUtils.closeQuietly(CloseableUtils.java:286)
Dec 27 03:31:11 r-114 r[3810067]: #011at net.openhft.chronicle.core.io.Closeable.closeQuietly(Closeable.java:73)
Dec 27 03:31:11 r-114 r[3810067]: #011at java.base/java.lang.Iterable.forEach(Iterable.java:75)
Dec 27 03:31:11 r-114 r[3810067]: #011at java.base/java.util.Collections$SetFromMap.forEach(Collections.java:5700)
Dec 27 03:31:11 r-114 r[3810067]: #011at net.openhft.chronicle.queue.impl.single.SingleChronicleQueue.performClose(SingleChronicleQueue.java:729)
Dec 27 03:31:11 r-114 r[3810067]: #011at net.openhft.chronicle.core.io.AbstractCloseable.callPerformClose(AbstractCloseable.java:327)
Dec 27 03:31:11 r-114 r[3810067]: #011at net.openhft.chronicle.core.io.AbstractCloseable.close(AbstractCloseable.java:205)
Dec 27 03:31:11 r-114 r[3810067]: #011at net.openhft.chronicle.core.io.AbstractCloseable.warnAndCloseIfNotClosed(AbstractCloseable.java:309)
Dec 27 03:31:11 r-114 r[3810067]: #011at net.openhft.chronicle.queue.impl.single.SingleChronicleQueue.finalize(SingleChronicleQueue.java:754)
Dec 27 03:31:11 r-114 r[3810067]: #011at java.base/java.lang.System$2.invokeFinalize(System.java:2297)
Dec 27 03:31:11 r-114 r[3810067]: #011at java.base/java.lang.ref.Finalizer.runFinalizer(Finalizer.java:88)
Dec 27 03:31:11 r-114 r[3810067]: #011at java.base/java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:173)

This happens hundreds of times, I had it with Chronicle Queue 5.23.37 and 5.25ea3. Is there anything I'm doing wrong? Is there a better way to release CQ files?

tgd commented

Hi @andrm thanks for raising this. In terms of shutdown sequence its important that all appender and tailer instances are closed before the queue itself is closed. Can you confirm that you are closing appenders/tailers prior to closing the queue?

andrm commented

No, I just re-acquired new appenders/tailers from the new queue. Let me check.

andrm commented

@tgd Thanks for the ultra quick reply by the way. Is there a way to access the chronicle nexus instance? I would like to write a unit test. I get this when loading the ea branch in intellij:

[WARNING] Failed to download maven-metadata-chronicle-enterprise-snapshots.xml [https://nexus.chronicle.software/content/repositories/snapshots/]
[WARNING] Failed to download maven-metadata-third-party-release.xml [https://nexus.chronicle.software/content/repositories/thirdparty/]
[WARNING] Failed to download maven-metadata-chronicle-enterprise-release.xml [https://nexus.chronicle.software/content/repositories/releases/]
[WARNING] Failed to download maven-metadata-reposilite-snapshots.xml [https://build.konsec.net/reposilite/snapshots/]
[WARNING] Could not transfer metadata net.openhft:chronicle-bom:2.25ea-SNAPSHOT/maven-metadata.xml from/to chronicle-enterprise-release (https://nexus.chronicle.software/content/repositories/releases): status code: 401, reason phrase: Unauthorized (401)
[WARNING] Could not transfer metadata net.openhft:chronicle-bom:2.25ea-SNAPSHOT/maven-metadata.xml from/to third-party-release (https://nexus.chronicle.software/content/repositories/thirdparty/): status code: 401, reason phrase: Unauthorized (401)
[WARNING] Could not transfer metadata net.openhft:chronicle-bom:2.25ea-SNAPSHOT/maven-metadata.xml from/to chronicle-enterprise-snapshots (https://nexus.chronicle.software/content/repositories/snapshots): status code: 401, reason phrase: Unauthorized (401)
[INFO] Inspecting build with total of 1 modules...
[INFO] Installing Nexus Staging features:
[INFO]   ... total of 1 executions of maven-deploy-plugin replaced with nexus-staging-maven-plugin
[WARNING] Failed to download compiler-2.25.0.pom [https://nexus.chronicle.software/content/repositories/releases/]
[WARNING] Failed to download compiler-2.25.0.pom [https://nexus.chronicle.software/content/repositories/thirdparty/]
[WARNING] Failed to download compiler-2.25.0.pom [https://nexus.chronicle.software/content/repositories/snapshots/]
[WARNING] Failed to download compiler-2.25.0.pom [https://oss.sonatype.org/content/repositories/snapshots/]
[WARNING] Failed to download compiler-2.25.0.pom [https://repo.maven.apache.org/maven2/]
Cannot resolve net.openhft:compiler:2.25.0

(I have a chronicle software dev support package.)

There was a release of ChronicleBOM which attempted to pull in the commercial compiler-2.25.0 , in the latest version of the chronicle BOM this has been replaced with reference to the opensouce version, please re-attempt using the latest version and this should work for you - sorry about that.

andrm commented

Thank you @RobAustin. It's still happening after deleting all the caches:

am@ro:~/git/Chronicle-Queue-5$ rm -rf ~/.m2/repository/net/openhft/
am@ro:~/git/Chronicle-Queue-5$ /opt/mvn/bin/mvn -U -P '!reposilite' compile
[INFO] Scanning for projects...
Downloading from third-party-release: https://nexus.chronicle.software/content/repositories/thirdparty/net/openhft/java-parent-pom/1.24.0/java-parent-pom-1.24.0.pom
Downloading from chronicle-enterprise-snapshots: https://nexus.chronicle.software/content/repositories/snapshots/net/openhft/java-parent-pom/1.24.0/java-parent-pom-1.24.0.pom
Downloading from chronicle-enterprise-release: https://nexus.chronicle.software/content/repositories/releases/net/openhft/java-parent-pom/1.24.0/java-parent-pom-1.24.0.pom
Downloading from reposilite-central: https://build.konsec.net/reposilite/libs-release/net/openhft/java-parent-pom/1.24.0/java-parent-pom-1.24.0.pom
Downloaded from reposilite-central: https://build.konsec.net/reposilite/libs-release/net/openhft/java-parent-pom/1.24.0/java-parent-pom-1.24.0.pom (6.7 kB at 98 kB/s)
Downloading from third-party-release: https://nexus.chronicle.software/content/repositories/thirdparty/net/openhft/root-parent-pom/1.24.0/root-parent-pom-1.24.0.pom
Downloading from chronicle-enterprise-snapshots: https://nexus.chronicle.software/content/repositories/snapshots/net/openhft/root-parent-pom/1.24.0/root-parent-pom-1.24.0.pom
Downloading from chronicle-enterprise-release: https://nexus.chronicle.software/content/repositories/releases/net/openhft/root-parent-pom/1.24.0/root-parent-pom-1.24.0.pom
Downloading from reposilite-central: https://build.konsec.net/reposilite/libs-release/net/openhft/root-parent-pom/1.24.0/root-parent-pom-1.24.0.pom
Downloaded from reposilite-central: https://build.konsec.net/reposilite/libs-release/net/openhft/root-parent-pom/1.24.0/root-parent-pom-1.24.0.pom (19 kB at 1.0 MB/s)
Downloading from third-party-release: https://nexus.chronicle.software/content/repositories/thirdparty/net/openhft/third-party-bom/3.24.0/third-party-bom-3.24.0.pom
Downloading from chronicle-enterprise-snapshots: https://nexus.chronicle.software/content/repositories/snapshots/net/openhft/third-party-bom/3.24.0/third-party-bom-3.24.0.pom
Downloading from chronicle-enterprise-release: https://nexus.chronicle.software/content/repositories/releases/net/openhft/third-party-bom/3.24.0/third-party-bom-3.24.0.pom
Downloading from Snapshot Repository: https://oss.sonatype.org/content/repositories/snapshots/net/openhft/third-party-bom/3.24.0/third-party-bom-3.24.0.pom
Downloading from central: https://repo.maven.apache.org/maven2/net/openhft/third-party-bom/3.24.0/third-party-bom-3.24.0.pom
Downloaded from central: https://repo.maven.apache.org/maven2/net/openhft/third-party-bom/3.24.0/third-party-bom-3.24.0.pom (25 kB at 284 kB/s)
Downloading from chronicle-enterprise-release: https://nexus.chronicle.software/content/repositories/releases/net/openhft/chronicle-bom/2.25ea-SNAPSHOT/maven-metadata.xml
Downloading from third-party-release: https://nexus.chronicle.software/content/repositories/thirdparty/net/openhft/chronicle-bom/2.25ea-SNAPSHOT/maven-metadata.xml
Downloading from chronicle-enterprise-snapshots: https://nexus.chronicle.software/content/repositories/snapshots/net/openhft/chronicle-bom/2.25ea-SNAPSHOT/maven-metadata.xml
Downloading from Snapshot Repository: https://oss.sonatype.org/content/repositories/snapshots/net/openhft/chronicle-bom/2.25ea-SNAPSHOT/maven-metadata.xml
Downloading from reposilite-snapshots: https://build.konsec.net/reposilite/snapshots/net/openhft/chronicle-bom/2.25ea-SNAPSHOT/maven-metadata.xml
Downloaded from Snapshot Repository: https://oss.sonatype.org/content/repositories/snapshots/net/openhft/chronicle-bom/2.25ea-SNAPSHOT/maven-metadata.xml (784 B at 7.4 kB/s)
[WARNING] Could not transfer metadata net.openhft:chronicle-bom:2.25ea-SNAPSHOT/maven-metadata.xml from/to third-party-release (https://nexus.chronicle.software/content/repositories/thirdparty/): status code: 401, reason phrase: Unauthorized (401)
[WARNING] Could not transfer metadata net.openhft:chronicle-bom:2.25ea-SNAPSHOT/maven-metadata.xml from/to chronicle-enterprise-snapshots (https://nexus.chronicle.software/content/repositories/snapshots): status code: 401, reason phrase: Unauthorized (401)
[WARNING] Could not transfer metadata net.openhft:chronicle-bom:2.25ea-SNAPSHOT/maven-metadata.xml from/to chronicle-enterprise-release (https://nexus.chronicle.software/content/repositories/releases): status code: 401, reason phrase: Unauthorized (401)
Downloading from Snapshot Repository: https://oss.sonatype.org/content/repositories/snapshots/net/openhft/chronicle-bom/2.25ea-SNAPSHOT/chronicle-bom-2.25ea-20231228.175250-49.pom
Downloaded from Snapshot Repository: https://oss.sonatype.org/content/repositories/snapshots/net/openhft/chronicle-bom/2.25ea-SNAPSHOT/chronicle-bom-2.25ea-20231228.175250-49.pom (31 kB at 147 kB/s)
[INFO] 
[INFO] --------------------< net.openhft:chronicle-queue >---------------------
[INFO] Building OpenHFT/Chronicle Queue 5.25ea4-SNAPSHOT
[INFO]   from pom.xml
[INFO] -------------------------------[ bundle ]-------------------------------
Downloading from third-party-release: https://nexus.chronicle.software/content/repositories/thirdparty/net/openhft/assertions-disabled/1.0.0/assertions-disabled-1.0.0.pom
Downloading from chronicle-enterprise-snapshots: https://nexus.chronicle.software/content/repositories/snapshots/net/openhft/assertions-disabled/1.0.0/assertions-disabled-1.0.0.pom
Downloading from chronicle-enterprise-release: https://nexus.chronicle.software/content/repositories/releases/net/openhft/assertions-disabled/1.0.0/assertions-disabled-1.0.0.pom
Downloading from Snapshot Repository: https://oss.sonatype.org/content/repositories/snapshots/net/openhft/assertions-disabled/1.0.0/assertions-disabled-1.0.0.pom
Downloading from central: https://repo.maven.apache.org/maven2/net/openhft/assertions-disabled/1.0.0/assertions-disabled-1.0.0.pom
Downloaded from central: https://repo.maven.apache.org/maven2/net/openhft/assertions-disabled/1.0.0/assertions-disabled-1.0.0.pom (1.9 kB at 83 kB/s)
Downloading from third-party-release: https://nexus.chronicle.software/content/repositories/thirdparty/net/openhft/java-parent-pom/1.1.29/java-parent-pom-1.1.29.pom
Downloading from chronicle-enterprise-snapshots: https://nexus.chronicle.software/content/repositories/snapshots/net/openhft/java-parent-pom/1.1.29/java-parent-pom-1.1.29.pom
Downloading from chronicle-enterprise-release: https://nexus.chronicle.software/content/repositories/releases/net/openhft/java-parent-pom/1.1.29/java-parent-pom-1.1.29.pom
Downloading from Snapshot Repository: https://oss.sonatype.org/content/repositories/snapshots/net/openhft/java-parent-pom/1.1.29/java-parent-pom-1.1.29.pom
Downloading from central: https://repo.maven.apache.org/maven2/net/openhft/java-parent-pom/1.1.29/java-parent-pom-1.1.29.pom
Downloaded from central: https://repo.maven.apache.org/maven2/net/openhft/java-parent-pom/1.1.29/java-parent-pom-1.1.29.pom (4.9 kB at 244 kB/s)
Downloading from third-party-release: https://nexus.chronicle.software/content/repositories/thirdparty/net/openhft/root-parent-pom/1.2.13/root-parent-pom-1.2.13.pom
Downloading from chronicle-enterprise-snapshots: https://nexus.chronicle.software/content/repositories/snapshots/net/openhft/root-parent-pom/1.2.13/root-parent-pom-1.2.13.pom
Downloading from chronicle-enterprise-release: https://nexus.chronicle.software/content/repositories/releases/net/openhft/root-parent-pom/1.2.13/root-parent-pom-1.2.13.pom
Downloading from Snapshot Repository: https://oss.sonatype.org/content/repositories/snapshots/net/openhft/root-parent-pom/1.2.13/root-parent-pom-1.2.13.pom
Downloading from central: https://repo.maven.apache.org/maven2/net/openhft/root-parent-pom/1.2.13/root-parent-pom-1.2.13.pom
Downloaded from central: https://repo.maven.apache.org/maven2/net/openhft/root-parent-pom/1.2.13/root-parent-pom-1.2.13.pom (17 kB at 1.0 MB/s)
Downloading from third-party-release: https://nexus.chronicle.software/content/repositories/thirdparty/net/openhft/chronicle-core/2.25ea2/chronicle-core-2.25ea2.pom
Downloading from chronicle-enterprise-snapshots: https://nexus.chronicle.software/content/repositories/snapshots/net/openhft/chronicle-core/2.25ea2/chronicle-core-2.25ea2.pom
Downloading from chronicle-enterprise-release: https://nexus.chronicle.software/content/repositories/releases/net/openhft/chronicle-core/2.25ea2/chronicle-core-2.25ea2.pom
Downloading from Snapshot Repository: https://oss.sonatype.org/content/repositories/snapshots/net/openhft/chronicle-core/2.25ea2/chronicle-core-2.25ea2.pom
Downloading from central: https://repo.maven.apache.org/maven2/net/openhft/chronicle-core/2.25ea2/chronicle-core-2.25ea2.pom
Downloaded from central: https://repo.maven.apache.org/maven2/net/openhft/chronicle-core/2.25ea2/chronicle-core-2.25ea2.pom (18 kB at 942 kB/s)
Downloading from third-party-release: https://nexus.chronicle.software/content/repositories/thirdparty/net/openhft/chronicle-bom/2.25ea4/chronicle-bom-2.25ea4.pom
Downloading from central: https://repo.maven.apache.org/maven2/net/openhft/chronicle-bom/2.25ea4/chronicle-bom-2.25ea4.pom
Downloaded from central: https://repo.maven.apache.org/maven2/net/openhft/chronicle-bom/2.25ea4/chronicle-bom-2.25ea4.pom (31 kB at 1.2 MB/s)
Downloading from third-party-release: https://nexus.chronicle.software/content/repositories/thirdparty/net/openhft/posix/2.25ea0/posix-2.25ea0.pom
Downloading from chronicle-enterprise-snapshots: https://nexus.chronicle.software/content/repositories/snapshots/net/openhft/posix/2.25ea0/posix-2.25ea0.pom
Downloading from chronicle-enterprise-release: https://nexus.chronicle.software/content/repositories/releases/net/openhft/posix/2.25ea0/posix-2.25ea0.pom
Downloading from Snapshot Repository: https://oss.sonatype.org/content/repositories/snapshots/net/openhft/posix/2.25ea0/posix-2.25ea0.pom
Downloading from central: https://repo.maven.apache.org/maven2/net/openhft/posix/2.25ea0/posix-2.25ea0.pom
Downloaded from central: https://repo.maven.apache.org/maven2/net/openhft/posix/2.25ea0/posix-2.25ea0.pom (4.9 kB at 379 kB/s)
Downloading from third-party-release: https://nexus.chronicle.software/content/repositories/thirdparty/net/openhft/chronicle-analytics/2.25ea0/chronicle-analytics-2.25ea0.pom
Downloading from chronicle-enterprise-snapshots: https://nexus.chronicle.software/content/repositories/snapshots/net/openhft/chronicle-analytics/2.25ea0/chronicle-analytics-2.25ea0.pom
Downloading from chronicle-enterprise-release: https://nexus.chronicle.software/content/repositories/releases/net/openhft/chronicle-analytics/2.25ea0/chronicle-analytics-2.25ea0.pom
Downloading from Snapshot Repository: https://oss.sonatype.org/content/repositories/snapshots/net/openhft/chronicle-analytics/2.25ea0/chronicle-analytics-2.25ea0.pom
Downloading from central: https://repo.maven.apache.org/maven2/net/openhft/chronicle-analytics/2.25ea0/chronicle-analytics-2.25ea0.pom
Downloaded from central: https://repo.maven.apache.org/maven2/net/openhft/chronicle-analytics/2.25ea0/chronicle-analytics-2.25ea0.pom (13 kB at 361 kB/s)
Downloading from third-party-release: https://nexus.chronicle.software/content/repositories/thirdparty/net/openhft/chronicle-bytes/2.25ea2/chronicle-bytes-2.25ea2.pom
Downloading from chronicle-enterprise-snapshots: https://nexus.chronicle.software/content/repositories/snapshots/net/openhft/chronicle-bytes/2.25ea2/chronicle-bytes-2.25ea2.pom
Downloading from chronicle-enterprise-release: https://nexus.chronicle.software/content/repositories/releases/net/openhft/chronicle-bytes/2.25ea2/chronicle-bytes-2.25ea2.pom
Downloading from Snapshot Repository: https://oss.sonatype.org/content/repositories/snapshots/net/openhft/chronicle-bytes/2.25ea2/chronicle-bytes-2.25ea2.pom
Downloading from central: https://repo.maven.apache.org/maven2/net/openhft/chronicle-bytes/2.25ea2/chronicle-bytes-2.25ea2.pom
Downloaded from central: https://repo.maven.apache.org/maven2/net/openhft/chronicle-bytes/2.25ea2/chronicle-bytes-2.25ea2.pom (25 kB at 1.1 MB/s)
Downloading from third-party-release: https://nexus.chronicle.software/content/repositories/thirdparty/net/openhft/chronicle-bom/2.25ea11/chronicle-bom-2.25ea11.pom
Downloading from central: https://repo.maven.apache.org/maven2/net/openhft/chronicle-bom/2.25ea11/chronicle-bom-2.25ea11.pom
Downloaded from central: https://repo.maven.apache.org/maven2/net/openhft/chronicle-bom/2.25ea11/chronicle-bom-2.25ea11.pom (31 kB at 1.1 MB/s)
Downloading from third-party-release: https://nexus.chronicle.software/content/repositories/thirdparty/net/openhft/chronicle-wire/2.25ea4/chronicle-wire-2.25ea4.pom
Downloading from chronicle-enterprise-snapshots: https://nexus.chronicle.software/content/repositories/snapshots/net/openhft/chronicle-wire/2.25ea4/chronicle-wire-2.25ea4.pom
Downloading from chronicle-enterprise-release: https://nexus.chronicle.software/content/repositories/releases/net/openhft/chronicle-wire/2.25ea4/chronicle-wire-2.25ea4.pom
Downloading from Snapshot Repository: https://oss.sonatype.org/content/repositories/snapshots/net/openhft/chronicle-wire/2.25ea4/chronicle-wire-2.25ea4.pom
Downloading from central: https://repo.maven.apache.org/maven2/net/openhft/chronicle-wire/2.25ea4/chronicle-wire-2.25ea4.pom
Downloaded from central: https://repo.maven.apache.org/maven2/net/openhft/chronicle-wire/2.25ea4/chronicle-wire-2.25ea4.pom (21 kB at 922 kB/s)
Downloading from third-party-release: https://nexus.chronicle.software/content/repositories/thirdparty/net/openhft/chronicle-bom/2.25ea8/chronicle-bom-2.25ea8.pom
Downloading from central: https://repo.maven.apache.org/maven2/net/openhft/chronicle-bom/2.25ea8/chronicle-bom-2.25ea8.pom
Downloaded from central: https://repo.maven.apache.org/maven2/net/openhft/chronicle-bom/2.25ea8/chronicle-bom-2.25ea8.pom (31 kB at 2.4 MB/s)
Downloading from third-party-release: https://nexus.chronicle.software/content/repositories/thirdparty/net/openhft/compiler/2.25.0/compiler-2.25.0.pom
Downloading from chronicle-enterprise-snapshots: https://nexus.chronicle.software/content/repositories/snapshots/net/openhft/compiler/2.25.0/compiler-2.25.0.pom
Downloading from chronicle-enterprise-release: https://nexus.chronicle.software/content/repositories/releases/net/openhft/compiler/2.25.0/compiler-2.25.0.pom
Downloading from Snapshot Repository: https://oss.sonatype.org/content/repositories/snapshots/net/openhft/compiler/2.25.0/compiler-2.25.0.pom
Downloading from central: https://repo.maven.apache.org/maven2/net/openhft/compiler/2.25.0/compiler-2.25.0.pom
Downloading from reposilite-central: https://build.konsec.net/reposilite/libs-release/net/openhft/compiler/2.25.0/compiler-2.25.0.pom
Downloading from reposilite-snapshots: https://build.konsec.net/reposilite/snapshots/net/openhft/compiler/2.25.0/compiler-2.25.0.pom
Downloading from third-party-release: https://nexus.chronicle.software/content/repositories/thirdparty/net/openhft/chronicle-threads/2.25ea1/chronicle-threads-2.25ea1.pom
Downloading from chronicle-enterprise-snapshots: https://nexus.chronicle.software/content/repositories/snapshots/net/openhft/chronicle-threads/2.25ea1/chronicle-threads-2.25ea1.pom
Downloading from chronicle-enterprise-release: https://nexus.chronicle.software/content/repositories/releases/net/openhft/chronicle-threads/2.25ea1/chronicle-threads-2.25ea1.pom
Downloading from Snapshot Repository: https://oss.sonatype.org/content/repositories/snapshots/net/openhft/chronicle-threads/2.25ea1/chronicle-threads-2.25ea1.pom
Downloading from central: https://repo.maven.apache.org/maven2/net/openhft/chronicle-threads/2.25ea1/chronicle-threads-2.25ea1.pom
Downloaded from central: https://repo.maven.apache.org/maven2/net/openhft/chronicle-threads/2.25ea1/chronicle-threads-2.25ea1.pom (11 kB at 604 kB/s)
Downloading from third-party-release: https://nexus.chronicle.software/content/repositories/thirdparty/net/openhft/chronicle-bom/2.25ea1/chronicle-bom-2.25ea1.pom
Downloading from central: https://repo.maven.apache.org/maven2/net/openhft/chronicle-bom/2.25ea1/chronicle-bom-2.25ea1.pom
Downloaded from central: https://repo.maven.apache.org/maven2/net/openhft/chronicle-bom/2.25ea1/chronicle-bom-2.25ea1.pom (31 kB at 1.6 MB/s)
Downloading from third-party-release: https://nexus.chronicle.software/content/repositories/thirdparty/net/openhft/affinity/3.23.3/affinity-3.23.3.pom
Downloading from chronicle-enterprise-snapshots: https://nexus.chronicle.software/content/repositories/snapshots/net/openhft/affinity/3.23.3/affinity-3.23.3.pom
Downloading from chronicle-enterprise-release: https://nexus.chronicle.software/content/repositories/releases/net/openhft/affinity/3.23.3/affinity-3.23.3.pom
Downloading from Snapshot Repository: https://oss.sonatype.org/content/repositories/snapshots/net/openhft/affinity/3.23.3/affinity-3.23.3.pom
Downloading from central: https://repo.maven.apache.org/maven2/net/openhft/affinity/3.23.3/affinity-3.23.3.pom
Downloaded from central: https://repo.maven.apache.org/maven2/net/openhft/affinity/3.23.3/affinity-3.23.3.pom (11 kB at 579 kB/s)
Downloading from third-party-release: https://nexus.chronicle.software/content/repositories/thirdparty/net/openhft/java-parent-pom/1.1.33/java-parent-pom-1.1.33.pom
Downloading from chronicle-enterprise-snapshots: https://nexus.chronicle.software/content/repositories/snapshots/net/openhft/java-parent-pom/1.1.33/java-parent-pom-1.1.33.pom
Downloading from chronicle-enterprise-release: https://nexus.chronicle.software/content/repositories/releases/net/openhft/java-parent-pom/1.1.33/java-parent-pom-1.1.33.pom
Downloading from Snapshot Repository: https://oss.sonatype.org/content/repositories/snapshots/net/openhft/java-parent-pom/1.1.33/java-parent-pom-1.1.33.pom
Downloading from central: https://repo.maven.apache.org/maven2/net/openhft/java-parent-pom/1.1.33/java-parent-pom-1.1.33.pom
Downloaded from central: https://repo.maven.apache.org/maven2/net/openhft/java-parent-pom/1.1.33/java-parent-pom-1.1.33.pom (4.9 kB at 272 kB/s)
Downloading from third-party-release: https://nexus.chronicle.software/content/repositories/thirdparty/net/openhft/root-parent-pom/1.2.21/root-parent-pom-1.2.21.pom
Downloading from chronicle-enterprise-snapshots: https://nexus.chronicle.software/content/repositories/snapshots/net/openhft/root-parent-pom/1.2.21/root-parent-pom-1.2.21.pom
Downloading from chronicle-enterprise-release: https://nexus.chronicle.software/content/repositories/releases/net/openhft/root-parent-pom/1.2.21/root-parent-pom-1.2.21.pom
Downloading from Snapshot Repository: https://oss.sonatype.org/content/repositories/snapshots/net/openhft/root-parent-pom/1.2.21/root-parent-pom-1.2.21.pom
Downloading from central: https://repo.maven.apache.org/maven2/net/openhft/root-parent-pom/1.2.21/root-parent-pom-1.2.21.pom
Downloaded from central: https://repo.maven.apache.org/maven2/net/openhft/root-parent-pom/1.2.21/root-parent-pom-1.2.21.pom (18 kB at 833 kB/s)
Downloading from third-party-release: https://nexus.chronicle.software/content/repositories/thirdparty/net/openhft/third-party-bom/3.22.4/third-party-bom-3.22.4.pom
Downloading from central: https://repo.maven.apache.org/maven2/net/openhft/third-party-bom/3.22.4/third-party-bom-3.22.4.pom
Downloaded from central: https://repo.maven.apache.org/maven2/net/openhft/third-party-bom/3.22.4/third-party-bom-3.22.4.pom (19 kB at 1.5 MB/s)
Downloading from third-party-release: https://nexus.chronicle.software/content/repositories/thirdparty/net/openhft/root-parent-pom/1.2.15/root-parent-pom-1.2.15.pom
Downloading from central: https://repo.maven.apache.org/maven2/net/openhft/root-parent-pom/1.2.15/root-parent-pom-1.2.15.pom
Downloaded from central: https://repo.maven.apache.org/maven2/net/openhft/root-parent-pom/1.2.15/root-parent-pom-1.2.15.pom (17 kB at 855 kB/s)
Downloading from third-party-release: https://nexus.chronicle.software/content/repositories/thirdparty/net/openhft/chronicle-bom/2.23.143/chronicle-bom-2.23.143.pom
Downloading from central: https://repo.maven.apache.org/maven2/net/openhft/chronicle-bom/2.23.143/chronicle-bom-2.23.143.pom
Downloaded from central: https://repo.maven.apache.org/maven2/net/openhft/chronicle-bom/2.23.143/chronicle-bom-2.23.143.pom (28 kB at 2.2 MB/s)
Downloading from third-party-release: https://nexus.chronicle.software/content/repositories/thirdparty/net/openhft/root-parent-pom/1.2.3/root-parent-pom-1.2.3.pom
Downloading from central: https://repo.maven.apache.org/maven2/net/openhft/root-parent-pom/1.2.3/root-parent-pom-1.2.3.pom
Downloaded from central: https://repo.maven.apache.org/maven2/net/openhft/root-parent-pom/1.2.3/root-parent-pom-1.2.3.pom (13 kB at 574 kB/s)
Downloading from third-party-release: https://nexus.chronicle.software/content/repositories/thirdparty/net/openhft/jlbh/1.25ea7/jlbh-1.25ea7.pom
Downloading from chronicle-enterprise-snapshots: https://nexus.chronicle.software/content/repositories/snapshots/net/openhft/jlbh/1.25ea7/jlbh-1.25ea7.pom
Downloading from chronicle-enterprise-release: https://nexus.chronicle.software/content/repositories/releases/net/openhft/jlbh/1.25ea7/jlbh-1.25ea7.pom
Downloading from Snapshot Repository: https://oss.sonatype.org/content/repositories/snapshots/net/openhft/jlbh/1.25ea7/jlbh-1.25ea7.pom
Downloading from central: https://repo.maven.apache.org/maven2/net/openhft/jlbh/1.25ea7/jlbh-1.25ea7.pom
Downloaded from central: https://repo.maven.apache.org/maven2/net/openhft/jlbh/1.25ea7/jlbh-1.25ea7.pom (6.1 kB at 361 kB/s)
Downloading from third-party-release: https://nexus.chronicle.software/content/repositories/thirdparty/net/openhft/chronicle-values/2.25ea2/chronicle-values-2.25ea2.pom
Downloading from chronicle-enterprise-snapshots: https://nexus.chronicle.software/content/repositories/snapshots/net/openhft/chronicle-values/2.25ea2/chronicle-values-2.25ea2.pom
Downloading from chronicle-enterprise-release: https://nexus.chronicle.software/content/repositories/releases/net/openhft/chronicle-values/2.25ea2/chronicle-values-2.25ea2.pom
Downloading from Snapshot Repository: https://oss.sonatype.org/content/repositories/snapshots/net/openhft/chronicle-values/2.25ea2/chronicle-values-2.25ea2.pom
Downloading from central: https://repo.maven.apache.org/maven2/net/openhft/chronicle-values/2.25ea2/chronicle-values-2.25ea2.pom
Downloaded from central: https://repo.maven.apache.org/maven2/net/openhft/chronicle-values/2.25ea2/chronicle-values-2.25ea2.pom (8.8 kB at 438 kB/s)
Downloading from central: https://repo.maven.apache.org/maven2/net/openhft/chronicle-bom/2.25ea5/chronicle-bom-2.25ea5.pom
Downloaded from central: https://repo.maven.apache.org/maven2/net/openhft/chronicle-bom/2.25ea5/chronicle-bom-2.25ea5.pom (31 kB at 2.4 MB/s)
Downloading from third-party-release: https://nexus.chronicle.software/content/repositories/thirdparty/net/openhft/chronicle-test-framework/2.25ea1/chronicle-test-framework-2.25ea1.pom
Downloading from chronicle-enterprise-snapshots: https://nexus.chronicle.software/content/repositories/snapshots/net/openhft/chronicle-test-framework/2.25ea1/chronicle-test-framework-2.25ea1.pom
Downloading from chronicle-enterprise-release: https://nexus.chronicle.software/content/repositories/releases/net/openhft/chronicle-test-framework/2.25ea1/chronicle-test-framework-2.25ea1.pom
Downloading from Snapshot Repository: https://oss.sonatype.org/content/repositories/snapshots/net/openhft/chronicle-test-framework/2.25ea1/chronicle-test-framework-2.25ea1.pom
Downloading from central: https://repo.maven.apache.org/maven2/net/openhft/chronicle-test-framework/2.25ea1/chronicle-test-framework-2.25ea1.pom
Downloaded from central: https://repo.maven.apache.org/maven2/net/openhft/chronicle-test-framework/2.25ea1/chronicle-test-framework-2.25ea1.pom (10 kB at 506 kB/s)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  8.028 s
[INFO] Finished at: 2023-12-29T08:53:02+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project chronicle-queue: Could not resolve dependencies for project net.openhft:chronicle-queue:bundle:5.25ea4-SNAPSHOT: Failed to collect dependencies at net.openhft:chronicle-wire:jar:2.25ea4 -> net.openhft:compiler:jar:2.25.0: Failed to read artifact descriptor for net.openhft:compiler:jar:2.25.0: The following artifacts could not be resolved: net.openhft:compiler:pom:2.25.0 (absent): Could not transfer artifact net.openhft:compiler:pom:2.25.0 from/to third-party-release (https://nexus.chronicle.software/content/repositories/thirdparty/): status code: 401, reason phrase: Unauthorized (401) -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
am@ro:~/git/Chronicle-Queue-5$ 

andrm commented

I think net.openhft:chronicle-wire:jar:2.25ea4 still pulls the wrong version.

please exclude

<dependency>
                <groupId>net.openhft</groupId>
                <artifactId>compiler</artifactId>
                <version>2.25.0</version>
 </dependency>

and instead use

<dependency>
    <groupId>net.openhft</groupId>
    <artifactId>compiler</artifactId>
    <version>2.25ea0</version>
</dependency>

( which is the open source version )

you do this by adding

<dependency>
    <groupId>net.openhft</groupId>
    <artifactId>compiler</artifactId>
    <version>2.25ea0</version>
</dependency>

to your project and removing the

  <groupId>net.openhft</groupId>
   <artifactId>compiler</artifactId>

from chronicle wire using an https://stackoverflow.com/questions/9119055/how-to-exclude-maven-dependencies

thanks for bring this to our attention, we are working on fixing it so you don't have to do this.

andrm commented

Thanks! Found my problem: I didn't close a tailer. After wrapping it in a try() the problem went away.

alamar commented

@andrm You can now switch to Chronicle BOM 2.25ea14 or Chronicle Queue 5.25ea5 and remove any version pinning for Compiler dependency.