Print Page   |   Contact Us   |   Sign In   |   Register


Join Vivit
Contact Vivit
Become a Leader
Become a Sponsor
Community Search
Calendar

9/28/2016
Vivit Minnesota ITSM Fall Chapter Event

9/28/2016
Become a Cloud Master with the HPE Helion Cloud Suite - Part 2

9/29/2016
Vivit Chicago Chapter Event

9/29/2016
How Secure Content Management Can Help Align Governance and Security

10/4/2016
PPM 9.40: How the New Features of HPE PPM can Help your PMO

LinkedInTwitterFacebookGoogle Plus

 
HPE Software Products: Diagnostics Software
Share |

HPE Diagnostics - Glassfish - FATAL ERROR in native method: processing of -javaagent failedOpen in a New Window

Hi there, I am having a hard time trying to find the solution to this problem in an environmnet composed of Glassfish 4.0 under Oracle Linux with JDK 1.8U91 and HPE Diangostics probe 9.26. I even tried this solution /t5/Diagnostics-Software/Java-Probe-with-Glassfish-3-1-2/m-p/5389181#M55 and it didn't work. it keeps showing up this message:

 

FATAL ERROR in native method: processing of -javaagent failed
Exception in thread "main" com.mercury.diagnostics.common.loader.LoaderNotInitializedException
at com.mercury.diagnostics.common.loader.ModuleLoaderSingletonFactory.getModuleLoader(ModuleLoaderSingletonFactory.java:67)
at com.mercury.opal.capture.JavaProbe.getLogFactory(JavaProbe.java:147)
at com.mercury.opal.capture.JavaProbe.getLog(JavaProbe.java:153)
at com.mercury.opal.capture.proxy.InstrumenterProxy.handleInstrumentationRequest(InstrumenterProxy.java:305)
at com.mercury.opal.capture.proxy.InstrumenterProxy.handleClassLoaderRequest(InstrumenterProxy.java:228)
at com.mercury.opal.capture.proxy.InstrumenterProxy.instrument(InstrumenterProxy.java:169)
at java.lang.ClassLoader.merc_defineClass1(ClassLoader.java)
at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:304)
at sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:401)

 

HP Diagnostics Java Agent and Probes on WebSphereOpen in a New Window

Hi-

I have a Host Server A, where I have App1, App2 App3 installed based on a webserver Websphere 8.5. I installed the Java agent on the Host Server A. Then I did the instrumentation from same path /opt/MercuryDiagnostics/JavaAgent/DiagnosticsAgent/bin using ./jreinstrumenter.sh -i /usr/ws/java/jre.


I used the generated path in the JVM Parameter in WebSphere as described in the guide.
-Xbootclasspath/p:/opt/MercuryDiagnostics/JavaAgent/DiagnosticsAgent/classes/IBM/1.6.0/instr.jre -javaagent:/opt/MercuryDiagnostics/JavaAgent/DiagnosticsAgent/lib/probeagent.jar -Xshareclasses:none

How do I identify each probe on Diagnostics server since all the apps are on the same Host server. And in case I need to skip one of the app how may I manage to skip it out from the JVM Parameter?

Thank you,

 

 

Problem while installing HP Diagnostics ServerOpen in a New Window

Hi all, 

I am trying to install HP Diagnostics Server. I've followed the installation step and finished the installatioin. But the server doesn't seem to run. I couldn't visit the 'localhost:2006' as said in the guide. When I look at 'netstat -aon' in the command line, the server listens on port 23472, but I still couldn't visit 'localhost:23472'. And I can't open the 'Administration' in 'HP Diagnostics Server' in the start menu, neither. Could someone help me to solve this problem, please? Thanks in advance. 

 

HP BSM for JMSOpen in a New Window

Hi, 

   I am new to HP BSM product. We wanted to monitor an Enterprise Service Bus that uses Java Messaging Service (JMS) on a clustered environment. Can you please help me which specific product of HP do we need for this type of interface?

Thanks a lot in advance.

Kind Regards,

Charmine

 

Diagnostics .GET( ) .POST( )Open in a New Window

Good afternoon.

 

We started using Diagnostics some days ago. Now that there is more data collected, we noticed that the calls with the biggest latency are a .GET( ) method and a .POST ( ). Even if we drill down on these calls there seems to be no specific information of this methods. Could this be because we have not installed an agent on the side of the DB?

 

