Hellocreeper Posted August 22, 2012 Share 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? Link to comment Share on other sites More sharing options...
pherce Posted August 23, 2012 Share Posted August 23, 2012 What does it say when you mouse over the CPU box that's grayed out? Link to comment Share on other sites More sharing options...
Hellocreeper Posted August 23, 2012 Author Share Posted August 23, 2012 Its grey, says I need to connect using JXM Link to comment Share on other sites More sharing options...
greedseed Posted August 23, 2012 Share 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 :) Link to comment Share on other sites More sharing options...
pherce Posted August 23, 2012 Share 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. Link to comment Share on other sites More sharing options...
Hellocreeper Posted August 23, 2012 Author Share 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. Link to comment Share on other sites More sharing options...
pherce Posted August 24, 2012 Share 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... Link to comment Share on other sites More sharing options...
Awesomeb Posted August 27, 2012 Share 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? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now