Re: Should Tomcat Windows Service StopTimeout kill the process at timeout?

2014-03-25 Thread David kerber
On 3/25/2014 1:41 PM, Sebastien Tardif wrote: Hello, I was somehow expecting something useful from -StopTimeout parameter from Tomcat 7.0.52 Windows Service referenced at http://tomcat.apache.org/tomcat-7.0-doc/windows-service-howto.html But when I set a timeout, well in the UI it's called

Re: Stable version

2014-03-09 Thread David Kerber
You're correct that it doesn't explicitly say which is the latest stable version, but the description says that 8.x is beta, which would imply that the latest 7.0.x would be the latest stable version, which it is. D On 3/9/2014 11:46 AM, Gallegos, Alfonso wrote: I'm not sure but they sure

Shutdown port on Windows Service installation

2014-03-04 Thread David kerber
I am running several instances of TC 7 as services on a Windows Server 2008 R2. Each instance has its own set of ports, and I have both the data port and shutdown ports configured in server.xml. They are currently running only HTTP. My questions: 1. Does the shutdown port serve any

Re: Shutdown port on Windows Service installation

2014-03-04 Thread David kerber
On 3/4/2014 10:34 AM, André Warnier wrote: David kerber wrote: I am running several instances of TC 7 as services on a Windows Server 2008 R2. Each instance has its own set of ports, and I have both the data port and shutdown ports configured in server.xml. They are currently running only

Re: Shutdown port on Windows Service installation

2014-03-04 Thread David kerber
On 3/4/2014 12:04 PM, Jeffrey Janner wrote: -Original Message- From: David kerber [mailto:dcker...@verizon.net] Sent: Tuesday, March 04, 2014 8:17 AM To: Tomcat Users List Subject: Shutdown port on Windows Service installation I am running several instances of TC 7 as services

Re: Shutdown port on Windows Service installation

2014-03-04 Thread David kerber
On 3/4/2014 2:08 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 David, On 3/4/14, 10:47 AM, David kerber wrote: On 3/4/2014 10:34 AM, André Warnier wrote: David kerber wrote: ... That's what I was hoping Mark, Chuck or one of the other committers could

Re: Websockets timing out

2014-03-04 Thread David kerber
On 3/4/2014 3:46 PM, Bob Mancarella wrote: could you try this. http://dev.bizunite.com/inlook/echo.html click on annotation API then Connect and see if you stay connected. Seems to be working fine for me. On Tue, Mar 4, 2014 at 3:44 PM, Mark Thomas ma...@apache.org wrote: On 04/03/2014

Re: tomcat 7 for production

2014-03-02 Thread David Kerber
On 3/2/2014 2:14 PM, Ahmed Dalatony wrote: hello all, i'm planning to use tomcat in production server which version is ready for production use ??? thank you The latest released version of 7.0.x is the way to go. - To

Re: Newbie question: Installing Java EE

2014-03-01 Thread David Kerber
On 3/1/2014 3:05 AM, Bruce Whealton wrote: Hello all, Recently, I downloaded Java EE with the SDK. When I went to install it, it could not find the Java Run-time, the JRE. I have Java SE with the JDK installed and have used Java on my system. When I installed Java SE it

Re: linux vs windows responses on the list

2014-02-24 Thread David kerber
On 2/24/2014 10:59 AM, Leo Donahue wrote: In general, is it assumed that all responses given to the list assume the OP is running a version of Linux, if they don't state the OS? For example, I read the post about Tomcat upgrades/security patching best practices and the advice given is to modify

Re: sudden increase in tomcat sessions..?

2014-02-08 Thread David Kerber
On 2/8/2014 7:08 PM, Kumar Muthuramalingam wrote: Hi, I 'm using tomcat version 6 and 7. One day there was a sudden increase in number of sessions in both tomcats. And all the sessions had no username, same lastaccessed time, same created time and the inactive time was 00:00:00. It is not

Re: Tomcat JNDI Datasource

2014-02-07 Thread David Newman
On 2/6/2014 10:45 PM, Filip Hanik wrote: Yes, define the connection pool in server.xml, GlobalNamingResources then in context.xml define a ContextLink That binds the shared connection pool to each context. Thank you, that worked perfectly. Although I think you meant ResourceLink. -Dave

Re: Http Status 404

