Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue while adding Module for Persistent HTTP Sessions: Google Cloud DataStore #11745

Closed
ashraftalib opened this issue May 3, 2024 · 20 comments
Labels
Bug For general bugs on Jetty side

Comments

@ashraftalib
Copy link

ashraftalib commented May 3, 2024

Jetty version(s)
Version 12.0.8
Jetty Environment
server,http,sessions,ee8-deploy,ee8-jsp,session-store-gcloud
Java version/vendor
Java 21
OS type/version
Linux
Description
When using dockerfile and enabling the persistance session there is an issue of
Can't load log handler "org.slf4j.bridge.SLF4JBridgeHandler"Can't load log handler "org.slf4j.bridge.SLF4JBridgeHandler"
and
java.lang.NoClassDefFoundError: com/google/cloud/datastore/StructuredQuery$Filter
2024-05-03 11:46:12 at org.eclipse.jetty.gcloud.session.GCloudSessionDataStoreFactory.getSessionDataStore(GCloudSessionDataStoreFactory.java:103)

How to reproduce?

I am using commands form the Dockerfile : https://github.com/jetty/jetty.docker/tree/master/eclipse-temurin/12.0/jdk21
Below is a snippet of my docker file

FROM eclipse-temurin:21-jdk

ENV JETTY_VERSION 12.0.8
ENV JETTY_HOME /usr/local/jetty
ENV JETTY_BASE /var/lib/jetty

WORKDIR $JETTY_BASE
COPY docker-entrypoint.sh generate-jetty-start.sh /
COPY ./sample.war $JETTY_BASE/webapps/root.war
COPY ./sample.properties $JETTY_BASE/webapps/root.properties
COPY ./ee8-deploy.ini $JETTY_BASE/start.d/ee8-deploy.ini
COPY ./ee8-jsp.ini $JETTY_BASE/start.d/ee8-jsp.ini
COPY ./session-store-gcloud.ini $JETTY_BASE/start.d/session-store-gcloud.ini
COPY ./index.yaml $JETTY_BASE/etc/sessions/gcloud/index.yaml

#USER jetty
EXPOSE 8080
ENTRYPOINT ["/docker-entrypoint.sh"]
CMD ["java","-jar","/usr/local/jetty/start.jar" , "--add-modules=server,http,sessions,ee8-deploy,ee8-jsp,session-store-gcloud", "--libs=${jetty.base}/lib/"]

