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!

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...

Stay Connected: Your Guide to October Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...