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: Trouble separating catalina_base and catalina_home in TC 8

2015-04-30 Thread Konstantin Kolinko
2015-04-30 21:49 GMT+03:00 David kerber : > I'm having trouble getting the default webapps to start under TC8 when I > separate catalina_base and catalina_home. It must be something stupid I'm > missing, but I can't think of any place else to check. > > This is a windows server 2012 R2 server, wit

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: Finding the Apache httpd IP address when AJP is used

2015-04-30 Thread André Warnier
Paul Klinkenberg wrote: Hi André, Paul Klinkenberg wrote: Hi André, Paul Klinkenberg wrote: Hi Christopher, Thanks for taking the time to respond; again much appreciated. Your point, and André's, is understood. Security should not be done based on incoming IP address. With this current proj

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

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

Re: Finding the Apache httpd IP address when AJP is used

2015-04-30 Thread Paul Klinkenberg
Hi André, > Paul Klinkenberg wrote: >> Hi André, >>> Paul Klinkenberg wrote: Hi Christopher, Thanks for taking the time to respond; again much appreciated. Your point, and André's, is understood. Security should not be done based on incoming IP address. With this current

Re: Finding the Apache httpd IP address when AJP is used

2015-04-30 Thread André Warnier
Paul Klinkenberg wrote: Hi André, Paul Klinkenberg wrote: Hi Christopher, Thanks for taking the time to respond; again much appreciated. Your point, and André's, is understood. Security should not be done based on incoming IP address. With this current project, we off course want to deliver s

Trouble separating catalina_base and catalina_home in TC 8

2015-04-30 Thread David kerber
I'm having trouble getting the default webapps to start under TC8 when I separate catalina_base and catalina_home. It must be something stupid I'm missing, but I can't think of any place else to check. This is a windows server 2012 R2 server, with JRE 7u75, JRE 8u45, TC 7.0.57 and TC 8.0.21 a

Re: [OT] Finding the Apache httpd IP address when AJP is used

2015-04-30 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Paul, On 4/30/15 3:24 AM, Paul Klinkenberg wrote: I never knew the remote_addr could not be trusted, but I believe you at once when you say so. I thought it was taken from the actual socket connection. With the except

Re: Finding the Apache httpd IP address when AJP is used

2015-04-30 Thread Paul Klinkenberg
Hi André, > Paul Klinkenberg wrote: >> Hi Christopher, >> Thanks for taking the time to respond; again much appreciated. >> Your point, and André's, is understood. Security should not be done based on >> incoming IP address. >> With this current project, we off course want to deliver software whi

Re: unable to install tomcat7 on windows 2012 --- getting access denied

2015-04-30 Thread George Sexton
On 4/30/2015 9:49 AM, Jeffrey Janner wrote: -Original Message- From: George Sexton [mailto:geor...@mhsoftware.com] Sent: Thursday, April 30, 2015 10:44 AM To: users@tomcat.apache.org Subject: Re: unable to install tomcat7 on windows 2012 --- getting access denied On 4/30/2015 9:40

Re: Finding the Apache httpd IP address when AJP is used

2015-04-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Paul, On 4/30/15 11:27 AM, Paul Klinkenberg wrote: > Hi Christopher, > >> Paul, >> >> On 4/29/15 10:18 PM, l...@bsoft.com.cn wrote: >>> p.s. I asked this question, in other wording, on >>> SackOverflow.com as well. I hop

Re: Exception in Tomcat7 when closing stream, server crashes

2015-04-30 Thread Osman Ullah | Ntrepid Corp
On 4/30/15, 10:17 AM, "Christopher Schultz" wrote: >Osman, > >Lots of little things are being cleaned-up in and around the >connectors as well as tcnative lately. Using the latest Tomcat will >improve the stability of tcnative, because if the Java code has been >mis-tracking the state of the con

Does the securePort for Cluster/Channel/Receiver work yet?

2015-04-30 Thread pascal
Hi List I'm trying to add encryption to session-replication and came along this posts from January 2015 http://marc.info/?l=tomcat-user&m=142063952322011&w=2 as a follow up to a message from 2009. So, I'm wondering as well if this feature is really implemented. I added securePort="4500" to

RE: unable to install tomcat7 on windows 2012 --- getting access denied

2015-04-30 Thread Jeffrey Janner
> -Original Message- > From: George Sexton [mailto:geor...@mhsoftware.com] > Sent: Thursday, April 30, 2015 10:44 AM > To: users@tomcat.apache.org > Subject: Re: unable to install tomcat7 on windows 2012 --- getting > access denied > > > > On 4/30/2015 9:40 AM, Jeffrey Janner wrote: >

RE: unable to install tomcat7 on windows 2012 --- getting access denied

2015-04-30 Thread Eric Wood
Thanks, I tried turning off UAC. Same error. What did work was downloading the tomvcat7 .msi install. I was able to install successfully using it. It was an oversight not see it in the first place. The previous installation was the .zip core. Thanks for all your help. Eric -Original