Thank you!

 

REPORTOpen in a New Window

How to generate a report from diagnostics for a particular probe group with all its probes,alerts configured on it ,threshold on it and what is being monitored by it ?

As I am not able to find out how to generate a report from it and it can't be done manually,so there must some way to do this,so please help me with that.

 

thank you.........

 

alertsOpen in a New Window

i want to know that how can I FIND A SPECIFIC ALERT IN HPD?

 

Diagnostic server 9.24 GOpen in a New Window

Hi All,

I have intergrated Diagnostic 9.24 with BSM 9.25 and i have checked the intergration is ok.

But i am not getting events from Diagnostic from last 5 days.

Can anyone suggest me solution on this issue.

 

Regards

PL

 

 

 

 

Diagnostics Agent 9.24 OutOfMemoryOpen in a New Window

Diag Agent v9.23 on LINUX.  Have a few probes logging OutOfMemory in probe.log.   Are there any other factors to consider other than increasing -mx allocation?

 

2016-05-22 03:19:59,292 INFO capture [main] java argument = -Xms512m
2016-05-22 03:19:59,292 INFO capture [main] java argument = -Xmx1024m
2016-05-22 03:19:59,292 INFO capture [main] java argument = -XX:MaxPermSize=256m

 

2016-05-22 05:15:15,352 SEVERE class com.mercury.diagnostics.capture.correlation.CorrelationSink [Buffer flushing thread] java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
        at com.mercury.opal.capture.util.sql.SortOfStringBuffer.ensureCapacity(FasterSqlKey.java:251)

 

 

Installation of Java Agent in Linux FailOpen in a New Window

Hello,

I just try to install Java Agent in a Red Hat Enterprise Linux 6.0 (64 bits) Server but I couldn't.  The installation cut to the second that I execute it.

I attach the evidence. Thanks for your help.

Note: The server has JDK 1.7.0. I used root user

 

HP Diagnostics & PostgresOpen in a New Window

Hello,

We have a HP diangostics 9.26 and HP Diagnostics 9.24 instances running.

How can be monitori a Postgres DB with it ?

Thanks for the information.

Franky 

 

Help with using the API calls from diagnosticsOpen in a New Window

Hi

I am able to build my Query up and if I am logged into diagnostics and I open a new tab and run the query it works and comes back with the desired results

however the moment I close Diagnostics connections in my browser and try posting the query again it fails ,

this I understand will happen as there is nowhere in the query that allows fro user name and password to be forwared to the diagnostic server

http://Commander.Company .corp:2006/query/?granularity=%5Bname%3D%275m%27%5D&action=summary&response_format=html&path=%2Fgroupby%5Bname%3D%27Default+Client%27%5D%2Findex%5Bequals%28name%2C%27apps%27%29%5D%2Fapp%5Bequals%28uid%2C%27CP2oyg6jS2a_EtWX9zmKOA%27%29%5D%2Fapp_metrics.

i have hunted high and low for a document that expains how to embed a user name and password call into the request.

The BSM API has this documented  and we use this quite a bit ,but low and behold the same mecahanisum does not seem to work on Diagnostics

Just before you ask why I would want to do this , it makes it easier to give a group of people a dash board to look at with figures in it  rather than trying to teach them what all the wiggles and squigles mean .

I have allready tried using user.Password @ server .company ,com method , IE throws out a security warning

 

 

 

JavaProbes are Not Listed in Controller Machine(Loadrunner)Open in a New Window

Hi,

I have installed HP Diagnostic Server and Java Probe

I am successfully able to connect to Diagnostic Server with the Loadrunner, but it is not listing the probes in the controller to select. Please help me.

Versions Used: Loadrunner 12.50, Diagnostics 9.26 , Java Agent 9.26.

Please see the attached screenshots.

I tried to install the probes in the following ways, but in both ways probes not visible in controller.

  1. Diagnostics Mode for Loadrunner/ Performance Center (AD License)
  2. Enterprise Mode(AM License) -> Diagnostics

 

Empty method name in slowest methodsOpen in a New Window

Can any diagnostitcs expert explain what is behind empty method (the slowest method as I profiled)?

 

emptymethod.PNGemptymethod1.PNG

How to tell what cause this empty method so much delay?

Thanks,

Vanperf

 

 

Diagnostics License errorOpen in a New Window

