If you follow the instructions above, an error message appears in catalina.out:
zmtomcatstart: error: JVM option: -Xdebug: not allowed
As a workaround, you can:
1. edit ZimbraNative/src/launcher/zmtomcatstart.c
2. add -Xdebug and -Xrunjdwp to the AllowedJVMArgs array
3. rebuild and install zmtomcatstart
tomcat then listens on port 8000 and you are happily debugging. |