Project

General

Profile

Actions

Bug #25735

closed

Start jetty script in debug mode

Added by Alexis Mousset about 2 months ago. Updated about 1 month ago.

Status:
Released
Priority:
N/A
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:
No

Description

this provides a whole lot of useful info.

root@nrm-vir-rudder-01:~# /opt/rudder/bin/rudder-jetty.sh -d  stop
Reading /etc/default/rudder-jetty..
/opt/rudder/jetty/etc/jetty.conf: (begin read) JETTY_ARGS.length=3
/opt/rudder/jetty/etc/jetty.conf: (finished read) JETTY_ARGS.length=4
WARNING: Disable console-capture module for best DEBUG results
IDs are uid=0(root) gid=0(root) groups=0(root)
JAVA                  =  /usr/lib/jvm/java-17-openjdk-amd64/bin/java
JAVA_OPTIONS          =  
-server
-Xms2048m -Xmx2048m
-XX:+UseG1GC
-XX:+UseStringDeduplication
-XX:+AlwaysPreTouch
-Xlog:gc=info,gc+cpu=info,gc+stringdedup=info:file=/var/log/rudder/webapp/jvm-gc.log:utctime,pid,level,tags:filecount=5,filesize=50M
-Dfile.encoding=UTF-8
-Drudder.configFile=/opt/rudder/etc/rudder-web.properties
-Drudder.authFile=/opt/rudder/etc/rudder-users.xml
-Dlogback.configurationFile=/opt/rudder/etc/logback.xml
-Drun.mode=production
-XX:+CrashOnOutOfMemoryError
JETTY_HOME            =  /opt/rudder/jetty
JETTY_BASE            =  /opt/rudder/etc/rudder-jetty-base
START_D               =  /opt/rudder/etc/rudder-jetty-base/start.d
START_INI             =  /opt/rudder/etc/rudder-jetty-base/start.ini
JETTY_START           =  /opt/rudder/jetty/start.jar
JETTY_CONF            =  /opt/rudder/jetty/etc/jetty.conf
JETTY_ARGS            =  OPTIONS=Server jetty.state=/opt/rudder/etc/rudder-jetty-base/rudder-jetty.state jetty.pid=/var/rudder/run/rudder-jetty.pid --module=pid,state
JETTY_RUN             =  /var/rudder/run
JETTY_PID             =  /var/rudder/run/rudder-jetty.pid
JETTY_START_LOG       =  /var/rudder/run/rudder-jetty-start.log
JETTY_STATE           =  /opt/rudder/etc/rudder-jetty-base/rudder-jetty.state
JETTY_START_TIMEOUT   =  360
JETTY_SYS_PROPS       =  
RUN_ARGS              =  -Djava.io.tmpdir=/tmp -Djetty.home=/opt/rudder/jetty -Djetty.base=/opt/rudder/etc/rudder-jetty-base -server -Xms2048m -Xmx2048m -XX:+UseG1GC -XX:+UseStringDeduplication -XX:+AlwaysPreTouch '-Xlog:gc=info,gc+cpu=info,gc+stringdedup=info:file=/var/log/rudder/webapp/jvm-gc.log:utctime,pid,level,tags:filecount=5,filesize=50M' -XX:+CrashOnOutOfMemoryError -Dfile.encoding=UTF-8 -Drun.mode=production -Drudder.configFile=/opt/rudder/etc/rudder-web.properties -Drudder.authFile=/opt/rudder/etc/rudder-users.xml -Dlogback.configurationFile=/opt/rudder/etc/logback.xml --class-path /opt/rudder/etc/rudder-jetty-base/resources:/opt/rudder/jetty/lib/logging/slf4j-api-2.0.5.jar:/opt/rudder/jetty/lib/logging/jetty-slf4j-impl-10.0.18.jar:/opt/rudder/jetty/lib/jetty-servlet-api-4.0.6.jar:/opt/rudder/jetty/lib/jetty-http-10.0.18.jar:/opt/rudder/jetty/lib/jetty-server-10.0.18.jar:/opt/rudder/jetty/lib/jetty-xml-10.0.18.jar:/opt/rudder/jetty/lib/jetty-util-10.0.18.jar:/opt/rudder/jetty/lib/jetty-io-10.0.18.jar:/opt/rudder/jetty/lib/jetty-security-10.0.18.jar:/opt/rudder/jetty/lib/jetty-servlet-10.0.18.jar:/opt/rudder/jetty/lib/jetty-webapp-10.0.18.jar:/opt/rudder/jetty/lib/jetty-deploy-10.0.18.jar:/opt/rudder/jetty/lib/setuid/jetty-setuid-java-1.0.4.jar org.eclipse.jetty.xml.XmlConfiguration file.encoding=UTF-8 java.version=17.0.13 jetty.base=/opt/rudder/etc/rudder-jetty-base jetty.base.uri=file:///opt/rudder/etc/rudder-jetty-base jetty.deploy.monitoredDir=/opt/rudder/share/webapps jetty.deploy.scanInterval=0 jetty.home=/opt/rudder/jetty jetty.home.uri=file:///opt/rudder/jetty jetty.http.host=127.0.0.1 jetty.http.port=8080 jetty.httpConfig.requestHeaderSize=8192 jetty.httpConfig.sendDateHeader=false jetty.httpConfig.sendServerVersion=false jetty.pid=/var/rudder/run/rudder-jetty.pid jetty.setuid.groupName=root jetty.setuid.startServerAsPrivileged=true jetty.setuid.umask=0007 jetty.setuid.userName=root jetty.state=/opt/rudder/etc/rudder-jetty-base/rudder-jetty.state jetty.webapp.addServerClasses=org.eclipse.jetty.logging.,file:///opt/rudder/jetty/lib/logging/,org.slf4j. logback.configurationFile=/opt/rudder/etc/logback.xml OPTIONS=Server rudder.authFile=/opt/rudder/etc/rudder-users.xml rudder.configFile=/opt/rudder/etc/rudder-web.properties run.mode=production runtime.feature.alpn=true slf4j.version=2.0.5 /opt/rudder/jetty/etc/jetty-bytebufferpool.xml /opt/rudder/etc/rudder-jetty-base/etc/console-capture.xml /opt/rudder/jetty/etc/jetty-pid.xml /opt/rudder/jetty/etc/jetty-threadpool.xml /opt/rudder/jetty/etc/jetty.xml /opt/rudder/jetty/etc/jetty-state.xml /opt/rudder/jetty/etc/jetty-webapp.xml /opt/rudder/jetty/etc/jetty-deploy.xml /opt/rudder/jetty/etc/jetty-http.xml /opt/rudder/jetty/etc/jetty-setuid.xml
ID                    =  uid=0(root) gid=0(root) groups=0(root)
JETTY_USER            =  
USE_START_STOP_DAEMON =  1
START_STOP_DAEMON     =  1
Stopping Jetty: Issuing HUP to 531854
Issuing KILL to 531854
OK
Actions #1

Updated by Alexis Mousset about 2 months ago

  • Status changed from New to In progress
  • Assignee set to Alexis Mousset
Actions #2

Updated by Alexis Mousset about 2 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Alexis Mousset to Félix DALLIDET
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/2919
Actions #3

Updated by Alexis Mousset about 2 months ago

  • Description updated (diff)
Actions #4

Updated by Alexis Mousset about 2 months ago

  • Status changed from Pending technical review to Pending release
Actions #5

Updated by Alexis Mousset about 2 months ago

  • Fix check changed from To do to Checked
Actions #6

Updated by Vincent MEMBRÉ about 1 month ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 8.1.8 and 8.2.1 which were released today.

Actions

Also available in: Atom PDF