Stopping the Java Agent for Interactive Analysis
The agent is started using Linux service manager, systemd
. It must be stopped for interactive analysis.
sudo systemctl start codelogic-java
sudo systemctl restart codelogic-java
sudo systemctl stop codelogic-java
Use the status command to verify that the agent is running.
systemctl status codelogic-java
$ systemctl status codelogic-java
● codelogic-java.service - CodeLogic <MadCap:variable name="ProductNames.Java" xmlns:MadCap="http://www.madcapsoftware.com/Schemas/MadCap.xsd" />
Loaded: loaded (/lib/systemd/system/codelogic-java.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2021-01-18 15:55:21 PST; 21h ago
Docs: http://www.codelogic.com
Main PID: 16252 (java)
Tasks: 20 (limit: 4624)
Memory: 173.0M
CGroup: /system.slice/codelogic-java.service
└─16252 /usr/bin/java -Dspring.config.location=/opt/codelogic/java/application.yml -Dspring…
Jan 19 13:40:57 myserver1 java[16252]: 2021-01-19 13:40:57.001INFO 16252 --- [scheduling-1] c.c.
Jan 19 13:40:57 myserver1 java[16252]: 2021-01-19 13:40:57.002WARN 16252 --- [scheduling-1] c.c.
Jan 19 13:40:58 myserver1 java[16252]: 2021-01-19 13:40:58.013INFO 16252 --- [scheduling-1] c.c.
Jan 19 13:40:58 myserver1 java[16252]: 2021-01-19 13:40:58.013INFO 16252 --- [scheduling-1] c.c.
Jan 19 13:40:58 myserver1 java[16252]: 2021-01-19 13:40:58.013INFO 16252 --- [scheduling-1] c.c.
Jan 19 13:40:58 myserver1 java[16252]: 2021-01-19 13:40:58.013WARN 16252 --- [scheduling-1] c.c.
Jan 19 13:40:59 myserver1 java[16252]: 2021-01-19 13:40:59.000INFO 16252 --- [scheduling-1] c.c.
Jan 19 13:40:59 myserver1 java[16252]: 2021-01-19 13:40:59.000INFO 16252 --- [scheduling-1] c.c.
Jan 19 13:40:59 myserver1 java[16252]: 2021-01-19 13:40:59.000INFO 16252 --- [scheduling-1] c.c.
Jan 19 13:40:59 myserver1 java[16252]: 2021-01-19 13:40:59.000WARN 16252 --- [scheduling-1] c.c.
Note
Authorization is required for the agent to send data to the CodeLogic Server.
$ systemctl status codelogic-java
● codelogic-java.service - CodeLogic <MadCap:variable name="ProductNames.Java" xmlns:MadCap="http://www.madcapsoftware.com/Schemas/MadCap.xsd" />
Loaded: loaded (/usr/lib/systemd/system/codelogic-java.service; enabled; vendor preset: disabled)
Active: active (running) since Sat 2021-06-05 12:16:13 PDT; 55min ago
Docs: http://www.codelogic.com
Main PID: 2710 (java)
Tasks: 24 (limit: 19158)
Memory: 212.6M
CPU: 6.562s
CGroup: /system.slice/codelogic-java.service
└─2710 /usr/bin/java -Dspring.config.location=/opt/codelogic/java/application.yml -Dspr…
…
Jun 05 12:16:14 fedora32server16gb java[2710]::: Spring Boot ::(v2.2.6.RELEASE)
Jun 05 12:16:17 fedora32server16gb java[2710]: 2021-06-05 12:16:17.611INFO 2710 --- [main] .a.j.c.i.RegistrationContextIntitializer : Registering agent: abd8a280…
Jun 05 12:16:17 fedora32server16gb java[2710]: 2021-06-05 12:16:17.726INFO 2710 --- [main] .a.j.c.i.RegistrationContextIntitializer : Agent: abd8a280-668e-40a0-b4c7-80d9da900d43 successfully registered.
Jun 05 12:16:17 fedora32server16gb java[2710]: 2021-06-05 12:16:17.727INFO 2710 --- [main] .a.j.c.i.RegistrationContextIntitializer : Waiting on agent authorization...