I'm kinda lost on CentOS. I'm trying to run a Tomcat server in remote debugging mode. But I can't find any catalina.sh, there. The Tomcat server was installed in help of yum. What is the correct way to configure it on CentOS?
Thanks!
Set up the remote debugger on Windows ServerOn the remote computer, find and start the Remote Debugger from the Start menu. If you don't have administrative permissions on the remote computer, right-click the Remote Debugger app and select Run as administrator. Otherwise, just start it normally.
Go to "Run->Debug Configurations...". Click on "Remote Java Applications", then click "New". Type in the title. Note that port 8000 from the Tomcat instructions.
Select Configure remote debugging to configure the firewall and start the remote debugger. When configuration is complete, the Remote Debugger window appears. The remote debugger is now waiting for a connection. Use the server name and port number shown to set the remote connection configuration in Visual Studio.
Look for /etc/tomcat5/tomcat5.conf
or /etc/tomcat6/tomcat6.conf
or possibly /usr/share/tomcat6/conf
. Add your remote debug stuff at the JAVA_OPTS definition
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With