Re: javax.servlet vs jakarta.servlet?

2021-12-29 Thread David Kerber
On 12/29/2021 2:54 PM, Michael B Allen wrote: On Wed, Dec 29, 2021 at 2:07 PM Mark Thomas wrote: One of the advantages of moving to Eclipse is that everyone involved in the spec, not just the spec lead, has an equal say in what goes into the spec. That sounds like design by committee which

Re: Tomcat 7.0.54 gives zero-byte .java and .class files for jsp in work directory that cause truncated class error

2016-08-04 Thread David Kerber
On 8/4/2016 3:18 AM, Rahul Singh wrote: Dear Christopher, Thanks you very much for your response !! Filesystem quota? Filesystem Quota is not enabled for this disk partition so there is no restrictions on disk usage. Look at the timestamps on the zero-byte files, then find that same

Re: question on Java / Tomcat / GC

2016-07-14 Thread David Kerber
On 7/14/2016 1:41 PM, André Warnier (tomcat) wrote: Hi Java GC gurus. I am coming for a bit of expert advice, not for a problem. At some customer site, some applications appear to react somewhat slowly sometimes, although these are not very heavy applications, and traffic on the site is also

Re: Memory Leak

2016-06-28 Thread David Kerber
On 6/28/2016 5:57 PM, Roman Gelfand wrote: I am running a middleware application in the tomcat environment described, below. After rebooting the server, the memory consumption is couple of gigs. Couple of weeks later, I get a message, I am out of memory. Moreover, I need to bounce the whole

Re: Runtime Cloning of DataSource for Different DB?

2016-06-27 Thread David Kerber
On 6/27/2016 1:07 AM, Jerry Malcolm wrote: On 6/26/2016 8:27 PM, David Kerber wrote: On 6/26/2016 1:32 AM, Jerry Malcolm wrote: I have a webapp that runs on a single host. It has one primary database. But it has many secondary databases. There is one secondary database for each of my

Re: Runtime Cloning of DataSource for Different DB?

2016-06-26 Thread David Kerber
On 6/26/2016 1:32 AM, Jerry Malcolm wrote: I have a webapp that runs on a single host. It has one primary database. But it has many secondary databases. There is one secondary database for each of my clients that use my app. These client databases come and go regularly as clients signup and

Re: Tomcat 7 on JDK 6 or JDK 7

2016-06-02 Thread David kerber
On 6/2/2016 6:50 AM, Gokul wrote: Hello, I am running tomcat 7.0.65. Currently the tomcat is running on JDK 1.6. Can someone please confirm if there is any performance impact if tomcat 7 would run on JDK 1.6. I have never noticed any, though I haven't done any formal tests. I sincerely

Re: [SECURITY] Java Deserialization, JMX and CVE-2016-3427

2016-05-25 Thread David kerber
On 5/25/2016 11:12 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 5/24/16 10:06 AM, Mark Thomas wrote: TL;DR If you use remote JMX, you need to update your JVM to address CVE-2016-3427 For the longer version, see the blog post I just published on this:

Re: Tomcat 7, startup problems

2016-05-17 Thread David kerber
On 5/17/2016 11:49 AM, André Warnier (tomcat) wrote: Hello experts. What does the following mean, and/or (better) what do we have to do to get rid of these ? Note : below is only a small sample, there are hundreds of these in-between (about 2.3 MB of logfile worth of them). It looks to me

Re: Windows Service won't launch

2016-05-16 Thread David Kerber
On 5/16/2016 4:25 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 All, I'm upgrading a client's system from Tomcat 7 to Tomcat 8 as part of a new release of our software. I've got Tomcat 8 installed using the 32-bit ZIP file, and the Windows Services have been

Re: context root with relative path

2016-05-09 Thread David kerber
"/" if the previous character is a ":". Generally you are going to want to end up with "the root of ", not "the default directory on ". Best Regards, Dimitar On Thu, Apr 21, 2016 at 7:12 PM, Leo Donahue <donahu...@gmail.com> wrote: O

Re: Auto-bounce a host or webapp?

2016-05-05 Thread David kerber
On 5/5/2016 2:56 PM, Jerry Malcolm wrote: I am not using WAR files for my apps. I simply copy updated files to the image in \webapps as changes/updates are required. I have a server running on my local dev machine. When I refresh any webapp file (jars, jsps, etc) the server detects the

Re: Apache Tomcat8 blocked once reached max thread(s) count

2016-05-02 Thread David kerber
On 5/2/2016 3:33 AM, Kapilan A wrote: Hi Folks I am facing one issue with Apache Tomcat 8. In 32 GB machine, four instances of tomcat is running and every tomcat has memory as 512-1024. In the SQl server, a particular table called "MetaData". Third party engine will

