Let me guess, you read the link entitled "HOW TO REMOVE THE STATEMENT OF A DEBUG OPERATING ON A TOMATCO FROM INTELLA IDEAS" on blog.trifork.com.
The instructions say this for Windows in the setenv.bat file:
set JPDA_OPTS="-agentlib:jdwp=transport=dt_socket, address=1043, server=y, suspend=n"
Yes, that will not work. catalina.bat adds its own quotation marks, so it tries to do this:
if not ""-agentlib:jdwp=transport=dt_socket, address=1043, server=y, suspend=n"" == "" goto gotJpdaOpts
Better to plan this:
set JPDA_OPTS=-agentlib:jdwp=transport=dt_socket,address=1043,server=y,suspend=n
I know this is almost a year ago, but I came across this and ultimately had to remove the "@echo off" from Tomcat batch files and pursue it myself. Hopefully this would vote for it to save someone else from this grief.
source share