Re: How to limit tomcats thread consumption?

2011-04-07 Thread Michael Jerger
Am Dienstag, 5. April 2011, 18:13:57 schrieb Michael Jerger: > Andre wrote: > > That is one of those areas where giving a precise answer is not easy, > > because it depends on so many things.. > > > > You can run two separate Apache httpd instances of course, each with its > > individual MaxClient

Re: How to hide tomcat console when installed as service

2011-04-07 Thread Amit k
Hi, The tomcat is build from source and it is integrated in the installer. Not to use binaries was the decision taken long back and cant be revoked. The tomcat is started exactly in two ways 1. With sc.exe (That is with the SC tool) that is sc.exe start Tomcat6 2. With net start Tomcat6 command

Re: Tomcat-oracle secure connection

2011-04-07 Thread ramram8
Thank you Alex for the quick reply. can you provide me with some examples or documentation concerning the subject? Alex Kiernan wrote: > > Transport mode IPsec? Easy if you've done it before, a complete > ballache the first time. > > On 4/7/11, ramram8 wrote: >> >> Hello, >> >> Does anybody h

Re: Trouble with jdbc drivers in TC 7

2011-04-07 Thread Rainer Frey
On Thursday 07 April 2011 22:17:22 Christopher Schultz wrote: > >> Could you be missing a shared > >> library from your java.library.path? Sometimes, missing shared libs can > >> cause CNFEs. > > > > The folder where the .dlls are located is on the windows %path%. Is > > that part of the java.li

Re: Trouble with jdbc drivers in TC 7 - fixed

2011-04-07 Thread David Kerber
On 4/7/2011 8:02 PM, Konstantin Kolinko wrote: 2011/4/8 David Kerber: On 4/7/2011 5:57 PM, Konstantin Kolinko wrote: 2011/4/8 David kerber: To close this loop, I got it fixed. The issue was a (apparently very slightly) corrupt jodbc.jar file. I say very slightly because I could open it with

Re: Trouble with jdbc drivers in TC 7 - fixed

2011-04-07 Thread Konstantin Kolinko
2011/4/8 David Kerber : > On 4/7/2011 5:57 PM, Konstantin Kolinko wrote: >> >> 2011/4/8 David kerber: >>> >>> To close this loop, I got it fixed.  The issue was a (apparently very >>> slightly) corrupt jodbc.jar file.  I say very slightly because I could >>> open >>> it with windows explorer's .zip

Re: Trouble with jdbc drivers in TC 7 - fixed

2011-04-07 Thread David Kerber
On 4/7/2011 5:57 PM, Konstantin Kolinko wrote: 2011/4/8 David kerber: To close this loop, I got it fixed. The issue was a (apparently very slightly) corrupt jodbc.jar file. I say very slightly because I could open it with windows explorer's .zip handling functionality and everything looked fin

Re: Trouble with jdbc drivers in TC 7 - fixed

2011-04-07 Thread Konstantin Kolinko
2011/4/8 David kerber : > To close this loop, I got it fixed.  The issue was a (apparently very > slightly) corrupt jodbc.jar file.  I say very slightly because I could open > it with windows explorer's .zip handling functionality and everything looked > fine, but tomcat choked on it when trying to

Re: Trouble with jdbc drivers in TC 7 - fixed

2011-04-07 Thread David kerber
To close this loop, I got it fixed. The issue was a (apparently very slightly) corrupt jodbc.jar file. I say very slightly because I could open it with windows explorer's .zip handling functionality and everything looked fine, but tomcat choked on it when trying to open it with java.util.zip.

Re: [ win xp and win server 2003 ] tomcat utf8 encoding

2011-04-07 Thread André Warnier
Christopher Schultz wrote: ... (RFC references) .. Thanks for that post (with the chain of applicable RFCs). I will keep that email preciously as a resource for future file upload debugging references. ... Also, to add to the potential OP woes, there is also the fact that some browsers send t

Re: tomcat iis connector feedback is needed

2011-04-07 Thread Bilal S
Thanks for the info. Will adjust with next revision. On Wed, Apr 6, 2011 at 11:20 AM, Mladen Turk wrote: > On 04/06/2011 03:56 PM, Bilal S wrote: > >> Folks: >> Feedback is needed on a project I worked on to connect IIS to Tomcat. >> >> Connectors can be downloaded from: >> http://tomcatiis.riaf