Re: OT if/else or not if/else

2016-04-25 Thread David kerber
On 4/25/2016 11:44 AM, Leon Rosenberg wrote: On Mon, Apr 25, 2016 at 5:21 PM, Dougherty, Gregory T., M.S. < dougherty.greg...@mayo.edu> wrote: Yes, we do, because, well, it is more informative. :-) if (a) Š else if (b) Š else if (c) Š Says you have three mutually exclusive options, and

Re: OT if/else or not if/else

2016-04-25 Thread David kerber
On 4/25/2016 10:38 AM, Leon Rosenberg wrote: On Mon, Apr 25, 2016 at 4:13 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Leon, On 4/22/16 12:24 PM, Leon Rosenberg wrote: Hi guys, I would always choose the case with the elses.

Re: OT if/else or not if/else

2016-04-22 Thread David kerber
On 4/22/2016 12:34 PM, Mark Thomas wrote: On 22/04/2016 17:24, Leon Rosenberg wrote: Hi guys, this is completely off-topic ;-) Excellent. An almost perfect Friday afternoon distraction. You just needed some decent troll bait to make it perfect. ;) I was wondering if using if/else is not

Re: context root with relative path

2016-04-21 Thread David kerber
On 4/21/2016 11:33 AM, Leo Donahue wrote: Chris, On Apr 21, 2016 9:15 AM, "Christopher Schultz" wrote: I don't have a Windows machine handy right this minute, but from my previous experience, "C:" means "the current working directory on the C drive, from this

Re: context root with relative path

2016-04-20 Thread David kerber
On 4/20/2016 12:07 PM, Dimitar Valov wrote: System.out.println(new File("C:").exists()); prints true, so I guess it works okay. All that means is that it does something. That doesn't means it's doing the correct thing. That *should* be checking the existence of the "current" directory,

Re: Fwd: bug

2016-04-20 Thread David kerber
On 4/20/2016 3:47 AM, André Warnier (tomcat) wrote: On 20.04.2016 09:31, Cristian Lorenzetto wrote: i sincronized the method for sending message but error is the same when ubuntu is suspended. The connections are not restored correctly when tomcat websocket process is wakeup Ach so .. You

Re: context root with relative path

2016-04-19 Thread David kerber
On 4/19/2016 4:13 PM, Dimitar Valov wrote: Hi Mark, Yes, it is sensitive, that's why I'm suggesting such simple solution. For me the issues comes because of AbstractFileResourceSet::file -> absPath = absPath.substring(absoluteBase.length() + 1); and if (!canPath.equals(absPath)). This + 1

Re: Tomcat Files and Tools

2016-04-14 Thread David kerber
On 4/14/2016 10:48 AM, King Kenneth wrote: All, I have a few questions listed below please provided insight. Where do I find the tomcat-user.xml file? Where do I find the logging properties for Tomcat? Where is the java security manager, is this component installed by default? Thanks, You

Re: .htpasswd File

2016-04-14 Thread David kerber
On 4/14/2016 10:38 AM, King Kenneth wrote: All, Where is the .htpasswd File located within the Tomcat folder directory? Wherever you put it. It does not exist in a default installation of Tomcat. Are you maybe thinking of Apache httpd? It's a completely different animal... Thanks,

Re: Tomcat 8 uses high CPU

2016-04-13 Thread David Kerber
On 4/13/2016 6:04 PM, Josep M Beleta wrote: Following André suggestion I replaced the connector protocols, both for HTTP and AJP ports, to force NIO.2. Now Tomcat is working for seven hours without any problem. My findings until now are: 1. It is not a Tomcat related problem, WildFly 10

Re: Help needed

2016-04-12 Thread David kerber
On 4/12/2016 2:56 PM, Sajin S wrote: Expection : at org.apache.coyote.http11.InternalAprOutputBuffer.addToBB( *InternalAprOutputBuffer.java:186*) You still missed the exception itself; you need what's before the "at" in the above lines. at

Re: Tomcat8 with Java8 session mix up issue

2016-04-11 Thread David kerber
)? We're also using Spring MVC framework which handles session management. Regards, Nilesh -Original Message- From: David kerber [mailto:dcker...@verizon.net] Sent: 11 April 2016 13:57 To: Tomcat Users List <users@tomcat.apache.org> Subject: Re: Tomcat8 with Java8 session mix up

Re: Tomcat8 with Java8 session mix up issue

2016-04-11 Thread David kerber
On 4/11/2016 8:54 AM, Olaf Kock wrote: Am 11.04.2016 um 14:51 schrieb Nilesh Dabholkar: Hi, Has anyone come across issues related mixing up user session on Tomcat 8.0.26? We've been seeing intermittent issues whereby user session are getting mixed up after upgrading to Tomcat8 and Java8.

