Re: Tomcat server apparently bouncing up and down

2017-08-19 Thread tomcat
3 kids raised, 30 years of programming talking : slap it. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Tomcat memory

2017-08-17 Thread tomcat
On 17.08.2017 14:21, Suvendu Sekhar Mondal wrote: According to this however : https://eclipsesource.com/blogs/2013/01/31/creating-tomcat-heap-dumps-on-windows/ jmap does not work under Windows, if Tomcat is running as a Service (seems likely in the OP's case) I don't know if that's true, have

Re: Tomcat memory

2017-08-17 Thread tomcat
they use. It is very easy to use: jmap -histo:live >outputfile According to this however : https://eclipsesource.com/blogs/2013/01/31/creating-tomcat-heap-dumps-on-windows/ jmap does not work under Windows, if Tomcat is running as a Service (seems likely in the OP's case) I don't know if tha

Re: Tomcat memory

2017-08-17 Thread tomcat
ams and prints out the differences. This way you can see if new instances of a specific class(es) are accumulated over time. In this case you have a memory leak. regards Leon On Thu, Aug 17, 2017 at 12:09 PM, André Warnier (tomcat) <a...@ice-sa.com> wrote: On 17.08.2017 11:21, Fady Hai

Re: Tomcat memory

2017-08-17 Thread tomcat
On 17.08.2017 11:21, Fady Haikal wrote: Team, Please i need some help her Maybe start here ? http://lmgtfy.com/?q=analyse+tomcat+heap+dump (and this looks like it might help you : http://docs.oracle.com/javase/7/docs/technotes/tools/share/jhat.html) To restate the obvious : - this list here

Re: Where Tomcat webapp contexts live on Debian (NOT off-topic; A LEGITIMATE TECHNICAL QUESTION)

2017-08-17 Thread tomcat
On 17.08.2017 02:29, James H. H. Lampert wrote: On 8/16/17, 11:43 AM, André Warnier (tomcat) wrote: , , , So as a start, look at /etc/init.d/tomcat7 on your system, and check what other files this calls/references. One important thing here, is what the environment variable CATALINA_BASE ends up

Re: Tomcat memory

2017-08-16 Thread tomcat
On 16.08.2017 15:34, Fady Haikal wrote: Dear Team, I'm facing an issue that tomcat from task manager is consuming around 60 GB of memory while from Oracle Java Mission Control is showing maximum 10 GB (Attached screenshots), and from time to time the server hang due to insufficent memory. can

Re: Where Tomcat webapp contexts live on Debian (NOT off-topic; A LEGITIMATE TECHNICAL QUESTION)

2017-08-16 Thread tomcat
On 16.08.2017 17:22, James H. H. Lampert wrote: Uh, EXCUSE ME, my post was NOT a "ranting." It was A REQUEST FOR TECHNICAL INFORMATION. The unusual way Tomcat is organized if installed via an "apt-get" from Debian's repository is a given. I made OBSERVATIONS about it,

[OT] Re: Where Tomcat webapp contexts live on Debian

2017-08-16 Thread tomcat
This being a Tomcat list, and Tomcat being java, it is rather to be expected that many people on this list would tend to have a rather Tomcat-specific, and rather Java-specific view of the world. And the fact that most Linux distributions have their own way of packaging software

[OT] Re: More (Solved!) Re: I've just installed Tomcat (7.0.67) on an old CentOS 5 box. It can't be reached from outside the box.

2017-08-11 Thread tomcat
On 11.08.2017 00:27, James H. H. Lampert wrote: After looking up the man page (and while I *know* where the term comes from, I *still* think there ought to be "woman," "boy," and "girl" pages [and maybe "cat" and "dog" pages] as well!) Note that there may be no "woman" command, but that one

Re: I've just installed Tomcat (7.0.67) on an old CentOS 5 box. It can't be reached from outside the box.

2017-08-10 Thread tomcat
ote From my Mac: (102 is the problem box. 105 is a WinDoze box that is completely reachable on 7070 throughout the LAN, running Tomcat without a default app, and 100 is an AS/400 that runs a service on 80, and serves a simple page, "there are no web pages here," on browser requests.)

Re: I've just installed Tomcat (7.0.67) on an old CentOS 5 box. It can't be reached from outside the box.

2017-08-10 Thread tomcat
Addendum : James, this may also be of interest to you : https://backdrift.org/tcp-ping-ping-tcp-port On 10.08.2017 08:46, André Warnier (tomcat) wrote: On 10.08.2017 02:32, James H. H. Lampert wrote: This is weird. I've never seen this before. Then again, I don't think I've installed Tomcat

Re: I've just installed Tomcat (7.0.67) on an old CentOS 5 box. It can't be reached from outside the box.