I have installed diagnostics 9.26 installed on a server.When i am uploading the license in license management I am getting the following error "HTTP Error 401: Unauthorized"

Any help will be appreciated.

 

diagnostics J2EE 9.26.7.1719 - SEVERE capture.inst ... Failed to instrument - errrors in probe logOpen in a New Window

 

2016-03-10 18:16:44,401 SEVERE capture.inst [localhost-startStop-1] Failed to instrument: org.apache.naming.resources.BaseDirContext
java.lang.ClassCircularityError: org/apache/naming/resources/WARDirContext

...

2016-03-10 18:16:44,417 SEVERE capture.inst [localhost-startStop-1] Failed to instrument: org.apache.naming.resources.FileDirContext
java.lang.LinkageError: loader (instance of java/net/URLClassLoader): attempted duplicate class definition for name: "org/apache/naming/resources/BaseDirContext"

...

 

 

Masked a few things here, but this is generally my env detail:

-Xbootclasspath/p:/home/****/JavaAgent9.26/DiagnosticsAgent/classes/******_net/instr.jre

-javaagent:/home/****/JavaAgent9.26/DiagnosticsAgent/lib/probeagent.jar

java.runtime.version = 1.8.0_74-b02

probe.properties.active.products = AD

probe.properties.monitoring.profile = 140

Server version: Apache Tomcat/7.0.65

OS Name: Linux
OS Version: 2.6.32-504.el6.x86_64

 

2016-03-10 18:16:44,401 SEVERE capture.inst [localhost-startStop-1] Failed to instrument: org.apache.naming.resources.BaseDirContext
java.lang.ClassCircularityError: org/apache/naming/resources/WARDirContext
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at com.mercury.opal.capture.inst.util.ContextAwareShop$1.commonSuperClass(ContextAwareShop.java:134)
at com.mercury.opal.capture.inst.util.ContextAwareShop$1.getCommonSuperClass(ContextAwareShop.java:118)
at org.objectweb.asm.ClassWriter.a(Unknown Source)
at org.objectweb.asm.Frame.a(Unknown Source)
at org.objectweb.asm.Frame.a(Unknown Source)
at org.objectweb.asm.MethodWriter.visitMaxs(Unknown Source)
at org.objectweb.asm.ClassReader.a(Unknown Source)
at org.objectweb.asm.ClassReader.b(Unknown Source)
at org.objectweb.asm.ClassReader.accept(Unknown Source)
at org.objectweb.asm.ClassReader.accept(Unknown Source)
at com.mercury.opal.capture.inst.util.Shop.rebuildStackMapTables(Shop.java:112)
at com.mercury.opal.capture.inst.ClassInstrumenter._instrumentFromBytes(ClassInstrumenter.java:647)
at com.mercury.opal.capture.inst.ClassInstrumenter.access$000(ClassInstrumenter.java:104)
at com.mercury.opal.capture.inst.ClassInstrumenter$2.run(ClassInstrumenter.java:498)

 

.....

 

2016-03-10 18:16:44,417 SEVERE capture.inst [localhost-startStop-1] Failed to instrument: org.apache.naming.resources.FileDirContext
java.lang.LinkageError: loader (instance of java/net/URLClassLoader): attempted duplicate class definition for name: "org/apache/naming/resources/BaseDirContext"
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.merc_defineClass1(ClassLoader.java)
at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at com.mercury.opal.capture.inst.ClassInstrumenter.preProcess(ClassInstrumenter.java:2662)
at com.mercury.opal.capture.inst.ClassInstrumenter._instrumentFromStream(ClassInstrumenter.java:844)
at com.mercury.opal.capture.inst.ClassInstrumenter._instrumentFromBytes(ClassInstrumenter.java:601)
at com.mercury.opal.capture.inst.ClassInstrumenter.access$000(ClassInstrumenter.java:104)
at com.mercury.opal.capture.inst.ClassInstrumenter$2.run(ClassInstrumenter.java:498)
at java.security.AccessController.doPrivileged(Native Method)
at com.mercury.opal.capture.inst.ClassInstrumenter.instrument(ClassInstrumenter.java:496)
at com.mercury.opal.capture.proxy.InstrumenterProxy.handleInstrumentationRequest(InstrumenterProxy.java:301)
at com.mercury.opal.capture.proxy.InstrumenterProxy.handleClassLoaderRequest(InstrumenterProxy.java:228)
at com.mercury.opal.capture.proxy.InstrumenterProxy.instrument(InstrumenterProxy.java:169)
at java.lang.ClassLoader.merc_defineClass1(ClassLoader.java)
at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:467)
at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:368)
at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5312)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1095)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1960)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

 

