[Management, JMX/JBoss] - Get statistics
by abdujaparov
Hi!
I'm trying to get the statistics that jbossws generates for the web service deployed. I don't have an idea about how to do this.
I've asked in the forum of jbossws and the only thing that users have telled me is to use jmx, but how?
I've reade something about jmx from the sun site but I understand nothing.
An user have given me this snippet:
| // get SPI provider and endpoint registry
| SPIProvider spiProvider = SPIProviderResolver.getInstance()
| .getProvider();
| EndpointRegistry epRegistry = spiProvider.getSPI(
| EndpointRegistryFactory.class).getEndpointRegistry();
|
| // loop over all endpoints
| Set<ObjectName> objectNames = epRegistry.getEndpoints();
| for (ObjectName objectName : objectNames) {
|
| // get the endpoint by using its name
| Endpoint endpoint = epRegistry.getEndpoint(objectName);
|
| ...
| }
|
But I don't know what this code should do.
Someone can help me?
Please help me.
Thanks, bye bye.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097938#4097938
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097938
18Â years, 8Â months
[Installation, Configuration & DEPLOYMENT] - Re: localhost:8080 is not working
by beatzepz
I tried both options :-(
The command ping localhost went well.
Ping beatsquad [127.0.0.1] mit 32 Bytes Daten:
|
| Antwort von 127.0.0.1: Bytes=32 Zeit<1ms TTL=128
| Antwort von 127.0.0.1: Bytes=32 Zeit<1ms TTL=128
| Antwort von 127.0.0.1: Bytes=32 Zeit<1ms TTL=128
| Antwort von 127.0.0.1: Bytes=32 Zeit<1ms TTL=128
|
| Ping-Statistik für 127.0.0.1:
| Pakete: Gesendet = 4, Empfangen = 4, Verloren = 0 (0% Verlust),
| Ca. Zeitangaben in Millisek.:
| Minimum = 0ms, Maximum = 0ms, Mittelwert = 0ms
The output of netstat -ab is the following:
C:\>netstat -ab
|
| Aktive Verbindungen
|
| Proto Lokale Adresse Remoteadresse Status PID
| TCP beatsquad:epmap beatsquad:0 ABHÖREN 1748
| c:\windows\system32\WS2_32.dll
| C:\WINDOWS\system32\RPCRT4.dll
| c:\windows\system32\rpcss.dll
| C:\WINDOWS\system32\svchost.exe
| C:\WINDOWS\system32\ADVAPI32.dll
| [svchost.exe]
|
| TCP beatsquad:microsoft-ds beatsquad:0 ABHÖREN 4
| [System]
|
| TCP beatsquad:1027 beatsquad:0 ABHÖREN 732
| [LEXPPS.EXE]
|
| TCP beatsquad:2219 beatsquad:0 ABHÖREN 6108
| [java.exe]
|
| TCP beatsquad:2220 beatsquad:0 ABHÖREN 6108
| [java.exe]
|
| TCP beatsquad:2222 beatsquad:0 ABHÖREN 6108
| [java.exe]
|
| TCP beatsquad:6060 beatsquad:0 ABHÖREN 1544
| [tvttcsd.exe]
|
| TCP beatsquad:31038 beatsquad:0 ABHÖREN 968
| [DkService.exe]
|
| TCP beatsquad:1041 beatsquad:0 ABHÖREN 2792
| [alg.exe]
|
| TCP beatsquad:1098 beatsquad:0 ABHÖREN 6108
| [java.exe]
|
| TCP beatsquad:1099 beatsquad:0 ABHÖREN 6108
| [java.exe]
|
| TCP beatsquad:3873 beatsquad:0 ABHÖREN 6108
| [java.exe]
|
| TCP beatsquad:4444 beatsquad:0 ABHÖREN 6108
| [java.exe]
|
| TCP beatsquad:4445 beatsquad:0 ABHÖREN 6108
| [java.exe]
|
| TCP beatsquad:4446 beatsquad:0 ABHÖREN 6108
| [java.exe]
|
| TCP beatsquad:8009 beatsquad:0 ABHÖREN 6108
| [java.exe]
|
| TCP beatsquad:8080 beatsquad:0 ABHÖREN 6108
| [java.exe]
|
| TCP beatsquad:8083 beatsquad:0 ABHÖREN 6108
| [java.exe]
|
| TCP beatsquad:8093 beatsquad:0 ABHÖREN 6108
| [java.exe]
|
| TCP beatsquad:netbios-ssn beatsquad:0 ABHÖREN 4
| [System]
|
| TCP beatsquad:2147 localhost:2148 HERGESTELLT 5364
| [firefox.exe]
|
| TCP beatsquad:2148 localhost:2147 HERGESTELLT 5364
| [firefox.exe]
|
| TCP beatsquad:2150 localhost:2151 HERGESTELLT 5364
| [firefox.exe]
|
| TCP beatsquad:2151 localhost:2150 HERGESTELLT 5364
| [firefox.exe]
|
| TCP beatsquad:2254 dispsd-48-download.boulder.ibm.com:https HERGES
| TELLT 5864
| [tvsukernel.exe]
|
| TCP beatsquad:2260 mu-in-f99.google.com:http HERGESTELLT 5364
| [firefox.exe]
|
| TCP beatsquad:2261 lm-in-f166.google.com:http HERGESTELLT 5364
|
| [firefox.exe]
|
| TCP beatsquad:2111 a212-201-100-141.deploy.akamaitechnologies.com:h
| ttp SCHLIESSEN_WARTEN 5720
| [jusched.exe]
|
| TCP beatsquad:2219 beatsquad:2221 SCHLIESSEN_WARTEN 6108
|
| [java.exe]
|
| TCP beatsquad:2262 pop.gmx.net:pop3 WARTEND 0
| UDP beatsquad:isakmp *:* 1440
| [lsass.exe]
|
| UDP beatsquad:1763 *:* 236
| C:\WINDOWS\system32\mswsock.dll
| c:\windows\system32\WS2_32.dll
| c:\windows\system32\DNSAPI.dll
| c:\windows\system32\dnsrslvr.dll
| C:\WINDOWS\system32\RPCRT4.dll
| [svchost.exe]
|
| UDP beatsquad:1140 *:* 236
| C:\WINDOWS\system32\mswsock.dll
| c:\windows\system32\WS2_32.dll
| c:\windows\system32\DNSAPI.dll
| c:\windows\system32\dnsrslvr.dll
| C:\WINDOWS\system32\RPCRT4.dll
| [svchost.exe]
|
| UDP beatsquad:1765 *:* 236
| C:\WINDOWS\system32\mswsock.dll
| c:\windows\system32\WS2_32.dll
| c:\windows\system32\DNSAPI.dll
| c:\windows\system32\dnsrslvr.dll
| C:\WINDOWS\system32\RPCRT4.dll
| [svchost.exe]
|
| UDP beatsquad:4500 *:* 1440
| [lsass.exe]
|
| UDP beatsquad:1137 *:* 236
| C:\WINDOWS\system32\mswsock.dll
| c:\windows\system32\WS2_32.dll
| c:\windows\system32\DNSAPI.dll
| c:\windows\system32\dnsrslvr.dll
| C:\WINDOWS\system32\RPCRT4.dll
| [svchost.exe]
|
| UDP beatsquad:microsoft-ds *:* 4
| [System]
|
| UDP beatsquad:1759 *:* 236
| C:\WINDOWS\system32\mswsock.dll
| c:\windows\system32\WS2_32.dll
| c:\windows\system32\DNSAPI.dll
| c:\windows\system32\dnsrslvr.dll
| C:\WINDOWS\system32\RPCRT4.dll
| [svchost.exe]
|
| UDP beatsquad:1900 *:* 288
| c:\windows\system32\WS2_32.dll
| c:\windows\system32\ssdpsrv.dll
| ntdll.dll
| C:\WINDOWS\system32\kernel32.dll
| [svchost.exe]
|
| UDP beatsquad:1900 *:* 288
| c:\windows\system32\WS2_32.dll
| c:\windows\system32\ssdpsrv.dll
| ntdll.dll
| C:\WINDOWS\system32\kernel32.dll
| [svchost.exe]
|
| UDP beatsquad:netbios-ns *:* 4
| [System]
|
| UDP beatsquad:netbios-dgm *:* 4
| [System]
|
I hope its still usable although its German ;-)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097933#4097933
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097933
18Â years, 8Â months