Wrong server product

classic Classic list List threaded Threaded
3 messages Options
axelt axelt
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Wrong server product

Hi

I'm trying to monitor SAP Netweaver with jolokia.
Running jmx4perl or j4psh is not possible (don't know why, no response from..)
Running curl against jolokia gives me a funny response:
curl -iSs http://localhost:50000/jolokia
HTTP/1.1 200 OK
server: SAP NetWeaver Application Server 7.41 / AS Java 7.40
content-type: text/plain;charset=utf-8
cache-control: no-cache
pragma: no-cache

{"timestamp":1464003298,"status":200,"request":{"type":"version"},"value":{"protocol":"7.2","config":{"detectorOptions":"{}","canonicalNaming":"true","maxCollectionSize":"1000","includeStackTrace":"true","historyMaxEntries":"10","agentId":"198.19.222.68-10895-54a56b31-servlet","debug":"false","dispatcherClasses":"org.jolokia.jsr160.Jsr160RequestDispatcher","maxDepth":"15","maxObjects":"0","discoveryEnabled":"false","serializeException":"false","agentType":"servlet","debugMaxEntries":"100"},"agent":"1.2.3","info":{"product":"jboss","vendor":"RedHat","version":"7"}}}

What does this mean ?
Simply a wrong info or does this have influence of the agents behavior ?

Regards
Axel
axelt axelt
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Wrong server product

Hi

I found this:
jmx4perl --product unknown http://localhost:50000/jolokia 
Memory:
   Heap-Memory used    : 1149 MB
   Heap-Memory alloc   : 3925 MB
   Heap-Memory max     : 3925 MB
   NonHeap-Memory max  : 1280 MB
Classes:
   Classes loaded      : 40005
   Classes total       : 52671
Threads:
   Threads current     : 136
   Threads peak        : 199
OS:
   CPU Arch            : amd64
   CPU OS              : Linux 3.0.101-0.47.52-xen
   Memory total        : 158 MB
   Memory free         : 158 MB
   Swap total          : 16383 MB
   Swap free           : 11940 MB
   FileDesc Open       : 77
   FileDesc Max        : 128000
Runtime:
   Name                : 10895@hec01v008322.rot.hec.sap.biz
   JVM                 : 6.1.064 24.51-b03 SAP Java Server VM SAP AG
   Uptime              : 136 d, 3 h, 49 m, 34 s
   Starttime           : Fri Jan  8 09:24:08 2016
--------------------------------------------------------------------------------
The application server's brand could not be auto-detected.
Known brands are: jboss, glassfish, jetty, weblogic, jonas, geronimo, tomcat, websphere, resin, activemq, terracotta, hadoop, springdm

Please submit the output of 'jmx4perl list' and 'jmx4perl attributes' to
roland@cpan.de in order to provide a new product handler in the next release

But running
jmx4perl --product unknown http://localhost:50000/jolokia list
Use of uninitialized value in subroutine entry at /usr/share/perl5/URI/Escape.pm line 184.
ERROR: Error while fetching http://localhost:50000/jolokia/list/ :

408 Got timeout in 180s

Same when trying to use
curl -iSs http://localhost:50000/jolokia/list/

beginga beginga
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Wrong server product

Hello,

I get the same kind of error. Did you manage to solve it ?

Regards,
Loading...