I am getting the following error when attempting to create a heap dump from a core file generated through gcore on Solaris:
jmap -J-d64 -dump:format=b,file=dump.hprof /usr/local/jdk/bin/java /tmp/core.15123
Attaching to core /tmp/core.15123 from executable /usr/local/jdk/bin/java, please wait...
Error attaching to core file: Did not find libthread in target process/core!
The JVM in which the core file was created from is the same java instance that is being used to create the heap dump. Anyone know why this error is occurring. I have done this in RedHat instances before, but first time on Solaris. Could this be due to Solaris gcore output not being compatible with jmap?
Any help would be greatly appreciated.