Re: Configuring Tomcat for generating log file (catalina.out) (Tomcat 5.0)

2013-01-18 Thread Daniel Mikusa
On Jan 18, 2013, at 2:49 PM, Gabriel Huerta Araujo wrote: > Thanks Chuck for your quick response. > > I agree with you, but application client does not understand this issue. In > other words, if I wanted to upgrade to last version, I would have to change > several files which involves rework and

Re: TomCat Executor

2013-01-18 Thread Daniel Mikusa
On Jan 18, 2013, at 3:08 PM, yogesh hingmire wrote: > Thanks Dan, > > So when i am not using the executor and specifying the maxthreads in the > connector element, what would be the size of the pool ? maxThreads From the docs... "The maximum number of request processing threads to be created b

Re: TomCat Executor

2013-01-18 Thread yogesh hingmire
Thanks Dan, So when i am not using the executor and specifying the maxthreads in the connector element, what would be the size of the pool ? Yogesh On Fri, Jan 18, 2013 at 12:04 PM, Daniel Mikusa wrote: > On Jan 18, 2013, at 12:54 PM, yogesh hingmire wrote: > > > Folks, > > > > What are the pe

RE: Configuring Tomcat for generating log file (catalina.out) (Tomcat 5.0)

2013-01-18 Thread Gabriel Huerta Araujo
Thanks Chuck for your quick response. I agree with you, but application client does not understand this issue. In other words, if I wanted to upgrade to last version, I would have to change several files which involves rework and I do not have enough time to do this. Any other solution? Regards.

RE: Configuring Tomcat for generating log file (catalina.out) (Tomcat 5.0)

2013-01-18 Thread Caldarale, Charles R
> From: Gabriel Huerta Araujo [mailto:huert...@hildebrando.com] > Subject: Configuring Tomcat for generating log file (catalina.out) (Tomcat > 5.0) Please be aware that the last Tomcat 5.0 release was over eight years ago, and 5.0 has not been supported for quite some time (several years). You

Configuring Tomcat for generating log file (catalina.out) (Tomcat 5.0)

2013-01-18 Thread Gabriel Huerta Araujo
Hi all: I did not notice the fact that my server application does not generate log file. Someone else changed configuration files and tomcat is not generating this log file (catalina.out). How can I restablish tomcat for generating this file? Regards. -

Re: TomCat Executor

2013-01-18 Thread Daniel Mikusa
On Jan 18, 2013, at 12:54 PM, yogesh hingmire wrote: > Folks, > > What are the performance implications of not using the executor element > (threadpool) for my AJP connector ? Instead of having one pool of threads that you can share across multiple connectors, you'll just have one pool of threa

Re: Apache DBCP or Tomcat JDBC Connection Pool

2013-01-18 Thread Daniel Mikusa
On Jan 18, 2013, at 11:47 AM, Neil Laurance wrote: > Hi there, > > For some time, the following link has existed: > > http://people.apache.org/~fhanik/jdbc-pool/jdbc-pool.html > > This details a 'new' Tomcat JDBC connection pool, with a number of reasons > why this is superior to commons-dbcp

Apache DBCP or Tomcat JDBC Connection Pool

2013-01-18 Thread Neil Laurance
Hi there, For some time, the following link has existed: http://people.apache.org/~fhanik/jdbc-pool/jdbc-pool.html This details a 'new' Tomcat JDBC connection pool, with a number of reasons why this is superior to commons-dbcp However, the standard datasource configuration page mentions that t

Re: Only start manager at startup

2013-01-18 Thread David kerber
On 1/18/2013 11:06 AM, Mark Thomas wrote: On 18/01/2013 14:42, David kerber wrote: On 1/18/2013 9:18 AM, Mark Thomas wrote: On 18/01/2013 13:33, Alexandre Rubert wrote: Hello, I've more than 200app in my webapp directory with symbolic links in some images. If I activate allowLinking tomcat cra

Re: Only start manager at startup

2013-01-18 Thread Mark Thomas
On 18/01/2013 14:42, David kerber wrote: > On 1/18/2013 9:18 AM, Mark Thomas wrote: >> On 18/01/2013 13:33, Alexandre Rubert wrote: >>> Hello, >>> I've more than 200app in my webapp directory with symbolic links in some >>> images. If I activate allowLinking tomcat crash during startup because >>>