Re: Trouble with jdbc drivers in TC 7

2011-04-07 Thread David kerber
On 4/7/2011 5:01 PM, Filip Hanik - Dev Lists wrote: The config has changed from to I don't use any of those, because TC isn't managing the pool; the app handles its own pool. The file layout that works in 5.5 doesn't seem to work in 7.0, unless there's some very subtle difference I'm no

Re: Help with CsrfPreventionFilter

2011-04-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeff, On 4/7/2011 12:08 PM, Mathew Samuel wrote: > > CSRFPreventionFilter > * > The javadoc for that class says that the filter should be mapped to "/*" not "*". > Notice that as an entry point I have specified '/do/Start'

Re: Trouble with jdbc drivers in TC 7

2011-04-07 Thread Filip Hanik - Dev Lists
The config has changed from to System: Windows Server 2008 R2 Standard (64-bit) JRE: 1.6.0_24 x64 TC: 7.0.11, installed in c:\Program Files\..., so it detected an x64 installation DB: Sybase ASA 9.0.2.3951, x64 version DB server and TC are both installed on this same machine. I'm tryi

Re: Help with CsrfPreventionFilter

2011-04-07 Thread Konstantin Kolinko
2011/4/7 Mathew Samuel : > Just wondering if some one has had success using this particular filter and > could give me pointers or perhaps an example on how I can properly use it. The manager and host-manager webapps bundled with Tomcat are using this filter. Best regards, Konstantin Kolinko --

Re: Issue compiling a JSP in old and new versions of Tomcat, but not middle versions

2011-04-07 Thread Konstantin Kolinko
2011/4/7 Christopher Schultz : > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Nick, > > On 4/7/2011 11:20 AM, Nick Williams wrote: >> Originally, I discovered some time ago that these JSP files would NOT >> compile in Tomcat 5.5.25 or below, throwing the following error: >> >> "The code of m

Re: Trouble with jdbc drivers in TC 7

2011-04-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 4/7/2011 4:09 PM, David kerber wrote: > On 4/7/2011 3:35 PM, Christopher Schultz wrote: > David, > > On 4/7/2011 2:08 PM, David kerber wrote: System: Windows Server 2008 R2 Standard (64-bit) JRE: 1.6.0_24 x64 TC: 7.0.11, i

Re: [ win xp and win server 2003 ] tomcat utf8 encoding

2011-04-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 4/7/2011 12:26 PM, André Warnier wrote: > What I am saying is that, since you have the same Tomcat version on both > systems, the code which works differently is unlikely to be in Tomcat > itself. To my recollection (maybe wrong), Tomcat 6.

Re: Trouble with jdbc drivers in TC 7

2011-04-07 Thread David kerber
On 4/7/2011 3:35 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 4/7/2011 2:08 PM, David kerber wrote: System: Windows Server 2008 R2 Standard (64-bit) JRE: 1.6.0_24 x64 TC: 7.0.11, installed in c:\Program Files\..., so it detected an x64 installation

Re: Trouble with jdbc drivers in TC 7

2011-04-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 4/7/2011 2:08 PM, David kerber wrote: > System: Windows Server 2008 R2 Standard (64-bit) > JRE: 1.6.0_24 x64 > TC: 7.0.11, installed in c:\Program Files\..., so it detected an x64 > installation > DB: Sybase ASA 9.0.2.3951, x64 version

Re: Trouble with jdbc drivers in TC 7

2011-04-07 Thread David kerber
On 4/7/2011 3:28 PM, Caldarale, Charles R wrote: From: David kerber [mailto:dcker...@verizon.net] Subject: Re: Trouble with jdbc drivers in TC 7 Was something changed in 7 from previous versions wrt database connections? Even if it had been changed, it shouldn't matter in your case, since yo

Re: Tomcat 5.5/6 - JSP Reload

2011-04-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sylvain, On 4/7/2011 11:41 AM, Sylvain Goulmy wrote: > Having spent some time trying to understand why when I deploy a new version > of my JSP, it was not recompiled, I observe that in fact a new version is > taken into account only if the modificatio

RE: Trouble with jdbc drivers in TC 7

2011-04-07 Thread Caldarale, Charles R
> From: David kerber [mailto:dcker...@verizon.net] > Subject: Re: Trouble with jdbc drivers in TC 7 > Was something changed in 7 from previous versions wrt > database connections? Even if it had been changed, it shouldn't matter in your case, since you're handling your own connections. This l

Re: Trouble with jdbc drivers in TC 7

2011-04-07 Thread David kerber
On 4/7/2011 2:16 PM, Caldarale, Charles R wrote: From: David kerber [mailto:dcker...@verizon.net] Subject: Trouble with jdbc drivers in TC 7 All my database pooling is done in the application, so I thought putting the jodbc.jar in the WEB-INF/lib of the app would work with no need to edit my c

Re: frequent Class unloading/classnotfound problem

2011-04-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Arvind, On 4/7/2011 9:32 AM, S Arvind wrote: > Recently in our web application deployed in tomcat, some weird problem is > raising very frequently. > Some of the servlet or class > in that web app

Re: Tomcat Failed to start

2011-04-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Junior, On 4/7/2011 5:51 AM, JuniorDev wrote: > > I install Tomcat 7.0 and JDK 1.6 in windows. After installation successful I > not able to start the tomcat. can anybody hel me on this... below is the > error found on log file > > [info] Starting s

RE: Tomcat Failed to start

2011-04-07 Thread Caldarale, Charles R
> From: JuniorDev [mailto:gsajunior...@gmail.com] > Subject: Tomcat Failed to start > I install Tomcat 7.0 Tomcat 7.0.what? > and JDK 1.6 JDK 1.6.what? > in windows Which of the many flavors of Windows? > After installation successful Exactly how did you install Tomcat? Which Tomcat downl

RE: Trouble with jdbc drivers in TC 7

2011-04-07 Thread Caldarale, Charles R
> From: David kerber [mailto:dcker...@verizon.net] > Subject: Trouble with jdbc drivers in TC 7 > All my database pooling is done in the application, so I > thought putting the jodbc.jar in the WEB-INF/lib of the > app would work with no need to edit my configuration files I think that should w

Re: Issue compiling a JSP in old and new versions of Tomcat, but not middle versions

2011-04-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nick, On 4/7/2011 11:20 AM, Nick Williams wrote: > Originally, I discovered some time ago that these JSP files would NOT > compile in Tomcat 5.5.25 or below, throwing the following error: > > "The code of method _jspService(HttpServletRequest, > Http

Trouble with jdbc drivers in TC 7

2011-04-07 Thread David kerber
System: Windows Server 2008 R2 Standard (64-bit) JRE: 1.6.0_24 x64 TC: 7.0.11, installed in c:\Program Files\..., so it detected an x64 installation DB: Sybase ASA 9.0.2.3951, x64 version DB server and TC are both installed on this same machine. I'm trying to port my app from tc 5.5.someth

Re: java.lang.ClassNotFoundException: org.apache.jasper.servlet.JspServlet when embedding tomcat 7.0.11

2011-04-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Christian, On 4/7/2011 5:24 AM, chrish123 wrote: > I added tomcat-jsp-api and tomcat-servlet-api to the classpath, it now > looks like > the following: Please make this mess easier to read in future posts. This is your CLASSPATH if CACHE_DIR=\dev\p

Re: Tomcat-oracle secure connection

2011-04-07 Thread Alex Kiernan
Transport mode IPsec? Easy if you've done it before, a complete ballache the first time. On 4/7/11, ramram8 wrote: > > Hello, > > Does anybody have any idea how to secure a tomcat connection to oracle > database (jdbc encryption for example) or any other idea that can be easily > implemented. > >

Re: [ win xp and win server 2003 ] tomcat utf8 encoding

2011-04-07 Thread André Warnier
Tomislav Brkljačić wrote: awarnier wrote: Tomislav Brkljačić wrote: Hi to all, this is my scenario and problem. Situation 1. - local machine, win xp I have a web app deployed to tomcat, and the app has a webform for uploading attachments. Attachments can have funny letters (š,ć,čćžđ ) in t

Auto-deploy failure

2011-04-07 Thread Jeff Sturm
Greetings, I'm a new subscriber and apologize if this is a FAQ. I've read over the documentation at http://tomcat.apache.org/tomcat-6.0-doc/config/host.html (under heading "Automatic Application Deployment") and searched the FAQ at http://wiki.apache.org/tomcat/FAQ/Deployment. This bullet

Help with CsrfPreventionFilter

2011-04-07 Thread Mathew Samuel
Hi, I'm trying to make use of the CsrfPreventionFilter using 7.0.12 so this is what I have added to the relevant web.xml CSRFPreventionFilter org.apache.catalina.filters.CsrfPreventionFilter entryPoints /do/Start

Re: [ win xp and win server 2003 ] tomcat utf8 encoding

2011-04-07 Thread Tomislav Brkljačić
awarnier wrote: > > Tomislav Brkljačić wrote: >> Hi to all, >> >> this is my scenario and problem. >> >> Situation 1. - local machine, win xp >> I have a web app deployed to tomcat, and the app has a webform for >> uploading >> attachments. >> Attachments can have funny letters (š,ć,čćžđ ) in

Tomcat 5.5/6 - JSP Reload

2011-04-07 Thread Sylvain Goulmy
Hello everyone, Having spent some time trying to understand why when I deploy a new version of my JSP, it was not recompiled, I observe that in fact a new version is taken into account only if the modification timestamp of the new JSP (Linux Environment) is newer than the modification timestamp of

Tomcat-oracle secure connection

2011-04-07 Thread ramram8
Hello, Does anybody have any idea how to secure a tomcat connection to oracle database (jdbc encryption for example) or any other idea that can be easily implemented. Thanks in advance, Ram Ram -- View this message in context: http://old.nabble.com/Tomcat-oracle-secure-connection-tp31343690

Issue compiling a JSP in old and new versions of Tomcat, but not middle versions

2011-04-07 Thread Nick Williams
I have an issue compiling several JSP files in Tomcat < 5.5.26 and Tomcat 7, but not in Tomcat 5.5.26 through 6.0.32. Ultimately, I'm going to fix the underlying problem in the JSP files (it will take some time), but I would like to get some community input as to the issue from a Tomcat / JDT Co

Re: Maven 2 configuration for JSF2 compatible version of tomcat plugin

2011-04-07 Thread Yucca Nel
I have managed to fix the manager application and am able to deploy war as expected through gui. However, could someone explain how the cargo plugin uses the manager? How does it find it? I don't see any documentation or examples that document explicit local server configuration. Must my local

Re: [ win xp and win server 2003 ] tomcat utf8 encoding

2011-04-07 Thread André Warnier
Tomislav Brkljačić wrote: Hi to all, this is my scenario and problem. Situation 1. - local machine, win xp I have a web app deployed to tomcat, and the app has a webform for uploading attachments. Attachments can have funny letters (š,ć,čćžđ ) in the filename. I have set the file.encoding=UTF

[ win xp and win server 2003 ] tomcat utf8 encoding

2011-04-07 Thread Tomislav Brkljačić
Hi to all, this is my scenario and problem. Situation 1. - local machine, win xp I have a web app deployed to tomcat, and the app has a webform for uploading attachments. Attachments can have funny letters (š,ć,čćžđ ) in the filename. I have set the file.encoding=UTF8 and UriEncoding = UTF8 for

frequent Class unloading/classnotfound problem

2011-04-07 Thread S Arvind
Hi All, Recently in our web application deployed in tomcat, some weird problem is raising very frequently. Some of the servlet or class in that web app are getting unloaded. So when the request comes it is sendi

RE: Tomcat LifecycleListener