Re: Tomcat running against Java 1.7 barfs with Java < 1.7 Jasper error

2016-04-08 Thread David kerber
On 4/8/2016 7:43 AM, Lyallex wrote: On 8 April 2016 at 12:31, Violeta Georgieva wrote: Hi, 2016-04-08 14:28 GMT+03:00 Lyallex : Apache Tomcat 7.0.42 running under jsvc against jdk1.7.0.45 on 64 bit Ubuntu Linux 12.10 built and deployed with Ant in

Re: Why the tomcat source code uses obsolete ant build configuration? why not maven or gradle?

2016-03-28 Thread David kerber
On 3/28/2016 2:18 PM, Caldarale, Charles R wrote: From: George Sexton [mailto:geor...@mhsoftware.com] Subject: Re: Why the tomcat source code uses obsolete ant build configuration? why not maven or gradle? In my opinion (and it's probably not shared by many, but I don't care), Maven sucks.

Re: Tomcat port listening as SYSTEM

2016-03-28 Thread David kerber
Thanks, susil On Mon, Mar 28, 2016 at 7:39 PM, David kerber <dcker...@verizon.net> wrote: On 3/28/2016 9:58 AM, SUSIL SAHU wrote: Hello, I am new to tomcat using version 7.0.28. I am able to start tomcat successfully using startup.bat in windows 2008. But when tried to che

Re: Tomcat port listening as SYSTEM

2016-03-28 Thread David kerber
On 3/28/2016 9:58 AM, SUSIL SAHU wrote: Hello, I am new to tomcat using version 7.0.28. I am able to start tomcat successfully using startup.bat in windows 2008. But when tried to check the port number using netstat -ab, it is listening as SYSTEM instead of java.exe. [System] TCP

Re: Cluster session replication issue: servlet hang on restart only under load

2016-03-25 Thread David kerber
On 3/25/2016 9:41 AM, Anthony Sturchio wrote: Hello We recently updated our Coldfusion 10 server to update 18, which moved us up to Tomcat 7.0.64, and we are now experiencing issues when restarting a CF instance. I understand that this is not a coldfuison forum, but since CF10 is based on top

Re: tomcat6 -minheap,maxheap size

2016-03-23 Thread David kerber
On 3/23/2016 9:19 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 3/23/16 8:02 AM, David kerber wrote: On 3/23/2016 3:36 AM, Mahudeswaran A wrote: Hello All, Is there any recommended maximum setting for tomcat-6 32bit version running on windows 64bit OS

Re: tomcat6 -minheap,maxheap size

2016-03-23 Thread David kerber
On 3/23/2016 3:36 AM, Mahudeswaran A wrote: Hello All, Is there any recommended maximum setting for tomcat-6 32bit version running on windows 64bit OS No, there is not. It all depends on your app's requirements. I have applications for which 64MB is plenty, and others which need 1024MB. I

Re: "Distinct and non-overlapping" context roots

2016-03-22 Thread David kerber
On 3/22/2016 12:31 PM, Paul Benedict wrote: Mark, I did get some clarification. Thanks for asking. The EE spec states an "application" may not have overlapping context roots. I got clarification that "application" refers only to an EAR. Therefore, an EE server should be validating this

Re: porting jsvc startup script from init.d to systemd tomcat.service, resolved

2016-03-20 Thread David Kerber
On 3/19/2016 5:39 PM, Daniel Savard wrote: André, I was just trying to understand why this was a so hard requirement to run on port 80. The provided answers didn't help to understand why this was hardly needed. I was just questioning and sometimes, we, yes I include myself, look at a problem

Re: Warning response header

2016-03-07 Thread David Kerber
On 3/7/2016 5:11 PM, Sean Dawson wrote: On Sun, Mar 6, 2016 at 12:48 PM, Sean Dawson wrote: Tomcat 8_32 Windows 7 Java 8_51 RestEasy 3.0.11.Final GWT 2.7.0 (Jetty jetty-9.3.5.v20151012) Servlet code makes a RestEasy call to another servlet (same container) - second

Re: Multiple domian names one web site different content

2016-03-04 Thread David kerber
On 3/4/2016 3:46 PM, Jose María Zaragoza wrote: Maybe my question does't have to do with current thread ( an probably doesn't have any sense at all) but : would be possible to define "VirtualHost" according the destination port ? I know that VirtualHost diferent domain name, but i want to keep

Re: Update path of executeable of a tomcat windows service

2016-02-22 Thread David kerber
On 2/22/2016 10:12 AM, Fabian Birk wrote: Hello, I am using tomcat as a windows service and want to update the path of executeable during my automated process via command line. The Reason why I dont want to deinstall / install the service is, that I want to keep the other informations like

Re: Tomcat memory