Re: Only start manager at startup

2013-01-18 Thread David kerber
On 1/18/2013 9:18 AM, Mark Thomas wrote: On 18/01/2013 13:33, Alexandre Rubert wrote: Hello, I've more than 200app in my webapp directory with symbolic links in some images. If I activate allowLinking tomcat crash during startup because of out of memory. I'd like to disable automatic start for a

Re: Only start manager at startup

2013-01-18 Thread Alexandre Rubert
Le 18/01/2013 15:18, Mark Thomas a écrit : On 18/01/2013 13:33, Alexandre Rubert wrote: Hello, I've more than 200app in my webapp directory with symbolic links in some images. If I activate allowLinking tomcat crash during startup because of out of memory. I'd like to disable automatic start for

Re: Only start manager at startup

2013-01-18 Thread Mark Thomas
On 18/01/2013 13:33, Alexandre Rubert wrote: > Hello, > I've more than 200app in my webapp directory with symbolic links in some > images. If I activate allowLinking tomcat crash during startup because > of out of memory. I'd like to disable automatic start for all > applications except manager. I

RE: BufferOverflowException in AjpNioProcessor

2013-01-18 Thread Konstantin Preißer
Hi Mark, > > If you set the following system property: > > org.apache.catalina.connector.RECYCLE_FACADES > > > > to true (e.g. in setenv.[bat|sh]) and your application is retaining > > references you should start to see NPEs and the stack trace should > point > > to where the problem is. > > > > I

Only start manager at startup

2013-01-18 Thread Alexandre Rubert
Hello, I've more than 200app in my webapp directory with symbolic links in some images. If I activate allowLinking tomcat crash during startup because of out of memory. I'd like to disable automatic start for all applications except manager. I tried by adding deployOnStartup="false" and autoDe

Re: tomcat 6 j_security_check, Apache ProxyPass and the Origin: header

2013-01-18 Thread Mark Thomas
On 18/01/2013 12:01, Tim Watts wrote: > On 18/01/13 11:45, Mark Thomas wrote: >> On 18/01/2013 11:07, Tim Watts wrote: >>> Anyone? >> > > Hi Mark, > >> Tomcat doesn't give two hoots about the origin header. > > Curious - I wonder how me editing it helped? Unless it caused some > knockon somewher

Re: tomcat 6 j_security_check, Apache ProxyPass and the Origin: header

2013-01-18 Thread Tim Watts
On 18/01/13 11:45, Mark Thomas wrote: On 18/01/2013 11:07, Tim Watts wrote: Anyone? Hi Mark, Tomcat doesn't give two hoots about the origin header. Curious - I wonder how me editing it helped? Unless it caused some knockon somewhere. It does care about the Host header. That would m

Re: tomcat 6 j_security_check, Apache ProxyPass and the Origin: header

2013-01-18 Thread Tim Watts
On 18/01/13 11:27, André Warnier wrote: I don't know if this really helps or improves things, but the standard way of handling the Location in redirects is via the ProxyPassReverse directive (which is probably more efficient here - and more easily understood - than the Header-edit). The ProxyP

Re: tomcat 6 j_security_check, Apache ProxyPass and the Origin: header

2013-01-18 Thread Mark Thomas
On 18/01/2013 11:07, Tim Watts wrote: > Anyone? Tomcat doesn't give two hoots about the origin header. It does care about the Host header. It is hard to tell exactly what is going wrong from your post but you may need one or more of the following: http://httpd.apache.org/docs/2.2/mod/mod_proxy.h

Re: tomcat 6 j_security_check, Apache ProxyPass and the Origin: header

2013-01-18 Thread André Warnier
Tim Watts wrote: Anyone? On 14/01/13 17:24, Watts, Timothy wrote: Hi, Is there a way to *tell* j_security_check that an Origin: header set (during the login POST request) to a remote server is permitted (and is not an XSS attack)? We have a tomcat server T running a tomcat webapp that us

Re: tomcat 6 j_security_check, Apache ProxyPass and the Origin: header

