AppD Archive

Appdynamics Lite support for Jboss Server in Domain mode with 2 instances of JBoss

CommunityUser
Splunk Employee
Splunk Employee

We have installed Appdyanmics Lite in JBoss-eap-6.0. by editing domian.conf.bat.  JBoss is running in Domain mode with two instance of Jboss.

In viewer we are seeing only one JVM and while putting load no Transaction is getting caputred.

I have read that AD-Lite can monitor only one JVM.

Does AD- Lite support Domain mode of server or we need to go with pro version?And if yes what all changes we need to do.

kindly help..

Regards

Anubhav

0 Karma

Arun_Dasetty
Super Champion

Hi,

Yes, your observation is right, if jboss server in domain is starting two instances of domain, One Lite viewer can only monitor one domain (JVM). But if you can configure -javaagent per domain in Jboss server and start each domain then you can start multiple lite viewers (each lite viewer in different port) and provide the liteviewer port in -Dappdynamics.viewer.port=<viewer-port> in -D jvm property in addition to -javaagent property while conifguring domain

say:
example1:
viewer startup script:
java -Dadlite.port=8990 -jar adlite-viewer.jar

agent entry in domain1 startup script:
shell> java -Dappdynamics.viewer.port=8990 -javaagent:<agent_dir>/javaagent.jar

example2:
viewer startup script:
java -Dadlite.port=8991 -jar adlite-viewer.jar
agent entry in domain2 startup script:
shell> java -Dappdynamics.viewer.port=8991 -javaagent:<agent_dir>/javaagent.jar

If the above scenario (configuring -javaagent for particular jboss domain) is not applicable to your environment then you need to go for AD Pro version: http://info.appdynamics.com/freetrial.html

Please let us know if that clarifies your query.

Thanks,

Arun

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

What do you mean by "starting two instances of domain"? Do you mean starting one domain with two app servers? In that case shouldn't we add the agent information to the host/jvm instead of domain script?

0 Karma

Arun_Dasetty
Super Champion

Hi ,

AD lite viewer supports can only monitor one JVM(one domain instance of jboss), i had earlier mentioned that you can have another liteviewer running in diffeerent port , so that you can provide second viewer port to monitor other domain instance as well.

Yes lite supports domain mode as well. But as i said one lite viewer can monitor one lite agent only.

We confirm you can go for AD pro in which multiple JVMs can be monitored by single controller.

regarding the other query "while putting load no Transaction is getting caputred.", can you send the agent logs , we would like to check what type of request (servlet , springs, etc) you are making , and the corersponding entry point is enabled in lite viewer -> configuration -> transaction detection or not

Thanks,

Arun

0 Karma
Get Updates on the Splunk Community!

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Your Voice Matters! Help Us Shape the New Splunk Lantern Experience

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Building Momentum: Splunk Developer Program at .conf25

At Splunk, developers are at the heart of innovation. That’s why this year at .conf25, we officially launched ...