2016-02-22 Thread David kerber
On 2/22/2016 7:02 AM, Gokul.Baskaran wrote: The answer I expected is the JVM grows as much as to the available system memory of there are m min and max set. But if you go back and read what others have posted, you will find that that is not the case. Just because that's what you expect,

Re: Sessions number issue

2016-02-19 Thread David kerber
On 2/19/2016 11:20 AM, Qadeer Khan wrote: Anyone, please throw some insight on the following issue You need to do the research and answer the questions that Mark asked in your other thread. Since you're using jboss, this may well be a jboss problem, rather than tomcat.

Re: Problem with Tomcat 5.5.20.

2016-02-19 Thread David kerber
On 2/19/2016 6:36 AM, Rogerio da Silva wrote: Dear , I have encountered problem with Apache Tomcat 5.5.20 , suddenly occur slow access in published URLs stay inacessible, looking memory process in operation system Windows 2008 Enterprise SP2 appearance lock , restart after OS return with

Re: Session on Tomcat 7 manager screem

2016-02-18 Thread David kerber
On 2/18/2016 11:55 AM, Qadeer Khan wrote: I am not sure why so aggravated you get... I am not claiming any bugs or anything and I am no expert in Tomcat 7 application server. I am at client site and they are simply asking me a question as I explained before. They have java applications

Re: How to set tomcat 8.0.20 container character encoding of request and response to UTF-8 intead of ISO-8859-1

2016-02-17 Thread David kerber
On 2/16/2016 11:38 PM, Akshat Tandon wrote: Thanks Chris for the response, Basically we don't want to do coding around the filter as it will also bring us an additional overhead of maintaining the code and follow the quality process , Ideally we want say some setting to say in server.xml to set

Re: Tomcat Failure Modes

2016-02-11 Thread David kerber
On 2/11/2016 2:20 PM, Edward Hart (c) wrote: Q1: Can Tomcat be configured to 'roll back' if a patch update causes a TC failure on a production server? Q2: Can TC be configured to fail to a known safe state in the event of server failure during operation? I am developing a Security Technical

Re: Http 403: access to requested resource denied

2016-02-03 Thread David kerber
403 is an authentication/authorization error, which means the logged-in user doesn't have permissions to the requested resource. On 2/3/2016 11:05 AM, prashant sharma wrote: Hi, Can someone pls provide any inputs on below. Thanks Regards, Prashant 07440456543 On 2 Feb 2016 18:02, "prashant

Re: Http 403: access to requested resource denied

2016-02-03 Thread David kerber
On 2/3/2016 12:50 PM, prashant sharma wrote: On 3 Feb 2016 17:42, "David kerber" <dcker...@verizon.net> wrote: On 2/3/2016 12:23 PM, prashant sharma wrote: On 3 Feb 2016 16:38, "Mark Eggers" <its_toas...@yahoo.com.invalid> wrote: -BEGIN PGP SIGNED MES

Re: Http 403: access to requested resource denied

2016-02-03 Thread David kerber
cat installation directory and create a context from Catalina/localhost. But if I place my war inside webapps then it gives http 403 when I hit my endpoint. Regards, Prashant 07440456543 On 3 Feb 2016 16:11, "David kerber" <dcker...@verizon.net> wrote: 403 is an authentication/

Re: Http 403: access to requested resource denied

2016-02-03 Thread David kerber
On 2/3/2016 1:16 PM, prashant sharma wrote: Regards, Prashant 07440456543 On 3 Feb 2016 18:07, "David kerber" <dcker...@verizon.net> wrote: On 2/3/2016 12:50 PM, prashant sharma wrote: On 3 Feb 2016 17:42, "David kerber" <dcker...@verizon.net> wrote: On 2/

Re: Tomcat https answers by hostname, but not by IP number

2016-01-29 Thread David kerber
On 1/29/2016 12:09 PM, Hubert Hickman wrote: I am running Tomcat 7.0.67 on RHEL 6.7 I have a tomcat app that is deployed and listening on port 6443 for https traffic. tomcat answers fine by request URLS of the form https://hostname:port/rest of URL/etc. However, it does not answer on

Re: switching between Java8 and Java 7 under tomcat7 leads to error

2016-01-22 Thread David kerber
On 1/22/2016 8:06 AM, Christoph P.U. Kukulies wrote: Windows 7: Today I installed Java 8 on my windows 7 machine and did an upgrade of the CMS at the same time (from OpenCMS 9.5.2 to 9.5.3). After the Java update and the CMS update suddenly my tomcat 6.0.39 didn't start any longer. The service

Re: File size >= 2GB not uploaded in application [Tomcat 7.0.54 Struts: 2.3.24 JAVA: openJDK 1.7.79]