Logs while enabling the modules are below
2024-05-03 11:41:45 /opt/java/openjdk/bin/java -Djava.io.tmpdir=/tmp/jetty -Djetty.home=/usr/local/jetty -Djetty.base=/var/lib/jetty -Djava.util.logging.config.file=/var/lib/jetty/resources/java-util-logging.properties -Djava.io.tmpdir=/tmp/jetty --class-path /var/lib/jetty/lib:/var/lib/jetty/resources:/usr/local/jetty/lib/logging/slf4j-api-2.0.12.jar:/usr/local/jetty/lib/logging/jetty-slf4j-impl-12.0.8.jar:/usr/local/jetty/lib/jetty-http-12.0.8.jar:/usr/local/jetty/lib/jetty-server-12.0.8.jar:/usr/local/jetty/lib/jetty-xml-12.0.8.jar:/usr/local/jetty/lib/jetty-util-12.0.8.jar:/usr/local/jetty/lib/jetty-io-12.0.8.jar:/usr/local/jetty/lib/jetty-deploy-12.0.8.jar:/usr/local/jetty/lib/jetty-session-12.0.8.jar:/usr/local/jetty/lib/jetty-security-12.0.8.jar:/usr/local/jetty/lib/jetty-plus-12.0.8.jar:/usr/local/jetty/lib/jetty-jndi-12.0.8.jar:/usr/local/jetty/lib/jetty-gcloud-session-manager-12.0.8.jar org.eclipse.jetty.xml.XmlConfiguration java.io.tmpdir=/tmp/jetty java.version=21.0.3 jetty.base=/var/lib/jetty jetty.base.uri=file:///var/lib/jetty jetty.home=/usr/local/jetty jetty.home.uri=file:///usr/local/jetty jetty.session.gcloud.backoffMs=1000 jetty.session.gcloud.maxRetries=5 jetty.session.gcloud.model.accessed=accessed jetty.session.gcloud.model.attributes=attributes jetty.session.gcloud.model.contextPath=contextPath jetty.session.gcloud.model.cookieSetTime=cookieSetTime jetty.session.gcloud.model.createTime=createTime jetty.session.gcloud.model.expiry=expiry jetty.session.gcloud.model.id=id jetty.session.gcloud.model.kind=GCloudSession jetty.session.gcloud.model.lastAccessed=lastAccessed jetty.session.gcloud.model.lastNode=lastNode jetty.session.gcloud.model.maxInactive=maxInactive jetty.session.gcloud.model.vhost=vhost jetty.session.gracePeriod.seconds=3600 jetty.session.savePeriod.seconds=0 jetty.webapp.addServerClasses=org.eclipse.jetty.logging.,file:///usr/local/jetty/lib/logging/,org.slf4j.,file:///var/lib/jetty/lib/gcloud/ runtime.feature.alpn=true slf4j.version=2.0.12 /usr/local/jetty/etc/jetty-bytebufferpool.xml /usr/local/jetty/etc/jetty-threadpool.xml /usr/local/jetty/etc/jetty.xml /usr/local/jetty/etc/jetty-deploy.xml /usr/local/jetty/etc/sessions/id-manager.xml /usr/local/jetty/etc/jetty-http.xml /usr/local/jetty/etc/sessions/gcloud/session-store.xml --env ee8 -cp /usr/local/jetty/lib/jetty-servlet-api-4.0.6.jar -cp /usr/local/jetty/lib/jetty-ee8-nested-12.0.8.jar -cp /usr/local/jetty/lib/jetty-ee8-servlet-12.0.8.jar -cp /usr/local/jetty/lib/jetty-ee8-security-12.0.8.jar -cp /usr/local/jetty/lib/jetty-ee8-webapp-12.0.8.jar -cp /usr/local/jetty/lib/jetty-ee8-plus-12.0.8.jar -cp /usr/local/jetty/lib/jakarta.transaction-api-1.3.3.jar -cp /usr/local/jetty/lib/jetty-ee8-annotations-12.0.8.jar -cp /usr/local/jetty/lib/ee8-annotations/asm-9.7.jar -cp /usr/local/jetty/lib/ee8-annotations/asm-analysis-9.7.jar -cp /usr/local/jetty/lib/ee8-annotations/asm-commons-9.7.jar -cp /usr/local/jetty/lib/ee8-annotations/asm-tree-9.7.jar -cp /usr/local/jetty/lib/ee8-annotations/jakarta.annotation-api-1.3.5.jar -cp /usr/local/jetty/lib/ee8-apache-jsp/org.eclipse.jdt.ecj-3.37.0.jar -cp /usr/local/jetty/lib/ee8-apache-jsp/org.mortbay.jasper.apache-el-9.0.83.1.jar -cp /usr/local/jetty/lib/ee8-apache-jsp/org.mortbay.jasper.apache-jsp-9.0.83.1.jar -cp /usr/local/jetty/lib/jetty-ee8-apache-jsp-12.0.8.jar contextHandlerClass=org.eclipse.jetty.ee8.webapp.WebAppContext eclipse.jdt.ecj.version=3.37.0 ee8.asm.version=9.7 ee8.jakarta.annotation.api.version=1.3.5 ee8.jsp.impl.version=9.0.83.1 jetty.deploy.monitoredDir=webapps /usr/local/jetty/etc/jetty-ee8-webapp.xml /usr/local/jetty/etc/jetty-ee8-deploy.xml
2024-05-03 11:41:45 INFO : server already enabled by [${jetty.base}/start.d/server.ini]
2024-05-03 11:41:45 INFO : http already enabled by [${jetty.base}/start.d/http.ini]
2024-05-03 11:41:45 INFO : ee8-deploy already enabled by [${jetty.base}/start.d/ee8-deploy.ini]
2024-05-03 11:41:45 INFO : ee8-jsp already enabled by [${jetty.base}/start.d/ee8-jsp.ini]
2024-05-03 11:41:45 INFO : session-store-gcloud already enabled by [${jetty.base}/start.d/session-store-gcloud.ini]
2024-05-03 11:41:45 INFO : sessions initialized in ${jetty.base}/start.d/sessions.ini
2024-05-03 11:41:45 INFO : mkdir ${jetty.base}/lib/logging
2024-05-03 11:41:45 INFO : download https://repo1.maven.org/maven2/org/slf4j/jcl-over-slf4j/2.0.12/jcl-over-slf4j-2.0.12.jar to ${jetty.base}/lib/logging/jcl-over-slf4j-2.0.12.jar
2024-05-03 11:41:48 INFO : download https://repo1.maven.org/maven2/org/slf4j/jul-to-slf4j/2.0.12/jul-to-slf4j-2.0.12.jar to ${jetty.base}/lib/logging/jul-to-slf4j-2.0.12.jar
2024-05-03 11:41:48 INFO : copy ${jetty.home}/modules/logging/jul/resources/java-util-logging-bridge.properties to ${jetty.base}/resources/java-util-logging.properties
2024-05-03 11:41:48 INFO : mkdir ${jetty.base}/lib/gcloud
2024-05-03 11:41:48 INFO : download https://repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-core/2.17.0/jackson-core-2.17.0.jar to ${jetty.base}/lib/gcloud/jackson-core-2.17.0.jar
2024-05-03 11:41:50 INFO : download https://repo1.maven.org/maven2/com/google/android/annotations/4.1.1.4/annotations-4.1.1.4.jar to ${jetty.base}/lib/gcloud/annotations-4.1.1.4.jar
2024-05-03 11:41:50 INFO : download https://repo1.maven.org/maven2/com/google/api-client/google-api-client/2.3.0/google-api-client-2.3.0.jar to ${jetty.base}/lib/gcloud/google-api-client-2.3.0.jar
2024-05-03 11:41:51 INFO : download https://repo1.maven.org/maven2/com/google/api/grpc/grpc-google-cloud-datastore-admin-v1/2.18.4/grpc-google-cloud-datastore-admin-v1-2.18.4.jar to ${jetty.base}/lib/gcloud/grpc-google-cloud-datastore-admin-v1-2.18.4.jar
2024-05-03 11:41:51 INFO : download https://repo1.maven.org/maven2/com/google/api/grpc/proto-google-cloud-datastore-admin-v1/2.18.4/proto-google-cloud-datastore-admin-v1-2.18.4.jar to ${jetty.base}/lib/gcloud/proto-google-cloud-datastore-admin-v1-2.18.4.jar
2024-05-03 11:41:51 INFO : download https://repo1.maven.org/maven2/com/google/api/grpc/proto-google-cloud-datastore-v1/0.109.4/proto-google-cloud-datastore-v1-0.109.4.jar to ${jetty.base}/lib/gcloud/proto-google-cloud-datastore-v1-0.109.4.jar
2024-05-03 11:41:52 INFO : download https://repo1.maven.org/maven2/com/google/api/grpc/proto-google-common-protos/2.34.0/proto-google-common-protos-2.34.0.jar to ${jetty.base}/lib/gcloud/proto-google-common-protos-2.34.0.jar
2024-05-03 11:41:59 INFO : download https://repo1.maven.org/maven2/com/google/api/grpc/proto-google-iam-v1/1.29.0/proto-google-iam-v1-1.29.0.jar to ${jetty.base}/lib/gcloud/proto-google-iam-v1-1.29.0.jar
2024-05-03 11:42:02 INFO : download https://repo1.maven.org/maven2/com/google/api/api-common/2.26.0/api-common-2.26.0.jar to ${jetty.base}/lib/gcloud/api-common-2.26.0.jar
2024-05-03 11:42:03 INFO : download https://repo1.maven.org/maven2/com/google/api/gax-grpc/2.43.0/gax-grpc-2.43.0.jar to ${jetty.base}/lib/gcloud/gax-grpc-2.43.0.jar
2024-05-03 11:42:07 INFO : download https://repo1.maven.org/maven2/com/google/api/gax-httpjson/2.43.0/gax-httpjson-2.43.0.jar to ${jetty.base}/lib/gcloud/gax-httpjson-2.43.0.jar
2024-05-03 11:42:13 INFO : download https://repo1.maven.org/maven2/com/google/api/gax/2.43.0/gax-2.43.0.jar to ${jetty.base}/lib/gcloud/gax-2.43.0.jar
2024-05-03 11:42:19 INFO : download https://repo1.maven.org/maven2/com/google/auth/google-auth-library-credentials/1.23.0/google-auth-library-credentials-1.23.0.jar to ${jetty.base}/lib/gcloud/google-auth-library-credentials-1.23.0.jar
2024-05-03 11:42:19 INFO : download https://repo1.maven.org/maven2/com/google/auth/google-auth-library-oauth2-http/1.23.0/google-auth-library-oauth2-http-1.23.0.jar to ${jetty.base}/lib/gcloud/google-auth-library-oauth2-http-1.23.0.jar
2024-05-03 11:42:23 INFO : download https://repo1.maven.org/maven2/com/google/auto/value/auto-value-annotations/1.10.4/auto-value-annotations-1.10.4.jar to ${jetty.base}/lib/gcloud/auto-value-annotations-1.10.4.jar
2024-05-03 11:42:23 INFO : download https://repo1.maven.org/maven2/com/google/cloud/datastore/datastore-v1-proto-client/2.18.4/datastore-v1-proto-client-2.18.4.jar to ${jetty.base}/lib/gcloud/datastore-v1-proto-client-2.18.4.jar
2024-05-03 11:42:24 INFO : download https://repo1.maven.org/maven2/com/google/cloud/google-cloud-core-http/2.33.0/google-cloud-core-http-2.33.0.jar to ${jetty.base}/lib/gcloud/google-cloud-core-http-2.33.0.jar
2024-05-03 11:42:25 INFO : download https://repo1.maven.org/maven2/com/google/cloud/google-cloud-core/2.33.0/google-cloud-core-2.33.0.jar to ${jetty.base}/lib/gcloud/google-cloud-core-2.33.0.jar
2024-05-03 11:42:26 INFO : download https://repo1.maven.org/maven2/com/google/cloud/google-cloud-datastore/2.18.4/google-cloud-datastore-2.18.4.jar to ${jetty.base}/lib/gcloud/google-cloud-datastore-2.18.4.jar
2024-05-03 11:42:28 INFO : download https://repo1.maven.org/maven2/com/google/code/findbugs/jsr305/3.0.2/jsr305-3.0.2.jar to ${jetty.base}/lib/gcloud/jsr305-3.0.2.jar
2024-05-03 11:42:28 INFO : download https://repo1.maven.org/maven2/com/google/code/gson/gson/2.10.1/gson-2.10.1.jar to ${jetty.base}/lib/gcloud/gson-2.10.1.jar
2024-05-03 11:42:30 INFO : download https://repo1.maven.org/maven2/com/google/errorprone/error_prone_annotations/2.26.1/error_prone_annotations-2.26.1.jar to ${jetty.base}/lib/gcloud/error_prone_annotations-2.26.1.jar
2024-05-03 11:42:30 INFO : download https://repo1.maven.org/maven2/com/google/guava/failureaccess/1.0.1/failureaccess-1.0.1.jar to ${jetty.base}/lib/gcloud/failureaccess-1.0.1.jar
2024-05-03 11:42:31 INFO : download https://repo1.maven.org/maven2/com/google/guava/guava/33.1.0-jre/guava-33.1.0-jre.jar to ${jetty.base}/lib/gcloud/guava-33.1.0-jre.jar
2024-05-03 11:43:20 INFO : download https://repo1.maven.org/maven2/com/google/guava/listenablefuture/9999.0-empty-to-avoid-conflict-with-guava/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar to ${jetty.base}/lib/gcloud/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar
2024-05-03 11:43:20 INFO : download https://repo1.maven.org/maven2/com/google/http-client/google-http-client-apache-v2/1.44.1/google-http-client-apache-v2-1.44.1.jar to ${jetty.base}/lib/gcloud/google-http-client-apache-v2-1.44.1.jar
2024-05-03 11:43:20 INFO : download https://repo1.maven.org/maven2/com/google/http-client/google-http-client-appengine/1.44.1/google-http-client-appengine-1.44.1.jar to ${jetty.base}/lib/gcloud/google-http-client-appengine-1.44.1.jar
2024-05-03 11:43:21 INFO : download https://repo1.maven.org/maven2/com/google/http-client/google-http-client-gson/1.44.1/google-http-client-gson-1.44.1.jar to ${jetty.base}/lib/gcloud/google-http-client-gson-1.44.1.jar
2024-05-03 11:43:21 INFO : download https://repo1.maven.org/maven2/com/google/http-client/google-http-client-jackson2/1.44.1/google-http-client-jackson2-1.44.1.jar to ${jetty.base}/lib/gcloud/google-http-client-jackson2-1.44.1.jar
2024-05-03 11:43:21 INFO : download https://repo1.maven.org/maven2/com/google/http-client/google-http-client-protobuf/1.44.1/google-http-client-protobuf-1.44.1.jar to ${jetty.base}/lib/gcloud/google-http-client-protobuf-1.44.1.jar
2024-05-03 11:43:21 INFO : download https://repo1.maven.org/maven2/com/google/http-client/google-http-client/1.44.1/google-http-client-1.44.1.jar to ${jetty.base}/lib/gcloud/google-http-client-1.44.1.jar
2024-05-03 11:43:22 INFO : download https://repo1.maven.org/maven2/com/google/j2objc/j2objc-annotations/2.8/j2objc-annotations-2.8.jar to ${jetty.base}/lib/gcloud/j2objc-annotations-2.8.jar
2024-05-03 11:43:22 INFO : download https://repo1.maven.org/maven2/com/google/oauth-client/google-oauth-client/1.35.0/google-oauth-client-1.35.0.jar to ${jetty.base}/lib/gcloud/google-oauth-client-1.35.0.jar
2024-05-03 11:43:23 INFO : download https://repo1.maven.org/maven2/com/google/protobuf/protobuf-java-util/3.25.2/protobuf-java-util-3.25.2.jar to ${jetty.base}/lib/gcloud/protobuf-java-util-3.25.2.jar
2024-05-03 11:43:23 INFO : download https://repo1.maven.org/maven2/com/google/protobuf/protobuf-java/3.25.2/protobuf-java-3.25.2.jar to ${jetty.base}/lib/gcloud/protobuf-java-3.25.2.jar
2024-05-03 11:43:37 INFO : download https://repo1.maven.org/maven2/com/google/re2j/re2j/1.7/re2j-1.7.jar to ${jetty.base}/lib/gcloud/re2j-1.7.jar
2024-05-03 11:43:38 INFO : download https://repo1.maven.org/maven2/commons-codec/commons-codec/1.16.1/commons-codec-1.16.1.jar to ${jetty.base}/lib/gcloud/commons-codec-1.16.1.jar
2024-05-03 11:43:42 INFO : download https://repo1.maven.org/maven2/io/grpc/grpc-alts/1.61.1/grpc-alts-1.61.1.jar to ${jetty.base}/lib/gcloud/grpc-alts-1.61.1.jar
2024-05-03 11:43:49 INFO : download https://repo1.maven.org/maven2/io/grpc/grpc-api/1.61.1/grpc-api-1.61.1.jar to ${jetty.base}/lib/gcloud/grpc-api-1.61.1.jar
2024-05-03 11:43:56 INFO : download https://repo1.maven.org/maven2/io/grpc/grpc-auth/1.61.1/grpc-auth-1.61.1.jar to ${jetty.base}/lib/gcloud/grpc-auth-1.61.1.jar
2024-05-03 11:43:56 INFO : download https://repo1.maven.org/maven2/io/grpc/grpc-context/1.61.1/grpc-context-1.61.1.jar to ${jetty.base}/lib/gcloud/grpc-context-1.61.1.jar
2024-05-03 11:43:56 INFO : download https://repo1.maven.org/maven2/io/grpc/grpc-core/1.62.2/grpc-core-1.62.2.jar to ${jetty.base}/lib/gcloud/grpc-core-1.62.2.jar
2024-05-03 11:44:10 INFO : download https://repo1.maven.org/maven2/io/grpc/grpc-googleapis/1.61.1/grpc-googleapis-1.61.1.jar to ${jetty.base}/lib/gcloud/grpc-googleapis-1.61.1.jar
2024-05-03 11:44:11 INFO : download https://repo1.maven.org/maven2/io/grpc/grpc-grpclb/1.61.1/grpc-grpclb-1.61.1.jar to ${jetty.base}/lib/gcloud/grpc-grpclb-1.61.1.jar
2024-05-03 11:44:15 INFO : download https://repo1.maven.org/maven2/io/grpc/grpc-inprocess/1.61.1/grpc-inprocess-1.61.1.jar to ${jetty.base}/lib/gcloud/grpc-inprocess-1.61.1.jar
2024-05-03 11:44:16 INFO : download https://repo1.maven.org/maven2/io/grpc/grpc-netty-shaded/1.61.1/grpc-netty-shaded-1.61.1.jar to ${jetty.base}/lib/gcloud/grpc-netty-shaded-1.61.1.jar
2024-05-03 11:45:38 INFO : download https://repo1.maven.org/maven2/io/grpc/grpc-protobuf-lite/1.61.1/grpc-protobuf-lite-1.61.1.jar to ${jetty.base}/lib/gcloud/grpc-protobuf-lite-1.61.1.jar
2024-05-03 11:45:39 INFO : download https://repo1.maven.org/maven2/io/grpc/grpc-protobuf/1.61.1/grpc-protobuf-1.61.1.jar to ${jetty.base}/lib/gcloud/grpc-protobuf-1.61.1.jar
2024-05-03 11:45:39 INFO : download https://repo1.maven.org/maven2/io/grpc/grpc-services/1.61.1/grpc-services-1.61.1.jar to ${jetty.base}/lib/gcloud/grpc-services-1.61.1.jar
2024-05-03 11:45:40 INFO : download https://repo1.maven.org/maven2/io/grpc/grpc-stub/1.61.1/grpc-stub-1.61.1.jar to ${jetty.base}/lib/gcloud/grpc-stub-1.61.1.jar
2024-05-03 11:45:40 INFO : download https://repo1.maven.org/maven2/io/grpc/grpc-util/1.61.1/grpc-util-1.61.1.jar to ${jetty.base}/lib/gcloud/grpc-util-1.61.1.jar
2024-05-03 11:45:40 INFO : download https://repo1.maven.org/maven2/io/grpc/grpc-xds/1.61.1/grpc-xds-1.61.1.jar to ${jetty.base}/lib/gcloud/grpc-xds-1.61.1.jar
2024-05-03 11:45:50 INFO : download https://repo1.maven.org/maven2/io/opencensus/opencensus-api/0.31.1/opencensus-api-0.31.1.jar to ${jetty.base}/lib/gcloud/opencensus-api-0.31.1.jar
2024-05-03 11:45:51 INFO : download https://repo1.maven.org/maven2/io/opencensus/opencensus-contrib-http-util/0.31.1/opencensus-contrib-http-util-0.31.1.jar to ${jetty.base}/lib/gcloud/opencensus-contrib-http-util-0.31.1.jar
2024-05-03 11:45:51 INFO : download https://repo1.maven.org/maven2/io/opencensus/opencensus-proto/0.2.0/opencensus-proto-0.2.0.jar to ${jetty.base}/lib/gcloud/opencensus-proto-0.2.0.jar
2024-05-03 11:45:52 INFO : download https://repo1.maven.org/maven2/io/perfmark/perfmark-api/0.27.0/perfmark-api-0.27.0.jar to ${jetty.base}/lib/gcloud/perfmark-api-0.27.0.jar
2024-05-03 11:45:52 INFO : download https://repo1.maven.org/maven2/org/apache/httpcomponents/httpclient/4.5.14/httpclient-4.5.14.jar to ${jetty.base}/lib/gcloud/httpclient-4.5.14.jar
2024-05-03 11:45:53 INFO : download https://repo1.maven.org/maven2/org/apache/httpcomponents/httpcore/4.4.16/httpcore-4.4.16.jar to ${jetty.base}/lib/gcloud/httpcore-4.4.16.jar
2024-05-03 11:45:53 INFO : download https://repo1.maven.org/maven2/org/checkerframework/checker-qual/3.42.0/checker-qual-3.42.0.jar to ${jetty.base}/lib/gcloud/checker-qual-3.42.0.jar
2024-05-03 11:45:53 INFO : download https://repo1.maven.org/maven2/org/codehaus/mojo/animal-sniffer-annotations/1.23/animal-sniffer-annotations-1.23.jar to ${jetty.base}/lib/gcloud/animal-sniffer-annotations-1.23.jar
2024-05-03 11:45:54 INFO : download https://repo1.maven.org/maven2/org/conscrypt/conscrypt-openjdk-uber/2.5.2/conscrypt-openjdk-uber-2.5.2.jar to ${jetty.base}/lib/gcloud/conscrypt-openjdk-uber-2.5.2.jar
2024-05-03 11:45:59 INFO : download https://repo1.maven.org/maven2/org/slf4j/slf4j-api/2.0.12/slf4j-api-2.0.12.jar to ${jetty.base}/lib/gcloud/slf4j-api-2.0.12.jar
2024-05-03 11:45:59 INFO : download https://repo1.maven.org/maven2/org/threeten/threetenbp/1.6.8/threetenbp-1.6.8.jar to ${jetty.base}/lib/gcloud/threetenbp-1.6.8.jar
2024-05-03 11:46:00 INFO : mkdir ${jetty.base}/etc
2024-05-03 11:46:00 INFO : copy ${jetty.home}/modules/gcloud/index.yaml to ${jetty.base}/etc/index.yaml
2024-05-03 11:46:00 INFO : Base directory was modified
2024-05-03 11:46:03 2024-05-03 06:16:03.297:INFO :oejs.Server:main: jetty-12.0.8; built: 2024-03-29T19:58:19.443Z; git: ffffdcc; jvm 21.0.3+9-LTS
2024-05-03 11:46:03 2024-05-03 06:16:03.388:INFO :oejdp.ScanningAppProvider:main: Deployment monitor ee8 in [file:///var/lib/jetty/webapps/] at intervals 0s
2024-05-03 11:46:03 2024-05-03 06:16:03.436:INFO :oejd.DeploymentManager:main: addApp: App@2f465398[ee8,null,/var/lib/jetty/webapps/root.war]
2024-05-03 11:46:08 Can't load log handler "org.slf4j.bridge.SLF4JBridgeHandler"
2024-05-03 11:46:08 java.lang.ClassNotFoundException: org.slf4j.bridge.SLF4JBridgeHandler

2024-05-03 11:46:08 java.lang.ClassNotFoundException: org.slf4j.bridge.SLF4JBridgeHandler
2024-05-03 11:46:08 at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
2024-05-03 11:46:08 at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
2024-05-03 11:46:08 at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526)
2024-05-03 11:46:08 at java.logging/java.util.logging.LogManager.createLoggerHandlers(LogManager.java:1005)
2024-05-03 11:46:08 at java.logging/java.util.logging.LogManager$4.run(LogManager.java:975)
2024-05-03 11:46:08 at java.logging/java.util.logging.LogManager$4.run(LogManager.java:971)
2024-05-03 11:46:08 at java.base/java.security.AccessController.doPrivileged(AccessController.java:319)
2024-05-03 11:46:08 at java.logging/java.util.logging.LogManager.loadLoggerHandlers(LogManager.java:971)
2024-05-03 11:46:08 at java.logging/java.util.logging.LogManager.initializeGlobalHandlers(LogManager.java:2422)
2024-05-03 11:46:08 at java.logging/java.util.logging.LogManager$RootLogger.accessCheckedHandlers(LogManager.java:2524)
2024-05-03 11:46:08 at java.logging/java.util.logging.Logger.log(Logger.java:979)
2024-05-03 11:46:08 at java.logging/java.util.logging.Logger.doLog(Logger.java:1010)
2024-05-03 11:46:08 at java.logging/java.util.logging.Logger.log(Logger.java:1096)
2024-05-03 11:46:08 at java.logging/sun.util.logging.internal.LoggingProviderImpl$JULWrapper.log(LoggingProviderImpl.java:274)
2024-05-03 11:46:08 at java.base/java.io.ObjectInputFilter$Config.traceFilter(ObjectInputFilter.java:709)
2024-05-03 11:46:08 at java.base/java.io.ObjectInputFilter$Config$Global.checkInput(ObjectInputFilter.java:1200)
2024-05-03 11:46:08 at java.naming/com.sun.naming.internal.ObjectFactoriesFilter.checkInput(ObjectFactoriesFilter.java:94)
2024-05-03 11:46:08 at java.naming/com.sun.naming.internal.ObjectFactoriesFilter.checkGlobalFilter(ObjectFactoriesFilter.java:60)
2024-05-03 11:46:08 at java.naming/com.sun.naming.internal.NamingManagerHelper.getObjectFactoryFromReference(NamingManagerHelper.java:192)
2024-05-03 11:46:08 at java.naming/com.sun.naming.internal.NamingManagerHelper.getObjectInstance(NamingManagerHelper.java:74)
2024-05-03 11:46:08 at java.naming/javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:213)
2024-05-03 11:46:08 at org.eclipse.jetty.jndi.NamingContext.lookup(NamingContext.java:470)
2024-05-03 11:46:08 at org.eclipse.jetty.jndi.NamingContext.lookup(NamingContext.java:500)
2024-05-03 11:46:08 at org.eclipse.jetty.jndi.java.javaRootURLContext.lookup(javaRootURLContext.java:96)
2024-05-03 11:46:08 at java.naming/javax.naming.InitialContext.lookup(InitialContext.java:409)
2024-05-03 11:46:08 at org.eclipse.jetty.ee8.plus.webapp.EnvConfiguration.createEnvContext(EnvConfiguration.java:209)
2024-05-03 11:46:08 at org.eclipse.jetty.ee8.plus.webapp.EnvConfiguration.preConfigure(EnvConfiguration.java:76)
2024-05-03 11:46:08 at org.eclipse.jetty.ee8.webapp.Configurations.preConfigure(Configurations.java:407)
2024-05-03 11:46:08 at org.eclipse.jetty.ee8.webapp.WebAppContext.preConfigure(WebAppContext.java:466)
2024-05-03 11:46:08 at org.eclipse.jetty.ee8.webapp.WebAppContext.doStart(WebAppContext.java:496)
2024-05-03 11:46:08 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)
2024-05-03 11:46:08 at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169)
2024-05-03 11:46:08 at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:113)
2024-05-03 11:46:08 at org.eclipse.jetty.server.Handler$Abstract.doStart(Handler.java:491)
2024-05-03 11:46:08 at org.eclipse.jetty.server.handler.ContextHandler.lambda$doStart$0(ContextHandler.java:725)
2024-05-03 11:46:08 at org.eclipse.jetty.server.handler.ContextHandler$ScopedContext.call(ContextHandler.java:1237)
2024-05-03 11:46:08 at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:725)
2024-05-03 11:46:08 at org.eclipse.jetty.ee8.nested.ContextHandler$CoreContextHandler.doStart(ContextHandler.java:2151)
2024-05-03 11:46:08 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)
2024-05-03 11:46:08 at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:40)
2024-05-03 11:46:08 at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:183)
2024-05-03 11:46:08 at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:522)
2024-05-03 11:46:08 at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:162)
2024-05-03 11:46:08 at org.eclipse.jetty.deploy.providers.ScanningAppProvider.pathAdded(ScanningAppProvider.java:293)
2024-05-03 11:46:08 at org.eclipse.jetty.deploy.providers.ContextProvider.pathAdded(ContextProvider.java:521)
2024-05-03 11:46:08 at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.pathAdded(ScanningAppProvider.java:69)
2024-05-03 11:46:08 at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:902)
2024-05-03 11:46:08 at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:868)
2024-05-03 11:46:08 at org.eclipse.jetty.util.Scanner.scan(Scanner.java:775)
2024-05-03 11:46:08 at org.eclipse.jetty.util.Scanner.startScanning(Scanner.java:664)
2024-05-03 11:46:08 at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:636)
2024-05-03 11:46:08 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)
2024-05-03 11:46:08 at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169)
2024-05-03 11:46:08 at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:120)
2024-05-03 11:46:08 at org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:264)
2024-05-03 11:46:08 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)
2024-05-03 11:46:08 at org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:592)
2024-05-03 11:46:08 at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:263)
2024-05-03 11:46:08 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)
2024-05-03 11:46:08 at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169)
2024-05-03 11:46:08 at org.eclipse.jetty.server.Server.start(Server.java:622)
2024-05-03 11:46:08 at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:120)
2024-05-03 11:46:08 at org.eclipse.jetty.server.Handler$Abstract.doStart(Handler.java:491)
2024-05-03 11:46:08 at org.eclipse.jetty.server.Server.doStart(Server.java:563)
2024-05-03 11:46:08 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)
2024-05-03 11:46:08 at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:2033)
2024-05-03 11:46:12 2024-05-03 06:16:12.882:WARN :oejew.WebAppContext:main: Failed startup of context oeje8w.WebAppContext@5b057c8c{root,/,file:///tmp/jetty-0_0_0_0-8080-root_war--any-7309200307834324766/webapp/,false}{/var/lib/jetty/webapps/root.war}
2024-05-03 11:46:12 java.lang.NoClassDefFoundError: com/google/cloud/datastore/StructuredQuery$Filter
2024-05-03 11:46:12 at org.eclipse.jetty.gcloud.session.GCloudSessionDataStoreFactory.getSessionDataStore(GCloudSessionDataStoreFactory.java:103)

2024-05-03 11:46:12 at org.eclipse.jetty.session.AbstractSessionManager.doStart(AbstractSessionManager.java:271)
2024-05-03 11:46:12 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)
2024-05-03 11:46:12 at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169)
2024-05-03 11:46:12 at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:120)
2024-05-03 11:46:12 at org.eclipse.jetty.ee8.nested.AbstractHandler.doStart(AbstractHandler.java:75)
2024-05-03 11:46:12 at org.eclipse.jetty.ee8.nested.ScopedHandler.doStart(ScopedHandler.java:105)
2024-05-03 11:46:12 at org.eclipse.jetty.ee8.nested.SessionHandler.doStart(SessionHandler.java:146)
2024-05-03 11:46:12 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)
2024-05-03 11:46:12 at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169)
2024-05-03 11:46:12 at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:113)
2024-05-03 11:46:12 at org.eclipse.jetty.ee8.nested.AbstractHandler.doStart(AbstractHandler.java:75)
2024-05-03 11:46:12 at org.eclipse.jetty.ee8.nested.ScopedHandler.doStart(ScopedHandler.java:105)
2024-05-03 11:46:12 at org.eclipse.jetty.ee8.nested.ContextHandler.startContext(ContextHandler.java:713)
2024-05-03 11:46:12 at org.eclipse.jetty.ee8.servlet.ServletContextHandler.startContext(ServletContextHandler.java:308)
2024-05-03 11:46:12 at org.eclipse.jetty.ee8.webapp.WebAppContext.startWebapp(WebAppContext.java:1174)
2024-05-03 11:46:12 at org.eclipse.jetty.ee8.webapp.WebAppContext.startContext(WebAppContext.java:1144)
2024-05-03 11:46:12 at org.eclipse.jetty.ee8.nested.ContextHandler.doStartInContext(ContextHandler.java:622)
2024-05-03 11:46:12 at org.eclipse.jetty.server.handler.ContextHandler$ScopedContext.call(ContextHandler.java:1231)
2024-05-03 11:46:12 at org.eclipse.jetty.ee8.nested.ContextHandler.doStart(ContextHandler.java:611)
2024-05-03 11:46:12 at org.eclipse.jetty.ee8.servlet.ServletContextHandler.doStart(ServletContextHandler.java:243)
2024-05-03 11:46:12 at org.eclipse.jetty.ee8.webapp.WebAppContext.doStart(WebAppContext.java:498)
2024-05-03 11:46:12 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)
2024-05-03 11:46:12 at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169)
2024-05-03 11:46:12 at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:113)
2024-05-03 11:46:12 at org.eclipse.jetty.server.Handler$Abstract.doStart(Handler.java:491)
2024-05-03 11:46:12 at org.eclipse.jetty.server.handler.ContextHandler.lambda$doStart$0(ContextHandler.java:725)
2024-05-03 11:46:12 at org.eclipse.jetty.server.handler.ContextHandler$ScopedContext.call(ContextHandler.java:1237)
2024-05-03 11:46:12 at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:725)
2024-05-03 11:46:12 at org.eclipse.jetty.ee8.nested.ContextHandler$CoreContextHandler.doStart(ContextHandler.java:2151)
2024-05-03 11:46:12 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)
2024-05-03 11:46:12 at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:40)
2024-05-03 11:46:12 at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:183)
2024-05-03 11:46:12 at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:522)
2024-05-03 11:46:12 at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:162)
2024-05-03 11:46:12 at org.eclipse.jetty.deploy.providers.ScanningAppProvider.pathAdded(ScanningAppProvider.java:293)
2024-05-03 11:46:12 at org.eclipse.jetty.deploy.providers.ContextProvider.pathAdded(ContextProvider.java:521)
2024-05-03 11:46:12 at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.pathAdded(ScanningAppProvider.java:69)
2024-05-03 11:46:12 at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:902)
2024-05-03 11:46:12 at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:868)
2024-05-03 11:46:12 at org.eclipse.jetty.util.Scanner.scan(Scanner.java:775)
2024-05-03 11:46:12 at org.eclipse.jetty.util.Scanner.startScanning(Scanner.java:664)
2024-05-03 11:46:12 at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:636)
2024-05-03 11:46:12 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)
2024-05-03 11:46:12 at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169)
2024-05-03 11:46:12 at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:120)
2024-05-03 11:46:12 at org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:264)
2024-05-03 11:46:12 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)
2024-05-03 11:46:12 at org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:592)
2024-05-03 11:46:12 at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:263)
2024-05-03 11:46:12 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)
2024-05-03 11:46:12 at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169)
2024-05-03 11:46:12 at org.eclipse.jetty.server.Server.start(Server.java:622)
2024-05-03 11:46:12 at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:120)
2024-05-03 11:46:12 at org.eclipse.jetty.server.Handler$Abstract.doStart(Handler.java:491)
2024-05-03 11:46:12 at org.eclipse.jetty.server.Server.doStart(Server.java:563)
2024-05-03 11:46:12 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)
2024-05-03 11:46:12 at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:2033)
2024-05-03 11:46:12 Caused by:
2024-05-03 11:46:12 java.lang.ClassNotFoundException: com.google.cloud.datastore.StructuredQuery$Filter
2024-05-03 11:46:12 at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
2024-05-03 11:46:12 at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
2024-05-03 11:46:12 at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526)
2024-05-03 11:46:12 at org.eclipse.jetty.gcloud.session.GCloudSessionDataStoreFactory.getSessionDataStore(GCloudSessionDataStoreFactory.java:103)
2024-05-03 11:46:12 at org.eclipse.jetty.session.AbstractSessionManager.doStart(AbstractSessionManager.java:271)
2024-05-03 11:46:12 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)
2024-05-03 11:46:12 at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169)
2024-05-03 11:46:12 at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:120)
2024-05-03 11:46:12 at org.eclipse.jetty.ee8.nested.AbstractHandler.doStart(AbstractHandler.java:75)
2024-05-03 11:46:12 at org.eclipse.jetty.ee8.nested.ScopedHandler.doStart(ScopedHandler.java:105)
2024-05-03 11:46:12 at org.eclipse.jetty.ee8.nested.SessionHandler.doStart(SessionHandler.java:146)
2024-05-03 11:46:12 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)
2024-05-03 11:46:12 at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169)
2024-05-03 11:46:12 at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:113)
2024-05-03 11:46:12 at org.eclipse.jetty.ee8.nested.AbstractHandler.doStart(AbstractHandler.java:75)
2024-05-03 11:46:12 at org.eclipse.jetty.ee8.nested.ScopedHandler.doStart(ScopedHandler.java:105)
2024-05-03 11:46:12 at org.eclipse.jetty.ee8.nested.ContextHandler.startContext(ContextHandler.java:713)
2024-05-03 11:46:12 at org.eclipse.jetty.ee8.servlet.ServletContextHandler.startContext(ServletContextHandler.java:308)
2024-05-03 11:46:12 at org.eclipse.jetty.ee8.webapp.WebAppContext.startWebapp(WebAppContext.java:1174)
2024-05-03 11:46:12 at org.eclipse.jetty.ee8.webapp.WebAppContext.startContext(WebAppContext.java:1144)
2024-05-03 11:46:12 at org.eclipse.jetty.ee8.nested.ContextHandler.doStartInContext(ContextHandler.java:622)
2024-05-03 11:46:12 at org.eclipse.jetty.server.handler.ContextHandler$ScopedContext.call(ContextHandler.java:1231)
2024-05-03 11:46:12 at org.eclipse.jetty.ee8.nested.ContextHandler.doStart(ContextHandler.java:611)
2024-05-03 11:46:12 at org.eclipse.jetty.ee8.servlet.ServletContextHandler.doStart(ServletContextHandler.java:243)
2024-05-03 11:46:12 at org.eclipse.jetty.ee8.webapp.WebAppContext.doStart(WebAppContext.java:498)
2024-05-03 11:46:12 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)
2024-05-03 11:46:12 at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169)
2024-05-03 11:46:12 at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:113)
2024-05-03 11:46:12 at org.eclipse.jetty.server.Handler$Abstract.doStart(Handler.java:491)
2024-05-03 11:46:12 at org.eclipse.jetty.server.handler.ContextHandler.lambda$doStart$0(ContextHandler.java:725)
2024-05-03 11:46:12 at org.eclipse.jetty.server.handler.ContextHandler$ScopedContext.call(ContextHandler.java:1237)
2024-05-03 11:46:12 at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:725)
2024-05-03 11:46:12 at org.eclipse.jetty.ee8.nested.ContextHandler$CoreContextHandler.doStart(ContextHandler.java:2151)
2024-05-03 11:46:12 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)
2024-05-03 11:46:12 at org.eclipse.jetty.deploy.bindings.StandardStarter.processBinding(StandardStarter.java:40)
2024-05-03 11:46:12 at org.eclipse.jetty.deploy.AppLifeCycle.runBindings(AppLifeCycle.java:183)
2024-05-03 11:46:12 at org.eclipse.jetty.deploy.DeploymentManager.requestAppGoal(DeploymentManager.java:522)
2024-05-03 11:46:12 at org.eclipse.jetty.deploy.DeploymentManager.addApp(DeploymentManager.java:162)
2024-05-03 11:46:12 at org.eclipse.jetty.deploy.providers.ScanningAppProvider.pathAdded(ScanningAppProvider.java:293)
2024-05-03 11:46:12 at org.eclipse.jetty.deploy.providers.ContextProvider.pathAdded(ContextProvider.java:521)
2024-05-03 11:46:12 at org.eclipse.jetty.deploy.providers.ScanningAppProvider$1.pathAdded(ScanningAppProvider.java:69)
2024-05-03 11:46:12 at org.eclipse.jetty.util.Scanner.reportAddition(Scanner.java:902)
2024-05-03 11:46:12 at org.eclipse.jetty.util.Scanner.reportDifferences(Scanner.java:868)
2024-05-03 11:46:12 at org.eclipse.jetty.util.Scanner.scan(Scanner.java:775)
2024-05-03 11:46:12 at org.eclipse.jetty.util.Scanner.startScanning(Scanner.java:664)
2024-05-03 11:46:12 at org.eclipse.jetty.util.Scanner.doStart(Scanner.java:636)
2024-05-03 11:46:12 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)
2024-05-03 11:46:12 at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169)
2024-05-03 11:46:12 at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:120)
2024-05-03 11:46:12 at org.eclipse.jetty.deploy.providers.ScanningAppProvider.doStart(ScanningAppProvider.java:264)
2024-05-03 11:46:12 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)
2024-05-03 11:46:12 at org.eclipse.jetty.deploy.DeploymentManager.startAppProvider(DeploymentManager.java:592)
2024-05-03 11:46:12 at org.eclipse.jetty.deploy.DeploymentManager.doStart(DeploymentManager.java:263)
2024-05-03 11:46:12 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)
2024-05-03 11:46:12 at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169)
2024-05-03 11:46:12 at org.eclipse.jetty.server.Server.start(Server.java:622)
2024-05-03 11:46:12 at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:120)
2024-05-03 11:46:12 at org.eclipse.jetty.server.Handler$Abstract.doStart(Handler.java:491)
2024-05-03 11:46:12 at org.eclipse.jetty.server.Server.doStart(Server.java:563)
2024-05-03 11:46:12 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:93)
2024-05-03 11:46:12 at org.eclipse.jetty.xml.XmlConfiguration.main(XmlConfiguration.java:2033)
2024-05-03 11:46:12 2024-05-03 06:16:12.900:INFO :oejsh.ContextHandler:main: Started oeje8n.ContextHandler$CoreContextHandler@71a9b4c7{root,/,b=file:///tmp/jetty-0_0_0_0-8080-root_war-
-any-7309200307834324766/webapp/,a=UNAVAILABLE,h=oeje8n.ContextHandler$CoreContextHandler$CoreToNestedHandler@4628b1d3{STARTED}}
2024-05-03 11:46:12 2024-05-03 06:16:12.906:INFO :oejs.DefaultSessionIdManager:main: Session workerName=node0
2024-05-03 11:46:13 2024-05-03 06:16:12.998:INFO :oejs.AbstractConnector:main: Started ServerConnector@2116cb93{HTTP/1.1, (http/1.1)}{0.0.0.0:8080}
2024-05-03 11:46:13 2024-05-03 06:16:13.108:INFO :oejs.Server:main: Started oejs.Server@34e9fd99{STARTING}[12.0.8,sto=5000] @12003ms

