i came across this issue. I followed steps mentioned in this link.: -
1.created setenv.bat with mentioned entry.
2.then started tomcat. still i am getting same problem during default configuration.
ques:-
1. do we need to set CATALINA_OPTS as environment var.
2. if no , then how does startup.bat will pick entry of setenev.bat
Please let me know your if i have gone ahead with any wrong steps.
Thanks,
Reetesh