2016-01-15 Thread David kerber
On 1/15/2016 1:02 AM, Rahul Singh wrote: Dear Christopher, Thanks for your guidelines, we have big hope from Apache Tomcat Team to solve this problem as this is show stopper for our application, we have also raise this question on various forum like stack overflow and other,but no relevant

Re: File size >= 2GB not uploaded in application [Tomcat 7.0.54 Struts: 2.3.24 JAVA: openJDK 1.7.79]

2016-01-12 Thread David kerber
On 1/12/2016 12:01 AM, Rahul Singh wrote: Hello Apache Tomcat team, Sending again with some corrections, File upload in my application(Tomcat 7.0.54 Struts: 2.3.24 JAVA: openJDK 1.7.79) is not successful for greater than 2 gb. After previous discussion here on previous thread, I migrated

Re: Tomcat 8.0.30 Session lost

2016-01-12 Thread David kerber
On 1/12/2016 10:57 AM, Thomas Scheffler wrote: Am 12.01.16 um 14:41 schrieb Mark Thomas: 1.) are not required as every request belonging to the same session are already authenticated. After login() other request of the same session will not return 'null' on getRemoteUser() or getUserPrincipal()

Re: Context destroy sequence of events

2015-12-14 Thread David kerber
On 12/11/2015 4:36 PM, Mark Thomas wrote: On 11/12/2015 16:41, David kerber wrote: On 12/11/2015 8:30 AM, David kerber wrote: Running TC 8.0.22 with JRE 1.8.0.60 on Windows 2008 R2, as a windows service. Can someone point me to a reference that will tell me exactly what the sequence of events

Context destroy sequence of events

2015-12-11 Thread David kerber
Running TC 8.0.22 with JRE 1.8.0.60 on Windows 2008 R2, as a windows service. Can someone point me to a reference that will tell me exactly what the sequence of events is when a servlet that is running as a windows service, is shut down? My situation is that my application receives data in

Re: Context destroy sequence of events

2015-12-11 Thread David kerber
On 12/11/2015 8:30 AM, David kerber wrote: Running TC 8.0.22 with JRE 1.8.0.60 on Windows 2008 R2, as a windows service. Can someone point me to a reference that will tell me exactly what the sequence of events is when a servlet that is running as a windows service, is shut down? My situation

Re: Tomcat 8 JAX-WS javax.xml.ws.WebServiceException: java.io.IOException: Error writing to server

2015-12-03 Thread David kerber
On 12/3/2015 10:48 AM, Christopher Schultz wrote: ... We have also tried different combinations of Java and Tomcat: * Tomcat 7/Java 7 = Works * Tomcat 7/Java 8 = Works * Tomcat 8/Java 7 = Doesn't Work * Tomcat 8/Java 8 = Doesn't Work This leads us to think that

Re: [OT] RE: 80ms delay switching between worker threads

