AppD Archive

Viewer says no agent connected

CommunityUser
Splunk Employee
Splunk Employee

I have installed and started the viewer and installed the agent. I have added the line to my run.bat in jboss but the viewer still says "No Agent connected".

The trouble shooting guide says to see if the line has been added and to be sure I have restarted the application. I have restarted the application and the server with the same results.

Any ideas on what May not be right?

agent is installed in C:\adliteagent directory. Viewer is installed in C:\Viewer and is running in a dos prompt window. The line added to the Run.bat in jboss is as follows:

set JAVA_OPTS="%JAVA_OPTS% -javaagent:"C:\adliteagent\javaagent.jar"

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Hi Jimmy Lewis,

We moved your post to Lite for Java in discussions.

Please post to discussions instead of Community Feedback.

Thanks,

Community Admin

0 Karma

Arun_Dasetty
Super Champion

Hi Jimmy,

Thanks for the javaagent entry details. Seems the doc you have referred has doc bug which shows as :

set JAVA_OPTS="%JAVA_OPTS% -javaagent:"C:\adliteagent\javaagent.jar"

but it should be as follows:

set JAVA_OPTS=%JAVA_OPTS% -javaagent:"C:\adliteagent\javaagent.jar"

Please let us know how it goes after removing double quotes and restarting the jboss server.

Thanks,

Arun

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

edited the run.bat file to

set JAVA_OPTS=%JAVA_OPTS% -javaagent:"C:\adliteagent\javaagent.jar"

Viewer still reports  --  No agent connected

I have restarted the jboss service and the viewer.Still no connection to agent

ould this be the problem? The network address is all zeros.

2013-04-23 07:17:00.208::INFO:  Started SocketConnector @ 0.0.0.0:8990
Type 'shutdown' to shutdown the viewer process

0 Karma

Arun_Dasetty
Super Champion

Hi Jimmy,

Can you please try the following:
- restart the machine and lite viewer , jboss and refresh the lite viewer at http://<viewerhost>:8990/ in browser and check if the "no agents connected" message still exists

we suspect as jboss running as service might the javaagent entry changes might not have picked up

- if you still see the issue , please attach the following logs:
1) <Liteviewer-install>/logs

2) <lite-agent>/logs

3) jboss server console outout.log and javaagent entry used in jboss startup script

Thanks,

Arun

0 Karma
Get Updates on the Splunk Community!

September Community Champions: A Shoutout to Our Contributors!

As we close the books on another fantastic month, we want to take a moment to celebrate the people who are the ...

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...