2014-02-06 Thread David kerber
On 2/6/2014 1:05 PM, Shivam Mishra wrote: Its running thank you very much ... Can you tell us what the trouble was, so other people with the same issue can learn from it? On Thu, Feb 6, 2014 at 11:24 PM, Tim Watts t...@cliftonfarm.org wrote: On Thu, 2014-02-06 at 23:07 +0530, Shivam

Re: Tomcat classloader memory leak when an object is stored into session

2014-02-06 Thread David Kerber
On 2/6/2014 3:13 PM, Michal Botka wrote: When an application stores an object into the session and then the application is reloaded using Tomcat Web Application Manager, the classloader cannot be garbage collected. As a result, the OutOfMemoryError: PermGen space error occurs after several

Tomcat JNDI Datasource

2014-02-06 Thread David Newman
I have defined a JNDI JDBC datasource as a resource in the global context.xml file. I was under the impression that what this does is to create a shared connection pool that is tomcat wide. But in practice what seems to happen is that a new instance of that connection pool is created for each

Re: unable to start Tomcat through the Windows Services panel

2014-02-05 Thread David kerber
On 2/5/2014 1:01 PM, javier_esp...@hna.honda.com wrote: Nothing gets logged within Tomcat when I attempt to start it through the Windows Services panel As Andre asked, what about Windows Event viewer? Javier España Sr. Technical Analyst Honda North American Services, LLC. Information

Re: unable to start Tomcat through the Windows Services panel

2014-02-05 Thread David kerber
On 2/5/2014 1:24 PM, javier_esp...@hna.honda.com wrote: I tried changing the logon setup to use my ID and password but it did not make a difference. How do I get to the System Event Log in Windows 7? It's in Administrative Tools | Computer Management, in the System Tools branch. There are a

Fwd: basic tutorial failure on ant install

2014-01-23 Thread David Williams
Hi all, I documented this issue on Stack Overflow. http://stackoverflow.com/questions/21317229/tomcat-tutorial-why-did-this-install-fail Here is my version info $ ~/Tomcat/tomcat/bin/version.sh Using CATALINA_BASE: /home/david/Tomcat/tomcat Using CATALINA_HOME: /home/david/Tomcat/tomcat

Re: Fwd: basic tutorial failure on ant install

2014-01-23 Thread David Williams
That would be a nice add to the intro guide. Its nowhere to be found in the first three stages up to the install stage. On Thu, Jan 23, 2014 at 2:23 PM, Mark Thomas ma...@apache.org wrote: On 23/01/2014 22:09, David Williams wrote: I have followed every instruction to a T, but on ant

Re: Fwd: basic tutorial failure on ant install

2014-01-23 Thread David Williams
Aside from simply stating that, can you provide a location of the script, some instructions etc? On Thu, Jan 23, 2014 at 2:38 PM, David Williams da...@tongal.com wrote: That would be a nice add to the intro guide. Its nowhere to be found in the first three stages up to the install stage

Re: Fwd: basic tutorial failure on ant install

2014-01-23 Thread David Williams
Ok, great but where is that? See what Im saying? [david@david tomcat-tutorial]$ sudo updatedb [david@david tomcat-tutorial]$ locate manager-script On Thu, Jan 23, 2014 at 2:41 PM, Mark Thomas ma...@apache.org wrote: On 23/01/2014 22:39, David Williams wrote: Aside from simply stating

Re: Fwd: basic tutorial failure on ant install

2014-01-23 Thread David Williams
to override old definition of datatype resources prepare: compile: install: [deploy] OK - Deployed application at context path /tomcat-tutorial BUILD SUCCESSFUL Total time: 0 seconds [david@david tomcat-tutorial]$ On Thu, Jan 23, 2014 at 2:53 PM, Konstantin Kolinko knst.koli...@gmail.comwrote

Re: How to update a web app without uploading the WAR

2014-01-21 Thread David kerber
You can update the single .jsp on the server, in at least some situations. I do that occasionally when I need to get an update out and can't take the service down. On 1/21/2014 12:02 PM, Chris Patterson wrote: Hello, My WAR file is becoming every time bigger and bigger, images are included

Re: How to update a web app without uploading the WAR

2014-01-21 Thread David kerber
On 1/21/2014 1:55 PM, James H. H. Lampert wrote: On 1/21/14 9:59 AM, David kerber wrote: You can update the single .jsp on the server, in at least some situations. I do that occasionally when I need to get an update out and can't take the service down. But note that if and when you DO

Re: Tomcat strips CRLFs from the generated page

