Re: JDBC connection pooling maxActive or MaxTotal

2020-01-05 Thread Guang Chao
On Sat, Jan 4, 2020 at 2:47 AM Dave Bothwell wrote: > Hello, > > I am using Tomcat 8.5.11 with JDBC connection pooling. Based on the > documentation it is clear that DBCP pooling has changed the maxActive > attribute to maxTotal. However it is unclear, based on this document > https://tomcat.apac

Re: Tomcat 9 does not allow to read file in /tmp folder with 777 permission?

2020-01-05 Thread Guang Chao
asspath > > java class-path > > On 06/01/2020 01:21, Guang Chao wrote: > > On Sun, Jan 5, 2020 at 9:26 AM zahid > wrote: > > > Actually this is *one of many *punishments following the sin of choosing > *.nix > > and not Microsoft Windows. > > > Why

Re: Tomcat 9 does not allow to read file in /tmp folder with 777 permission?

2020-01-05 Thread Guang Chao
On Sun, Jan 5, 2020 at 9:26 AM zahid wrote: > > Actually this is *one of many *punishments following the sin of choosing > *.nix > > and not Microsoft Windows. > Why is it Linux fault? > > Have ever heard of "*chmod*" in windows ? > > MS windows trust you with your machine. > > You bought it ,

Re: Tomcat 8.5 Error related to Encoding Detector

2019-01-15 Thread Guang Chao
On Tue, Jan 15, 2019 at 8:31 PM prasoon sharma wrote: > Hi > I used the tutorial at > https://www.rosehosting.com/blog/how-to-install-tomcat-8-on-a-centos-6-vps/ > and > some tips from > > https://www.openprogrammer.info/2015/06/14/how-to-install-java-8-and-tomcat-8-on-centos-6-as-service/ > I ha

Re: JMS Testing

2018-12-17 Thread Guang Chao
On Tue, Dec 18, 2018 at 7:22 AM Rajendra wrote: > Hi, > > How to test JMS on Tomcat without writing client code? Please let me know > if anyone knows the steps or process. > > Hi, I think it would depend on the implementation you are using. > Thanks ! > > Rajendra > > -- Guang

Re: precompile JSPs failure issue - Tomcat community

2018-11-01 Thread Guang Chao
701491 > > -----Original Message- > From: Guang Chao > Sent: 01 November 2018 03:41 PM > To: Tomcat Users List > Subject: Re: precompile JSPs failure issue - Tomcat community > > On Thu, Nov 1, 2018 at 5:33 PM Mark Thomas wrote: > > > On 01/11/2018 09:21, Rathor

Re: precompile JSPs failure issue - Tomcat community

2018-11-01 Thread Guang Chao
On Thu, Nov 1, 2018 at 5:33 PM Mark Thomas wrote: > On 01/11/2018 09:21, Rathore, Rajendra wrote: > > Hi Team, > > > > > > > > We have precompileJSPs tests that include compilation of around 4000 jsp > > files. After upgrading to Tomcat *8.5.34* from Tomcat *8.5.32* we are > > facing an *Error:*/

Re: Connection refused: connect

2018-09-26 Thread Guang Chao
On Fri, Sep 21, 2018 at 4:54 PM Karen Goh wrote: > Hi, > > I am repeatedly getting the following exceptions and am stuck here like > forever. > > Hope someone can tell me what's wrong with my tomcat server version: > 8.5.24 with Eclipse > > > java.net.ConnectException: Connection refused: connec

Re: Application hanging on Tomcat 7.0.54

2018-09-26 Thread Guang Chao
On Thu, Sep 27, 2018 at 3:56 AM Louis Zipes wrote: > Problem just re-occurred and so I was able to at least get a JSTACK (I > assume it was Tomcat since it was the Java using the most memory on the > machine). Here is the reoccurring message. I get more hits on but haven't > dug through all of

Re: Problem finding native shared library (.so)

2018-05-02 Thread Guang Chao
On Wed, May 2, 2018 at 2:51 AM, Reynolds, Scott wrote: > Hi, > > I'm trying to deploy a webapp to Tomcat 8.0.39 on CentOS 7 x86_64 that > depends on native shared libraries. I can't install the shared libraries > in a system-wide location because there are multiple applications/webapps > being d

Re: Socket accept failed: The specified network name is no longer available.

