Re: munin tomcat and mysql

2012-05-07 Thread Jeff Beard
Miguel, While it's not very scientific, I've used Munin to monitor my Tomcat instances in the past and have never notice any impact on performance. Also, all the instances I've managed with munin have been on virtual machines. If you are using a recent version of CentOS, Tomcat is included in the

Re: Slow downloads through mod_jk on Windows XP

2012-05-07 Thread Andy Wang
On 05/07/2012 06:06 PM, André Warnier wrote: Andy Wang wrote: Hi all, We've had a number of cases of people reporting to us that file downloads are slow when passed through tomcat and I've not been able to reproduce the problem on Linux but finally was provided a windows XP VM that was able t

Re: Problem moving application to Tomcat 7.0.27

2012-05-07 Thread Mark Eggers
- Original Message - > From: Frank Serkland > To: users@tomcat.apache.org > Cc: > Sent: Monday, May 7, 2012 3:33 PM > Subject: Problem moving application to Tomcat 7.0.27 > > I am having a problem moving an application from Tomcat 6 to Tomcat 7.0.27.   > Can > anyone help me?  Here is

Re: Slow downloads through mod_jk on Windows XP

2012-05-07 Thread André Warnier
Andy Wang wrote: Hi all, We've had a number of cases of people reporting to us that file downloads are slow when passed through tomcat and I've not been able to reproduce the problem on Linux but finally was provided a windows XP VM that was able to reproduce the problem. This is Apache 2.2.

Slow downloads through mod_jk on Windows XP

2012-05-07 Thread Andy Wang
Hi all, We've had a number of cases of people reporting to us that file downloads are slow when passed through tomcat and I've not been able to reproduce the problem on Linux but finally was provided a windows XP VM that was able to reproduce the problem. This is Apache 2.2.22 and mod_jk 1.2.

Problem moving application to Tomcat 7.0.27

2012-05-07 Thread Frank Serkland
I am having a problem moving an application from Tomcat 6 to Tomcat 7.0.27.   Can anyone help me?  Here is my web.xml. http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/we

Re: maxParameterCount not applied to multipart requests

2012-05-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 5/7/12 5:21 PM, Mark Thomas wrote: >> Christopher Schultz wrote: > > Tomcat only processes these requests for Servlet 3.0 file upload > and there are already sufficient limits in place for that case to > prevent a DoS. Aah, right: multipart

Re: maxParameterCount not applied to multipart requests

2012-05-07 Thread Mark Thomas
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/05/2012 22:22, Christopher Schultz wrote: > André, > > On 5/7/12 5:10 PM, André Warnier wrote: >> Christopher Schultz wrote: >>> -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 >>> >>> Mark, >>> >>> On 5/6/12 5:05 AM, Mark Thomas wrote: On

Re: maxParameterCount not applied to multipart requests

2012-05-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 5/7/12 5:10 PM, André Warnier wrote: > Christopher Schultz wrote: >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 >> >> Mark, >> >> On 5/6/12 5:05 AM, Mark Thomas wrote: >>> On 05/05/2012 12:25, Kanatoko wrote: Hello list,

Re: maxParameterCount not applied to multipart requests

2012-05-07 Thread Mark Thomas
On 07/05/2012 22:10, André Warnier wrote: > Christopher Schultz wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Mark, >> >> On 5/6/12 5:05 AM, Mark Thomas wrote: >>> On 05/05/2012 12:25, Kanatoko wrote: Hello list, It seems that the Connector attribute "maxParameterC

Re: Tomcat pausing and no java process

2012-05-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Miguel, On 5/5/12 5:41 AM, Miguel González Castaños wrote: >>> Yes, I have pinpointed several queries that took quite long >>> and specially subqueries. I forwarded this info to the >>> developer but she said it was alright. More than a second to >>>

Re: maxParameterCount not applied to multipart requests

2012-05-07 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 5/6/12 5:05 AM, Mark Thomas wrote: On 05/05/2012 12:25, Kanatoko wrote: Hello list, It seems that the Connector attribute "maxParameterCount" is not applied to multipart requests. Correct. This is by design.

Re: maxParameterCount not applied to multipart requests

2012-05-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 5/6/12 5:05 AM, Mark Thomas wrote: > On 05/05/2012 12:25, Kanatoko wrote: >> Hello list, >> >> It seems that the Connector attribute "maxParameterCount" is not >> applied to multipart requests. > > Correct. This is by design. Doesn't that

Re: Tomcat 7 - No modifications are allowed to a locked ParameterMap

2012-05-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ravi, On 5/5/12 12:10 AM, ravi kant chaturvedi wrote: > i got the proper solution for my problem, so i do not require more > mails from this list. > > please stop the mail, because this is spoiling my mail box. Pro tip: filter your email. It's what

RE: JDBC Connection over VPN

