Re: when idle tomcat runs on 3.9% CPU

2015-02-24 Thread David kerber
On 2/24/2015 10:16 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Daniel, On 2/24/15 8:01 AM, Daniel Mikusa wrote: On Tue, Feb 24, 2015 at 7:33 AM, Peter Irbizon peterirbi...@gmail.com wrote: Hello, I would like to know if it is normal that tomcat7 runs on

Multi-instance authentication

2015-02-20 Thread David kerber
I have several instances of TC 7.x on windows, running the same in-house developed application for different outside customers. Those instances are each tied to a specific database, and cannot talk to any other dbs. My in-house users occasionally need to log into the application instance for

Re: Fwd: singed code deployment

2015-02-19 Thread David kerber
On 2/19/2015 8:56 AM, Sanaullah wrote: Any one there to help me on this ? I don't think there are many tomee people on this list, so you might get better responses somewhere else. Regards, Sanaullah -- Forwarded message -- From: Sanaullah sanaulla...@gmail.com Date: Fri,

Re: Fwd: singed code deployment

2015-02-19 Thread David kerber
On 2/19/2015 9:52 AM, Sanaullah wrote: Thanks David, I think the security Manager is the same as tomcat[1] but need to get some clue on how code signature verification is done? tomcat.apache.org/tomcat-8.0-doc/security-manager-howto.html I'm sorry, I don't have a clue to give you about code

Re: How a script can determine latest version of Tomcat

2015-02-18 Thread David P. Caldwell
in every way? On Fri, Sep 5, 2014 at 7:18 PM, Konstantin Kolinko knst.koli...@gmail.com wrote: 2014-09-04 22:46 GMT+04:00 Daniel Mikusa dmik...@pivotal.io: On Thu, Sep 4, 2014 at 1:48 PM, David P. Caldwell da...@code.davidpcaldwell.com wrote: I have a small program that downloads and installs

Re: WorkManager replacement

2015-02-13 Thread David kerber
On 2/13/2015 7:29 AM, Daniel Mikusa wrote: On Thu, Feb 12, 2015 at 11:59 PM, Kevin Hale Boyes kcbo...@gmail.com wrote: I currently have an application running on weblogic that I'm moving over to tomcat 8. One of the things the application does is run background jobs using the commonj

Re: tomcat severe error when shutting down service but startup is clean

2015-02-13 Thread David kerber
On 2/13/2015 11:23 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 David, On 2/12/15 12:59 PM, David kerber wrote: On 2/12/2015 12:48 PM, Cris Berneburg - US wrote: -Original Message- From: David kerber [mailto:dcker...@verizon.net] Sent: Thursday

Re: tomcat severe error when shutting down service but startup is clean