2018-04-30 Thread Guang Chao
On Tue, Apr 17, 2018 at 2:13 AM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Rémy, > > On 4/16/18 11:05 AM, Rémy Maucherat wrote: > > On Mon, Apr 16, 2018 at 4:51 PM, Igor > > wrote: > > > >> If this is really such a simple pr

Re: Help needed - JPA probem - No connection specified with project

2017-09-29 Thread Guang Chao
On Fri, Sep 22, 2017 at 6:35 PM, Karen Goh wrote: > Hi expert, > > I have been trying very hard to nail the above problem including asking > various forums like CodeRanch, dream in code etc but to no avail. > > As such, I am hoping to get help from the Apache Tomcat user support. > > Tools and se

Re: Randomly tomcat process create another copy process of it. Now see two PIDs of tomcat running

2017-09-28 Thread Guang Chao
y occur to both. > > Please give next level pointers. > > On Thu, Sep 28, 2017 at 6:26 AM, Guang Chao > wrote: > > > On Tue, Sep 26, 2017 at 5:52 PM, Naresh Yadav > > wrote: > > > > > Hi all, > > > > > > Already posted my problem on sta

Re: Help needed - JPA probem - No connection specified with project

2017-09-27 Thread Guang Chao
On Thu, Sep 28, 2017 at 12:57 PM, Karen Goh wrote: > > > On Tue, 9/26/17, Konstantin Kolinko wrote: > > Subject: Re: Help needed - JPA probem - No connection specified with > project > To: "Tomcat Users List" > Date: Tuesday, September 26, 2017, 8

Re: Randomly tomcat process create another copy process of it. Now see two PIDs of tomcat running

2017-09-27 Thread Guang Chao
On Tue, Sep 26, 2017 at 5:52 PM, Naresh Yadav wrote: > Hi all, > > Already posted my problem on stackoverflow but not got any respo/nses so > thought > of posting here. Please read and help me with possible resolutions ?? > Would it be possible one is run as a service and another run using the *

Re: Tomcat 7/8/9 context path restrictions/validation

2017-09-20 Thread Guang Chao
On Wed, Sep 20, 2017 at 5:47 PM, Konstantin Ryadov wrote: > > Hello! > Could you explain context path (e.g. described on > https://tomcat.apache.org/tomcat-7.0-doc/config/context.html ) value set > in server.xml limitations? > Does it exist any context path validation (unescaped symbols, whitespa

Re: BIO: Async servlet with it's own thread pool; but get connection refused!

2017-09-07 Thread Guang Chao
On Thu, Sep 7, 2017 at 3:59 AM, Yasser Zamani wrote: > Hi there, > > I'm studying Servlet 3's async API using tomcat. I see following strange > behavior from tomcat in a very simple test app! > > I have following JMeter test plan: > Number of threads (users): 700 > Ramp-Up period (in seconds): 23

Re: Struts Vulnerability

2017-09-07 Thread Guang Chao
On Thu, Sep 7, 2017 at 3:17 PM, Greg Huber wrote: > >2) Does Apache Struts only run on Apache Webserver and Tomcat? > > Should run on java based servers Glassfish, Websphere etc > > >3) Is there a simple way to determine if a server has Struts installed, > >instead of logging into each of the ser

Re: For some reason, the AUTHBIND approach isn't working with 8.5

2017-09-07 Thread Guang Chao
On Thu, Sep 7, 2017 at 8:02 AM, James H. H. Lampert < jam...@touchtonecorp.com> wrote: > A little over a month ago, I had a problem with getting Tomcat 7 to bind > to port 443 on Debian. > > We solved that problem with the "authbind" approach. > > Now, I'm attempting to do the same with Tomcat 8.5

Re: TomCat stops after few seconds

2017-09-07 Thread Guang Chao
On Wed, Sep 6, 2017 at 6:09 PM, Irene Almendros wrote: > Good morning, > > I am having the following problem with TomCat: I open Tomcat Monitor and > start the service but after a few seconds, it stops. The Apache service is > running. > > One week ago, my windows updated to the latest version bu

Re: web.xml

2017-09-07 Thread Guang Chao
On Wed, Sep 6, 2017 at 6:16 AM, Alejandro Vargas M. < alejandro.var...@kymsolutions.com> wrote: > Good afternoon, > > I have a website on a client, and they ran a vulnerability test, and it > throws a vulnerability that any user can see web.xml from a web browser, > > how can I hide to see web.xml

Re: Page cannot be displayed , TOMCAT installation on windows 2012 R2