Diagnostics and OSGIOpen in a New Window

Hello

I add to my OSGI framework this entry:

-Dosgi.compatibility.bootdelegation=true \
-Dosgi.java.profile.bootdelegation=Ignore \
-Xbootclasspath/p:/opt/JavaAgent/DiagnosticsAgent/classes/Oracle/1.7.0_51/instr.jre \
    -javaagent:/opt/JavaAgent/DiagnosticsAgent/lib/probeagent.jar -Dprobe.id=PROBE_$HOSTNAME -Dprobe.group=GROUP1 -Dprobe.monitoring.profile=170 -Dorg.osgi.framework.bootdelegation=com.mercury.*  \

But I was not able to see the server request.

I see only some request and not the all one. I can see the admin server request but not the service request.

Do you have any suggestion?

I try also to remove the entry -javaagent.... but without this entry the Diagnostics java agent did not start, so I am not sure to ahve understand correctly I to install the javaAgent into the OSGI environemnt

Some of you have some suggestion about the Diagnostcis into the OSGI environment?

Thanks

Matteo

 

diagnostics J2EE 9.23.36.886 - SEVERE capture.inst errrors in probe logOpen in a New Window

Masked a few things here, but this is generally my env detail:

-Xbootclasspath/p:/home/****/HPDJavaAgent/JavaAgent/DiagnosticsAgent/classes/******_net/instr.jre

-javaagent:/home/****/HPDJavaAgent/JavaAgent/DiagnosticsAgent/lib/probeagent.jar

java.runtime.version = 1.8.0_74-b02

probe.properties.active.products = AD

probe.properties.monitoring.profile = 140

Server version: Apache Tomcat/7.0.65

OS Name: Linux
OS Version: 2.6.32-504.el6.x86_64

 

 

I get hundreds of these messages in the client logs and it seems to  prevent us from gathering the metrics related to many of the classes/methods running on the server.

 

 Many of the class probes are working on this particular agents server.  So the basic HPD configuration framework seems ok.  It's just that majority of the classes that are most interesting to us are failing with this SEVERE message.

 

 

 

2016-02-29 22:09:27,262 SEVERE capture.inst [main] Failed to instrument: java/net/SocketInputStream
java.lang.IllegalArgumentException
at org.objectweb.asm.ClassReader.<init>(Unknown Source)
at org.objectweb.asm.ClassReader.<init>(Unknown Source)
at com.mercury.opal.capture.inst.util.Shop.rebuildStackMapTables(Shop.java:110)
at com.mercury.opal.capture.inst.ClassInstrumenter._instrumentFromBytes(ClassInstrumenter.java:630)

....

 

2016-02-29 22:09:27,338 SEVERE capture.inst [main] Failed to instrument: java/net/SocketOutputStream
java.lang.IllegalArgumentException
at org.objectweb.asm.ClassReader.<init>(Unknown Source)
at org.objectweb.asm.ClassReader.<init>(Unknown Source)
at com.mercury.opal.capture.inst.util.Shop.rebuildStackMapTables(Shop.java:110)

 

There are other, possibly related WARN messages

2016-02-29 22:09:45,873 WARN capture.inst [main] Failed to instrument: java.util.concurrent.ConcurrentMap
com.mercury.apache.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 18
2016-02-29 22:09:45,902 WARN capture.inst [main] Unrecognized class bytes format (class name unparsable)

 

 

Sitescope web server monitoringOpen in a New Window

Does Sitescope supports monitorig below paramter

Active HTTP Connections

Active HTTP Requests

Busy Threads

Busy Threads (%)

Connection Duration (seconds)

Error Rate (%)

Number of threads

Request Processing Time (milli seconds)

Request Processing Time (seconds)

Request Throughput (requests per second)

Response Data Processed (KB per response)

Response Data Throughput (KB per second)

CPU Usage (%)

Free Memory (%)

Response - Status

HTTP 4xx errors

HTTP 5xx errors

HTTP 200s

 

 

DG supportOpen in a New Window

hi

 

Diagnostics done not support on the apache and oracle http server . Any way to monitor this servers






Sign In


Forgot your password?

Haven't registered yet?

Vivit Blog