Re: Debugging Tomcat Running in Vagrant using Port Forwarding

2015-04-30 Thread Konstantin Kolinko
2015-05-01 3:29 GMT+03:00 David Landis dlan...@gmail.com: On Thu, Apr 30, 2015 at 5:24 PM, Konstantin Kolinko knst.koli...@gmail.com wrote: Have you started Tomcat in debug mode? E.g. ./catalina.sh jpda start See JPDA_ADDRESS option in catalina.sh source code. Hi Konstantin. Yes I

Re: Debugging Tomcat Running in Vagrant using Port Forwarding

2015-04-30 Thread David Landis
On Thu, Apr 30, 2015 at 6:06 PM, Konstantin Kolinko knst.koli...@gmail.com wrote: Note that you have 2 firewalls, one on your own machine (to allow outgoing connections), another on the one running in virtual box (to allow incoming connections). Can you connect with a simple client, e.g.

Re: Debugging Tomcat Running in Vagrant using Port Forwarding

2015-04-30 Thread David Landis
On Thu, Apr 30, 2015 at 5:24 PM, Konstantin Kolinko knst.koli...@gmail.com wrote: Have you started Tomcat in debug mode? E.g. ./catalina.sh jpda start See JPDA_ADDRESS option in catalina.sh source code. Hi Konstantin. Yes I have. Like I noted in the original question Tomcat correctly

Re: Debugging Tomcat Running in Vagrant using Port Forwarding

2015-04-30 Thread Konstantin Kolinko
2015-05-01 3:13 GMT+03:00 David Landis dlan...@gmail.com: On Thu, Apr 30, 2015 at 3:12 PM, David Marsh dmars...@outlook.com wrote: 8000 Is the HTTP port in development just in case you are using port 808433 Is similar for HTTPS22 Is SSH port Normally you define a free port in a user range say

RE: Debugging Tomcat Running in Vagrant using Port Forwarding

2015-04-30 Thread David Marsh
8000 Is the HTTP port in development just in case you are using port 808433 Is similar for HTTPS22 Is SSH port Normally you define a free port in a user range say 9009, to be your debug port. Then you use a suitable java debugger to connect to that port. I've never used vagrant, but it sounds

Re: Debugging Tomcat Running in Vagrant using Port Forwarding

2015-04-30 Thread David Landis
On Thu, Apr 30, 2015 at 3:12 PM, David Marsh dmars...@outlook.com wrote: 8000 Is the HTTP port in development just in case you are using port 808433 Is similar for HTTPS22 Is SSH port Normally you define a free port in a user range say 9009, to be your debug port. Then you use a suitable