2012-05-07 Thread Sanjeev Sharma
Found a solutions for this. Apparently Java 7 wraps IPV4 addresses as IPV6, which is not supported by Cisco Anyconnect. Turning of IPV6 on the Cisco VPN adapter (Control Panel\Network and Internet\Network Connections) fixed the problem. -Original Message- From: Sanjeev Sharma [mailto:

Re: Adding the manager app to a Standalone tomcat install

2012-05-07 Thread André Warnier
Ognjen Blagojevic wrote: Todd, On 4.5.2012 22:01, Todd Seidenberg wrote: xx.x.32.16 - - [04/May/2012:13:59:05 -0600] "GET /manager/html HTTP/1.1" 404 991 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.19 (KHTML, like Gecko) Ubuntu/12.04 Chromium/18.0.1025.151 Chrome/18.0.1025.151 Safari/5

Re: munin tomcat and mysql

2012-05-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Miguel, On 5/7/12 12:16 PM, Miguel González Castaños wrote: > Since it's a virtual machine, is munin going to take many > resources of my system or is it a light tool? Maybe ask on the Munin list? > Does anyone know of any nice tutorial of installin

RE: Tomcat from remote subnet

2012-05-07 Thread Charles Shreve
You've said very little about your environment. It would be nice to know: 1. Tomcat version - be precise 2. Package install or downloaded from tomcat.apache.org 3. Fronted by Apache HTTPD or not 4. If fronted by Apache HTTPD, how (mod_proxy_http, mod_proxy_ajp, mod_ajp) That being said, I'll m

Re: Tomcat from remote subnet

2012-05-07 Thread Mark Eggers
- Original Message - > From: Charles Shreve > To: Tomcat Users List > Cc: > Sent: Monday, May 7, 2012 12:41 PM > Subject: RE: Tomcat from remote subnet > > I've tried to locate a access.log file but can't seem to find one. > > Thank You, > Charles Shreve > 540-662-1414 > - Origina

Re: JAX-RS on Tomcat 7 and Java 1.7

2012-05-07 Thread Rod Macpherson
>> What gave you that impression? Honestly? Web-based anecdotal reports to that effect (can't find the link now, of course). Anyway, I assume that's not the case based on your question:) I shall drop in an implementation (e.g., RESTEasy) and go from there. Thanks On Mon, May 7, 2012 at 12:04 A

RE: JDBC Connection over VPN

2012-05-07 Thread Sanjeev Sharma
Telnet seems to connect. -Original Message- From: Saurabh Makol [mailto:saurabh.ma...@gmail.com] Sent: Monday, May 07, 2012 3:50 PM To: Tomcat Users List Subject: Re: JDBC Connection over VPN Can you run telnet 1521 from command prompt when you VPN into your network? On Mon, May 7, 2

Re: JDBC Connection over VPN

2012-05-07 Thread Saurabh Makol
Can you run telnet 1521 from command prompt when you VPN into your network? On Mon, May 7, 2012 at 3:46 PM, Sanjeev Sharma < sanjeev.sha...@buchanan-edwards.com> wrote: > Using port 1521 in both cases, but it only fails for JDBC. > > -Original Message- > From: Propes, Barry L [mailto:ba

RE: JDBC Connection over VPN

2012-05-07 Thread Sanjeev Sharma
Using port 1521 in both cases, but it only fails for JDBC. -Original Message- From: Propes, Barry L [mailto:barry.l.pro...@citi.com] Sent: Monday, May 07, 2012 3:43 PM To: 'Tomcat Users List' Subject: RE: JDBC Connection over VPN Could the VPN connection be utlizing the same port Tomcat

RE: JDBC Connection over VPN

2012-05-07 Thread Propes, Barry L
Could the VPN connection be utlizing the same port Tomcat or Oracle usually does? Like something at 8080? Not sure if that's the case; or conversely, does going into VPN block those ports? -Original Message- From: Sanjeev Sharma [mailto:sanjeev.sha...@buchanan-edwards.com] Sent: Monday

RE: Tomcat from remote subnet

2012-05-07 Thread Charles Shreve
I've tried to locate a access.log file but can't seem to find one. Thank You, Charles Shreve 540-662-1414 - Original Message - From:"Jose María Zaragoza" To:"Tomcat Users List" Sent:5/7/2012 1:39 PM Subject:Re: Tomcat from remote subnet El 07/05/2012, a las 17:59, Charles Shreve escr

JDBC Connection over VPN

2012-05-07 Thread Sanjeev Sharma
Hi, Not sure if this is a Tomcat issue. When I connect directly to a network and startup my tomcat 7, my JDBC connection to an Oracle 11g network works just fine, but if I tunnel into the same network, JDBC fails to connect to the database. At the same time I'm able to make a connection to th

Re: Tomcat from remote subnet

2012-05-07 Thread Jose María Zaragoza
El 07/05/2012, a las 17:59, Charles Shreve escribió: > Where would I find the access.log? > Under tomcat folder, into logs folder > Thank You, > Charles Shreve > 540-662-1414 > - Original Message - > From:"Jose María Zaragoza" > To:"Tomcat Users List" > Sent:5/7/2012 11:02 AM > Subje

Re: Live changes to web.xml

2012-05-07 Thread David kerber
On 5/7/2012 11:41 AM, Konstantin Kolinko wrote: 2012/5/7 David kerber: When TC 5.5.25 reloads due to a web.xml change, do the context listeners fire? Whenever I get a tc reload/restart without stopping and starting the TC service, my db connection gets messed up, and if the contextlistener fire

Re: Adding the manager app to a Standalone tomcat install

2012-05-07 Thread Ognjen Blagojevic
Todd, On 4.5.2012 22:01, Todd Seidenberg wrote: xx.x.32.16 - - [04/May/2012:13:59:05 -0600] "GET /manager/html HTTP/1.1" 404 991 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.19 (KHTML, like Gecko) Ubuntu/12.04 Chromium/18.0.1025.151 Chrome/18.0.1025.151 Safari/535.19" xx.x.32.16 - - [04/

munin tomcat and mysql

2012-05-07 Thread Miguel González Castaños
Dear all, I'm thinking about installing munin to monitor mysql, tomcat and system resources (specially memory and network). I'm going to install it under CentOS and Tomcat 5.5. Since it's a virtual machine, is munin going to take many resources of my system or is it a light tool?

RE: Tomcat from remote subnet

2012-05-07 Thread Charles Shreve
Where would I find the access.log? Thank You, Charles Shreve 540-662-1414 - Original Message - From:"Jose María Zaragoza" To:"Tomcat Users List" Sent:5/7/2012 11:02 AM Subject:Re: Tomcat from remote subnet 2012/5/7 Charles Shreve : > We are able to open a test.html page from the remot

Re: Live changes to web.xml

2012-05-07 Thread Konstantin Kolinko
2012/5/7 David kerber : > When TC 5.5.25 reloads due to a web.xml change, do the context listeners > fire? > > Whenever I get a tc reload/restart without stopping and starting the TC > service, my db connection gets messed up, and if the contextlistener fires, > ISTM that would be a good place for

Live changes to web.xml

2012-05-07 Thread David kerber
When TC 5.5.25 reloads due to a web.xml change, do the context listeners fire? Whenever I get a tc reload/restart without stopping and starting the TC service, my db connection gets messed up, and if the contextlistener fires, ISTM that would be a good place for me to reset the connection. O

Re: Tomcat from remote subnet

2012-05-07 Thread Jose María Zaragoza
2012/5/7 Charles Shreve : > We are able to open a test.html page from the remote location but we cannot >open our web app from the remote > location.  Does Tomcat, by default, only allow local subnet access? If you can access to a test.html page from remote site, looks like it doesn't do it Do y

Tomcat from remote subnet

2012-05-07 Thread Charles Shreve
We have Tomcat running tomcat on Red Hat 5.1. We have our web application accessible to us on the local subnet with no problems. We have all firewalls turned off to prevent any problems. We are trying to load up the application from a remote location across a VPN that connects the two offices

Re: Webapp reading from .war rather than from exploded files

2012-05-07 Thread Mikolaj Rydzewski
On 07.05.2012 16:02, David kerber wrote: Is there something that would cause a ROOT webapp to read from its .war file even with the exploded files present? unpackwars is set in both server.xml files, and the wars are unpacked on startup. Maybe try to disable unpacking war files? Is it the opt

Webapp reading from .war rather than from exploded files

2012-05-07 Thread David kerber
I have an app running in TC 5.5.25 on Windows Server 2008, which seems to be reading some text that I use for creating a page footer, from the unexploded .war file rather than from the file on disk. My deployment procedure is that when I start TC, I let it explode the .war file, then I overwri

Re: JAX-RS on Tomcat 7 and Java 1.7

2012-05-07 Thread André Warnier
Petr Vávra wrote: Hello, my question is different: if Tomcat is supported by some troubleshooter team if for example some service shutdown/ stop and customer need help? Thank you Petr V. Petr, please do not "hijack threads". Do not just hit "reply" on a message of the list, if your subject/

RE: JAX-RS on Tomcat 7 and Java 1.7

2012-05-07 Thread Petr Vávra
Hello, my question is different: if Tomcat is supported by some troubleshooter team if for example some service shutdown/ stop and customer need help? Thank you Petr V. -Původní zpráva- Od: ma...@apache.org [mailto:ma...@apache.org] Odesláno: 7. května 2012 9:05 Komu: Tomcat Users List

Re: JAX-RS on Tomcat 7 and Java 1.7

2012-05-07 Thread markt
Rod Macpherson wrote: >I was under the impression Tomcat 7 supported JAX-RS out of the box. What gave you that impression? Mark - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: us