2017-08-10 Thread tomcat
On 10.08.2017 02:32, James H. H. Lampert wrote: This is weird. I've never seen this before. Then again, I don't think I've installed Tomcat on Linux from a tarball before: the previous CentOS installation was, if I remember right, via Yum, and the one Debian installation I've done was via apt

Re: Access to source IP address during authentication and authorization

2017-08-08 Thread tomcat
need access to the user's source IP address for auditing where users "are" when they login to my applications. Is there any opportunity to obtain the user's IP address during login? IIRC, the JASPIC scheme does allow this kind of information, but I'm not sure if Tomcat actually supplies

[OT] question regarding Apache mailservers

2017-08-02 Thread tomcat
Hi. Sorry to post this here, but I don't seem to find the right contact address through the website nor received emails, so if someone could point me to the right thing.. I am being bombarded by some scammers, through my Tomcat committer email address, no doubt scraped from some page here

Re: The GET request encounters 400 Bad Request from a URL with Chinese words on Tomcat 8.0.43

2017-08-01 Thread tomcat
On 01.08.2017 04:26, Bruce Huang wrote: Hi all, We have placed a file named 檔名.txt into the \apache-tomcat-8.0.43\webapps\Apps folder. And our client app can retrieve the file by an HTTP GET request from the URL, for example, http://192.168.1.1/Apps/檔名.txt (The 檔名 are two Chinese words

Re: Tomcat 9 won't start according to Eclipse

2017-07-28 Thread tomcat
On 28.07.2017 18:18, Konstantin Kolinko wrote: Caused by: java.lang.IllegalArgumentException: L'association de servlet (servlet mapping) indique un nom de servlet inconnu [Taste] This seems to be the underlying problem. There is a element associating some URL pattern (?) with a "Taste",

Re: Need help with url rewrite

2017-07-24 Thread tomcat
On 24.07.2017 17:42, Sri Linux wrote: Hi I need help with url rewrite. Please let me know the process to contact some one.. You could start here : http://tuckey.org/urlrewrite/#support - To unsubscribe, e-mail:

Re: Reverse proxy support in Tomcat

2017-07-18 Thread tomcat
Hi. On 18.07.2017 14:09, Jan Hlavatý wrote: Hello, I can't seem to figure out the proper setup for the situation where I have multiple webhosts behind a reverse proxy server being forwarded to Tomcat. There can be only one proxyHost and proxyPort on a Connector but I have multiple Hosts

Re: Getting user role membership without context

2017-07-15 Thread tomcat
On 15.07.2017 00:46, Alex O'Ree wrote: Hi Tomcat folks! I have a use case where i have reoccuring background process (quartz job) that needs to perform access control checks against a user prinicple. Normally, user role membership is only accessible via one of the http session, servlet request

Re: Errors establishing secure connections with tomcat 8.5.15

2017-07-07 Thread tomcat
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 <kma...@nysif.com> wrote: Hello, I have been working to

Re: TOMCAT 8.5.15 - on windows 7 server - Password for Service Username disappears

2017-07-06 Thread tomcat
On 06.07.2017 18:17, Fau Buitron wrote: -Original Message- From: André Warnier (tomcat) [mailto:a...@ice-sa.com] Sent: Thursday, July 06, 2017 12:04 PM To: users@tomcat.apache.org Subject: Re: TOMCAT 8.5.15 - on windows 7 server - Password for Service Username disappears Hi

Re: TOMCAT 8.5.15 - on windows 7 server - Password for Service Username disappears

2017-07-06 Thread tomcat
Hi. On this list, it is preferred/recommended/strongly recommended to respond *below* the original message, and not to "top post". It just makes it easier to follow the normal flow of a conversation. See the rules : http://tomcat.apache.org/lists.html#tomcat-users #6 > -Ori

Re: TOMCAT 8.5.15 - on windows 7 server - Password for Service Username disappears

2017-07-06 Thread tomcat
On 06.07.2017 17:13, Fau Buitron wrote: Hi All, I am running TOMCAT 8.5.15 on a Windows 7 server with SP1. Although it is not consistent, the password value for the specific username used to run the TOMCAT service disappears when the service is stop and started again. The starting

Re: Tomcat 8 non-Latin filename war file deploy issue

2017-06-04 Thread tomcat
On 04.06.2017 17:38, Desteny Child wrote: Hi, On Linux(openSUSE) machine I'm trying to deploy on Tomcat 8 application(war file) that contains a files with names with Unicode characters. Inside of the war file the name looks like: бжк-природний-1496336830201.xml but after deploy the file

Re: Possible bug between Apache 2.4 and Tomcat 7 via AJP when POSTing

