I would like to enable remote debug of the Zimbra server from Eclipse. I tried to use the information stated in jetty.txt to connect to the server but no success. I read also the posts here in the forum () but it seem that they are very old. Maybe someone could update them.
What have I done: as far as I have understood from all the hints given in the posts, I would have to set only the following java arguments for jetty '-Xdebug -Xnoagent -Djava.compiler=NONE -Djava.library.path=/opt/zimbra/lib -Xrunjdwp:transport=dt_socket,address=4000,server=y ,suspend=y'.
I tried first to set them manually in the config files of jetty. But then I realized that there exists the tool 'zmlocalconfig' with which I can set these arguments. I set the arguments for the zmmailboxd. The entry looks like this one:
But now, the mailbox demon doesn't start up any more. I tried to search a bit in the log files but could not get any clue.
mailboxd_java_options = -client -XX:NewRatio=2 -Djava.awt.headless=true -XX:MaxPermSize=128m -XX:SoftRefLRUPolicyMSPerMB=1 -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=4000,server=y,suspend=n
What did I wrong?
All suggestions are appriciated.