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
ounds like you'd also need that debug port say 9009, to have port forwarding configured. Once port forwarding is configured the debug port 9009 should be accessible outside the VM. > Date: Thu, 30 Apr 2015 14:44:13 -0700 > Subject: Debugging Tomcat Running in Vagrant using Port Forward

Debugging Tomcat Running in Vagrant using Port Forwarding

2015-04-30 Thread David Landis
Hi, I was wondering if anyone here might have any idea about this issue I was having debugging my Tomcat app. I posted this question on Stack Overflow several days ago but didn't get any responses (and it said it was only viewed 15 times despite having the Java and Tomcat tags which is weird). Any