2017-05-31 Thread tomcat
.el7_3 @updates tomcat-native.x86_64 1.1.34-1.el7@epel For debugging I have enabled AJP/1.3 and 8009 and HTTP on 8080, then use Apache to ProxyPass. With my initial configuration, data from a form POST is not available via request.getParameter: ProxyPass / ajp

Re: server.xml password encryption instead of plain text

2017-05-26 Thread tomcat
Hi. Rather than spending a lot of time (again) on this issue, I would suggest that everyone (re-)read the excellent FAQ article summarising the issue. https://wiki.apache.org/tomcat/FAQ/Password And/or, search the tomcat user's list archives about this topic, such as : http://marc.info/?l

Re: Question about Tomcat Virtual Host to prevent Improper-Input-Handling attack

2017-05-22 Thread tomcat
On 22.05.2017 20:35, Cai, Charles [COMRES/RTC/RTC] wrote: Hi there, Server Specs: Server version: Apache Tomcat/7.0.54 Server built: May 19 2014 10:26:15 Server number: 7.0.54.0 OS Name:Windows Server

Re: Can't get over 100 client connections?

2017-05-16 Thread tomcat
On 16.05.2017 19:57, john.e.gr...@wellsfargo.com.INVALID wrote: All, I'm using Tomcat 7.0.75. I cannot get my connection or thread count over 100 no matter how much load I throw at the server. Currently I just have a dummy app deployed that doesn't do much except sleep for about 500ms

Re: CLOSE_WAIT between Application (Tomcat) and Apache HTTPD

