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 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. telnet? Yeah fir

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 : > On Thu, Apr 30, 2015 at 5:24 PM, Konstantin Kolinko > 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 th

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 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 outputs on startup:

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 : > On Thu, Apr 30, 2015 at 3:12 PM, David Marsh 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 >> por

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 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 java debugger to co

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 like