2015-02-13 Thread David kerber
On 2/13/2015 11:54 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 David, ... public static void unRegisterDrivers() { try { for ( EnumerationDriver drivers = DriverManager.getDrivers(); drivers.hasMoreElements(); ) { DriverManager.deregisterDriver

Re: tomcat severe error when shutting down service but startup is clean

2015-02-12 Thread David kerber
On 2/12/2015 12:48 PM, Cris Berneburg - US wrote: -Original Message- From: David kerber [mailto:dcker...@verizon.net] Sent: Thursday, February 12, 2015 9:40 AM To: Tomcat Users List Subject: Re: tomcat severe error when shutting down service but startup is clean On 2/12/2015 9:06 AM

Re: tomcat severe error when shutting down service but startup is clean

2015-02-12 Thread David kerber
On 2/12/2015 1:46 PM, Wirth, Kevin wrote: -Original Message- From: David kerber [mailto:dcker...@verizon.net] Sent: Thursday, February 12, 2015 1:00 PM To: Tomcat Users List Subject: Re: tomcat severe error when shutting down service but startup is clean On 2/12/2015 12:48 PM, Cris

Re: tomcat severe error when shutting down service but startup is clean

2015-02-12 Thread David kerber
On 2/12/2015 9:06 AM, Wirth, Kevin wrote: I keep getting these weird tomcat errors on shutdown on a newly built system using tomcat 7.0.57 on a windows 2012 server with jdk 1.7 that I can't figure out. This is the catalina log: Feb 12, 2015 8:54:31 AM

Re: Help required to calculate Apache Tomcat resource

2015-02-12 Thread David kerber
... Hi Mark, Thanks for your reply. By miss I sent the first e-mail in HTML format which could be rejected as described in Apache Tomcat mailing list help so I send the second e-mail in plain text format. I will keep your advice in mind. Yes. I completely agree with you that we need to

Re: Reg. getRealPath(/) _ How does the result of this method differ in Tomcat 7 and Tomcat 8

2015-02-10 Thread David kerber
On 2/10/2015 9:14 AM, Sasikumar Muralikrishnan wrote: Hi André Warnie, Great thanks for your response. But here, I am not writing anything inside the web application. 1. I have a flat file in the web application and it has some configurations details, which I use for the project. 2.

Re: Sporadic HTTP 403 returned by Tomcat when this should not happen ever. How to find out why this happens?

2015-02-05 Thread David Bullock
On 6 February 2015 at 02:42, Brian brian...@emailbb.com wrote: Hi, I have a Restful service that receives a huge amount of HTTP requests per day. In some of these requests, Tomcat returns an HTTP 403 error status. Your servlet does something which throws a java.lang.Security exception

Re: Need Help!

2015-01-28 Thread David kerber
On 1/28/2015 2:03 PM, Hyder Hashmi wrote: Hi, I am working on a small project and need your help in this. I have a java program in which I read and write in a file that is located in the current folder. Now I have written a few servlets and trying to use the previous code along with

Re: Tomcat 8 encoding issues: unable to change the default encoding iso-8859-1 to utf-8 in http header

2015-01-23 Thread David kerber
On 1/23/2015 5:04 AM, André Warnier wrote: A part of what I wanted to say in my original answer, is that just by taking the time to actually think about the problem you are having, and writing down a clear explanation for someone else, you often find the solution yourself. Add in the exercise

Re: Slow HTTP Rquest via Tomcat

2015-01-14 Thread David kerber
On 1/14/2015 1:02 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Thone, ... Also, yes, autodeploy is equal to True. I will check with my colleague to see if we can test with false because this will impact all web folders. Do you see any impact if this was

Re: Tomcat 8.0.12 - unable to eliminate logs stating org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [variousURLs] to the cache because there was insufficient free sp

2014-12-22 Thread David kerber
On 12/22/2014 8:14 AM, Kevin McKee wrote: For anyone else unable to find an answer to this problem, the answer seems to be as simple as adding this to your $SERVER_HOME/conf/context.xml inside the Context tag Resources cachingAllowed=false/ As long as you don't need caching... Kevin

Re: REST call failure on newer tomcat version/update

2014-12-22 Thread David kerber
On 12/22/2014 11:05 AM, Sean Dawson wrote: Hi Konstantin, Thanks for your reply. What details do you need of our config? Do you want the full files? Essentially it's a pretty straightforward install - extract tomcat, remove all the webapps, put our war somewhere, use

Re: REST call failure on newer tomcat version/update

2014-12-22 Thread David kerber
On 12/22/2014 2:56 PM, Sean Dawson wrote: So it works with all of them up to _52 but fails for all of them after that. I had a theory related to tomcat creating a webapps/ROOT dir in the newer versions that it didn't in the older one (when pointing to the war from Catalina/local/ROOT.xml) as a

Re: configuring Tomcat service to use more heap (Windows 7)

2014-12-18 Thread David kerber
On 12/18/2014 9:44 AM, Christoph P.U. Kukulies wrote: Am 18.12.2014 um 15:08 schrieb Christopher Schultz: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Christoph, On 12/18/14 5:52 AM, Christoph P.U. Kukulies wrote: I would like to increase the jvm heap size to, say, 1GB, in Tomcat 6.x

Re: Lambda expression question on Tomcat_8_0_15

2014-12-15 Thread David Wall
On 12/15/2014 12:19 PM, Anup Aggarwal wrote: Hi, I am new to learn the LambdaExpression , and I am trying to run a test with JDK7 on Tomcat_8_0_15 server Don't you need JDK8 for Lamdas? - To unsubscribe, e-mail:

Re: META-INF/context.xml and deploy issue (web.xml removed?)

2014-12-08 Thread David kerber
On 12/8/2014 6:31 AM, martin@sfr.fr wrote: Hi Mark, and thank you for your answer, Mark wrote: undeloy - means stop the app and remove any references to it from CATALINA_BASE/conf/engine/host and CATALINA_BASE/webapps OK deploy - means tell Tomcat about the app and start it. This may

Re: My problem: I cannot successfully get or set a session attribute from a JSP file.

2014-12-08 Thread David kerber
On 12/8/2014 3:49 PM, Jim Anderson wrote: Resolved! I apologize to everyone for taking a while to respond. It was a busy weekend and I was not at the computer. Thank you all for the responses. I read your emails about a half hour ago and ran my application to get fresh log files and to check

Re: My problem: I cannot successfully get or set a session attribute from a JSP file.

2014-12-08 Thread David kerber
On 12/8/2014 4:04 PM, Jim Anderson wrote: David, I have to question your response. In the past, I have made errors in the serverside JSP file and the console has identified errors for me to the point were I have become dependent this feedback. I understand the separation of the client side vs

Re: Error with finding of reserve bits in websocket frame tomcat 7.0.53?

2014-12-04 Thread David kerber
On 12/4/2014 4:32 PM, Jason Ricles wrote: Yes it was a bug so we will try to get a waiver to use 7.0.57 for our environment instead of 7.0.53 So it works as expected in 7.0.57? On Thu, Dec 4, 2014 at 1:20 PM, Jason Ricles jgr...@alum.lehigh.edu wrote: Well the trace is fine so I will

Re: Redirecting to default webapp when domain name is entered

2014-11-25 Thread David kerber
On 11/25/2014 8:39 AM, Kernel freak wrote: Hello Andre, Thank you. I did the changes what you told, but I guess there is some service running at port 80. Because now when I click domainname.com:80, it shows me the message by the hosting company as the Domain name is already booked and all. How

Re: Redirecting to default webapp when domain name is entered

2014-11-25 Thread David kerber
. On Tue, Nov 25, 2014 at 2:43 PM, David kerber dcker...@verizon.net wrote: On 11/25/2014 8:39 AM, Kernel freak wrote: Hello Andre, Thank you. I did the changes what you told, but I guess there is some service running at port 80. Because now when I click domainname.com:80, it shows me

Re: question

2014-11-24 Thread David kerber
On 11/24/2014 4:15 PM, Balderrama, Jose A CTR (US) wrote: Can tomcat run php apps and static html pages well? Or should I run apache as well? Thanks, Joe Somebody else will have to answer about the php apps (I don't use them), but Tomcat is excellent at serving static content.

Re: Windows Service won't start

2014-11-13 Thread David kerber
On 11/13/2014 10:51 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, On 11/10/14 1:04 PM, Christopher Schultz wrote: All, When a Tomcat Windows Service won't start (with the super-helpful a service-specific error occurred), where can I look for detailed

Re: Windows Service won't start

2014-11-13 Thread David kerber
On 11/13/2014 11:05 AM, David kerber wrote: On 11/13/2014 10:51 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, On 11/10/14 1:04 PM, Christopher Schultz wrote: All, When a Tomcat Windows Service won't start (with the super-helpful a service-specific error

Re: Windows Service won't start

2014-11-10 Thread David kerber
On 11/10/2014 1:04 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, When a Tomcat Windows Service won't start (with the super-helpful a service-specific error occurred), where can I look for detailed information about what happened? Administrative Tools |

Re: Spurious Problem starting Tomcat7 (garbled class names)

2014-11-07 Thread David kerber
On 11/7/2014 11:14 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Chris, On 11/7/14 4:52 AM, chris derham wrote: example with to garbled classes: (3.class being the first, which must come from SomeClass$3.class and the second one being something awefully

Re: PID file locked on Windows 2008 system

2014-11-04 Thread David kerber
On 11/4/2014 2:58 PM, Anil Ambati wrote: Hi, We have a requirement to read the PID file created by the Tomcat server process on Windows, but we are not able to using RandomAccessFile or FileInputStream because the file seems to be locked by the Tomcat process. What is the PID file? The only

Re: PID file locked on Windows 2008 system

2014-11-04 Thread David kerber
e-mail: aamb...@us.ibm.com You have no responsibility to live up to what other people think you ought to accomplish. -Richard Feynman (1918-1988) From: David kerber dcker...@verizon.net

Re: PID file locked on Windows 2008 system

2014-11-04 Thread David kerber
On 11/4/2014 5:25 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Anil, On 11/4/14 2:58 PM, Anil Ambati wrote: We have a requirement to read the PID file created by the Tomcat server process on Windows, but we are not able to using RandomAccessFile or

Re: BLOCKED reaper thread (and all other BLOCKED threads) waiting on one thread that is BLOCKED waiting on that reaper thread

2014-10-29 Thread David Bullock
Seems like BMC have a lock-ordering problem leading to deadlock. What's it got to do with Tomcat? *David BullockMachaira Enterprises Pty Ltd* PO Box 31 Canowindra NSW 2804 02 6344 1100 http://machaira.com.au/ On 30 October 2014 11:39, vbck virginia_burn...@bmc.com wrote: MidTier

Re: How to access Sessions outside of class

2014-10-28 Thread David kerber
Can you simply serialize the data to disk in one process and read it in the other? On 10/28/2014 8:44 AM, Jason Ricles wrote: Martin, I can not use hazelcast due to regulations I have to abide by, is where any other built in way besides sockets that will allow me to share data between the

Re: cannot disable SSL v3 [SOLVED]

2014-10-16 Thread David kerber
On 10/16/2014 2:38 PM, Vu Pham wrote: I believe some village somewhere was missing somebody :) Reading the tomcat/apr doc (http://tomcat.apache.org/tomcat-7.0-doc/config/http.html#SSL_Support) , I found that I have to use SSLProtocol instead of sslProtocol. Tomcat's case-sensitivity has

Re: Lots of configuration descriptors

2014-09-24 Thread David kerber
On 9/24/2014 9:47 AM, Léa Massiot wrote: Hello Mark, Thank you for your answer and for the info about the binary search. This was the kind of info I was looking for. Yet, I guess one has to view the source code to get that kind of information... it's probably what you did... Actually, he is

Re: May I have multiple web applications running on one tomcat server?

2014-09-19 Thread David kerber
On 9/19/2014 3:36 PM, Tran, Minh wrote: Thanks one more question about running multiple web apps on one Tom Cat server if you would not mind; Suppose I am now having two web applications call app1 , and app2; and I deploy both of them to Tomcat. Suppose I am able to access app1 on

Re: Tomcat Memory Leaks.

2014-09-17 Thread David kerber
On 9/17/2014 10:24 AM, Ahmed Hosni wrote: I am using tomcat 7 on production environment, I used Find Leaks option it called GC but I didn't get any information.It should show more information, I hope to get information about memory and unreachable objects which caused the leak. Are you sure

Re: [SECURITY] CVE-2013-4444 Remote Code Execution in Apache Tomcat

2014-09-10 Thread David kerber
On 9/10/2014 11:10 AM, Jeffrey Janner wrote: -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Wednesday, September 10, 2014 9:00 AM To: Tomcat Users List Cc: Tomcat Developers List; annou...@apache.org; annou...@tomcat.apache.org; fulldisclos...@seclists.org;

How a script can determine latest version of Tomcat

2014-09-04 Thread David P. Caldwell
isn't coming up with *a* way to do it, but coming up with the best way. Suggestions? -- David P. Caldwell http://www.davidpcaldwell.com/ - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e

Re: url http://localhost:8443 and https://localhost:8443 does not display anything after configuring the ssl for running tomcat 4.1.18

2014-08-28 Thread David kerber
On 8/28/2014 12:55 PM, Sunny Bhargava wrote: Hi All, I tried to run tomcat 4.1.18 with ssl connection. I followed the instructions in 'ssl configuration HOW-TO'.I changed the server.xml file and mentioned the ssl port as 8443 which is the default. I tried both the links https://localhost:8443

Re: question on different version of tomcat running on the same pc

2014-08-21 Thread David Kerber
On 8/21/2014 6:18 PM, André Warnier wrote: Caldarale, Charles R wrote: From: Neven Cvetkovic [mailto:neven.cvetko...@gmail.com] Subject: Re: question on different version of tomcat running on the same pc Hope this helps. You deserve a medal for the clear and precise descriptions. Would

Re: How to get the configured HTTP and HTTPS port numbers in server.xml from Java code at runtime

2014-08-19 Thread David kerber
On 8/19/2014 4:36 AM, Cassian Raja Thomas wrote: I can retrieve the information prior to getting the connection refused message and then compare the port numbers with the one sent in the request parameters. Thereby, I can handle the exception and throw it with nice error code and message Not

Re: JKS keystore password Encryption

2014-08-14 Thread David kerber
On 8/14/2014 10:33 AM, Mark Thomas wrote: On 14/08/2014 15:10, George Sexton wrote: On 8/4/2014 8:17 AM, André Warnier wrote: Sanaullah wrote: Hi, is there a way i ca replace plain JKS keystore password with encrypted password in tomcat server.xml? This kind of question comes regularly

Re: Websocket impl limits message rate?

2014-08-12 Thread David kerber
It seems to me far more likely that this would be a limit in the client, because there is a practical limit to how fast a client would generated messages in a real-world situation, while a server must be able to handle many clients at once, and therefore must handle many times the client's max

Re: Increasing incoming connection request in a queue

2014-08-05 Thread David kerber
On 8/5/2014 8:49 AM, Dhaval Jaiswal wrote: After reviewing your comments found that in below tags i have not defined the maxThreads limit in Connector Port 8080. While the same exists with the connector port 8009. Default limit of maxThreads is 200. LB is communicating with tomcat on port 8080.

Re: SSL redirect problems

2014-08-01 Thread David kerber
On 8/1/2014 12:35 PM, John Smith wrote: No, I am not really going that far. I am suggesting that that may be the kind of thing that is happening, and that you may want to investigate with a browser plugin, that the requests/responses are really what you are expecting. Your initial

Re: SSL redirect problems

2014-08-01 Thread David kerber
On 8/1/2014 1:33 PM, John Smith wrote: Is your LB configured to listen on 8443, or on 443? It won't pick up the port it's supposed to listen on from the TC instances; you have to specify it. Nailed it. Simplest solution, I didn't even consider it. Thanks, John Thanks for letting us

Re: Restricting SSL access within webapp

2014-08-01 Thread David Kerber
On 8/1/2014 6:06 PM, James H. H. Lampert wrote: Why would you want to do that? Other than a few extra server CPU cycles, what's the harm in allowing SSL anywhere at the client's discretion? I'm with Chuck on that one. From the docs: Also, while the SSL protocol was designed to be as

Re: Windows performance issue

2014-07-21 Thread David kerber
On 7/21/2014 5:03 AM, Omar Orzenini wrote: Hello everyone, I apologize for my poor english but I'll try to explain. I have a strange performance problem only under Windows (via NFS on Linux everything works fine). Tested operating system (Windows Server 2008 R2 64, WIndows Server 2012 R2):

Re: jax-ws

2014-07-18 Thread David kerber
On 7/18/2014 3:56 PM, Leo Donahue wrote: On Sun, Jul 13, 2014 at 10:23 PM, Leo Donahue donahu...@gmail.com wrote: I found a link on the web that mentioned something about picking and choosing about 7 different jar files Essentially that information is wrong. Reading the manual here:

Re: Tomcat 7.0.54 Slow Unpack and Deploy

2014-07-16 Thread David kerber
On 7/16/2014 8:00 AM, Brandon M. Wagner wrote: I'm having an issue with Tomcat 7.0.54 on a Windows Server 2008 machine (8GB of RAM, Dual AMD Opteron 8 core CPUs 2.0Ghz) where the .WAR file is taking 45 minutes to an hour to unpack and deploy. I can unpack the same .WAR file on my development

Re: Tomcat 7.0.54 Slow Unpack and Deploy

2014-07-16 Thread David kerber
On 7/16/2014 8:00 AM, Brandon M. Wagner wrote: I'm having an issue with Tomcat 7.0.54 on a Windows Server 2008 machine (8GB of RAM, Dual AMD Opteron 8 core CPUs 2.0Ghz) where the .WAR file is taking 45 minutes to an hour to unpack and deploy. I can unpack the same .WAR file on my development

Re: Question regarding usage of Logging Level

2014-07-13 Thread David Kerber
On 7/13/2014 1:55 AM, Ashish Sureka wrote: Apache uses a logging utility. The logging utility consists of several levels such as: TRACE, DEBUG, INFO, WARN, ERROR and FATAL. Which logging level to use (and also when to use) depends on the level/severity of the event (which needs to be

Re: CGI script to work on Tomcat

2014-06-20 Thread David Kerber
On 6/20/2014 6:19 PM, André Warnier wrote: ... Finally, if the Perl script isn't that complicated, you should consider re-writing it in Java since you are using a Java application server. It will be much easier to deal with everything that way. Who said that the cgi-bin script was perl ?

Re: server.xml socketBuffer setting

2014-06-18 Thread David kerber
On 6/17/2014 11:34 AM, David kerber wrote: Running TC 7.0.54 as a service with JRE 7u60, on Windows Server 2008 R2. What should I use as a guideline for setting the socketBuffer setting in server.xml? Should it just be big enough to handle a single response with a little headroom? Or does

server.xml socketBuffer setting

2014-06-17 Thread David kerber
Running TC 7.0.54 as a service with JRE 7u60, on Windows Server 2008 R2. What should I use as a guideline for setting the socketBuffer setting in server.xml? Should it just be big enough to handle a single response with a little headroom? Or does it handle more than one response at a time?

Re: Tomcat opening thousands of files

2014-06-16 Thread David kerber
On 6/16/2014 12:57 PM, Prashant Deva wrote: I am using Tomcat 7.0.53 with Spring 4 websockets (spring's SockJS support). I notice that tomcat opens thousands of files. Correction: your application opens thousands of files, or leaves them open when it should have closed them. Just

Who the f*** is Stephen?

2014-05-31 Thread David Law
Hi Alex, hope you're thriving. I got a LinkedIn invitation from a Stephen Everson who (I think...) I've never heard of. I see he's one of your connections. Any idea who he is why he would be contacting me? Dave - To

Tomcat 7.0.54 - Session invalidate broken in some apps

2014-05-29 Thread David Rees
I've found that certain applications will no longer invalidate sessions after upgrading from 7.0.53 to 7.0.54. It seems to require clustering to be set up in Tomcat. If it's not set up, session invalidation works fine. So far, I can only trigger it in a webapp that uses Tapestry Spring Security.

(Slightly OT): Server JVM 7

2014-05-29 Thread David kerber
I have found that under JRE 6 (haven't tested 7 for performance yet, only functionality) that the server jvm gives me much better performance for Tomcat than the client JVM does. However, I can only find a 64-bit server JVM for Java 7, while in Java 6, there was both a 32-bit and 64-bit

Re: (Slightly OT): Server JVM 7

2014-05-29 Thread David kerber
Thanks, Konstantin, that was what I needed. I knew but had forgotten about the JDK having the server JRE. Dave On 5/29/2014 9:58 AM, Konstantin Preißer wrote: Hi David, -Original Message- From: David kerber [mailto:dcker...@verizon.net] Sent: Thursday, May 29, 2014 3:35 PM I have

Re: comet question

2014-05-29 Thread David kerber
On 5/29/2014 2:21 PM, Elias Kopsiaftis wrote: oh yea, im on tomcat 7 btw Then why are you asking about a problem in a very old version of Tomcat 6? On Thu, May 29, 2014 at 2:13 PM, Elias Kopsiaftis yemi...@gmail.com wrote: Hey guys, I found this on the web, and it really alarms me

Re: Tomcat 7.0.54 - Session invalidate broken in some apps

2014-05-29 Thread David Rees
On Thu, May 29, 2014 at 8:51 AM, Konstantin Kolinko knst.koli...@gmail.com wrote: 2014-05-29 11:58 GMT+04:00 David Rees dree...@gmail.com: I've found that certain applications will no longer invalidate sessions after upgrading from 7.0.53 to 7.0.54. It seems to require clustering to be set up

Re: Tomcat 7.0.54 - Session invalidate broken in some apps

2014-05-29 Thread David Rees
On Thu, May 29, 2014 at 12:16 PM, Christopher Schultz ch...@christopherschultz.net wrote: Do you mean that you have a web application that does this: session.invalidate(); session = request.getSession(true); ... and the old session is in fact not invalidated? Yes. Specifics to make this

Re: Tomcat 7.0.54 - Session invalidate broken in some apps

2014-05-29 Thread David Rees
On Thu, May 29, 2014 at 12:39 PM, David Rees dree...@gmail.com wrote: Yes. Specifics to make this happen seem to be: TC 7.0.54 in a cluster, Tapestry 5.2.6 + Tapestry Spring Security. OK, I was wrong, no Tapestry or Spring Security is required, just a couple JSPs are required to reproduce

Re: Tomcat 7.0.54 - Session invalidate broken in some apps

2014-05-29 Thread David Rees
On Thu, May 29, 2014 at 6:16 PM, David Rees dree...@gmail.com wrote: I'll open a ticket with these details, too. https://issues.apache.org/bugzilla/show_bug.cgi?id=56578 -Dave - To unsubscribe, e-mail: users-unsubscr

Upgrading Tomcat version

2014-05-28 Thread David kerber
Right now I'm running TC 7.0.22 on Windows Server 2008 R2, as windows services. Not using APR. To upgrade to the latest version, I should be able to just stop the services and unzip the latest .zip version on top of the existing Tomcat installation, right? I have already tested it to

Re: Upgrading Tomcat version

2014-05-28 Thread David kerber
On 5/28/2014 8:12 AM, Mark Thomas wrote: On 28/05/2014 13:06, David kerber wrote: Right now I'm running TC 7.0.22 on Windows Server 2008 R2, as windows services. Not using APR. To upgrade to the latest version, I should be able to just stop the services and unzip the latest .zip version

Re: Tomcat 7 cannot get ciphers with SHA256 or SHA384

2014-05-23 Thread David Bullock
incidence of accidental deaths? Cryptographically-savvy: *Sigh* World: Hang on, I'll just quickly email you that password ... *David BullockMachaira Enterprises Pty Ltd * PO Box 31 Canowindra NSW 2804 02 6344 1100 http://machaira.com.au/ On 23 May 2014 16:13, Sverre Moe sverre@gmail.com wrote

Re: Application monitoring

2014-05-19 Thread David kerber
On 5/19/2014 3:23 AM, Neven Cvetkovic wrote: On Sun, May 18, 2014 at 11:26 PM, Neven Cvetkovic neven.cvetko...@gmail.com wrote: ... Chris thanks for the reminder, I will fix the missing page with the example I wrote, back then. I thought I have published that already. I've uploaded

Re: Application monitoring

2014-05-19 Thread David kerber
On 5/19/2014 8:27 AM, Neven Cvetkovic wrote: On Mon, May 19, 2014 at 8:11 AM, David kerber dcker...@verizon.net wrote: I've uploaded code examples and the JmxExample.war: https://wiki.apache.org/tomcat/Example%20Application% 20Exposing%20Internals%20Using%20JMX So, just deploy

Re: Application monitoring

2014-05-19 Thread David kerber
On 5/19/2014 8:52 AM, Leon Rosenberg wrote: David, I already asked you why you are reinventing the wheel, but it seems, for fun, which is a perfectly ok reason though. However, maybe you'll find some insights on how other people do it here: http://blog.anotheria.net/msk/the-complete-moskito

Re: Application monitoring

2014-05-16 Thread David kerber
On 5/15/2014 9:57 AM, Leon Rosenberg wrote: Hello David, I will not ask you why you are reinventing the wheel (ok, I lied, why are you reinventing the wheel?). You have multiple options available: 1) You could use jmx and publish your information as jmx beans. 2) You could use rmi between you

Application monitoring

2014-05-15 Thread David kerber
I am working on a small Tomcat servlet to monitor other tomcat-based applications running on the same physical machine, and am trying to figure out the best way to communicate between the monitoring app, and the monitored apps. My setup has several tomcat instances of a single application,

Re: denying the request if it comes through IP address instead of DNS

2014-05-12 Thread David Kerber
On 5/12/2014 3:32 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Deepak, On 5/12/14, 10:42 AM, dku...@ccilindia.co.in wrote: We are using - Tomcat Version - 7.0.22 You should upgrade. Really. We are currently on Tomcat 7.0.53 which includes improvements and

Re: Connection reset issue in Tomcat

2014-04-24 Thread David Kerber
On 4/24/2014 2:53 AM, André Warnier wrote: Gangumolu, Maruti wrote: Hi, I'm seeing continuously this error in tomcat's log file while performing load test. Could somebody help me why we get this error. From Apahce:- Apr 23, 2014 2:48:54 PM org.apache.jk.common.ChannelSocket

Re: catalina.out is 13G

2014-04-22 Thread David kerber
On 4/22/2014 10:48 AM, Randhir Singh wrote: Thanks for your quick revert. Is it possible to rotate it without a log rotation program like rotatelogs or cronolog? Also, how to check if rotatelogs or cronolog is installed on the system or not. I can revert with any details on the configuration if

Re: http status 400 question

2014-04-18 Thread David Wall
On 4/17/2014 7:50 AM, Christopher Schultz wrote: I'll take a look at the code to see if maybe we can conditionally log something somewhere when we get a 400 error. You can probably get information about it by enabling DEBUG logging on the component that throws the 400 error, but you'll likely

Re: http status 400 question

2014-04-18 Thread David Wall
Thanks, Christopher. One last question has to do with the filter-mapping's url-pattern element. Are url-pattern/*/url-pattern and url-pattern*/url-pattern the same? My impression is that /* is more correct since a * pattern implies a file name suffix but there's nothing after it. Is that

Re: JNDI initialization since Tomcat 8.0.1

2014-04-16 Thread David Landis
On Sun, Apr 13, 2014 at 4:02 PM, Konstantin Kolinko knst.koli...@gmail.comwrote: By the way, there exists an Apache project implementing the JPA specification, http://openjpa.apache.org/ It does not really work with Tomcat though does it? See this issue:

http status 400 question

2014-04-16 Thread David Wall
I am running Tomcat 7.0.47 and it occasionally returns HTTP status codes of 400, such as the following from my access log. A 400 suggests a malformed request, but many of these are simple GET requests on an image, so it seems odd they are malformed. We're not positive, but it seems that as

Re: http status 400 question

2014-04-16 Thread David Wall
. The links otherwise work if we enter them into our browser and they should be impossible for others to guess. David - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h

Re: http status 400 question

2014-04-16 Thread David Wall
I've never done a request dumper before, but is there a way to trigger it only if Tomcat is going to issue a 400? Sorry for replying to my own posting, but for JSP urls, we do seem to know that request.getScheme() for example returns null when things are bad, though I'm not sure how a bad

Strange context naming issue

2014-04-14 Thread David kerber
Running TC 7.0.42 on Windows Server 2008 R2 as a windows service, JRE 1.6.0_45 32-bit. What I'm seeing is that my context path is not being initialized with the name I expect: My .war file is named eddSrv.war (lower-case first letter), but the context is being initialized as EddSrv

Re: Strange context naming issue

2014-04-14 Thread David kerber
On 4/14/2014 1:24 PM, André Warnier wrote: David kerber wrote: Running TC 7.0.42 on Windows Server 2008 R2 as a windows service, JRE 1.6.0_45 32-bit. What I'm seeing is that my context path is not being initialized with the name I expect: My .war file is named eddSrv.war (lower-case first

Re: Strange context naming issue

2014-04-14 Thread David kerber
On 4/14/2014 1:33 PM, Konstantin Kolinko wrote: 2014-04-14 21:18 GMT+04:00 David kerber dcker...@verizon.net: Running TC 7.0.42 on Windows Server 2008 R2 as a windows service, JRE 1.6.0_45 32-bit. What I'm seeing is that my context path is not being initialized with the name I expect: My .war

Multi-service version of tomcat7w

2014-04-14 Thread David kerber
Is there a version (or equivalent) of Tomcat7w.exe, which can handle multiple services in one instance, instead of needing to start a dozen different instances of it to monitor and manage my 12 TC services? If not, I may look into doing one...

Re: Multi-service version of tomcat7w

2014-04-14 Thread David kerber
On 4/14/2014 3:10 PM, Konstantin Kolinko wrote: 2014-04-14 22:59 GMT+04:00 David kerber dcker...@verizon.net: Is there a version (or equivalent) of Tomcat7w.exe, which can handle multiple services in one instance, instead of needing to start a dozen different instances of it to monitor

Re: Multi-service version of tomcat7w

2014-04-14 Thread David kerber
On 4/14/2014 3:30 PM, Konstantin Kolinko wrote: 2014-04-14 23:21 GMT+04:00 David kerber dcker...@verizon.net: On 4/14/2014 3:10 PM, Konstantin Kolinko wrote: 2014-04-14 22:59 GMT+04:00 David kerber dcker...@verizon.net: Is there a version (or equivalent) of Tomcat7w.exe, which can handle

Re: Does the HeartBleed vulnerability affect Apache Tomcat servers using Tomcat Native?

2014-04-10 Thread David Landis
On Wed, Apr 9, 2014 at 1:24 AM, Christopher Schultz ch...@christopherschultz.net wrote: (Checked http://filippo.io/Heartbleed before and after) I built APR and Tomcat Native from source on the server, so I assume it's doing dynamic library loading. Is the binary build staticly linked?

Re: [OT] timeout

2014-04-07 Thread David kerber
On 4/7/2014 12:24 AM, Vicky B wrote: *May I suggest Reading The Fine Manual for your particular firewallwould be preferable to asking random non-psychic strangers?* The question i asked was generic one every firewall have some common fucntionality . That is true, but the question you asked

Re: AW: AW: tomcat-connectors-1.2.39-windows-x86_64-iis does not work

2014-04-05 Thread David Kerber
... but if the server is a *nix implementation, the better diag tool might be dig. And yes, I would not expect the address 0.0.0.0 on a client to connect to the localhost. That is a special case address meaning local network. If anything, it would be sending packets out the NIC card, not

Re: SQLNestedException in Connection Pooling With Tomcat 7.0.39

2014-04-04 Thread David kerber
On 4/4/2014 8:22 AM, Saurabh Saraswat wrote: Dear Dan, Thanks for your response! I have cross checked the user / password configuration. All is correct. As i mentioned that initially i am getting the object of connection but after some time (After few hits to database from application) my web

Re: Scripting Tomcat installation versus multiple instances

2014-03-27 Thread David kerber
On 3/27/2014 12:11 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 David, ... Yes, it is. When I am setting up a new install, I do the windows install and then unzip the .zip package on top of it, so I have all the .bat files as well. I don't fully

Re: Scripting Tomcat installation versus multiple instances

2014-03-26 Thread David kerber
On 3/26/2014 3:25 PM, André Warnier wrote: Leo Donahue wrote: On Wed, Mar 26, 2014 at 11:32 AM, Sebastien Tardif sebastien.tardif.contrac...@gmo.com wrote: I'm confused by the commands given by Tomcat documentation about creating different instances, it says: service install instance1 but

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