0

I need to capture a hprof for a Java app that is running on Citrix.

So the process is on the server but the UI is on the client machine. I can attach to the javaw.exe on the server, using VisualVM, but i am unable to capture a heap dump (gives me an error message) and the 'Profiling' tab is missing from VisualVM.

Anyone know what i need to do to get the hprof from a process which is being virtualuzed over Citrix like this?

Paul MacGuiheen
  • 628
  • 5
  • 17

1 Answers1

0

I haven't used hprof, but I do do debugging and troubleshooting in Citrix environments. Things I would check/try are:

  • Ensure you're setup as a local admin on the Citrix machine.
  • Get the Citrix admin to publish a desktop for you and install VisualVM on the Citrix machine. Then start a desktop session using Citrix Receiver and run VisualVM and the Java app together in the same desktop session.
donovan
  • 1,442
  • 9
  • 18
  • You are right. We needed to get VisualVM running in the same session as the Java app. After publishing VisualVM in Citrix, we ran it on the client machine where the java app was also running. The java app showed under the local node and we were able to capture heap dumps. – Paul MacGuiheen May 01 '13 at 14:31