2014-01-14 Thread David kerber
On 1/13/2014 10:28 PM, Asok Chattopadhyay wrote: As I said before, I have no control over the input text. In the test servlet I am simply reading text from a file and sending it out to the browser. No other processing has been done to the text by the servlet. The browser, however, receives a

Re: serialization and newest tomcat

2014-01-13 Thread David kerber
Another option would be to read them from the db once, at system startup, and then keep them static from there. You're still hitting your db, but not on an ongoing basis. On 1/13/2014 9:02 AM, Ray Holme wrote: Oh, I missed one comment from Daniel before (embedded and I did not see on the

Re: [ANN] Apache Tomcat 7.0.50 released

2014-01-12 Thread David Law
Thanks for that. :-) You might like to correct this Typo under Tomcat 7.0.50 / Catalina: Streamline handling of WebSocket messages whe... to when or where for example. All the best, DaveLaw On 12/01/2014 11:15, Violeta Georgieva wrote: The Apache Tomcat team announces the immediate

Re: Error when performing a reset of the server

2014-01-08 Thread David kerber
I see this occasionally when trying to shut down the server, and I believe it's the app that has a stuck session or something, though I haven't been able to isolate it. However, it doesn't require a server reboot; just killing the tomcat process in task manager and then restarting it works

Re: Error when performing a reset of the server

2014-01-08 Thread David kerber
On 1/8/2014 7:04 PM, David kerber wrote: I see this occasionally when trying to shut down the server, and I Correction: when shutting down the Tomcat service, not the server itself. believe it's the app that has a stuck session or something, though I haven't been able to isolate

Re: TLS is not working in 6.0.37, 7.0.42, 7.0.47

2014-01-03 Thread David kerber
On 1/3/2014 3:28 AM, Mudassir Aftab wrote: Hi, Sorry for asking u same thing again and again, i have tried many things from above document, but nothing works for me, also no errors in the log Connector port=8443 protocol=org.apache.coyote.http11.Http11AprProtocol maxThreads=200

Re: TLS is not working in 6.0.37, 7.0.42, 7.0.47

2014-01-03 Thread David kerber
On 1/3/2014 11:18 AM, Mudassir Aftab wrote: then what could be the working config !!! , can u edit and send it to me ? Regards, Mudassir Aftab Go back and read this thread carefully. There have been several errors pointed out to you which you haven't yet fixed. Fix them (proofreading

Re: TLS is not working in 6.0.37, 7.0.42, 7.0.47

2014-01-03 Thread David kerber
On 1/3/2014 12:14 PM, Mudassir Aftab wrote: *Connector Settings:* Connector port=8443 protocol=org.apache.coyote.http11.Http11AprProtocol maxThreads=200 clientAuth=false *SSLCipherSuite=ECDHE-ECDSA-AES128-SHA256* Do you really have the asterisks around this

Re: TLS is not working in 6.0.37, 7.0.42, 7.0.47

2014-01-03 Thread David Kerber
On 1/3/2014 5:27 PM, Mudassir Aftab wrote: Again, we have to submit this as a bug.TLS 1.2 is not working in Tomcat I wouldn't be too sure of that. It might be that Firefox doesn't implement your chosen cipher. On Jan 4, 2014 3:16 AM, Caldarale, Charles R chuck.caldar...@unisys.com

Re: Compressed SVG support (*.svgz) in Tomcat

2014-01-02 Thread David Law
/2014 19:36, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 avid, On 12/31/13, 10:43 AM, David Law wrote: there's nothing to debate: the standard says svgz's need Content-Encoding: gzip so thats what we have to do. At this rate, we'll never get the Internet finished

Re: Compressed SVG support (*.svgz) in Tomcat

2013-12-31 Thread David Law
in transmission only, so the data will arrive intact. An example of such would be Base64: http://en.wikipedia.org/wiki/Base64 I think we were right to choose Content-Encoding. All the best, DaveLaw On 30/12/2013 01:28, David Law wrote: Hi André, thats exactly what the JIRA Request is about: https

Re: Compressed SVG support (*.svgz) in Tomcat

2013-12-31 Thread David Law
: SHA256 David, On 12/31/13, 2:52 AM, David Law wrote: these are 2 completely different issues. svgz's should be served with the correct encoding (gzip) as required by the W3C SVG standard. ALWAYS. http://www.w3.org/TR/SVG11/conform.html#ConformingSVGServers That means, files with the extension

