Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CentOS / Tomcat / Enabling remote debugging

Tags:

tomcat

centos

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!

like image 204
Herr K Avatar asked Mar 04 '11 16:03

Herr K


People also ask

How do I enable remote debugging on my server?

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.

Where is remote debug port Tomcat?

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.

How do I use remote debugging?

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.


1 Answers

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

like image 96
Alain Pannetier Avatar answered Sep 22 '22 02:09

Alain Pannetier