2013-01-18 Thread Tim Watts
Anyone? On 14/01/13 17:24, Watts, Timothy wrote: Hi, Is there a way to *tell* j_security_check that an Origin: header set (during the login POST request) to a remote server is permitted (and is not an XSS attack)? We have a tomcat server T running a tomcat webapp that uses j_security_chec

Re: Single Tomcat instance scalability

2013-01-18 Thread Aditi Sinha
Thanks alot Chris and Mark. Regards, Aditi

Re: Single Tomcat instance scalability

2013-01-18 Thread Mark Thomas
On 18/01/2013 10:37, chris derham wrote: >> We have a web server hosted on Apache Tomcat Version 7.0.32. >> >> It is a single Tomcat instance on 64 bit windows. Server.xml has two >> connectors: The ssl connector is HTTP NIO and the non-ssl connector is HTTP >> BIO. >> >> We are trying to achieve

Re: Single Tomcat instance scalability

2013-01-18 Thread chris derham
> We have a web server hosted on Apache Tomcat Version 7.0.32. > > It is a single Tomcat instance on 64 bit windows. Server.xml has two > connectors: The ssl connector is HTTP NIO and the non-ssl connector is HTTP > BIO. > > We are trying to achieve vertical scalability and would like to increase

AW: AW: AW: ( ajp on 7009 and 9009 not afs3-rmtsys): connections keept open

2013-01-18 Thread David Kumar
Hey, I do that at next deployment. --> I Thursday... So far I'm trying executor for tomcat. As far I read, when I'm using connectors idle process are forced to be close.. Mit freundlichen Grüßen David Kumar Softwareentwickler, B. Sc. Abteilung Infotech - Interaktiv TELESTAR-DIGITAL GmbH Am

Re: AW: AW: ( ajp on 7009 and 9009 not afs3-rmtsys): connections keept open

2013-01-18 Thread André Warnier
David Kumar wrote: Hey André, are you talking about running System.gc()? Yes. That should be possible.. Mit freundlichen Grüßen David Kumar Softwareentwickler, B. Sc. Abteilung Infotech - Interaktiv TELESTAR-DIGITAL GmbH Am Weiher 14 D-56766 Ulmen http://www.telestar.de/ -Urspr

AW: AW: ( ajp on 7009 and 9009 not afs3-rmtsys): connections keept open

2013-01-18 Thread David Kumar
Hey André, are you talking about running System.gc()? That should be possible.. Mit freundlichen Grüßen David Kumar Softwareentwickler, B. Sc. Abteilung Infotech - Interaktiv TELESTAR-DIGITAL GmbH Am Weiher 14 D-56766 Ulmen http://www.telestar.de/ -Ursprüngliche Nachricht- Von: A

Re: AW: ( ajp on 7009 and 9009 not afs3-rmtsys): connections keept open

2013-01-18 Thread André Warnier
David, (and sorry for top-posting here) just to verify something. Can you trigger a Major Garbage Collection at the Tomcat JVM level, at a moment when you have all these connections in CLOSE_WAIT, and see if they disappear after the GC ? If yes, it may give a good clue about where all these C

Re: Tomcat slow during startup >= 7.0.28

2013-01-18 Thread Conrad Kostecki
Hello Stefan! Am 15.01.2013 19:17, schrieb Stefan Mayr: > Am 14.01.2013 15:11, schrieb Conrad Kostecki: >> Hi! >> I've noticed, that Tomcat got much slower during startup. When using >> a Version > 7.0.27 (+ Oracle JDK 7), it takes much longer. >> ... >> After this Step, with a newer version, it c

Re: TFS SDK Native Library Error in a web service deployed on Axis2-Tomcat7-Ubuntu platform

2013-01-18 Thread Bulent Ozhorasan
Chris, TFS has a Java SDK which can be downloaded free from MS site. Moreover for Java Developers, there is an Eclipse plugin called Team Explorer Everywhere for Eclipse. There is a also a Java command line client TEE CLC: tf It's like subversion svn executable. Anyways, Problem is resolved. To

( ajp on 7009 and 9009 not afs3-rmtsys): connections keept open

2013-01-18 Thread David Kumar
Hey, thanks for reply. I got that about the Apache configuration. Since we had our problem yesterday, again and there was no error at the apache logs I'm willing to say that is not the main problem and I have to check that, when my main problem is solved.. :-) I agree with you about wrong repo