Re: Compressed SVG support (*.svgz) in Tomcat

2013-12-30 Thread David Law
: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 David, On 12/28/13, 3:20 PM, David Law wrote: No Content-Encoding header is sent in the response. And that is exactly the problem: DefaultServlet needs to be changed to serve up svgz's with Content-Encoding gzip Okay, so you would then need to use

Re: Non-Blocking IO Write Issue

2013-12-29 Thread David Bullock
/Http11NioProcessor.java?r1=1478576r2=1478714diff_format=h Reading the source code and the repository, it seems there has been a *lot* of activity around this async stuff in the codebase, and you may well get different test results with a more modern version of the trunk. cheers, David. David Bullock Machaira

Re: Compressed SVG support (*.svgz) in Tomcat

2013-12-29 Thread David Law
/2013 10:06, Mark Thomas wrote: On 28/12/2013 21:36, David Law wrote: I just tried this in DefaultServlet: if (contentType.equals(image/svg+xml) path.toLowerCase().endsWith(.svgz)) { response.addHeader(Content-Encoding, gzip); } Quick dirty, but Works fine as proof-of-concept. We just need

Re: Compressed SVG support (*.svgz) in Tomcat

2013-12-29 Thread David Law
. The Internet Forums are full of entries from people looking for a solution, so I hopethe JIRA https://java.net/jira/browse/SERVLET_SPEC-86 Mark created will meet with approval. All the best, DaveLaw On 29/12/2013 11:18, Jan Tosovsky wrote: On 2013-12-28 David Law wrote: On 28/12/2013 19:34

Re: Compressed SVG support (*.svgz) in Tomcat

2013-12-29 Thread David Law
14:10, André Warnier wrote: Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 David, On 12/28/13, 12:06 PM, David Law wrote: Tomcat doesn't seem to serve compressed SVG's (*.svgz) correctly. The response should have a Content-Encoding header, value 'gzip'. Any chance

Re: Compressed SVG support (*.svgz) in Tomcat

2013-12-29 Thread David Law
, DaveLaw On 30/12/2013 00:18, André Warnier wrote: Mark Thomas wrote: On 28/12/2013 21:36, David Law wrote: I just tried this in DefaultServlet: if (contentType.equals(image/svg+xml) path.toLowerCase().endsWith(.svgz)) { response.addHeader(Content-Encoding, gzip); } Quick dirty, but Works

Compressed SVG support (*.svgz) in Tomcat

2013-12-28 Thread David Law
Hi, Tomcat doesn't seem to serve compressed SVG's (*.svgz) correctly. The response should have a Content-Encoding header, value 'gzip'. Any chance of getting this at long last? (a change to org.apache.catalina.servlets.DefaultServlet, I presume) Version: 7.0.47 All the best, DaveLaw

Re: Compressed SVG support (*.svgz) in Tomcat

2013-12-28 Thread David Law
Hi Chris, On 28/12/2013 19:34, Christopher Schultz wrote: What type of data do you have on the disk? Its all standard stuff. As specified by W3C, compressed SVG's are just SVG's (which are just XML) compressed with gzip, with a Mime-Type of image/svg+xml, and extension .svgz What

Re: Compressed SVG support (*.svgz) in Tomcat

2013-12-28 Thread David Law
a generic solution to be best though, long-term. Something like: mime-mapping extensionsvgz/extension mime-typeimage/svg+xml/mime-type encodinggzip/encoding /mime-mapping ...with a new Tag, for example: encoding All the best, DaveLaw On 28/12/2013 18:06, David Law wrote: Hi, Tomcat

Re: Apache Tomcat 5.0.28 Server/Intermittently Web Apps becomes Unresponsive

2013-12-27 Thread David kerber
On 12/27/2013 4:31 AM, Milan wrote: Hello to All, ... (Lots of good information snipped) - Each transaction, i.e. Data Insertion in both Database took around 3 to 5 seconds. - We have used DBCP for Database connection. - When data insertion took place we are

Re: Tomcat Java Settings for each webapps, and virtual host strange issue.

2013-12-27 Thread David kerber
On 12/27/2013 4:27 AM, Peter wrote: there is no log.txt but I can attach catalina logs Please look into the attachment Attachments don't come through on this list; copy the contents of the file into your message. All my webapps are working fine with following java downloaded from Oracle

Re: Tomcat Java Settings for each webapps, and virtual host strange issue.

2013-12-26 Thread David kerber
On 12/26/2013 2:17 PM, Peter wrote: Thanks *Mark,* Martin Gainty, André Warnier for you time As some of you suggested I need to have different tomcat for different java version Do you mean if I have 2 webapps, which works on 2 difference java versions then, do I have to create 2 tomcat

Re: Non-Blocking IO Write Issue

2013-12-23 Thread David Bullock
On 24 December 2013 07:58, Daniel Mikusa dmik...@gopivotal.com wrote: On Dec 19, 2013, at 8:08 PM, David Bullock david.bull...@machaira.com.au wrote: On 20 December 2013 04:10, Daniel Mikusa dmik...@gopivotal.com wrote: Unfortunately, once this problem starts to occur onWritePossible

tc 7.0.47 manager-gui role works on 32 but not 64 Ubuntu 12.04 (401)

2013-12-20 Thread David Brown
Howdy, Extensive Googling for manager-gui role not working for the same environment finds no solutions. Is this a known issue? out-of-the box install of TC 7.047 on 64 bit 12.04 Ubuntu returns a 401. The same version installed on 32 bit Ubuntu 12.04 manage-gui role brings up the manager

Re: Non-Blocking IO Write Issue

2013-12-19 Thread David Bullock
instead pass the ServletOutputStream to the DataStreamWriteListener's constructor? cheers, David. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: [OT] Garbage Collectors

2013-12-18 Thread David Kerber
On 12/18/2013 6:11 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, I was recently discussing garbage collectors with a friend (yes, an exciting conversation) and I was wondering what the folks in the Tomcat community were using for their garbage collection

Re: high CPU usage with NIO and 1000+ websockets on Tomcat 7.0.49?

2013-12-13 Thread David kerber
On 12/13/2013 8:12 AM, Bob DeRemer wrote: Hi Mark (et al), We’re seeing really high CPU utilization with just a 1000 active websockets that are sending/receiving 100 byte binary messages. The profiling snippet below was with 1000 connections. If we start to increase the number of

Re: Severe 7.0.47 startup performance regression

2013-12-06 Thread David Rees
On Thu, Dec 5, 2013 at 12:18 AM, Konstantin Kolinko knst.koli...@gmail.com wrote: Remove the tomcat7-websocket.jar library if you do not need it. This library (added in 7.0.47, a JSR-356 Java WebSocket 1.0 implementation) has a ServletContainerInitializer and thus forces Tomcat to perform

Re: Need Information regarding Apache Webserver static file configuration

2013-12-05 Thread David kerber
On 12/5/2013 5:37 AM, Tapajyoti Roybarman wrote: Hi Andre, I apologize for not following the mailing rule. Actually this is the first time that I am taking the help of such a forum. Before I begin asking you anything I want to thank you for such a detailed explanation. To begin with, answer

Severe 7.0.47 startup performance regression

2013-12-04 Thread David Rees
Since upgrading to 7.0.47 from 7.0.42, I've seen a very severe performance hit during startup. One Tomcat instance with a lot of webapps slowed down from ~33 seconds to ~180 seconds. It appears to be related to jar-scanning - If I change catalina.properties'

Re: [OT] Symantic has a first tomcat worm ;-)

2013-11-26 Thread David Bullock
an appropriate tool and generate one. cheers, David. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

HTTP cache control?

2013-11-25 Thread David Balažic
Hi! Considering that JSP pages are by definition dynamic (different on each GET), why doesn't Tomcat set the HTTP headers in the line of do not cache this, it's dynamic! by default for all generated HTML (*.jsp files and servlet responses)? Regards, David

Re: Java +GC question

2013-11-24 Thread David Kerber
On 11/24/2013 7:15 PM, André Warnier wrote: First of all, thanks for the analysis. Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: Java +GC question java version 1.6.0_26 Do we need to tell you to upgrade? Whatever happened to the Never change a running

Re: Tomcat connection pool bleeding under heavy load

2013-11-20 Thread David Bullock
return result; 168} David Bullock Machaira Enterprises Pty Ltd PO Box 31 Canowindra NSW 2804 02 6344 1100 http://machaira.com.au/ On 21 November 2013 04:58, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Marko, On 11/20/13, 12:07 PM

Re: Tomcat connection pool bleeding under heavy load

