Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

start greys failed in debian #267

Open
drriguz opened this issue Aug 15, 2018 · 1 comment
Open

start greys failed in debian #267

drriguz opened this issue Aug 15, 2018 · 1 comment

Comments

@drriguz
Copy link

drriguz commented Aug 15, 2018

Hello~ I faild to start greys in a debian container,

root@qa-otr-as-service-bff-1:/app# ./greys.sh 1
start greys failed, because : com.sun.tools.attach.VirtualMachineDescriptor
attach to target jvm(1) failed.

and I tried to set JAVA_HOME, and confirmd the user, but still not able to make it work, do you hava any ideas?

Here is some information

top
KiB Swap: 18628604 total,  1857228 used, 16771376 free.  8006340 cached Mem

   PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
     1 root      20   0 6845836 654980  19820 S   0.7  2.3   3:20.11 java
   103 root      20   0    4336    800    716 S   0.0  0.0   0:00.00 sh

root@qa-otr-as-service-bff-1:/app# cat /etc/issue
Debian GNU/Linux 8 \n \l
root@qa-otr-as-service-bff-1:/app# who
root@qa-otr-as-service-bff-1:/app# whoami
root

root@qa-otr-as-service-bff-1:/app# java -version
openjdk version "1.8.0_111"
OpenJDK Runtime Environment (build 1.8.0_111-8u111-b14-2~bpo8+1-b14)
OpenJDK 64-Bit Server VM (build 25.111-b14, mixed mode)
@askluolei
Copy link

tools.jar 没加载到,$JAVA_HOME/lib/tools.jar 复制到 $JAVA_HOME/jre/lib/ext 目录下,或者放到 jvm 能够加载到的地方应该就可以了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants