Hellocreeper Posted August 22, 2012 Posted August 22, 2012 Hello everyone, I'm looking for some advice for the VisualVM to connect to the craftbukkit.jar (I had help in the past with windows and it worked great)!. Currently when I launch the VisualVM I can get a memory dump, but I cannot get it to connect to the CPU for thread reading; has anyone had any luck with this? Quote
pherce Posted August 23, 2012 Posted August 23, 2012 What does it say when you mouse over the CPU box that's grayed out? Quote
Hellocreeper Posted August 23, 2012 Author Posted August 23, 2012 Its grey, says I need to connect using JXM Quote
greedseed Posted August 23, 2012 Posted August 23, 2012 We are running CentOS 6.3 and VisualVM . It works without any hitch. I will take a look at how i can help you out with this when i get home :) Quote
pherce Posted August 23, 2012 Posted August 23, 2012 Sounds like you are trying to login remotely then? If so, VNC is an option if you don't want to mess with JXM. I would check out TightVNC for an easy installation. As far as using JXM, maybe greed can help you more there as I am more familiar with Ubuntu. Quote
Hellocreeper Posted August 23, 2012 Author Posted August 23, 2012 My Setup is this: Dedicated server running CentOS. I login remotely using VNC (I will try TightVNC tonight). While I'm on the actual VNC machine I try to run VisualVM from the localhost. The application launches perfectly except I have major Graphic issues (its blank until I click on stuff to update the screen) !! annoying. Finally, I see the tekkit.jar (in my case its renamed to craftbukkit.jar) I open the craftbukkit .jar and I see the Sample > CPU / Memory. The Memory sample works, but the CPU says I need to log in to the JXM. (This requires me to do some remote logging in -- But I'm remote trying to launch visualvm on the localhost??). I'm not on a firewall so all ports should be open. Wonder what I should do. I love VisualVM.. saves servers lag. Quote
pherce Posted August 24, 2012 Posted August 24, 2012 Yeah, I'm not sure why you're having JXM problems if you are already logging in remotely. JXM was required for me to even do a memory dump, which you can already do... Quote
Awesomeb Posted August 27, 2012 Posted August 27, 2012 How do I setup the JXM? Thats worth a shot. Do I put the startup params in the visualvm startup, or in the tekkit.jar startup? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.