2013-11-20 Thread David Bullock
Oh, and 'throw e;' at the end of the handler :-) David Bullock Machaira Enterprises Pty Ltd PO Box 31 Canowindra NSW 2804 02 6344 1100 http://machaira.com.au/ On 21 November 2013 11:48, David Bullock david.bull...@machaira.com.au wrote: Line 150

Re: Tomcat connection pool bleeding under heavy load

2013-11-19 Thread David Bullock
On 19 November 2013 14:59, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: David Bullock [mailto:david.bull...@machaira.com.au] Subject: Re: Tomcat connection pool bleeding under heavy load In PooledConnection#borrow(int,String,String) when handling InterruptedException, the code

Re: Tomcat connection pool bleeding under heavy load

2013-11-19 Thread David Bullock
) is the most likely option. cheers, David. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Tomcat connection pool bleeding under heavy load

2013-11-18 Thread David Bullock
aWorkerThread.interrupt() for taking too long. So adjusting some timeout settings (to make Tomcat more patient than the connection pool) should give a workaround. DBCP had a better grasp of what was going on when reporting this. cheers, David David Bullock Machaira Enterprises Pty Ltd PO Box 31

Re: [OT] [Fwd: TomEE Professional Support]

2013-11-13 Thread David Landis
Im surprised an ASF member wouldn't know better and then would go further and try to defend his spamming of user lists. I think I'll pass on his guru level support even if he does know the project on the code level. On Wednesday, November 13, 2013, André Warnier wrote: Gurkan Erdogdu wrote:

Re: Tomcat session with uncertain problem

2013-11-11 Thread David kerber
With this code, you're not *creating* a session, you're retrieving the session that the user has connected with (request.getSession()). Usually this king issue occurs when the variable session is stored with an inappropriate scope, so that it is accessible from more than one class instance.

Re: Second Instance of Tomcat

2013-11-07 Thread David kerber
On 11/7/2013 12:46 PM, Crystal Maramba wrote: Hi, I am getting ready to deploy the Second Instance of Tomcat on the same server using different IP addresses. \Tomcat\Instance1 (IP Address: xx.xx.xx.x1) \Tomcat\Instance2 (IP Address: xx.xx.xx.x2) I have a few question, see below: 1) For

Re: Bin Folders

2013-11-06 Thread David kerber
If they are the same tomcat version, just different installation types, you can merge the install directories; I do that routinely to get the scripts from the .zip installations into my service installations. On 11/6/2013 1:29 PM, Crystal Maramba wrote: I will as soon as I combine the bin

Re: Keep Alive Serverconnection

2013-10-30 Thread David kerber
On 10/30/2013 9:12 AM, Morten Bo Oelbye wrote: Where can I find any solution about an persistent Connection. I can use the reques.inputstream as long as want. But when I use the response as an outputstream, the connectien is closed. So, how to write ping, pong, ping, pong, etc without closing?

Re: Apache Tomcat invalid Transfer-Encoding header request that prevents buffer recycling

2013-10-30 Thread David N. Smith
these vulnerabilities. -- David - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Apache 7, Logrotate

2013-10-25 Thread David N. Smith
in the past about this if your interested in doing some searching. --David - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Servlet init method called multiple times

2013-10-23 Thread David Bullock
in logging.properties. cheers, David. *David Bullock Machaira Enterprises Pty Ltd * PO Box 31 Canowindra NSW 2804 02 6344 1100 http://machaira.com.au/ On 23 October 2013 09:57, Richard Pierce rpie...@empoweredbenefits.comwrote: The init() method of all of my servlets is being called every 10

Re: Why am i getting this exception often?