2011-04-07 Thread Caldarale, Charles R
> From: Sebastian Biedermann > [mailto:biederm...@seceng.informatik.tu-darmstadt.de] > Subject: Tomcat LifecycleListener > I want to programm an Eventlistener for the tomcat6 Server > that gives me an event when a war-file ist started. Be precise: tell us the *exact* Tomcat version (there are

Re: Tomcat LifecycleListener

2011-04-07 Thread André Warnier
Sebastian Biedermann wrote: Dear List, I want to programm an Eventlistener for the tomcat6 Server that gives me an event when a war-file ist started. So I added a line to the server.xml: [...] [...] And I have this little Java example code here which I put in /usr/share/tomcat6/lib/Tomc

Tomcat LifecycleListener

2011-04-07 Thread Sebastian Biedermann
Dear List, I want to programm an Eventlistener for the tomcat6 Server that gives me an event when a war-file ist started. So I added a line to the server.xml: [...] [...] And I have this little Java example code here which I put in /usr/share/tomcat6/lib/TomcatListener.java : import org

Maven 2 configuration for JSF2 compatible version of tomcat plugin

2011-04-07 Thread Yucca Nel
Hello, Maven is extremely difficult to grasp when looking for appropriate documentation. My builder (IDEA) has excellent maven support and I am trying to create a JSF2/maven project I attempt to use the cargo maven plugin as documented, but it would appear that this requires me to have know

Re: tomcat and spring security secure channel setting

2011-04-07 Thread Igor Cicimov
Remove the second iptables rule and see if it works. You have that redirect in the connector already. Sent from my phone On Apr 7, 2011 7:08 AM, "Gavin Yue" wrote: Hi, I am using grails spring security to secure the url. I specify in grails: grails.plugins.springsecurity.secureChannel.definit

Re: How to hide tomcat console when installed as service

2011-04-07 Thread Pid
On 4/7/11 9:13 AM, Amit k wrote: > I am using tomcat 6.0.29 (32bit) source to build the tomcat. Why not just use the binary? How are you starting Tomcat when it exhibits the issue, exactly? p signature.asc Description: OpenPGP digital signature

Re: JDBC Pool Disconnections

2011-04-07 Thread Pid
On 4/6/11 8:36 PM, הילה wrote: > I wanted to add it, bu the company that developed the application that runs > on the tomcat, says that it affect performance and has issues. Which DB driver are you using? In my experience some of the jTDS driver variations have issues. p > what do you mean "v

Re: Session sharing between context

2011-04-07 Thread Pid
On 4/6/11 7:52 PM, Christopher Schultz wrote: > Sergio, > > On 4/5/2011 9:03 AM, Sergio wrote: >> We have an environment where there will be several instance of the same >> webapp running on tomcat (sharing libraries when possible), each >> connecting to different database. My idea is to have a we

Tomcat Failed to start

2011-04-07 Thread JuniorDev
I install Tomcat 7.0 and JDK 1.6 in windows. After installation successful I not able to start the tomcat. can anybody hel me on this... below is the error found on log file [info] Starting service... [2011-04-06 17:32:07] [error] FindClass org/apache/catalina/startup/Bootstrap failed [2011-04-06

Re: java.lang.ClassNotFoundException: org.apache.jasper.servlet.JspServlet when embedding tomcat 7.0.11

2011-04-07 Thread chrish123
Hi, thanks for your answer. I added tomcat-jsp-api and tomcat-servlet-api to the classpath, it now looks like the following: classpath = D:\dev\workspace\gradle_test\test\build\classes\test;D:\dev\workspace\gradle_test\test\build\classes\main;D: \dev\programs\gradle_cache\cache\org.apache.

Re: java.lang.ClassNotFoundException: org.apache.jasper.servlet.JspServlet when embedding tomcat 7.0.11

2011-04-07 Thread Francis GALIEGUE
On Thu, Apr 7, 2011 at 10:44, "Christian Hödl" wrote: > Hi, >  I'm trying to start Tomcat 7.0.11 from within an automated test. >  Unfortunately, when I call tomcat.start(), the following >  exception happens: > > Servlet /abc/ threw load() exception > java.lang.ClassNotFoundException: org.apache.

java.lang.ClassNotFoundException: org.apache.jasper.servlet.JspServlet when embedding tomcat 7.0.11

2011-04-07 Thread Christian Hödl
Hi, I'm trying to start Tomcat 7.0.11 from within an automated test. Unfortunately, when I call tomcat.start(), the following exception happens: Servlet /abc/ threw load() exception java.lang.ClassNotFoundException: org.apache.jasper.servlet.JspServlet at org.apache.catalina.loader.

How to hide tomcat console when installed as service

2011-04-07 Thread Amit k
Hi there, I am using tomcat 6.0.29 (32bit) source to build the tomcat. The same, after it is built, is installed as windows service. I am installing it on windows XP (32 bit), Windows 7 and windows 2K8 (both 64 bit) systems as service. I dont want the tomcat console to appear when it is installed

Re: Apache Tomcat Process is getting killed automatically.

2011-04-07 Thread Francis GALIEGUE
On Thu, Apr 7, 2011 at 01:42, Prashant Rajput wrote: > Hi, > > I am using Apache Tomcat 5.x and it is having two instances running on it, > one is Flex application and the other one is Java application which is used > by the Flex application to Export the results. > > My RAM is 4GB and Tomcat's xm