Skip to content

Commit e8da8a7

Browse files
committed
Maybe --initialize-at-build-time should be removed after we've tracked
down after we've resolved classpath issues. The stdout prints of config are gone now, but this print remains: INFO org.apache.zookeeper.common.X509Util - Setting -D jdk.tls.rejectClientInitiatedRenegotiation=true to disable client-initiated TLS renegotiation
1 parent 9826bff commit e8da8a7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

native/zookeeper-server-start.Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ RUN native-image \
3838
--initialize-at-run-time=org.apache.zookeeper.server.persistence.FileTxnLog \
3939
--initialize-at-run-time=org.apache.zookeeper.server.persistence.TxnLogToolkit \
4040
--initialize-at-run-time=org.apache.zookeeper.server.persistence.FilePadding \
41+
# Can we instantiate at build time things that depend on config file contents?
42+
--initialize-at-run-time=org.apache.zookeeper.server.quorum.Leader \
43+
--initialize-at-run-time=org.apache.zookeeper.server.ZooKeeperServer \
4144
# Added because of io.netty.buffer.Unpooled.wrappedBuffer(byte[]), org.eclipse.jetty.servlet.ServletContextHandler.<init>(int)
4245
--allow-incomplete-classpath \
4346
# -D options from entrypoint

0 commit comments

Comments
 (0)