2013-10-10 Thread David kerber
On 10/10/2013 12:40 PM, Muralidhar Yaragalla wrote: No help on this? I guess not. Have you asked on the Eclipse forums? *Thanks And Regards,* Muralidhar Yaragalla.* (Visit My Blog http://yaragalla.blogspot.in) * On Wed, Oct 9, 2013 at 10:22 PM, Muralidhar Yaragalla

Re: In Tomcat JULI, do the 'facility specific' loggers become per-webapp logger roots?

2013-10-09 Thread David Bullock
On 9 October 2013 23:33, Christopher Schultz ch...@christopherschultz.net wrote: On 10/8/13 11:03 PM, David Bullock wrote: Please answer at Stackoverflow, and I'll report the results back to this list: http://stackoverflow.com/questions/19261727/in-tomcat-juli-do-the-facility-specific

In Tomcat JULI, do the 'facility specific' loggers become per-webapp logger roots?

2013-10-08 Thread David Bullock
(remember those things called 'roles' from the EJB 1.0 spec, anyone?) to override configuration settings which have unfortunately been embedded in the WAR file, I'd **love** to know about it. I haven't spotted anything about this in the Tomcat doco so far. thanks, *David Bullock*

Re: MaxClients and maxThreads

2013-09-24 Thread David kerber
On 9/24/2013 12:11 AM, mohan.radhakrish...@polarisft.com wrote: Yes. That is probably the capacity planning part that involves think time analysis and concurrency. What Were They Thinking: Modeling Think Times for Performance Testing Tom Wilson from Computer Measurement Group is what I plan to

Re: Audit Exceptions on Apache

2013-09-18 Thread David kerber
On 9/18/2013 5:04 AM, Joy Obba wrote: Hello Team, Some security issues were raised by our audit team and these issues were forwarded to secur...@apache.org. We got a response from Mark Thomas from the Security team Theses issues are listed below: 1. Banner Disclosure We observed that the

Re: Need settings/configuration details to improve tomcat performance

2013-09-11 Thread David kerber
On 9/11/2013 1:47 PM, Akbar Thanakalacheruvu wrote: Hi All We are deploying around 10 to 15 websites on a tomcat server where each website will have concurrency of 100 users at a given time. This concurrency will continue though out the day. So, I need settings/configuration details of tomcat

Re: How tomcat is handling bandwidth sharing across all request

2013-09-11 Thread David kerber
On 9/11/2013 1:38 PM, Arun Kumar wrote: Hi We are developing small video hosting application ,we are not writing any special program for open the video file and send to player , simply we are using tomcat DefaultServlet for above all video request , now we have to benchmark our application

Re: Heap recommendations for Tomcat 7

2013-09-06 Thread David kerber
On 9/6/2013 1:43 PM, John Beaulaurier -X (jbeaulau - ADVANCED NETWORK INFORMATION INC at Cisco) wrote: Hello, Is there a good formula for JDK Heap parameters for Tomcat 7 as it relates to hardware, or should ergonomics be allowed to define, or is it more application driven? OS: RHEL 5.5

Re: tomcat7w.exe

2013-09-02 Thread David Kerber
On 9/2/2013 12:22 PM, Markward Schubert wrote: I have a short question. Does the monitor exe do anything magical when a tomcat service is started the first time with it, in contrast to starting the already installed service with the windows service manager? In fact our application would not

Re: Question about usernames being case insensitive

2013-08-27 Thread David kerber
On 8/27/2013 3:26 PM, Propes, Barry L wrote: -Original Message- From: Daniel Mikusa [mailto:dmik...@gopivotal.com] Sent: Tuesday, August 27, 2013 2:22 PM To: Tomcat Users List Subject: Re: Question about usernames being case insensitive On Aug 27, 2013, at 2:52 PM, Michael Spring

Re: Having trouble with common.loader

2013-08-21 Thread David kerber
Basically you're trying to defeat the way the system is designed to work. Don't do that... On 8/21/2013 3:58 PM, D C wrote: Tomcat 7.0.40 CentOS 6.3 Java 1.7.0_21 I am trying to move all libraries out of my webapps directory, and into a common place. I have my libs that were bundled with

Re: Having trouble with common.loader

2013-08-21 Thread David kerber
On 8/21/2013 4:27 PM, Daniel Mikusa wrote: On Aug 21, 2013, at 4:09 PM, David kerber dcker...@verizon.net wrote: Basically you're trying to defeat the way the system is designed to work. Don't do that… +1 Don't do what you've described unless you have a very good reason. It will cause

Re: Regarding queries to access application using domain name instead of IP_address:8080 _ cpanel

2013-08-19 Thread David kerber
On 8/19/2013 1:27 PM, Karuppu Samy wrote: Hi Chris, Let me explain you clearly. I have centos with cPanel which comes with tomcat 7. I have installed tomcat 7 now. My query is, After deploy the application through tomcat manager, I am able to access the application through

Re: Upgrade to Tomcat 7 Issues

2013-08-09 Thread David kerber
On 8/9/2013 11:46 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Chuck, On 8/9/13 10:08 AM, Caldarale, Charles R wrote: From: Seema Patel [mailto:seema...@hotmail.com] Subject: RE: Upgrade to Tomcat 7 Issues In my WEB-INF/lib I have the following (sorry the

Tomcat config question: 'compression' versus 'SSLDisableCompression'

2013-08-08 Thread David Landis
Hi, I was wondering if someone could clarify the difference between the configuration parameters mentioned in the subject of this email or point me to some documentation that explains it? Do they both refer to the same type of compression? Based on the Tomcat docs I know the former controls

Re: Tomcat config question: 'compression' versus 'SSLDisableCompression'

2013-08-08 Thread David Landis
On Thu, Aug 8, 2013 at 5:19 PM, Christopher Schultz ch...@christopherschultz.net wrote: ... and the SSLDisableCompression setting (when set to false) is intended to mitigate the CRIME attack against SSL/TLS compression. Feel free to read online all about the CRIME attack. That was what I

Re: java.net.UnknownHostException: Failed to negotiate with a suitable domain controller for xxx

2013-08-01 Thread David kerber
On 8/1/2013 2:24 PM, Caldarale, Charles R wrote: From: Seema Patel [mailto:seema...@hotmail.com] Subject: RE: java.net.UnknownHostException: Failed to negotiate with a suitable domain controller for xxx When upgrading Tomcat from version 5.5 to 7, would I need to upgrade to version 6 first

Re: [OT] Enable session persistence between two tomcat nodes behind load balancer

2013-07-23 Thread David Kerber
On 7/23/2013 5:51 PM, Jeffrey Janner wrote: -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Monday, July 22, 2013 5:45 PM To: Tomcat Users List Subject: Re:[OT] Enable session persistence between two tomcat nodes behind load balancer -BEGIN

Re: JSP in Static Resources

2013-07-15 Thread David kerber
... * Thanks for your comments * I already see sites that do this. * For example please visit these three sites: * http://en.wikipedia.org/wiki/Apache_Tomcat * View source * link rel=stylesheet

Re: SSI - Regular expression parsing

2013-07-01 Thread David Reitter
. - David - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

SSI - Regular expression parsing

2013-06-28 Thread David Reitter
Hi, I'm trying to use some SSI in 7.0.39 using SSIFilter. The file is parsed, in principle, but whenever an IF expression with a certain regular expression is encountered, Tomcat seems to stop processing the file and will not return any contents after that (for the request). Example: My

Re: New behavior of Oracle Java 1.7.0_25: AWT thread and console icon

2013-06-24 Thread David Rees
On Mon, Jun 24, 2013 at 9:26 AM, Christopher Schultz ch...@christopherschultz.net wrote: For those who don't want to wait for 7.0.42 and would prefer not to run in headless more for some reason can set this attribute in the JreMemoryLeakProtectionListener: appContextProtection=false I

Re: New behavior of Oracle Java 1.7.0_25: AWT thread and console icon

2013-06-23 Thread David Rees
On Fri, Jun 21, 2013 at 9:28 AM, Christopher Schultz ch...@christopherschultz.net wrote: I just upgraded to 1.7.0_25 on my Mac and I noticed that when I launch Tomcat, I get a dock icon indicating that it is running. This does not happen on 1.7.0_21, the previous version I was running. For

Re: mod_jk worker activation not working anymore in 1.2.37?

2013-06-11 Thread David Gubler
-1_amd64.deb Thanks again best regards, David Gubler - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Windows service for tomcat7

2013-06-11 Thread David kerber
On 6/11/2013 5:06 PM, akshata chas wrote: Hi, I'm trying to install tomcat service for Windows 7 manually on my system through command prompt. I tried withservice.bat install MyProject but it looks like service doesn't get installed properly because I can see the service in the list but when I

mod_jk worker activation not working anymore in 1.2.37?

2013-06-10 Thread David Gubler
:( Does anyone have an idea what I could be doing wrong? Thanks! David Gubler - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Reuse work temp directories

2013-05-28 Thread David kerber
On 5/28/2013 12:22 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Vicky, On 5/28/13 2:30 AM, vicky007aggar...@yahoo.co.in wrote: Is there is a way by which we can create work temp directories on run time so that we can avoid creating multiple tomcat instances

Re: Reuse work temp directories

2013-05-28 Thread David kerber
On 5/28/2013 1:21 PM, vicky007aggar...@yahoo.co.in wrote: Thanks David Chris for responding back. Actually i am doing a proof of concept,in which in want to use the same CATALINA_BASE across in lieu of creating 10 different tomcat instances. I am doing this by using variables in server.xml

<    1   2   3   4   5   6   7   8   9   10   >