2017-09-07 Thread Guang Chao
On Tue, Sep 5, 2017 at 6:38 PM, ford royal wrote: > HI team, > > > > I have installed Tomcat on windows 2012 r2 , but I get page cannot be > displayed when I try to open http:\\localhost:8080I have given Java path > also but still no.Java 8 update 144 tomcat is 8.5.20 > please guide > > Can you

Re: Struts Vulnerability

2017-09-07 Thread Guang Chao
On Thu, Sep 7, 2017 at 7:18 AM, Sean Son wrote: > Hello all > > I am new to the mailing list as well as new to Apache Struts. We all heard > in the news about the vulnerability affecting Apache Struts. I have been > tasked to determine which of our servers have Struts running on them. I > have

Re: Does Tomcat scan static file directories on startup? If so, how does one prevent it?

2017-09-06 Thread Guang Chao
On Wed, Sep 6, 2017 at 4:11 AM, Meta Schemer wrote: > We're using Apache Tomcat/7.0.64 and have recently switched to using a > cloud-based file system for our static assets (which consists of millions > of files). The problem we now face is that the startup time for our app has > now gone through

Re: [OT] Session timeout despite user activity - websockets on Tomcat 8.5.16

2017-08-09 Thread Guang Chao
On Thu, Aug 10, 2017 at 12:46 AM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Mark, > > On 8/9/17 11:35 AM, Mark Thomas wrote: > > On 09/08/17 16:09, David Wall wrote: > >> We're using Tomcat 8.5.16 with Java 1.8.0_91, Vaadin 7

Re: Errors establishing secure connections with tomcat 8.5.15

2017-07-13 Thread Guang Chao
5.15 > > 1) don't top-post > > On 07.07.2017 02:39, Guang Chao wrote: > > Sorry, the Tomcat will connect to other web applications hosted > > somewhere else in your network? Is my understanding correct? > > > > On Fri, Jul 7, 2017 at 12:38 AM, Kevin Mango

Re: Getting tablib definition issues in tomcat8

2017-07-12 Thread Guang Chao
On Thu, Jul 13, 2017 at 12:06 AM, D, Dwarakesh (External) < dwarakes...@xerox.com> wrote: > Hi Team, > > I am trying to deploy a web application in tomcat 8 and getting the error > 'taglib definition not consistent with specification version' in web.xml. > I have the Jstl1.2.jar under my /lib dire

Re: tomcat 8.5.16 silent exit without any error logs on ubuntu 16.04.2

2017-07-11 Thread Guang Chao
ing to monitor tomcat > remotely. > > > -- > 做自己 > > > > > > > > -- 原始邮件 -- > 发件人: "Guang Chao";; > 发送时间: 2017年7月11日(星期二) 中午12:34 > 收件人: "Tomcat Users List"; > > 主题: Re: tomcat 8.5.16 silent e

Re: Solution for the connection pool issue

2017-07-10 Thread Guang Chao
On Mon, Jul 10, 2017 at 3:20 PM, Sai Kumar wrote: > Hi Users, > > im getting the connection pool issue. > > > *Unable to fetch a connection in xx seconds, none available[size:xxx; > busy:xxx; idle:xx; lastwait:]. * > > *And Idle count is incresing more than the Maxidle connections.* > > > > >

Re: tomcat 8.5.16 silent exit without any error logs on ubuntu 16.04.2

2017-07-10 Thread Guang Chao
ficient memory, at least, tomcat would > > record error info to log file, right? > > > > > > Thanks in advance! > > -- > > 做自己 > > > > > > > > > > > > > > > > -- 原始邮件 -- &g

Re: Errors establishing secure connections with tomcat 8.5.15

2017-07-06 Thread Guang Chao
Sorry, the Tomcat will connect to other web applications hosted somewhere else in your network? Is my understanding correct? On Fri, Jul 7, 2017 at 12:38 AM, Kevin Mango wrote: > Hello, > > I have been working to setup Apache Tomcat 8.5.15 to establish a secure > connection to web applications

Re: tomcat 8.5.16 silent exit without any error logs on ubuntu 16.04.2

2017-07-06 Thread Guang Chao
How much RAM your hardware have? Have you tried installing Tomcat from download and make it a service through your own init scripts? (E.g. https://gist.github.com/miglen/5590986) On Fri, Jul 7, 2017 at 12:40 AM, 李员外 <281170...@qq.com> wrote: > Hi, guys > > > I use tomcat 8.5.16, and I found at