Re: unable to install tomcat7 on windows 2012 --- getting access denied

2015-04-30 Thread George Sexton
On 4/30/2015 9:40 AM, Jeffrey Janner wrote: Turn off UAC, run the install, turn back on UAC. Or, run the command prompt as an administrator and then run the script. -Original Message- From: Eric Wood [mailto:eric.w...@irondata.com] Sent: Thursday, April 30, 2015 8:34 AM To: users@

RE: unable to install tomcat7 on windows 2012 --- getting access denied

2015-04-30 Thread Jeffrey Janner
Turn off UAC, run the install, turn back on UAC. > -Original Message- > From: Eric Wood [mailto:eric.w...@irondata.com] > Sent: Thursday, April 30, 2015 8:34 AM > To: users@tomcat.apache.org > Subject: unable to install tomcat7 on windows 2012 --- getting access > denied > > Hi: > > I'm

Re: Finding the Apache httpd IP address when AJP is used

2015-04-30 Thread Paul Klinkenberg
Hi Christopher, > Paul, > > On 4/29/15 10:18 PM, l...@bsoft.com.cn wrote: >> p.s. I asked this question, in other wording, on SackOverflow.com >> as well. I hope I have better luck here >> ;-) >> http://stackoverflow.com/questions/29858030/where-can-i-find-the-apach >

Re: unable to install tomcat7 on windows 2012 --- getting access denied

2015-04-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Eric, On 4/30/15 9:33 AM, Eric Wood wrote: > I'm installing tomcat7 as a service on windows 2012 using the > following command: > > Service.bat install > > I get an access denied message. I'm and admin on the server as > well as running the comm

Re: Exception in Tomcat7 when closing stream, server crashes

2015-04-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Osman, On 4/30/15 10:07 AM, Osman Ullah | Ntrepid Corp wrote: > Just an update. We have been doing some testing and we might not be > seeing Tomcat actually go down with 7.0.61. The errors are still > occurring but it is possible it may not be crash

Re: Finding the Apache httpd IP address when AJP is used

2015-04-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Paul, On 4/29/15 10:18 PM, l...@bsoft.com.cn wrote: > p.s. I asked this question, in other wording, on SackOverflow.com > as well. I hope I have better luck here > ;-) > http://stackoverflow.com/questions/29858030/where-c

Re: Finding the Apache httpd IP address when AJP is used

2015-04-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 4/30/15 5:13 AM, André Warnier wrote: > Paul Klinkenberg wrote: >> Hi Christopher, >> >> Thanks for taking the time to respond; again much appreciated. >> >> Your point, and André's, is understood. Security should not be >> done based on

Re: Finding the Apache httpd IP address when AJP is used

2015-04-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Paul, On 4/30/15 3:24 AM, Paul Klinkenberg wrote: > I never knew the remote_addr could not be trusted, but I believe > you at once when you say so. > > I thought it was taken from the actual socket connection. With the > exception of ajp by the wa

Re: Exception in Tomcat7 when closing stream, server crashes

2015-04-30 Thread Osman Ullah | Ntrepid Corp
Just an update. We have been doing some testing and we might not be seeing Tomcat actually go down with 7.0.61. The errors are still occurring but it is possible it may not be crashing. We were seeing the crash with 7.0.56. I’ll post an update once have done some more thorough testing. Thanks -- O

Re: tomcat7 in chroot environment

2015-04-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Andrea, On 4/29/15 5:37 PM, Andrea Freire wrote: > Just a little question the apt-get command when you execute inside > the chroot doesn't install all the dependencies. > >> Date: Wed, 29 Apr 2015 16:36:41 -0400 From: >> ch...@christopherschultz.

unable to install tomcat7 on windows 2012 --- getting access denied

2015-04-30 Thread Eric Wood
Hi: I'm installing tomcat7 as a service on windows 2012 using the following command: Service.bat install I get an access denied message. I'm and admin on the server as well as running the command from a command prompt as admin. Any idea what may be blocking me?

Re: Finding the Apache httpd IP address when AJP is used

2015-04-30 Thread André Warnier
Paul Klinkenberg wrote: Hi Christopher, Thanks for taking the time to respond; again much appreciated. Your point, and André's, is understood. Security should not be done based on incoming IP address. With this current project, we off course want to deliver software which is secure by default

Re: Finding the Apache httpd IP address when AJP is used

2015-04-30 Thread Paul Klinkenberg
Hi Christopher, Thanks for taking the time to respond; again much appreciated. Your point, and André's, is understood. Security should not be done based on incoming IP address. With this current project, we off course want to deliver software which is secure by default. Now, if someone would in

Re: File descriptors peaks with latest stable build of Tomcat 7

2015-04-30 Thread Thomas Boniface
Thanks for your reply, we'll give a try to your suggestions. 2015-04-29 23:15 GMT+02:00 Christopher Schultz : > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Thomas, > > On 4/25/15 4:25 AM, Thomas Boniface wrote: > > When talking about the strategy for our next test on the release we > >