Can anyone help me ?
Why is this issue for "org.slf4j.bridge.SLF4JBridgeHandler" and datastore? Even all jars are already in
${jetty.base}/lib/logging/ and ${jetty.base}/lib/gcloud.

Thanks

@ashraftalib ashraftalib added the Bug For general bugs on Jetty side label May 3, 2024
@ashraftalib ashraftalib changed the title Issue while adding Modules for Persistent HTTP Sessions: Google Cloud DataStore Issue while adding Module for Persistent HTTP Sessions: Google Cloud DataStore May 3, 2024
@janbartel
Copy link
Contributor

janbartel commented May 3, 2024

My guess is it could have something to do with you copying over the .ini files in advance of enabling various modules. Trying this at the command line (outside of docker), and letting jetty create the .ini files, everything is working as expected.

@ashraftalib
Copy link
Author

ashraftalib commented May 3, 2024

@janbartel: Thanks for reply. Commands are working fine from outside of the Docker. I mean, when I am extracting the Jetty server in local machine by making a jetty-base directory and running the command here (In windows) as:
java -jar D:\jetty-home-12.0.8\start.jar --add-modules=server,http,sessions,ee8-deploy,ee8-jsp,session-store-gcloud
It is running without copying .ini files to Jetty-base and Module Sessions: Google Cloud DataStore is successfully running.
But I need these things inside my dockerfile. Is there any option to pass Jetty_arg or something else in advance of enabling these modules?

