Ray Augé Hace 12 años Awesome! Thanks Thiago! Por favor identifíquese para votar. Contestar como... Cancelar
Thiago Leão Moreira Hace 12 años If you don't like fancy GUI you can still use the good and old CLI to monitor your Liferay. Check it out how at http://www.wolfe.id.au/2011/10/16/monitoring-the-openjdk-from-the-cli/ Por favor identifíquese para votar. Contestar como... Cancelar Marcellus Tavares Thiago Leão Moreira Hace 12 años Nice post baron! Por favor identifíquese para votar. Contestar como... Cancelar
Marcellus Tavares Thiago Leão Moreira Hace 12 años Nice post baron! Por favor identifíquese para votar. Contestar como... Cancelar
Jonas Yuan Hace 12 años Nice! Thanks Thiago! Por favor identifíquese para votar. Contestar como... Cancelar
Ram Y Hace 12 años Good and useful information. Thanks. Por favor identifíquese para votar. Contestar como... Cancelar
Nilesh Gundecha Hace 12 años Great piece of work Thiago. Thanks. Por favor identifíquese para votar. Contestar como... Cancelar Daniel Sanz Nilesh Gundecha Hace 12 años Thaks Thiago. Nice post! Por favor identifíquese para votar. Contestar como... Cancelar
Daniel Sanz Nilesh Gundecha Hace 12 años Thaks Thiago. Nice post! Por favor identifíquese para votar. Contestar como... Cancelar
Warner Pinero Hace 12 años Hi. Thanks for that info.I just want to ask where in server.xml specifically you insert the JmxRemoteLifecycleListener listener? There are many xml tags in server.xml and I'm not sure where to insert it.Thanks for the help.-Warner Por favor identifíquese para votar. Contestar como... Cancelar Thiago Leão Moreira Warner Pinero Hace 12 años Hey Warner,Around the line 35, there is a list of listeners already declared. Por favor identifíquese para votar. Contestar como... Cancelar Warner Pinero Thiago Leão Moreira Hace 12 años Thanks Thiago. How about connecting using jconsole? I've tried jconsole but it didn't worked. But visualvm did. Por favor identifíquese para votar. Contestar como... Cancelar Thiago Leão Moreira Warner Pinero Hace 12 años Have you tried the configuration at the end of my post to jconsole? It works fine! Por favor identifíquese para votar. Contestar como... Cancelar
Thiago Leão Moreira Warner Pinero Hace 12 años Hey Warner,Around the line 35, there is a list of listeners already declared. Por favor identifíquese para votar. Contestar como... Cancelar Warner Pinero Thiago Leão Moreira Hace 12 años Thanks Thiago. How about connecting using jconsole? I've tried jconsole but it didn't worked. But visualvm did. Por favor identifíquese para votar. Contestar como... Cancelar Thiago Leão Moreira Warner Pinero Hace 12 años Have you tried the configuration at the end of my post to jconsole? It works fine! Por favor identifíquese para votar. Contestar como... Cancelar
Warner Pinero Thiago Leão Moreira Hace 12 años Thanks Thiago. How about connecting using jconsole? I've tried jconsole but it didn't worked. But visualvm did. Por favor identifíquese para votar. Contestar como... Cancelar Thiago Leão Moreira Warner Pinero Hace 12 años Have you tried the configuration at the end of my post to jconsole? It works fine! Por favor identifíquese para votar. Contestar como... Cancelar
Thiago Leão Moreira Warner Pinero Hace 12 años Have you tried the configuration at the end of my post to jconsole? It works fine! Por favor identifíquese para votar. Contestar como... Cancelar
Manish Kumar Jaiswal Hace 12 años Hi Thiago,I am trying to set profiler for a remote server ,Now in our scenerio we have My local windows machine for profiling --> cloud ( gateway firewall --->apache----> Tomcat) . 1) After doing all configuration it says "start a SSH connection to your server with two tunnel enabled, you can use the command below ssh -vN -L10001:localhost:10001 -L10002:localhost:10002 myuser@www.myliferayremoteserver.com" where should I use this command ? Does in your scenerio your local machine is linux and you are using this command there ,or you are using this command at final linux server having tomcat. 2) "Finally you should open a connection using this connection string service:jmx:rmi://localhost:10002/jndi/rmi://localhost:10001/jmxrmi " I hope this will be automatically open when we fire remoteor do you mean to add these lines somewhereRegardsManish Por favor identifíquese para votar. Contestar como... Cancelar Manish Kumar Jaiswal Manish Kumar Jaiswal Hace 12 años Thanks Thiago , I did it finally ..But I have a question ..This has connected to the server for monitoring purpose can we also profile this way cause my purpose is to do some memory profiling ..if yes how to enable it.Thanksmanish Por favor identifíquese para votar. Contestar como... Cancelar Thiago Leão Moreira Manish Kumar Jaiswal Hace 12 años Nope! It's just to monitoring. Por favor identifíquese para votar. Contestar como... Cancelar chris kabore Thiago Leão Moreira Hace 11 años great post! thanks. Por favor identifíquese para votar. Contestar como... Cancelar
Manish Kumar Jaiswal Manish Kumar Jaiswal Hace 12 años Thanks Thiago , I did it finally ..But I have a question ..This has connected to the server for monitoring purpose can we also profile this way cause my purpose is to do some memory profiling ..if yes how to enable it.Thanksmanish Por favor identifíquese para votar. Contestar como... Cancelar Thiago Leão Moreira Manish Kumar Jaiswal Hace 12 años Nope! It's just to monitoring. Por favor identifíquese para votar. Contestar como... Cancelar chris kabore Thiago Leão Moreira Hace 11 años great post! thanks. Por favor identifíquese para votar. Contestar como... Cancelar
Thiago Leão Moreira Manish Kumar Jaiswal Hace 12 años Nope! It's just to monitoring. Por favor identifíquese para votar. Contestar como... Cancelar chris kabore Thiago Leão Moreira Hace 11 años great post! thanks. Por favor identifíquese para votar. Contestar como... Cancelar
chris kabore Thiago Leão Moreira Hace 11 años great post! thanks. Por favor identifíquese para votar. Contestar como... Cancelar
Johann Kneringer Hace 11 años Unfortunatly I have problems implementing this solution.Listener is set on the remote tomcat...Tunneling to my remote server is also successfull...But If I want to open the service in VisualVM i get following error:"Cannot connect to service:jmx:rmi://localhost:10002/jndi/rmi://localhost:10001/jmxrmi using service:jmx:rmi://localhost:10002/jndi/rmi://localhost:10001/jmxrmi"The catalina-jmx-remote.jar is placed on the remote tomcat and in my platform/lib folder of VisualVm.There is no firewall set up.Some tips would be very great!regards Por favor identifíquese para votar. Contestar como... Cancelar Thiago Leão Moreira Johann Kneringer Hace 11 años Hey Johann, try to use the jconsole, It is better to debug with it. Por favor identifíquese para votar. Contestar como... Cancelar
Thiago Leão Moreira Johann Kneringer Hace 11 años Hey Johann, try to use the jconsole, It is better to debug with it. Por favor identifíquese para votar. Contestar como... Cancelar
Johann Kneringer Hace 11 años thank you very much...it works with JConsole usingjconsole service:jmx:rmi://localhost:10002/jndi/rmi://localhost:10001/jmxrmi -J-Djava.util.logging.config.file=/usr/lib/jvm/jdk1.6.0_35/lib/logging.properties -J-Djava.class.path=/usr/lib/jvm/jdk1.6.0_35/lib/jconsole.jar:/usr/lib/jvm/jdk1.6.0_35ib/tools.jar:/usr/lib/jvm/jdk1.6.0_35/lib/catalina-jmx-remote.jar; Por favor identifíquese para votar. Contestar como... Cancelar
Ilya Ilya Hace 8 años It's just awesome!!Everything start to work from first try!))) I register on this site just for say thanks to you.Thank you man, i appreciate you very much! Por favor identifíquese para votar. Contestar como... Cancelar
Marco Ferretti Hace 8 años Hi, I am struggling with trying to connect to a remove liferay 6.2 instance the way you have provided.I have followed step by step the guide but I am only getting a "cannot connect to service:jmx:rmi://localhost:10002/jndi/rmi://localhost:10001/jmxrmi using service:jmx:rmi://localhost:10002/jndi/rmi://localhost:10001/jmxrmi" . I tried jconsole too. It first tells me that it cannot connect securely, asks to fallback in a non secure connection and then fails.I have tried adding the -Djava.rmi.server.hostname=127.0.0.1 parameter too but no luck. On the tomcat logs I can clearly see that the ports are configured : Nov 05, 2015 10:02:47 AM org.apache.catalina.mbeans.JmxRemoteLifecycleListener createServerINFO: The JMX Remote Listener has configured the registry on port 10001 and the server on port 10002 for the Platform serverOn my local machine I am opening a tunnel as follows : ssh marco@<myserver> -L10001:127.0.0.1:10001 -L10002:127.0.0.1:10002 -vNon the ssh logs I can see the connection going TO the remote server : debug1: Connection to port 10001 forwarding to 127.0.0.1 port 10001 requested.debug1: channel 5: new [direct-tcpip]but I can't see the other port being connected.Can you please help ? Por favor identifíquese para votar. Contestar como... Cancelar Thiago Leão Moreira Marco Ferretti Hace 8 años Hey Marco, were you able to use jconsole with logging configured? It is the recommended way to debug problems. Por favor identifíquese para votar. Contestar como... Cancelar
Thiago Leão Moreira Marco Ferretti Hace 8 años Hey Marco, were you able to use jconsole with logging configured? It is the recommended way to debug problems. Por favor identifíquese para votar. Contestar como... Cancelar