2017-05-11 Thread tomcat
On 11.05.2017 17:32, Adhavan Mathiyalagan wrote: Hi, 8030 is the port where the application is running. /What/ application ? Is that a stand-alone application ? For Tomcat, I cannot say (because it is not clear below what value ${HTTP_PORT} has. But from your front-end balancer, it looks

Re: CLOSE_WAIT between Application (Tomcat) and Apache HTTPD

2017-05-11 Thread tomcat
On 11.05.2017 16:57, Adhavan Mathiyalagan wrote: Hi Chris, *Tomcat Configuration* HTTP/1.1 and APR ${catalina.base}/conf/web.xml *HTTPD Configuration* ServerTokens OS ServerRoot "/etc/httpd" PidFile run/httpd.pid Timeout 60 KeepAlive Off MaxKeepAliveRe

Re: CLOSE_WAIT between Application (Tomcat) and Apache HTTPD

2017-05-11 Thread tomcat
On 11.05.2017 15:30, Adhavan Mathiyalagan wrote: Hi Chris, The connections in the CLOSE_WAIT are owned by the Application /Tomcat process. Can you provide an example output of the "netstat" command that shows such connections ? (not all, just some) (copy and paste it

Re: CLOSE_WAIT between Application (Tomcat) and Apache HTTPD

2017-05-11 Thread tomcat
, the process which has this connection open, is the JVM which runs Tomcat (which by definition never exits, until you terminate Tomcat). Many connections in the CLOSE_WAIT state mean, in most cases, that the application running under Tomcat, is not closing its sockets properly. (This can happen

[OT] Re: Parallel deploy stopps picking up new wars

2017-05-09 Thread tomcat
Before I opened this post, I thought it was some WH.gov press release.. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Access hidden fields array

2017-05-03 Thread tomcat
Hi again. First, on this list please do not top-post. See : http://tomcat.apache.org/lists.html#tomcat-users Important --> 6 I have reformated your message according to that. > 2017-05-03 12:05 GMT+02:00 André Warnier (tomcat) <a...@ice-sa.com>: On 03.05.2017 11:23, Tobias

Re: Access hidden fields array

2017-05-03 Thread tomcat
On 03.05.2017 11:23, Tobias Soloschenko wrote: Hello everyone, I just updated to tomcat 8.0.43 and I noticed a special behavior I want to discuss. (I don't know if this only occurs with this version) When I add two hidden fields within a form like: I just thought to access the parameter

Re: http to https redirect 301

2017-05-03 Thread tomcat
01/05/17 14:23, Yuval Schwartz wrote: Tomcat version: 8.0.22 jdk: 1.8.0_05 I have a webapp that uses a tomcat server behind a load balancer. I recently added a the option to connect to my webapp via https. I would like to redirect all http requests to https. I achieved this by implementing the

Re: HTTP 404 error even though Tomcat startup is successful

2017-04-25 Thread tomcat
Hi. On 25.04.2017 15:04, Gulhane, Amol wrote: Hi, I am trying to configure Windows Authentication for an application using: 1. Windows Server 2008 R2 2. Tomcat 8.0.17 3. IIS 7.5 reverse proxy 4. ISAPI redirector 1.2.42.0 64 bit 5. Connector in Tomcat

Re: Running multiple instance of tomcat on windows

2017-04-20 Thread tomcat
On 20.04.2017 15:11, JUGAL SHAH wrote: I have to run multiple instance of tomcat server on a single system with window 8.1 OS.I searched the topic I got the solution to make 2 copies of tomcat and change the ports in the server.xml file I tried it but it didn't work tomcat still continues

Re: sendFiles vs. compression

2017-04-18 Thread tomcat
On 18.04.2017 20:03, Chris Gamache wrote: On Tue, Apr 18, 2017 at 11:24 AM, André Warnier (tomcat) <a...@ice-sa.com> wrote: Hi again. On this list, it is customary (and requested) to respond in-line and not "top post". See : http://tomcat.apache.org/lists.html#tomcat-users, i

Re: sendFiles vs. compression

2017-04-18 Thread tomcat
Hi again. On this list, it is customary (and requested) to respond in-line and not "top post". See : http://tomcat.apache.org/lists.html#tomcat-users, item #6. It makes it easier to follow the conversation, as opposed to having to scroll back and forth to find out what you are

Re: sendFiles vs. compression

2017-04-18 Thread tomcat
On 18.04.2017 14:50, Chris Gamache wrote: Using tomcat 8.0.43 ... I'm grappling with GZip compression options. Historically, I've used a custom GZip filter and that's been fine for the most part. If the file being served is under 50K the filter would compress it in memory and send it out

Re: Memory usage increased form 500MB to 4 GB after changing the tomcat process from 32 bit to 64 bit execution

2017-04-14 Thread tomcat
On 14.04.2017 10:36, nagendra.r...@wipro.com wrote: Hi All, Problem statement: Memory usage increased form 500MB to 4 GB after changing the tomcat process from 32 bit to 64 bit execution As tomcat memory has increased it is impacting available memory for other applications on server o

Re: how to access HTTPServletRequest in RealmBase

2017-04-01 Thread tomcat
On 31.03.2017 19:40, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 3/30/17 3:41 PM, André Warnier (tomcat) wrote: On 30.03.2017 20:10, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Konstantin, On 3/30/17 4:19 AM

Re: how to access HTTPServletRequest in RealmBase

2017-03-30 Thread tomcat
trated by this, and it's one reason I do not use Tomcat's build-in authentication. I need to log authentication failures and their sources (IP address) and this information is simply not available through the Tomcat-provided APIs. I think there is definitely an opportunity here for improvement. A

Re: Ways to identify poorly designed client aplications sending request to Tomcat !

2017-03-30 Thread tomcat
80.9 MB occupied by remainder's. Problem suspect:- 465 MB occupied by remainder Remainder section has retained a good chunk of memory. That indicates lots of small objects are being created by different apps. Your "Live Set" is not very big. What is the heap size? You also mentioned, Tomcat proc

Re: Question on FORM POST processing via AJP1.3 in tomcat 1.0.69, changed from 1.014.

2017-03-28 Thread tomcat
te... I did a network snapshot of the old and new and then the "fixed" new. The packet data in the old (7.0.14 tomcat) POST packet looks practically the same in all cases. In the new (7.0.69) case the response from tomcat is a "RSP:SEND HEADERS:400 Bad Request" Ah, so at least

Re: Question on FORM POST processing via AJP1.3 in tomcat 1.0.69, changed from 1.014.

2017-03-28 Thread tomcat
Hi. On this list, it is preferred to not top-post, but insert responses after the corresponding questions/comments. See : http://tomcat.apache.org/lists.html#tomcat-users , item #6 On 28.03.2017 16:36, Scott, Derric T wrote: -Original Message- From: André Warnier (tomcat) [mailto:a

Re: Question on FORM POST processing via AJP1.3 in tomcat 1.0.69, changed from 1.014.

2017-03-27 Thread tomcat
On 27.03.2017 23:03, Scott, Derric T wrote: Hello: A question, perhaps a bug... I inherited a large application that has Apache in front, tomcat in back via AJP1.3. I am moving everything to "new" verisons. A new RedHat OS, newest tomcat RPM (7.0.69), etc. I ran into a snag a

Re: LDAP authentication for Tomcat's webapp 'Opengrok'

2017-03-27 Thread tomcat
On 27.03.2017 13:07, Alfie Patolilic wrote: -Original Message- From: André Warnier (tomcat) [mailto:a...@ice-sa.com] Sent: 27 March 2017 11:12 To: users@tomcat.apache.org Subject: Re: LDAP authentication for Tomcat's webapp 'Opengrok' On 27.03.2017 11:01, Alfie Patolilic wrote: Tomcat

Re: LDAP authentication for Tomcat's webapp 'Opengrok'

2017-03-27 Thread tomcat
On 27.03.2017 11:01, Alfie Patolilic wrote: Tomcat Version : 6.0.36 OS : Red Hat Enterprise Linux 7.3 Hello, I have a question on how I am able to set the following, regarding the web application that runs under Apache Tomcat, 'Opengrok'. The idea is to set a hostname for 'localhost:8080

Re: Hot pre-compiled JSP reloading

2017-03-27 Thread tomcat
On 27.03.2017 10:56, Mark Thomas wrote: On 27/03/17 09:26, Olaf Kock wrote: Other options that I can envision is to change Jasper's implementation to keep serving a compiled JSP until the replacement has been properly compiled and loaded in the background (e.g. not having compilation block

Re: Hot pre-compiled JSP reloading

2017-03-27 Thread tomcat
the JSPs before deploying them to the server. The problem is that we are not able to find any option to force Tomcat to hot reload ONLY the updated classes. All the different reload options that we have tested end up reloading all the webapp (which means 80s of downtime for us). Is there any

Re: Tomcat base directory layout

2017-03-25 Thread tomcat
directories are minimum necessary to start a new instance. As far as I know, there does not yet exist something like that, at least not as part of the standard tomcat distribution. But it should not be immensely hard to create one using a scripting language (such as sh, perl, python,..). You could

Re: siteMinder implementation for our application

2017-03-25 Thread tomcat
On 24.03.2017 19:32, Kikkeri, Amith wrote: Hi, Our application runs on tomcat7 (Port 80) and we don't use a web server. We are implementing SSO and planning to use siteMinder. When trying to install siteMinder web agent, we realized that it is not recognizing tomcat. Please let me know

Re: Tomcat 8/Redhat Linux 6.6 /Kernal 2.6.32 - Memory Won't Release

2017-03-20 Thread tomcat
report I was running never finished ARGS: start VMARGS: -Djava.util.logging.config.file=/data/tomcat/AgencyWebApp/conf/lo[...] VM: Oracle Corporation Java HotSpot(TM) 64-Bit Server VM 1.8.0_121 UP: 0:13m #THR: 41 #THRPEAK: 42 #THRCREATED: 49 USER: siteadm GC-Time: 0: 5m #GC-Runs: 75#Tota

Re: [OT] Re: Tomcat 8/Redhat Linux 6.6 /Kernal 2.6.32 - Memory Won't Release

2017-03-20 Thread tomcat
On 20.03.2017 09:36, Olaf Kock wrote: Am 20.03.2017 um 09:30 schrieb André Warnier (tomcat): One may wonder in fact : if when resizing the Heap downwards, the JVM is anyway not going to give the surplus memory back to the OS, then why bother ? what is the surplus ex-Heap memory then used

Re: [OT] Re: Tomcat 8/Redhat Linux 6.6 /Kernal 2.6.32 - Memory Won't Release

2017-03-20 Thread tomcat
On 19.03.2017 20:33, Olaf Kock wrote: Am 19.03.2017 um 13:37 schrieb André Warnier (tomcat): On 17.03.2017 14:54, Christopher Schultz wrote: Note that Java *never* gives any memory back to the OS, even when the heap-usage goes down. This is a Java thing, not a Tomcat thing. I did

Re: Tomcat 8/Redhat Linux 6.6 /Kernal 2.6.32 - Memory Won't Release

2017-03-19 Thread tomcat
On 17.03.2017 14:54, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Eric, On 3/16/17 11:01 PM, Eric Chua wrote: I am running tomcat 8.0.121. When I start my tomcat, it seems to be eating up all the memory on my system. I have 16 GB, and it keeps on going. What

[OT] Re: Tomcat 8/Redhat Linux 6.6 /Kernal 2.6.32 - Memory Won't Release

2017-03-19 Thread tomcat
On 17.03.2017 14:54, Christopher Schultz wrote: Note that Java *never* gives any memory back to the OS, even when the heap-usage goes down. This is a Java thing, not a Tomcat thing. I did not know that (*), and I have never seen this mentioned explicitly in any Java documentation

Re: Tomcat Hangs up and doesn't start

2017-03-19 Thread tomcat
On 19.03.2017 12:59, Mahmoud Ramadan wrote: Hi all, I've installed Tomcat on Centos 6.2 and when i try to start the service it hangs up at " INFO: Server startup in 6935 ms " and stays forever , below the debugs , thanks What do you expect it to "do" after starting up ? It

Re: Tomcat with ssl not starting

2017-03-15 Thread tomcat
Hi. There is no attachment. This lis strips most attachments. If it is text, then better to paste the relevant part directly into your message. On 15.03.2017 09:27, Olayemi Olatunji wrote: Hello Guys, I just applied a ssl certificate (godaddy) to my tomcat instance. When I attempt to launch

Re: How to restrict access to specific webapp + denyStatus

2017-03-10 Thread tomcat
On 10.03.2017 11:04, Diego Gomes wrote: Thanks Mark! In that link just say that is possible, but do not say how to get 404 and not 403. No, what that link says, it that the denyStatus feature was only introduced in a later version of tomcat 7, than the one you are using. You should at least

Re: Apache Tomcat 9

2017-03-09 Thread tomcat
On 10.03.2017 00:24, pina.freder...@gmail.com wrote: How do I stop it ? Close the lid of your laptop ? (Sorry, could not stop myself) Sent from Mail for Windows 10 From: Caldarale, Charles R Sent: Thursday, March 9, 2017 6:16 PM To: Tomcat Users List Subject: RE: Apache Tomcat 9 From

Re: Logging TLS Session Failures

2017-03-09 Thread tomcat
d probably have another look a the precise requirements, and the exact definition of "our application". Because it may be that the requirements are wrong, as far as you are concerned. It depends on what is included in "our application". In the java servlet container (like Tomcat

Re: Tomcat - IPv4 loopback

2017-03-07 Thread tomcat
On 07.03.2017 03:42, satishkumar.krishnas...@cognizant.com wrote: Hi - We are using Tomcat 8 and in our prod we have been facing no buffer error for TCP / IP port, while we triage issue, we have found (through Resource monitor) the Tomcat8.exe is having lots of IPv4 loopback as local address

Re: How to create a redirect?

2017-03-03 Thread tomcat
On 03.03.2017 16:58, JR McVicker wrote: Good morning. I am trying to setup a redirect using Apache Tomcat but I have not located any clear directions on how to set one up. When I go to https://webadvisor.cornerstone.edu my page does not load. Can you be a bit more specific ? what /does

Re: Connection reset while trying to access a web service running under Tomcat

2017-02-23 Thread tomcat
On 24.02.2017 00:57, James H. H. Lampert wrote: On 2/23/17, 3:13 PM, André Warnier (tomcat) wrote: It seems to say right up here what the problem is : the customer system cannot establish a HTTPS connection with your server. The connection attempt starts, but then your server rejects

Re: Strange URL rewrite when reverse proxy with Apache HTTP Server

2017-02-23 Thread tomcat
ing page. That would probably be the case in your "/SelfService" tomcat webapp. So, the 302 responses which you get in some cases, are probably normal, as explained by all the above. What is definitely /not/ normal, is that port that you get either in these redirect responses, or in

Re: Connection reset while trying to access a web service running under Tomcat

2017-02-23 Thread tomcat
On 23.02.2017 22:35, James H. H. Lampert wrote: We've got a problem, and I'm not sure where it is. We've got a remote box, belonging to a customer, that's trying to access a web service hosted by a Tomcat server on one of our boxes (part of a new webapp). The customer box is getting

Re: Strange URL rewrite when reverse proxy with Apache HTTP Server

2017-02-23 Thread tomcat
ssue if you dont hit it with the F5 Load Balancer to start. Yes. There seems to be something weird *when a Redirect response is being sent back by tomcat*, and has to go back through the load balancer. And it may be linked to the fact that the load-balancer does not seem to remove this :23270 port whic

Re: Strange URL rewrite when reverse proxy with Apache HTTP Server

2017-02-23 Thread tomcat
On 23.02.2017 19:10, Aaron Gray wrote: Okay, guys, please accept my most sincere apology on this thing. I just figured 1 thing out. browser -> f5:443 -> httpd (23270, https) -> tomcat (http) using the /static works! (see below) If /static/index.html wasnt specified, then it hangs, t

Re: Strange URL rewrite when reverse proxy with Apache HTTP Server

2017-02-23 Thread tomcat
On 22.02.2017 19:22, Aaron Gray wrote: So this is interesting. So from HTTP server #1 (172.1.1.1 example) I hit: https://172.1.1.1:23270/static and I see this in the HTTP log: 172.1.1.1 - - [22/Feb/2017:10:14:48 -0800] "GET /static/ HTTP/1.1" 200 32 I see this in the Tomcat log:

Re: Strange URL rewrite when reverse proxy with Apache HTTP Server

2017-02-21 Thread tomcat
On 21.02.2017 23:28, Aaron Gray wrote: Antonio: The Tomcat server has no knowledge of the F5, or that it is being fronted by an Apache HTTP Server. I do SSL termination in Apache HTTP Server, and clear-text from HTTP to Tomcat. My redirect port for the normal HTTP listen in Tomcat is commented

Re: Deploy app by JMX

2017-02-21 Thread tomcat
esses and hostnames ?) Is there any way to make it work without specifying alias? I'm using Apache Tomcat 8.5.11 Pd: In the version of Apache Tomcat 7.0.57 it worked Thanks. Alexander. - To unsubscribe, e-mail: users-unsubscr.

Re: RE : RE : Problem accessing manager on tomcat 8.5.11 on oracle linux 6.8

2017-02-14 Thread tomcat
On 13.02.2017 22:11, Stéphane Laurencelle wrote: De : Tiago Oliveira [tiago.olive...@behoh.com] Envoyé : 13 février 2017 14:15 À : Tomcat Users List Objet : Re: RE : Problem accessing manager on tomcat 8.5.11 on oracle linux 6.8 I had a similar problem

Re: RE : Problem accessing manager on tomcat 8.5.11 on oracle linux 6.8

2017-02-13 Thread tomcat
Hi. Maybe first : on this list, it is recommended to NOT "top-post", but respond below the previous intervention. See : http://tomcat.apache.org/lists.html#tomcat-users #6 (It just makes it easier to follow the conversation, and to see previous answers) Scroll down.. On 13.02.

Re: Problem accessing manager on tomcat 8.5.11 on oracle linux 6.8

2017-02-13 Thread tomcat
On 13.02.2017 17:13, Stéphane Laurencelle wrote: Hello, have made a brand new Tomcat 8.5.11 install on oracle linux 6.8 and 7.3 ad i got the same problem on both i am not able to access the manager page from my pc browser. I read that by default this function is disable by default but i

Re: Operation has timed out

2017-02-09 Thread tomcat
Let's not mix issues here. 1) your Host entry is that means that Tomcat will automatically reload any application when it notices that it has been changed. 2) the parameter you changed is in the application's context, so the application has been changed 3) to reload the application

Re: Change Severe to Info

2017-02-09 Thread tomcat
On 09.02.2017 09:49, Mark Thomas wrote: On 09/02/17 07:53, Fady Haikal wrote: Hi Can we change a severe exception in catalina that can be ignored to info? Not without patching the source code, no. Tomcat logging is SEVERE and we are facing an error in catalina that can bi ignored, can we

Re: Operation has timed out

2017-02-07 Thread tomcat
PM, Fady Haikal <fadyhai...@gmail.com> wrote: Yes there is a ESTABLISHED connection, the replication of sessions is working fine (port 4000 is for tomcat cluster) but we also faced this error on the log file On Tue, Feb 7, 2017 at 5:44 PM, André Warnier (tomcat) <a...@ice-sa.com>

Re: Operation has timed out

2017-02-07 Thread tomcat
and how i get those IPs, after checking with the network team they told me that those IPs are related to the SAN storage taking into consideration that the Tomcat servers are not connected in anyway to that SUN storage. On Tue, Feb 7, 2017 at 4:51 PM, André Warnier (tomcat) <a...@ice-sa.com> wrote:

Re: Operation has timed out

2017-02-07 Thread tomcat
Hi. This is for the Tomcat/Tribes experts on the list. I know nothing of Tribes, but the on-line documentation seems to say that the communication happens over TCP and that the protocol used is not encrypted. Fady previously tried a standard "ping" and a "telnet" b

Re: Operation has timed out

2017-02-06 Thread tomcat
On 06.02.2017 17:45, Fady Haikal wrote: Hi, What is the host OS ? Windows Server 2012 What is the Tomcat version ? Apache Tomcat/8.0.30 Is this problem new ? was this working before ? how long ? Since cluster implementation I still don't know tribes, but then my non-educated guess

Re: Operation has timed out

2017-02-06 Thread tomcat
On 06.02.2017 17:24, Fady Haikal wrote: Plz can i get some help here? This issue is still occurring and it's filling the log file in the Production server Regards, Fady Hi. If you want quick answers, you should provide more information. What is the host OS ? What is the Tomcat version

Re: Stopping any Tomcat thread running more than an amount of time

2017-01-30 Thread tomcat
On 30.01.2017 00:43, Konstantin Kolinko wrote: 2017-01-23 16:06 GMT+03:00 André Warnier (tomcat) <a...@ice-sa.com>: On 23.01.2017 13:41, Abdessamed Mansouri wrote: Hello, Thank you for your answers, we are integratting JSF (Mojarra) and using it, so in many cases, in the same page t

Re: Stopping any Tomcat thread running more than an amount of time

2017-01-29 Thread tomcat
possibly achieve this, *without* having to modify the servlet's code. But my own knowledge of Java or Tomcat internals is not sufficient to allow me to know if this is really possible (and Mark, who is infinitely more knowledgeable about this than I am, seems to say that it is not possible to do

Re: ExtendedAccessLogValve.class overloaded timezone and set it to GMT

2017-01-26 Thread tomcat
ade to set timezone to system default only effective for time. We are only operating in GMT+5 and shipping tomcat logs to different solutions including SIEM in real-time. So we are purely depending on tomcat to write the logs with correct date time at first. The above is certainl

Re: ExtendedAccessLogValve.class overloaded timezone and set it to GMT

2017-01-23 Thread tomcat
different computers and applications etc. Not even mentioning issues of future tomcat updates, re-calculating the times when users send problem reports and so on. Would it not be better if it was an external utility which reads the logs, that makes any adjustments required ? I'd bet that some

Re: Stopping any Tomcat thread running more than an amount of time

2017-01-23 Thread tomcat
self. Generating an exception and catching it in the response part of the filter ? 2017-01-23 12:43 GMT+01:00 André Warnier (tomcat) <a...@ice-sa.com>: On 23.01.2017 12:37, Aurélien Terrestris wrote: Hello, if it is possible to know which servlet is involved in this problem

Re: Stopping any Tomcat thread running more than an amount of time

2017-01-23 Thread tomcat
ri <amanso...@alti-dz.com>: Hello all, We have an application which turns on Tomcat and suffer from bad performance (we are trying to find a solution by reimplementing it), so there's many many many simple functionnalities which take too much time (bad implementation) sometimes up to 30mins (and t

Re: FW: tomcat 8080 thread not reduced

2017-01-22 Thread tomcat
: 200 - That is the maximum number of threads that tomcat will ever allocate, no matter how busy your server becomes. Current thread count : 23 - That is how many threads have been allocated and exist so far. If you do not use an Executor, then this number

Re: [ANN] New committer: Emmanuel Bourg

2017-01-20 Thread tomcat
Et les miennes ! On 20.01.2017 18:14, Zala Pierre GOUPIL wrote: Toutes mes félicitations ! Le 20 janv. 2017 18:12, "Mark Thomas" <ma...@apache.org> a écrit : On behalf of the Tomcat committers I am pleased to announce that Emmanuel Bourg (ebourg) has been voted in as a new

Re: TomcatCon @ ApacheCon

2017-01-20 Thread tomcat
or (being facetious) : why are you guys developing in/for tomcat/java ? should you not be developing in/for nginx/php ? On 19.01.2017 23:45, Mark Thomas wrote: On 17/01/2017 22:04, Mark Thomas wrote: On 09/01/2017 11:57, Mark Thomas wrote: I look forward to hearing your topic ideas. Than

Re: FW: tomcat 8080 thread not reduced

2017-01-20 Thread tomcat
On 20.01.2017 03:59, smith wrote: Hi, chris: "busy" is the same as "active". When not use , our busy thread always keep under 10 while the currentThreadCount keeps high (these are get from tomcat manager), So we really don't know how many threads are

Re: Cannot Allocate Memory errno=12

2017-01-18 Thread tomcat
On 18.01.2017 15:13, Fady Haikal wrote: Thank You Andre so much will check the below now quick fix, without guarantee : in your setenv.sh file, just replace JAVA_OPTS=.. by CATALINA_OPTS=.. and you will probably be ok. On Wed, Jan 18, 2017 at 4:10 PM, André Warnier (tomcat) <a...@

Re: Cannot Allocate Memory errno=12

2017-01-18 Thread tomcat
On 18.01.2017 14:51, André Warnier (tomcat) wrote: Actually, I think that you need to look closer at the tomcat shutdown scripts on your system, and their settings. If I remember correctly, when you call the tomcat shutdown script, it actually starts another java JVM instance, just to send

Re: Cannot Allocate Memory errno=12

2017-01-18 Thread tomcat
Actually, I think that you need to look closer at the tomcat shutdown scripts on your system, and their settings. If I remember correctly, when you call the tomcat shutdown script, it actually starts another java JVM instance, just to send a shutdown message to the running tomcat's JVM

Re: Cannot Allocate Memory errno=12

2017-01-18 Thread tomcat
On 18.01.2017 14:20, Fady Haikal wrote: plz find it on the below link https://drive.google.com/file/d/0By0Z6xkBVBFHVGJKVkRqM2hwUVE/view?usp=sharing Hmm, that's a nice logfile. It also starts with a number of hints and recommendations, did you see ? Very generically : When tomcat is shutting

Re: Cannot Allocate Memory errno=12

2017-01-18 Thread tomcat
e can look at it. On Wed, Jan 18, 2017 at 3:07 PM, André Warnier (tomcat) <a...@ice-sa.com> wrote: On 18.01.2017 13:49, Fady Haikal wrote: Guys, We are facing the below error (attached also) while trying to shutdown tomcat server Java HotSpot(TM) 64-Bit Server VM warning: INFO: o

<    1   2   3   4   5   6   7   8   9   >