Thanks

@joakime
Copy link
Contributor

joakime commented May 3, 2024

@ashraftalib that doesn't allow the other things that --add-module=<name> performs, namely the various file initializations.

You can optionally, just create a new ${jetty.base}/start.d/myappname.ini (any name that doesn't conflict with an existing module name is good).
Put your specific configurations in that INI. (eg: jetty.http.port=8888)
Just avoid using --module=<name> entries in that INI.

@ashraftalib
Copy link
Author

ashraftalib commented May 3, 2024

@joakime thanks for your reply that will be easy to maintain all enabled modules by adding app's configuration into a single .INI file. But the issue is still by using Dockerfile as below:
Can't load log handler "org.slf4j.bridge.SLF4JBridgeHandler"
java.lang.ClassNotFoundException: org.slf4j.bridge.SLF4JBridgeHandler and
java.lang.NoClassDefFoundError: com/google/cloud/datastore/StructuredQuery$Filter .

Thanks

@joakime
Copy link
Contributor

joakime commented May 3, 2024

Can't load log handler "org.slf4j.bridge.SLF4JBridgeHandler"
java.lang.ClassNotFoundException: org.slf4j.bridge.SLF4JBridgeHandler and

This class is from the jul-to-slf4j artifact.
https://central.sonatype.com/artifact/org.slf4j/jul-to-slf4j/versions

You have something wanting to use that class, but it is not present in your classpath.

java.lang.NoClassDefFoundError: com/google/cloud/datastore/StructuredQuery$Filter .

That's from the google-cloud-datastore artifact.
https://central.sonatype.com/artifact/com.google.cloud/google-cloud-datastore/versions

Looks like your server dependencies are not setup properly.
Run --list-config on your docker jetty.base and look at the sever and/or ee8 classloader definitions.
I bet something is missing.
My guess is that you are still copying over INI with --module=<name> entries that haven't been setup properly via --add-module=<name> within that docker environment.

@ashraftalib
Copy link
Author

ashraftalib commented May 3, 2024

@joakime I am running with version 12.0.6 and output of the command: java -jar /usr/local/jetty/start.jar --list-config
is as below:

Jetty Version & Properties:

jetty.version = 12.0.6
jetty.tag.version = jetty-12.0.6
jetty.build = 78ab6e6
jetty.home = /usr/local/jetty
jetty.base = /var/lib/jetty

Config Search Order:

${jetty.base} -> /var/lib/jetty ${jetty.home} -> /usr/local/jetty

Forked JVM Arguments:

-Djava.util.logging.config.file=${jetty.base}/resources/java-util-logging.properties

System Properties:

(no system properties specified)

Properties: Jetty

java.version = 21.0.3
java.version.major = 21
java.version.micro = 3
java.version.minor = 0
java.version.platform = 21
jetty.base = /var/lib/jetty
jetty.base.uri = file:///var/lib/jetty
jetty.home = /usr/local/jetty
jetty.home.uri = file:///usr/local/jetty
jetty.webapp.addServerClasses = org.eclipse.jetty.logging.,${jetty.home.uri}/lib/logging/,org.slf4j.,${jetty.base.uri}/lib/gcloud/
runtime.feature.alpn = true
slf4j.version = 2.0.9

Classpath: Jetty

Version Information on 80 entries in the classpath.
Note: order presented here is how they would appear on the classpath.
changes to the --module=name command line options will be reflected here.
0: (dir) | ${jetty.base}/resources
1: 2.0.9 | ${jetty.home}/lib/logging/slf4j-api-2.0.9.jar
2: 12.0.6 | ${jetty.home}/lib/logging/jetty-slf4j-impl-12.0.6.jar
3: 12.0.6 | ${jetty.home}/lib/jetty-http-12.0.6.jar
4: 12.0.6 | ${jetty.home}/lib/jetty-server-12.0.6.jar
5: 12.0.6 | ${jetty.home}/lib/jetty-xml-12.0.6.jar
6: 12.0.6 | ${jetty.home}/lib/jetty-util-12.0.6.jar
7: 12.0.6 | ${jetty.home}/lib/jetty-io-12.0.6.jar
8: 12.0.6 | ${jetty.home}/lib/jetty-deploy-12.0.6.jar
9: 12.0.6 | ${jetty.home}/lib/jetty-session-12.0.6.jar
10: 12.0.6 | ${jetty.home}/lib/jetty-security-12.0.6.jar
11: 12.0.6 | ${jetty.home}/lib/jetty-plus-12.0.6.jar
12: 12.0.6 | ${jetty.home}/lib/jetty-jndi-12.0.6.jar
13: 1.23 | ${jetty.base}/lib/gcloud/animal-sniffer-annotations-1.23.jar
14: 4.1.1.4 | ${jetty.base}/lib/gcloud/annotations-4.1.1.4.jar
15: 2.21.0 | ${jetty.base}/lib/gcloud/api-common-2.21.0.jar
16: 1.10.4 | ${jetty.base}/lib/gcloud/auto-value-annotations-1.10.4.jar
17: 3.40.0 | ${jetty.base}/lib/gcloud/checker-qual-3.40.0.jar
18: 1.16.0 | ${jetty.base}/lib/gcloud/commons-codec-1.16.0.jar
19: 1.2 | ${jetty.base}/lib/gcloud/commons-logging-1.2.jar
20: 2.5.2 | ${jetty.base}/lib/gcloud/conscrypt-openjdk-uber-2.5.2.jar
21: 2.17.6 | ${jetty.base}/lib/gcloud/datastore-v1-proto-client-2.17.6.jar
22: 2.24.1 | ${jetty.base}/lib/gcloud/error_prone_annotations-2.24.1.jar
23: 1.0.1 | ${jetty.base}/lib/gcloud/failureaccess-1.0.1.jar
24: 2.38.0 | ${jetty.base}/lib/gcloud/gax-2.38.0.jar
25: 2.38.0 | ${jetty.base}/lib/gcloud/gax-grpc-2.38.0.jar
26: 2.38.0 | ${jetty.base}/lib/gcloud/gax-httpjson-2.38.0.jar
27: 2.2.0 | ${jetty.base}/lib/gcloud/google-api-client-2.2.0.jar
28: 1.20.0 | ${jetty.base}/lib/gcloud/google-auth-library-credentials-1.20.0.jar
29: 1.20.0 | ${jetty.base}/lib/gcloud/google-auth-library-oauth2-http-1.20.0.jar
30: 2.28.0 | ${jetty.base}/lib/gcloud/google-cloud-core-2.28.0.jar
31: 2.28.0 | ${jetty.base}/lib/gcloud/google-cloud-core-http-2.28.0.jar
32: 2.17.6 | ${jetty.base}/lib/gcloud/google-cloud-datastore-2.17.6.jar
33: 1.43.3 | ${jetty.base}/lib/gcloud/google-http-client-1.43.3.jar
34: 1.43.3 | ${jetty.base}/lib/gcloud/google-http-client-apache-v2-1.43.3.jar
35: 1.43.3 | ${jetty.base}/lib/gcloud/google-http-client-appengine-1.43.3.jar
36: 1.43.3 | ${jetty.base}/lib/gcloud/google-http-client-gson-1.43.3.jar
37: 1.43.3 | ${jetty.base}/lib/gcloud/google-http-client-jackson2-1.43.3.jar
38: 1.43.3 | ${jetty.base}/lib/gcloud/google-http-client-protobuf-1.43.3.jar
39: 1.34.1 | ${jetty.base}/lib/gcloud/google-oauth-client-1.34.1.jar
40: 1.59.1 | ${jetty.base}/lib/gcloud/grpc-alts-1.59.1.jar
41: 1.59.1 | ${jetty.base}/lib/gcloud/grpc-api-1.59.1.jar
42: 1.59.1 | ${jetty.base}/lib/gcloud/grpc-auth-1.59.1.jar
43: 1.59.1 | ${jetty.base}/lib/gcloud/grpc-context-1.59.1.jar
44: 1.60.1 | ${jetty.base}/lib/gcloud/grpc-core-1.60.1.jar
45: 1.59.1 | ${jetty.base}/lib/gcloud/grpc-googleapis-1.59.1.jar
46: 2.17.6 | ${jetty.base}/lib/gcloud/grpc-google-cloud-datastore-admin-v1-2.17.6.jar
47: 1.59.1 | ${jetty.base}/lib/gcloud/grpc-grpclb-1.59.1.jar
48: 1.59.1 | ${jetty.base}/lib/gcloud/grpc-inprocess-1.59.1.jar
49: 1.59.1 | ${jetty.base}/lib/gcloud/grpc-netty-shaded-1.59.1.jar
50: 1.59.1 | ${jetty.base}/lib/gcloud/grpc-protobuf-1.59.1.jar
51: 1.59.1 | ${jetty.base}/lib/gcloud/grpc-protobuf-lite-1.59.1.jar
52: 1.59.1 | ${jetty.base}/lib/gcloud/grpc-services-1.59.1.jar
53: 1.59.1 | ${jetty.base}/lib/gcloud/grpc-stub-1.59.1.jar
54: 1.59.1 | ${jetty.base}/lib/gcloud/grpc-util-1.59.1.jar
55: 1.59.1 | ${jetty.base}/lib/gcloud/grpc-xds-1.59.1.jar
56: 2.10.1 | ${jetty.base}/lib/gcloud/gson-2.10.1.jar
57: 33.0.0.jre | ${jetty.base}/lib/gcloud/guava-33.0.0-jre.jar
58: 4.5.14 | ${jetty.base}/lib/gcloud/httpclient-4.5.14.jar
59: 4.4.16 | ${jetty.base}/lib/gcloud/httpcore-4.4.16.jar
60: 2.8 | ${jetty.base}/lib/gcloud/j2objc-annotations-2.8.jar
61: 2.16.1 | ${jetty.base}/lib/gcloud/jackson-core-2.16.1.jar
62: 3.0.2 | ${jetty.base}/lib/gcloud/jsr305-3.0.2.jar
63: 9999.0-empty-to-avoid-conflict-with-guava | ${jetty.base}/lib/gcloud/listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar
64: 0.31.1 | ${jetty.base}/lib/gcloud/opencensus-api-0.31.1.jar
65: 0.31.1 | ${jetty.base}/lib/gcloud/opencensus-contrib-http-util-0.31.1.jar
66: 0.2.0 | ${jetty.base}/lib/gcloud/opencensus-proto-0.2.0.jar
67: 0.26.0 | ${jetty.base}/lib/gcloud/perfmark-api-0.26.0.jar
68: 3.25.1 | ${jetty.base}/lib/gcloud/protobuf-java-3.25.1.jar
69: 3.25.1 | ${jetty.base}/lib/gcloud/protobuf-java-util-3.25.1.jar
70: 2.17.6 | ${jetty.base}/lib/gcloud/proto-google-cloud-datastore-admin-v1-2.17.6.jar
71: 0.108.6 | ${jetty.base}/lib/gcloud/proto-google-cloud-datastore-v1-0.108.6.jar
72: 2.29.0 | ${jetty.base}/lib/gcloud/proto-google-common-protos-2.29.0.jar
73: 1.24.0 | ${jetty.base}/lib/gcloud/proto-google-iam-v1-1.24.0.jar
74: (none specified) | ${jetty.base}/lib/gcloud/re2j-1.7.jar
75: 2.0.9 | ${jetty.base}/lib/gcloud/slf4j-api-2.0.9.jar
76: 1.6.8 | ${jetty.base}/lib/gcloud/threetenbp-1.6.8.jar
77: 2.0.9 | ${jetty.base}/lib/logging/jcl-over-slf4j-2.0.9.jar
78: 2.0.9 | ${jetty.base}/lib/logging/jul-to-slf4j-2.0.9.jar
79: 12.0.6 | ${jetty.home}/lib/jetty-gcloud-session-manager-12.0.6.jar

Active XMLs: Jetty

${jetty.home}/etc/jetty-bytebufferpool.xml
${jetty.home}/etc/jetty-threadpool.xml
${jetty.home}/etc/jetty.xml
${jetty.home}/etc/jetty-deploy.xml
${jetty.home}/etc/sessions/id-manager.xml
${jetty.home}/etc/jetty-http.xml
${jetty.home}/etc/sessions/gcloud/session-store.xml

Properties: ee8

contextHandlerClass = org.eclipse.jetty.ee8.webapp.WebAppContext
eclipse.jdt.ecj.version = 3.33.0
ee8.asm.version = 9.6
ee8.jakarta.annotation.api.version = 1.3.5
ee8.jsp.impl.version = 9.0.83.1
jetty.deploy.monitoredDir = webapps

Classpath: ee8

Version Information on 17 entries in the classpath.
Note: order presented here is how they would appear on the classpath.
changes to the --module=name command line options will be reflected here.
0: 4.0.6 | ${jetty.home}/lib/jetty-servlet-api-4.0.6.jar
1: 12.0.6 | ${jetty.home}/lib/jetty-ee8-nested-12.0.6.jar
2: 12.0.6 | ${jetty.home}/lib/jetty-ee8-servlet-12.0.6.jar
3: 12.0.6 | ${jetty.home}/lib/jetty-ee8-security-12.0.6.jar
4: 12.0.6 | ${jetty.home}/lib/jetty-ee8-webapp-12.0.6.jar
5: 12.0.6 | ${jetty.home}/lib/jetty-ee8-plus-12.0.6.jar
6: 1.3.3 | ${jetty.home}/lib/jakarta.transaction-api-1.3.3.jar
7: 12.0.6 | ${jetty.home}/lib/jetty-ee8-annotations-12.0.6.jar
8: 9.6 | ${jetty.home}/lib/ee8-annotations/asm-9.6.jar
9: 9.6 | ${jetty.home}/lib/ee8-annotations/asm-analysis-9.6.jar
10: 9.6 | ${jetty.home}/lib/ee8-annotations/asm-commons-9.6.jar
11: 9.6 | ${jetty.home}/lib/ee8-annotations/asm-tree-9.6.jar
12: 1.3.5 | ${jetty.home}/lib/ee8-annotations/jakarta.annotation-api-1.3.5.jar
13: 3.33.0.v20230218-1114 | ${jetty.home}/lib/ee8-apache-jsp/org.eclipse.jdt.ecj-3.33.0.jar
14: 9.0.83 | ${jetty.home}/lib/ee8-apache-jsp/org.mortbay.jasper.apache-el-9.0.83.1.jar
15: 9.0.83 | ${jetty.home}/lib/ee8-apache-jsp/org.mortbay.jasper.apache-jsp-9.0.83.1.jar
16: 12.0.6 | ${jetty.home}/lib/jetty-ee8-apache-jsp-12.0.6.jar

Active XMLs: ee8

${jetty.home}/etc/jetty-ee8-webapp.xml
${jetty.home}/etc/jetty-ee8-deploy.xml

In the classpath jar files are existing but still the issue happening notfound.

Please have a look on the above output.

Thanks

@janbartel
Copy link
Contributor

@lachlan-roberts can you look at this one? I've tried copying over existing .ini files before executing the same command as the OP on the normal shell command line and it works as expected. Is there something in the docker integration that could be causing the problem?

@ashraftalib your docker instructions to add the extra modules don't conform to the jetty documentation here: https://github.com/docker-library/docs/tree/master/jetty

@lachlan-roberts
Copy link
Contributor

@janbartel looks like this is not even using our docker images. FROM eclipse-temurin:21-jdk means its directly extending the eclipse-temurin base image and not our one at jetty:12.0-jdk21-eclipse-temurin.

@ashraftalib in your Dockerfile please try with your --add-modules= line before you copy the ini files.

If that is not fixing it for you, can you verify the contents of $JETTY_BASE in your container to the one you have working outside of your docker container, and verify the contents of the .ini files etc.

@ashraftalib
Copy link
Author

@lachlan-roberts Thanks for Your reply. I used the --add-modules= before copying the ini file. Now I am able to process the
Persistent HTTP Sessions: Google Cloud DataStore module from my dockerfile.

Thanks All @joakime @janbartel @lachlan-roberts

@ashraftalib
Copy link
Author

ashraftalib commented May 10, 2024

@janbartel @lachlan-roberts @joakime

I am now able to use Module for Persistent HTTP Sessions: Google Cloud DataStore Successfully.

But when running it in AppEngine and checked the Datastore:GCloudSession entities are saved with the attributes as

Name/ID | accessed | attributes | contextPath | cookieSetTime | createTime | expiry | id | last Accessed | lastNode | lastSaved | maxInactive | vhost

All the above things are okay but in case of WorkerName, It is still coming as workerName=node0 and this node0 is coming in all below the three columns

Name/ID | id | lastNode

But I need workserName as combination of JETTY_WORKER_INSTANCE and GAE_MODULE_INSTANCE as environment variables like this an example: nodeaef-default-197-t837
From the documentation: https://eclipse.dev/jetty/documentation/jetty-12/operations-guide/index.html#og-session-base for App engine there is written as:
jetty.sessionIdManager.workerName

This uniquely identifies the jetty server instance and is applied to the SessionIdManager. You can either provide a value for this property, or you can allow Jetty to try and synthesize a workerName - the latter option is only advisable in the case of a single, non-clustered deployment. There are two ways a default workerName can be synthesized:

if running on Google AppEngine, the workerName will be formed by concatenating the values of the environment variables JETTY_WORKER_INSTANCE and GAE_MODULE_INSTANCE

otherwise, the workerName will be formed by concatenating the environment variable JETTY_WORKER_INSTANCE and the literal 0.

So, if you’re not running on Google AppEngine, and you haven’t configured one, the workerName will always be: node0.

But I have tried many times and deployed the app in App Engine in flex environment and it is still getting the workName as node0

Please can you help me what is the wrong with the configuration?

I am also attaching the console logs for App Engine as
logs_AppEnine_flex_custom_docker_Jetty

@ashraftalib ashraftalib reopened this May 10, 2024
@janbartel
Copy link
Contributor

@ashraftalib can you check if the GAE_MODULE_INSTANCE is set in your execution environment.

@ashraftalib
Copy link
Author

ashraftalib commented May 10, 2024

@janbartel I think it is not set but how to set GAE_MODULE_INSTANCE ? In documentation there is no way to set GAE_MODULE_INSTANCE in execution environment.

As I read and I thought it should be done automatically as documentation is saying as below same as it is getting the projectId of AppEngine automatically.

if running on Google AppEngine, the workerName will be formed by concatenating the values of the environment variables JETTY_WORKER_INSTANCE and GAE_MODULE_INSTANCE

Please let me how to set it in dockerfile ? Or any configuration for AppEngine

Thanks

@janbartel
Copy link
Contributor

@lachlan-roberts the GAE_MODULE_INSTANCE was being set automatically by google appengine as an environment variable. Is this no longer the case?

@lachlan-roberts
Copy link
Contributor

@janbartel This is GAE Flexible which I don't know that much about.

@ashraftalib have you tried setting the env-variables in app.yaml? or did you just try it from the Dockerfile?

@ashraftalib
Copy link
Author

ashraftalib commented May 13, 2024

@lachlan-roberts As I know, we cannot set env-variable: GAE_MODULE_INSTANCE in app.yaml means all the environment variables that are prefixed with GAE are reserved for system use ref:https://cloud.google.com/appengine/docs/flexible/reference/app-yaml?tab=java#using_your_environment_variables. And the instance which is created at App Engine is dynamic we cannot set a fixed value, I think env-variable: GAE_MODULE_INSTANCE is not found in AppEngineFlex.

@janbartel
Copy link
Contributor

This flex doc says what predefined env variables exist: https://cloud.google.com/appengine/docs/flexible/python/runtime#environment_variables. Maybe GAE_INSTANCE is GAE_MODULE_INSTANCE for flex?

@ashraftalib
Copy link
Author

ashraftalib commented May 13, 2024

@janbartel You are right. GAE_MODULE_INSTANCE is changed for GAE_INSTANCE. But for this, I have to upload the id-manager.xml file to $JETTY_HOME/etc/sessions/ with changing the name GAE_MODULE_INSTANCE to GAE_INSTANCE as: <Env name="GAE_INSTANCE">

Thanks for reply. Now it is working and I am getting the workerName as written in documentation.

I think there should be update the name GAE_MODULE_INSTANCE to GAE_INSTANCE in: https://eclipse.dev/jetty/documentation/jetty-12/operations-guide/index.html#og-session-base

@janbartel
Copy link
Contributor

@lachlan-roberts is it still GAE_MODULE_INSTANCE on app engine?

@lachlan-roberts
Copy link
Contributor

is it still GAE_MODULE_INSTANCE on app engine?

There is no reference to GAE_MODULE_INSTANCE in appengine-java-standard or the GoogleCloudPlatform/jetty-runtime.

lachlan-roberts added a commit that referenced this issue May 16, 2024
lachlan-roberts added a commit that referenced this issue May 16, 2024
janbartel pushed a commit that referenced this issue May 28, 2024
…ager.xml (#11797)

* Issue #11745 - fix the environment var for the GAE Instance in id-manager.xml

Signed-off-by: Lachlan Roberts <[email protected]>
@janbartel
Copy link
Contributor

Fixed via #11797

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For general bugs on Jetty side
Projects
No open projects
Status: ✅ Done
Development

No branches or pull requests

4 participants