2015-11-02 Thread David kerber
On 10/31/2015 10:51 AM, David Balažic wrote: Just a note: When most of you say "resolution" what you think about is actually called "accuracy". (also see "precision" , here is a good roundup: http://www.tutelman.com/golf/measure/precision.php ) I'm not sure about the others, but as an

Re: [OT] RE: 80ms delay switching between worker threads

2015-11-02 Thread David kerber
. Cheers Farzad On Mon, Nov 2, 2015 at 4:56 AM, David kerber <dcker...@verizon.net> wrote: On 10/31/2015 10:51 AM, David Balažic wrote: Just a note: When most of you say "resolution" what you think about is actually called "accuracy". (also see "precision&

Re: 80ms delay switching between worker threads

2015-10-30 Thread David kerber
On 10/30/2015 3:23 PM, Farzad Panahi wrote: Mark - Could you elaborate a bit more on what you mean by "resolution of the timestamps for the log messages"? If you are referring to the log4j latency (https://logging.apache.org/log4j/2.x/manual/async.html#Latency), it is in microseconds. If it

Re: Java 7 and 8 features

2015-10-27 Thread David kerber
On 10/27/2015 12:01 PM, Vinicius Corrêa de Almeida wrote: I analized some releases and i noticed that not using java 7 features like multi catch and in java 8 do not use lambda expressions and others features, so i came by this email to know why the developers not using this features? Which

Re: Tracking down memory leak

2015-10-21 Thread David kerber
On 10/21/2015 1:08 PM, Christopher Schultz wrote: Rallavagu, On 10/20/15 9:46 AM, Rallavagu wrote: Please take a look at Memory Analyzer tool (http://www.eclipse.org/mat/). Run the app and take the heap dump while app is running and use the tool to analyze it. You could use VisualVM with

Tracking down memory leak

2015-10-20 Thread David kerber
I'm trying to track down the source of a memory leak in one of my applications. I have examined the code but have been unable to fix it, so am looking for some way of instrumenting my app while running on the server. What is the easiest/best (I realize those two criteria may not give the

Re: Tomcat 8 reliability/performance on Windows 2008 R2 Server vs. RHEL/CentOS

2015-10-02 Thread David kerber
On 10/2/2015 3:47 AM, Mark Thomas wrote: On 02/10/2015 00:39, Jason Britton wrote: And if Mark says there shouldn't be problems, I think that is some implicit guarantee of free support from him ;) :) Bugs with reproducible tests cases are always welcome. I have a lot of convenience

Re: Parallel deployment version selection

2015-10-02 Thread David kerber
On 10/2/2015 4:33 AM, l.pe...@senat.fr wrote: Hi. I am using parallel deployment to upgrade my webapps with no downtime. I just have a small issue / question on how the latest version is selected. As far as I understand, the container select the latest version by lexicographically ordering

Re: Tomcat 8 reliability/performance on Windows 2008 R2 Server vs. RHEL/CentOS

2015-10-01 Thread David kerber
On 10/1/2015 9:57 AM, George Sexton wrote: ... but I am looking for more concrete information about why this could be problematic vs. running Tomcat on RHEL/CentOS. My gut says far more Tomcat deployments in production are done on top of Linux based OS's vs. Windows. Any thoughts on making an

Re: Tomcat 7, no_cypher_overlap error, no solutions working, please help.

2015-09-30 Thread David kerber
On 9/30/2015 11:13 AM, Kernel freak wrote: Hi guys, I am trying to setup https on tomcat, but not having much luck since 5 hours. I am always getting no_cypher_overlap errror. This error means that your server and the client browser don't have any cypers in common (there are none that they

Re: Intermittent failure while deploying war file on Tomcat 8.0.24

2015-09-11 Thread David kerber
On 9/11/2015 2:51 PM, prashant gothi wrote: Hi Mark, what is slow uploads? I google it couldn't find anything relevant. It means the process of copying the .war file to the appBase location is slow enough that TC tries to load it before the copy is done. Regards, Prashant On Fri, Sep

Re: tomcat deploys only half of the application and starts the server

2015-07-16 Thread David kerber
On 7/16/2015 9:26 AM, chedana jayasinghe wrote: tomcat deploys only half of the application and starts. what could be the reason ? I tried deleting the server and setting up a new tomcat server but the problem is still the same Define half the application? What version of Tomcat? What

Re: Java Servlet error with tomcat running on Windows Server 2008 R2

2015-07-16 Thread David kerber
On 7/16/2015 2:01 PM, Chen Yang wrote: Hi all, I'm maintaining a Java servlet which uses for render PDF files. Recently I've been tasked to deploy it to run on windows environment. It works perfectly in our old Linux environment; but I'm having issues in windows with the same setup, I can

Re: Unable to start service on Windows (Tomcat version 8.00.023)

2015-07-14 Thread David kerber
This sounds familiar. Did you just copy your configuration files (especially server.xml) from the 7.x installation to the 8.x installation? Been there, done that, got the gray hairs to prove it! You need to start with TC's default server.xml and make the mods necessary for your

Re: What is the utility use to generate source html file for jsp pages in example webapp

2015-07-13 Thread David kerber
On 7/13/2015 6:03 AM, Thusitha Thilina Dayaratne wrote: Hi All, I'm having some jsp pages that I would like to show there source as an html page like in the example webapp that is provided with tomcat. I have tried few online java2html converters but couldn't obtain source as in tomcat example.

Re: Access tomcat instance from Java application

2015-06-22 Thread David kerber
On 6/20/2015 1:57 PM, Daniel Mierswa wrote: Good afternoon list, I would like to know how to access a running tomcat installation from within another Java application which is not running in the tomcat container. More specifically I would like to end up using the datasource which is configured

Re: HOW TO APPLY TOMCAT UPGRADE

2015-06-10 Thread David kerber
On 6/10/2015 1:51 PM, Salami Kehinde Rasheed wrote: I need step-by-step to upgrade to apache v7.0.40, what to download and how to apply this on production environment. Kindly state all necessary caution to take on WINDOW SERVER 2008 R2 and WINDOW SERVER 2012 R2 environment. *SALAMI KEHINDE R*

Re: HOW TO APPLY TOMCAT UPGRADE

2015-06-10 Thread David kerber
On 6/10/2015 2:28 PM, Salami Kehinde Rasheed wrote: Upgrade from Apache 7.0.26 to Apache7.0.40, I need to close some vulnerability on my. server, Window Server 2008 and 2012R2 7.0.40 has known vulnerabilities as well. Why aren't you upgrading to the latest in the 7.0 series? Thank you.

Re: How to upgrade Tomcat

2015-06-08 Thread David kerber
On 6/8/2015 8:58 AM, Akbar Thanakalacheruvu wrote: Hi How to upgrade Tomcat from 7.0.37 to 7.0.62 ? Are there any instructions or document for the same? If you are using a standard installation from the ASF, then just install the newer version over the old one and test your app. Thanks

Re: jar files - where - please explain

2015-06-02 Thread David kerber
On 6/2/2015 9:11 AM, Ray Holme wrote: Currently using apache-tomcat-7.0.35. Not sure that matters as no behavior has changed in prior releases. It does matter, because the directory layouts have changed in the various major versions. On Tuesday, June 2, 2015 8:56 AM, Mark Thomas

Re: Problem specifying cipher suites in tomcat6

2015-05-29 Thread David kerber
On 5/29/2015 3:32 AM, Ramon Pfeiffer wrote: Am 28.05.2015 um 18:56 schrieb Caldarale, Charles R: From: Ramon Pfeiffer [mailto:ramon.pfeif...@uni-tuebingen.de] Subject: Problem specifying cipher suites in tomcat6 I'm currently trying to specify a list of cipher suites to be used by my

Re: native API - to make Apache/Tomcat faster

2015-05-26 Thread David kerber
On 5/26/2015 9:36 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- ... The rebooting the server is a cure. That seems to be a popular cure with Microsoft Windows servers ;) But unfortunately, it's only treating the symptoms, not curing the disease... :-(

Re: native API - to make Apache/Tomcat faster

2015-05-26 Thread David kerber
On 5/26/2015 11:26 AM, Christoph P.U. Kukulies wrote: Am 26.05.2015 um 17:18 schrieb André Warnier: Christoph P.U. Kukulies wrote: Am 26.05.2015 um 15:36 schrieb Christopher Schultz: So you are using either mod_proxy_ajp or mod_proxy? mod_proxy I have not yet found the time to

Re: After applying self-signed certificate, server is up but cannot connect with browser

2015-05-22 Thread David kerber
On 5/22/2015 8:18 AM, Ori Raz wrote: Hello experts, We got an application based on tomcat 7.0.23 and all working fine. We are trying to apply our self-signed certificate and encountering some problems. I hope that the procedure I did is correct :) This is the procedure we followed: 1.

Re: how to block the duplicated requests?

2015-05-19 Thread David kerber
On 5/19/2015 1:03 AM, javalishixml wrote: Thanks a lot for your information. This solution is based on tomcat level. If I always handle this issue at java level, I'm afraid it has performance issue. Because this web site afford a very big concurrency access. Taking a consideration on its

Re: how to block the duplicated requests?

2015-05-19 Thread David kerber
if you can block it with httpd. At 2015-05-19 19:35:26, David kerber dcker...@verizon.net wrote: On 5/19/2015 1:03 AM, javalishixml wrote: Thanks a lot for your information. This solution is based on tomcat level. If I always handle this issue at java level, I'm afraid it has performance

Re: how to block the duplicated requests?

2015-05-19 Thread David kerber
-19 20:01:00, David kerber dcker...@verizon.net wrote: On 5/19/2015 7:53 AM, javalishixml wrote: I doubt you're going to be able to do this in httpd, unless you have a very simple, straight forward way of identifying the robots. Yes. I just want to have a way to block the duplicated requests

Re: Tomcat valve JAAS : form error page displayed first before response reaches back to Tomcat valve

2015-05-19 Thread David kerber
On 5/19/2015 10:26 AM, Kim Ming Yap wrote: Sorry .. you can call me Kim. Yes. I know Mark suggested a custom authenticator .. but how would it help me? The basic thing which i need is simple. In the login module, i need access to session, request objects .. How can having a custom

Re: Tomcat valve JAAS : form error page displayed first before response reaches back to Tomcat valve

2015-05-19 Thread David kerber
On 5/19/2015 10:46 AM, Kim Ming Yap wrote: You said .. Actually, the better analogy is that there is an application that can tell you whether or not 1+1=2, and you're asking it to explain why the numbers they entered don't total up to 2 when a user account is disabled after exceeded limits

Re: how to block the duplicated requests?

2015-05-18 Thread David kerber
How would you tell that a request is from a robot? On 5/18/2015 11:44 AM, javalishixml wrote: Hi, I have a website. It is built by apache + tomcat. Now we make a lottery activity at this website. But we find that some robots always raise the duplicated requests to hit this lottery activity.

Re: CVE-2015-0204 - FREAK vulnerability on tomcat 7.

2015-05-15 Thread David kerber
On 5/15/2015 8:23 AM, Penubothu, Srinivasa M wrote: Here are the details of the vulnerability. Title: SSL/TLS Server Accepts RSA_EXPORT Cipher Suites (FREAK) CVE ID: CVE-2015-0204 Diagnosis: The remote SSL/TLS server accepts RSA_EXPORT cipher suites which is vulnerable to session downgrade

Re: Tomcat Vulnerabilities for 6.x and 7.x version

2015-05-12 Thread David kerber
On 5/12/2015 8:58 AM, Mittal, Paran (Infosys) wrote: Hi Chuck, Thanks for your reply. We have checked the link but are unable to find the exact file name where changes need to be deploy or steps to follow to apply the fix. With Tomcat, you don't deploy changes, nor do you apply patches. To

Re: Setting Content-Type for a static resource

2015-05-08 Thread David kerber
On 5/8/2015 12:48 PM, Peter Rifel wrote: Chris, Thanks for the advice but that doesn't seem to help. It looks like ApplicationContext.getMimeType(String) extracts the extension from the file and uses that in looking up the context's mime mapping. The .xml extension of the file results in the

Re: Trouble separating catalina_base and catalina_home in TC 8

2015-05-01 Thread David kerber
On 4/30/2015 2:49 PM, David kerber wrote: I'm having trouble getting the default webapps to start under TC8 when I separate catalina_base and catalina_home. It must be something stupid I'm missing, but I can't think of any place else to check. This is a windows server 2012 R2 server, with JRE

Trouble separating catalina_base and catalina_home in TC 8

2015-04-30 Thread David kerber
I'm having trouble getting the default webapps to start under TC8 when I separate catalina_base and catalina_home. It must be something stupid I'm missing, but I can't think of any place else to check. This is a windows server 2012 R2 server, with JRE 7u75, JRE 8u45, TC 7.0.57 and TC 8.0.21

Re: Where are my non-persistent sessions stored ?

2015-04-24 Thread David kerber
On 4/24/2015 9:21 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Sreyan, On 4/23/15 9:24 AM, Sreyan Chakravarty wrote: I beg to differ but every time a new request is sent to the server, Tomcat creates a new session for it. So yes Tomcat creates a session even

Re: GC Issue on Tomcat6

2015-04-17 Thread David kerber
On 4/17/2015 8:32 AM, Subhro Paul wrote: Hi Team, For our client website we have two Tomcat servers. Both servers are having same configuration which is 16GB RAM, 8CPUS and Linux 6.5 OS. Tomcat 6 and JAVA 6 are installed in both systems. Yesterday, using Jconsole we observed that frequency of

Re: TLS Server Accepts RSA_EXPORT Cipher Suites (FREAK)

2015-04-15 Thread David kerber
On 4/15/2015 12:05 PM, Jason Jesso wrote: I have Tomcat 6.0.41 connector set-up with: SSLProtocol=TLSv1.1,TLSv1.2 ciphers=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256, TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA, TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384,

Re: TLS Server Accepts RSA_EXPORT Cipher Suites (FREAK)

2015-04-15 Thread David kerber
in late versions of Java 6 and 7 w.r.t. encryption. What exact version of java 7 do you have? IMS, you need a late number (45, maybe?). From: David kerber [dcker...@verizon.net] Sent: Wednesday, April 15, 2015 12:26 PM To: Tomcat Users List Subject

Re: TLS Server Accepts RSA_EXPORT Cipher Suites (FREAK)

2015-04-15 Thread David kerber
exhausted my knowledge of the subject. Somebody else is going to need to chime in here. From: David kerber [dcker...@verizon.net] Sent: Wednesday, April 15, 2015 1:34 PM To: Tomcat Users List Subject: Re: TLS Server Accepts RSA_EXPORT Cipher Suites

Re: Rendering JSP files through Apache

2015-04-09 Thread David kerber
On 4/9/2015 3:06 PM, George Sexton wrote: On 4/9/2015 12:58 PM, Caldarale, Charles R wrote: From: George Sexton [mailto:geor...@mhsoftware.com] Subject: Re: Rendering JSP files through Apache My reading of it says that any request that matches a known context path must be routed to the web

Re: Rendering JSP files through Apache

2015-04-09 Thread David kerber
On 4/9/2015 3:03 PM, George Sexton wrote: On 4/9/2015 10:06 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 George, On 4/9/15 10:52 AM, George Sexton wrote: On 4/8/2015 6:15 PM, Leggio, Andrew wrote: This contains both HTML and JSP. I would like the HTML to

Re: Rendering JSP files through Apache

2015-04-09 Thread David kerber
On 4/9/2015 3:18 PM, George Sexton wrote: On 4/9/2015 1:10 PM, David kerber wrote: You can argue about whether it's smart to map servlets into .html, but again my reading of the spec is that unequivocally, if the request path matches a deployed context, the request must be routed

  1   2   3   4   5   6   7   8   9   10   >