Re: Tomcat port listening as SYSTEM

2016-03-28 Thread tomcat
On 28.03.2016 16:37, SUSIL SAHU wrote: netstat -ab | grep -B 1 "java" | grep "8080" | grep "LISTEN" How about netstat -ab | grep -A 1 "8080" | grep -A 1 "LISTEN" | grep -B 1 "java\.exe" - To unsubscribe, e-mail:

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

2016-03-19 Thread tomcat
On 19.03.2016 22:06, Lyallex wrote: ... I have it working now, I'd be glad to advise if required Yes, please describe your solution. With the increasing footprint of systemd, I am sure that this information will be helpful to other tomcat users, when they search the list archives

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

2016-03-19 Thread tomcat
Daniel, first of all, stop top-posting (this applies to both of you). This is not the style of posting desired on this list. See http://tomcat.apache.org/lists.html#tomcat-users, #6. Secondly, the original poster (lyallex) wants to run Tomcat under Linux, without a front-end, as a webserver

Re: [COMMERCIAL] Re: Need Help: - jk doesn't work after upgrade to 1.2.40 from 1.2.23

2016-03-14 Thread tomcat
g wrong with the setting, also this setting worked before. Do you have several minutes to check the setting in our server for mod_jk? Appreciate for your time. Best Regards, Eric. -Original Message- From: André Warnier (tomcat) [mailto:a...@ice-sa.com] Sent: Saturday, March 12, 2016 10:18 PM

Re: Need Help: - jk doesn't work after upgrade to 1.2.40 from 1.2.23

2016-03-12 Thread tomcat
On 12.03.2016 15:04, ZHAO Eric wrote: Hello, I am new to Tomcat Connectors, we are trying to upgrade the existing mod_jk 1.2.23 to 1.2.40 for IPV6 configuration. But we always got the following error in jk.log with 1.2.40, we don't know if anything need to adjust after upgrade to the new

Re: Understanding how to controlling what data is written to log4j appenders

2016-03-08 Thread tomcat
Joleen, you are here encountering the typical "irresistible force against unmovable object" paradigm. Every programmer in the world suffers from hubris and laziness. Java and Tomcat programmers are no different. Logging is boring, and it is thus not something that the average program aut

Re: Advice on Cluster in one machine

2016-03-08 Thread tomcat
On 08.03.2016 14:19, Edwin Quijada wrote: Hi! I am new using Tomcat so I have a question about performance. I have installed a cluster with 2 tomcats and apache webserver like proxy in front of Tomcat cluster but this whole thing is in one server, somebody tell me that is not useful beacuse

Re: Windows Authentication

2016-03-07 Thread tomcat
On 07.03.2016 11:39, André Warnier (tomcat) wrote: On 07.03.2016 06:10, Chanchal Kariwala wrote: The article which suggested that NTLM is being used by Winlogon instead of Kerberos : http://stackoverflow.com/questions/5597573/how-to-find-if-ntlm-or-kerberos-is-used-from-www-authenticate

Re: Windows Authentication

2016-03-07 Thread tomcat
ntials.. In response to *André Warnier*, I tired that to no avail :( In response to *Felix Schumacher*, It is not a problem with the webapp. I have tried both of what you asked. Tomcat Keytab is authenticated successfully. And KRB debug shows success for the keytab. So here are my additional finding

Re: Tomcat Training

2016-03-04 Thread tomcat
On 04.03.2016 17:58, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul, On 3/3/16 11:39 AM, Brookbanks, Paul wrote: Could someone in the Toronto, Ontario, Canada area recommend a place that provides tomcat administrative training. I would consider online training

Re: Windows Authentication

2016-03-04 Thread tomcat
ant to go over that thread to see it can give you pointers. [1] https://github.com/dblock/waffle/issues/268 -Original Message- From: Chanchal Kariwala [mailto:chanchal.kariw...@seclore.com] Sent: Friday, March 04, 2016 2:52 AM To: Tomcat Users List <users@tomcat.apache.org> Subj

Re: Windows Authentication

2016-03-04 Thread tomcat
station OS version, browser settings, Domain Controller settings, Domain networkn policies, membership of Domain or not, etc.). Thanks, Chanchal R. Kariwala Product Engineer Seclore Technology chanchal.kariw...@seclore.com www.seclore.com On Fri, Mar 4, 2016 at 1:20 PM, André Warnier (tomcat)

Re: Windows Authentication

2016-03-03 Thread tomcat
On 04.03.2016 07:16, Chanchal Kariwala wrote: I am using Tomcat 8.0.32 and I have followed the guide given at - https://tomcat.apache.org/tomcat-8.0-doc/windows-auth-howto.html#Tomcat_instance_(Windows_server) - https://dzone.com/articles/do-not-publish-configuring-tomcat

Re: Cors-Filter

2016-02-26 Thread tomcat
Hi. On this list, it is preferred to not top-post, but respond in-line or below the previous intervention. Re : http://tomcat.apache.org/lists.html#tomcat-users -> important -> 6 It makes it easier to follow the conversation, and for people with small screens, to avoid scrolling up an

Re: Cors-Filter

2016-02-25 Thread tomcat
On 25.02.2016 22:59, RICHARD DOUST wrote: Hi, I’m running Tomcat 7.0. Can’t find the version.bat file, so I don’t know more than that. It’s installed on a Windows computer running Windows Server 2003 DataCenter Edition. (How’s that for refusing to upgrade?) Anyway, it’s a client’s box. I’m

Re: HTTP CONNECT method not being accepted by Tomcat 7

2016-02-24 Thread tomcat
On 24.02.2016 23:30, André Warnier (tomcat) wrote: On 24.02.2016 22:39, Christopher Schultz wrote: Mark, On 2/24/16 8:44 AM, mark.lo...@cyrenllc.com wrote: Hi, I have written a PKI proxy servlet to support a tool that needs access to my customer’s secured web site, but the application does

Re: HTTP CONNECT method not being accepted by Tomcat 7

2016-02-24 Thread tomcat
. I extended my code to accept the CONNECT, however the request never seems to get past the front door Tomcat. None of my code is ever called, so I have to assume that I have a setting wrong in Tomcat. Everything I can find online discusses how you shouldn’t have a Tunneling proxy in your

Re: Tomcat memory

2016-02-23 Thread tomcat
in this specific case, as OS is 64bit and total amount of memory available is 6GB) unless the memory consumption by other processes does not get impacted or grows near 5GB - 6GB limit. From my earlier posts --- i. It is a Tomcat / Application question as well, as memory default can be configured

Re: Tomcat memory

2016-02-22 Thread tomcat
referring to as "application". For the OS, the JVM is an application. For the JVM, Tomcat is the application. And for Tomcat, the web applications (webapps) are the applications. The JVM is one process that is running on a machine, under an OS. That OS probably imposes limits on how much resourc

Re: Tomcat7/8 - Leap year compliant

2016-02-22 Thread tomcat
On 22.02.2016 11:40, Shree, Shubha wrote: Hi , As 2016 is a Leap year, can you please confirm is Tomcat7 and Tomcat8 leap year compliant so that there should not be any impact on the applications running on tomcat 7/8 . Maybe you could define "leap year compliant" for us,

Re: Tomcat memory

2016-02-22 Thread tomcat
that you already received. All the information is there. In my case, the Tomcat is running on windows and I don't have setenv.bat or sentenv.sh or even catalina.bat and catalina.conf does not have the OPT config for min and max. HTH Thank you -Gokul -Original Message- From: Olaf Kock

Re: Sessions number issue

2016-02-21 Thread tomcat
question here: http://marc.info/?l=tomcat-user=145530442623563=2 In general, I went through the archives and read all of the threads. First, you're not reporting a version of tomcat. Second, you haven't verified the code is creating sessions by inspecting it. Third, as asked, you haven't verified

Re: context doesnt pick up

2016-02-21 Thread tomcat
On 20.02.2016 23:40, Me Self wrote: Hi All When I put the context in server.xml it works fine, but if I put the same context tag in a xml file under /conf/Catalina/localhost/test.xml then tomcat doesn't pick it up. I would rather want to use the latter. The test.xml is Its a set up where

Re: Sessions number issue

2016-02-19 Thread tomcat
, rather than tomcat. What I do not really understand here, is that the (partial) information provided so far seems to at least indicate that this is a JBOSS site and a RedHat customer; that RedHat does the development and support of JBOSS and has several JBOSS support forums available

Re: Close_wait state

2016-02-18 Thread tomcat
On 18.02.2016 16:50, Elias, Michael wrote: Hi - We are running tomcat version 7.0.50. Starting 2 days ago are application stopped responding to requests. Our investigation showed us that we are not closing connections. We see after 300 tcp sessions, for the tomcat PID, in CLOSE_WAIT state out

Re: Block urls using X-forwaed-for

2016-02-15 Thread tomcat
On 15.02.2016 13:03, Dhanushka Parakrama wrote: Hi Guys I have a Tomcat instance behind the load balancer (LB) , LB will pass the client ip address to backed tomcat instance using *X-forward-for* header . I basically want to filter user traffic based on the *X-forwaed-for* header in tomcat

Re: Is there a way for code running on Tomcat 7+ to determine the URL of the Web App it's running under?

2016-02-15 Thread tomcat
On 15.02.2016 11:06, Christoph Nenning wrote: Perhaps I¹m naïve, but I was looking for a Tomcat provided ³getCurrentURL ()² call, and assumed that nothing else could have that. :-) Thank you for the SecurityManager suggestion, I hadn¹t thought about that. I¹ll look in to how much

Re: Is there a way for code running on Tomcat 7+ to determine the URL of the Web App it's running under?

2016-02-12 Thread tomcat
Sorry, I lost the original message, so I can't respond in-thread. I only saw the last message, but to that, isn't this what the Op is asking for : http://tomcat.apache.org/tomcat-7.0-doc/servletapi/javax/servlet/http/HttpServletRequest.html No matter which jar these things

Re: Is there a way for code running on Tomcat 7+ to determine the URL of the Web App it's running under?

2016-02-12 Thread tomcat
On 12.02.2016 20:08, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 2/12/16 1:11 PM, André Warnier (tomcat) wrote: Sorry, I lost the original message, so I can't respond in-thread. I only saw the last message, but to that, isn't this what the Op is asking

Re: Is there a way for code running on Tomcat 7+ to determine the URL of the Web App it's running under?

2016-02-12 Thread tomcat
the code which is (directly) calling you. But you would trust it if you were sure that it is the original Tomcat code. 2) if I remember correctly, a HttpServletRequest object is immutable, so nobody can have modified the original data of the request, as it came in and was parsed by Tomcat. 3

Re: Is there a way for code running on Tomcat 7+ to determine the URL of the Web App it's running under?

2016-02-12 Thread tomcat
On 12.02.2016 21:00, Leo Donahue wrote: On Feb 11, 2016 4:56 PM, "Dougherty, Gregory T., M.S." < dougherty.greg...@mayo.edu> wrote: I would like to have a jar file in tomcat/lib that can be called from any of the running web apps. I need for the code in the jar to be

Re: Async servlet timeout behaviour

2016-02-11 Thread tomcat
On 11.02.2016 12:07, Thomas Boniface wrote: Hi, I'm using async servlet with a timeout configured to 300ms naive question : is that not awfully short, if this relates to some over-the-Internet communication ? but I can observe in live environnement some big differences with the actual

Re: Having Java websocket server in tomcat handle ISO8859_1

2016-02-09 Thread tomcat
On 09.02.2016 15:06, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 2/8/16 6:25 PM, André Warnier (tomcat) wrote: On 08.02.2016 23:31, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, On 2/8/16 3:43 PM, Mark Thomas wrote

Re: Having Java websocket server in tomcat handle ISO8859_1

2016-02-08 Thread tomcat
apache.org/lists.html#tomcat-users #6 2) this is now very confusing. Are you talking about data flowing from the server to a bowser client, or from a browser client to the server, or both, and in what order ? (maybe a little ASCII-graphic schema would help) Anyway, if you are sending/receiving

Re: Having Java websocket server in tomcat handle ISO8859_1

2016-02-08 Thread tomcat
On 08.02.2016 19:41, Jason Ricles wrote: I have an application that sends binary websocket messages between a class and the web application using a websocket server written in java. The data being sent from the java class is encoded in a binary buffer with the bytes in ISO8859_1. However, when

Re: Having Java websocket server in tomcat handle ISO8859_1

2016-02-08 Thread tomcat
On 08.02.2016 23:31, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, On 2/8/16 3:43 PM, Mark Thomas wrote: On 08/02/2016 18:41, Jason Ricles wrote: I have an application that sends binary websocket messages between a class and the web application using a

Re: Http 403: access to requested resource denied

2016-02-04 Thread tomcat
On 03.02.2016 22:17, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 2/3/16 1:50 PM, André Warnier (tomcat) wrote: On 03.02.2016 19:07, David kerber wrote: On 2/3/2016 12:50 PM, prashant sharma wrote: On 3 Feb 2016 17:42, "David kerber&qu

Re: Http 403: access to requested resource denied

2016-02-03 Thread tomcat
lid> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Quick note - please post at the bottom or inline. See item 6 of the Tomcat users mailing list here: http://tomcat.apache.org/lists.html On 2/3/2016 8:20 AM, prashant sharma wrote: That's true. But we are not doing any authn/au

Re: com.microsoft.sqlserver.jdbc.SQLServerException: Connection reset - Errors

2016-02-01 Thread tomcat
On 01.02.2016 17:55, Bomma, Nithun wrote: Hello, We are using Tomcat 6.x for one of our application. It was working fine until today morning and all of sudden we tomcat application was not responding and was throwing below errors: Feb 1, 2016 9:00:16 AM

Re: com.microsoft.sqlserver.jdbc.SQLServerException: Connection reset - Errors

2016-02-01 Thread tomcat
On 01.02.2016 18:16, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nithin, On 2/1/16 11:55 AM, Bomma, Nithun wrote: We are using Tomcat 6.x for one of our application. It was working fine until today morning and all of sudden we tomcat application was not responding

Re: HTTP communication

2016-01-29 Thread tomcat
On 28.01.2016 18:38, Maxim Neshcheret wrote: I have a problem with my java application related to HTTP communication. Application description: 1. Client – server. Server is running in servlet container. We use Tomcat. Client use java HTTP library to communicate with the server. 2

mod_jk Connector for Apache 2.2 and Windows 64-bit

2016-01-28 Thread tomcat
Hi. On the page http://apache.lauf-forum.at/tomcat/tomcat-connectors/jk/binaries/windows/, the following mod_jk binaries are available : tomcat-connectors-1.2.40-windows-i386-httpd-2.0.x.zip 2014-04-14 21:40 130K ZIP compressed archive tomcat-connectors-1.2.40-windows-i386-httpd-2.2

Re: mod_jk Connector for Apache 2.2 and Windows 64-bit

2016-01-28 Thread tomcat
On 28.01.2016 14:44, Konstantin Kolinko wrote: 2016-01-28 15:00 GMT+03:00 André Warnier (tomcat) <a...@ice-sa.com>: Hi. On the page http://apache.lauf-forum.at/tomcat/tomcat-connectors/jk/binaries/windows/, the following mod_jk binaries are available : tomcat-connectors-1.2.40-window

Re: mod_jk Connector for Apache 2.2 and Windows 64-bit

2016-01-28 Thread tomcat
2016-01-28 15:00 GMT+03:00 André Warnier (tomcat) <a...@ice-sa.com>: Hi. On the page http://apache.lauf-forum.at/tomcat/tomcat-connectors/jk/binaries/windows/, the following mod_jk binaries are available : tomcat-connectors-1.2.40-windows-i386-httpd-2.0.x.zip 2014-04-14 21:40 130

Re: mod_jk Connector for Apache 2.2 and Windows 64-bit

2016-01-28 Thread tomcat
On 28.01.2016 15:55, Konstantin Kolinko wrote: 2016-01-28 16:44 GMT+03:00 Konstantin Kolinko <knst.koli...@gmail.com>: 2016-01-28 15:00 GMT+03:00 André Warnier (tomcat) <a...@ice-sa.com>: Hi. On the page http://apache.lauf-forum.at/tomcat/tomcat-connectors/jk/binaries/windows/, t

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

2016-01-26 Thread tomcat
On 26.01.2016 10:19, Christoph P.U. Kukulies wrote: Am 26.01.2016 um 09:36 schrieb Christoph P.U. Kukulies: Am 25.01.2016 um 19:34 schrieb George Sexton: On 1/25/2016 3:52 AM, Christoph P.U. Kukulies wrote: Thanks. Will give that a try. How can I tell, which java engine Tomcat is actually

Re: Tomcat 8.0.18 is not getting started

2016-01-19 Thread tomcat
On 19.01.2016 13:53, Anand wrote: I am trying to install Tomcat 8.0.18 from location: http://archive.apache.org/dist/tomcat/tomcat-8/v8.0.18/bin/apache-tomcat-8.0.18-windows-x64.zip JDK Used from below location http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151

Re: Tomcat 8.0.18 is not getting started

2016-01-19 Thread tomcat
On 19.01.2016 14:36, Anand wrote: I tried to start the tomcat from command line by executing the startup.bat. Ok. Again, I am not the ultimate expert, but the key error below seems to be around Caused by: java.lang.NoSuchMethodError: org.apache.naming.NamingContext.setExceptionOnFailedWrite

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

2016-01-14 Thread tomcat
Hi. I have not followed this thread in details, but did you check this : http://tomcat.apache.org/tomcat-7.0-doc/config/http.html#Common_Attributes --> maxPostSize The maximum size in bytes of the POST which will be handled by the container FORM URL parameter parsing. The limit

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

2016-01-13 Thread tomcat
, Rahul Kumar Singh From: David kerber <dcker...@verizon.net> Sent: Tuesday, January 12, 2016 6:07 PM To: Tomcat Users List Subject: Re: File size >= 2GB not uploaded in application [Tomcat 7.0.54 Struts: 2.3.24 JAVA: openJDK 1.7.79] On 1/12/2016

property replacement in WEB-INF/web.xml

2016-01-13 Thread tomcat
Hi gurus. Under tomcat 8 and Linux, I am deploying an externally-provided web application, which in its web.xml configuration file, has a parameter like this : logroot /var/log/tomcat8 This works, but I would like to make this more "generic",

Re: [EXTERNAL] Re: Problem starting Tomcat 7.0.59 as a Windows Service

2016-01-12 Thread tomcat
On 12.01.2016 18:29, Mark Thomas wrote: On 12/01/2016 17:10, McDermott, Becky wrote: I am definitely not a Java/Tomcat expert so I appreciate the info. I have 10GB of RAM and only 1.2 GB is in use when I try to start the tomcat service. OK. You should be OK then but you never know. One

Re: Tomcat 8.0.30 Session lost

2016-01-12 Thread tomcat
or #3 does not harm security at all but will fix this bug in Tomcat. I also tried to use authenticate() on the request, but instead of using the last login() credentials it forced the use of Basic Authentication. So really I do not see a option left on the developer side, how to use login() in a relia

Re: Tomcat 8.0.30 Session lost

2016-01-11 Thread tomcat
Thomas, On 11.01.2016 11:30, Thomas Scheffler wrote: Am 08.01.16 um 17:02 schrieb Christopher Schultz: Tomcat will change the session identifier when the user authenticates. If you are creating a session before login, you'll see that the session id changes when authentication is successful

Re: Tomcat 8.0.30 Session lost

2016-01-08 Thread tomcat
On 08.01.2016 10:07, Thomas Scheffler wrote: Hi, I have a very rare problem regarding session handling. It is reproducible only on a single server environment. Of cause this is the productive server. I use container authentication and for simplicity 'tomcat-user.xml'. Login is done via

Re: Tomcat available memory

2015-12-11 Thread tomcat
24K)] 159969K->71550K(283136K), 0.0305672 secs] [Times: user=0.02 sys=0.02, real=0.03 secs] I want to print like below in log file: Free memory: 244.47 MB Total memory: 512.00 MB Max memory: 910.50 MB What parameters need to set in JVM option of Tomcat to achieve this? You need to look at the o

Re: maxConnection and keepAliveTimeout

2015-12-11 Thread tomcat
On 11.12.2015 07:56, Yogesh Patel wrote: Hi All, *If we do not configure "maxConnections" then it will take default value as maxThread (which is 200) and "keepAliveTimeout" will take default value of connectionTimeout (which is 60 seconds) then what is a impact of configuring these

Re: Today's Apache Tomcat: TLS Virtual Hosting webinar is now available on YouTube

2015-12-09 Thread tomcat
On 09.12.2015 01:13, Yu, Yujin wrote: Hi, Please kindly remove myself in this e-mail group. Please see instructions for that at the bottom of *each message* on this list. ... - To unsubscribe, e-mail:

Re: Custom Connector class

2015-12-09 Thread tomcat
the body by calling Request.getInputStream(). The servlet wouldn't be able to call getReader or getParam anymore. I would like my Valve to be transparent in that sense. I am no java nor Tomcat guru, so take this with caution : Looking at http://tomcat.apache.org/tomcat-8.0-doc/config/http.html

Re: Failover not working even after configuration.

2015-12-09 Thread tomcat
On 09.12.2015 15:56, Kernel freak wrote: I am working on Apache and tomcat to setup Load-balancing and fail-over. Initially I thought that load-balancing would include fail-over, but I was wrong. I thought that if one instance is not active, then consuming other instance also becomes a part

Re: Failover not working even after configuration.

2015-12-09 Thread tomcat
On 09.12.2015 17:02, Kernel freak wrote: Hi, Thank you for finding out that mistake with port-number. What I fail to understand is, where to redirect the AJP request then? Why would you need to ? Again : Your AJP (in Tomcat) will *never* receive requests that are HTTPS. It expects

Re: Creating another Tomcat copy in hot stand-by when original goes down.

2015-12-08 Thread tomcat
On 08.12.2015 14:07, Kernel freak wrote: Hello friends, I am working on a Debian server in which I would like to setup 2 instances of Apache tomcat which will be load balanced by an Apache HTTP server(Do I require a http server? ). In-case one copy of Apache tomcat goes down, the other one

Re: Tomcat, Apache web-server : Simultaneously running both servers and Virtual Hosting.

2015-12-07 Thread tomcat
in these regards as I have already configured Apache Tomcat to host multiple webapps, and call them based on URL. It is working. Now on to the 2nd stage of problem, where I have hosted a CMS on Apache server, and would like to call it with a URL, *but also keep Apache tomcat running in parallel

Re: Fwd: curl and geoserver not working

2015-12-06 Thread tomcat
On 06.12.2015 20:25, pablo zader wrote: Hello list. Something strange is happening when I load a file to Geoserver by curl. I observed in the tomcat manager that the process never leaves the state (s) of service: *Sent Time Stage B B Recv Client (Forwarded) Client (Current) VHost Request* *S

Apache httpd / mod_proxy_ajp logging

2015-12-03 Thread tomcat
Hi. Although the above module is a httpd-level, this might still be the right place to ask : I am usually using mod_jk as an Apache httpd / Tomcat connector. With mod_jk, there is a separate JkLogLevel directive to set the log level, and also a separate logfile. Would anyone here know what

Re: Detecting Expired Session via JavaScript?

2015-12-02 Thread tomcat
. If I hit any of the apps it resets the timer. I don't think hitting app A will reset the session timeout of app B's session. (Or maybe it does, but I didn't think that's how SSO worked in Tomcat. Unfortunately, the SSO documentation[1] doesn't actually say exactly how all this works.) Do they all

Re: Detecting Expired Session via JavaScript?

2015-12-01 Thread tomcat
code does ? (or could do ?) I know one possibility is to set the Tomcat timer to 30 min expiration, and then keep a '29 minute' timer running in the browser. But my clients can change the tomcat session timer length. And also this doesn't account for a logoff using the same session

Re: Modsecurity - REQBODY ERROR

2015-11-23 Thread tomcat
t;Failed to parse request body."] [data "Error reading request body: Client went away."] [severity "CRITICAL"] Action: Intercepted (phase 2)" What could be the possible reason for this error? I don't know, but I believe that you may have posted this to the wrong list. Shou

Re: ServletRequest.getInputStream, getReader, getParameter.

2015-11-23 Thread tomcat
On 23.11.2015 21:14, Roel Storms wrote: Ok, thank you for the clear response. I see the problem with file type elements. If you really have an overwhelming need to pre-check whole POST bodies before passing them to a Tomcat application, you may want to think about fronting your Tomcat server

Re: ServletRequest.getInputStream, getReader, getParameter.

2015-11-23 Thread tomcat
request.getInputStream to fetch the data. However when a web application makes use of my valve, the getParameter method does not return the parameters submitted via POST anymore. This is documented behavior according to the spec of ServletRequest ( https://tomcat.apache.org/tomcat-8.0-doc/servletapi/javax/servlet

Re: Source IP filtering on some URLs before Container-managed authentication

2015-11-20 Thread tomcat
On 20.11.2015 17:00, Ognjen Blagojevic wrote: Andre, Chris, On 20.11.2015 9:30, André Warnier (tomcat) wrote: On 19.11.2015 21:26, Christopher Schultz wrote: I think that may be the only way to do it. IIRC, someone did some work to allow Filters to be used in the valve chain, but I don't

Re: Source IP filtering on some URLs before Container-managed authentication

2015-11-20 Thread tomcat
don't think there is any facility for specifying s for those. -chris Or, you could switch from container-based AAA, to application-based AAA. You can create a servlet filter which "wraps" your application(s), and in it apply any rules you want. This is totally portable, not Tomca

Re: Tomcat Conflicting with Group Policy Client

2015-11-19 Thread tomcat
On 19.11.2015 05:19, Nick Childs wrote: Tomcat Version: 6.0.39 Operating System: Server 2012 R2 Standard Configuration: We are utilizing Tomcat as part of a Pentaho deployment - Tomcat is utilized for Pentaho's Data Integration and Business Analytics services. Description: We have a custom

Re: Tomcat simple tcp cluster doesn't work on switching browser

2015-11-16 Thread tomcat
On 16.11.2015 11:36, Amit Rawat wrote: Hi, I'm observing some strange behaviour between two instances of apache-tomcat-7.0.41 running on the same server. Sessions are shared between the servers on multiple logins/logouts on the same browser , but when i switch browsers , the session

Re: Fwd:

2015-11-13 Thread tomcat
inding where the Document Root is for my application ("applicationName"). As I understand, since my Catatlina_Home = "c:\tomcat" and the "" tag in the server.xml specifies "appbase='webapps'", it should be under c:\tomcat\webapps...but it is not. Thanks again

Re: [PROPOSAL] Tomcat Webinar series

2015-11-13 Thread tomcat
On 12.11.2015 23:29, Mark Thomas wrote: All, I've been wondering if there would be any interest in a Tomcat Webinar series. I'm thinking ~10 minutes of presentation followed by Q on topics of interest to this community with the webinars taking place every 1/2/4 weeks depending on interest

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

2015-11-03 Thread tomcat
e- From: Konstantin Preißer [mailto:kpreis...@apache.org] Sent: 31. October 2015 10:27 To: Tomcat Users List Subject: [OT] RE: 80ms delay switching between worker threads Importance: Low Hi Christopher, -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sen

Re: 80ms delay switching between worker threads

2015-10-30 Thread tomcat
On 30.10.2015 01:03, Farzad Panahi wrote: Hi, I am using tomcat 8.0.23 to terminate my websocket connections. I was looking at my trace logs and noticed that when tomcat worker thread responsible for processing websocket messages switches to a different thread, there is about 80ms delay. In my

Re: AW: Suppress or replace WWW-Authorization header

2015-10-29 Thread tomcat
. There are loads of examples on how to do this on the internet. This isn't tomcat specific. function globalInterceptorResponse($injector, $q) { return { 'response': function (response) { return response; }, 'responseError': function (rejection) { switch

Re: AW: AW: Tomcat 6, DB2 Driver Problems

2015-10-29 Thread tomcat
it to the list, which strips most attachments. Better : use a text editor to cut and paste the stack trace right here : -Ursprüngliche Nachricht- Von: Christopher Schultz [mailto:ch...@christopherschultz.net] Gesendet: Mittwoch, 28. Oktober 2015 15:30 An: Tomcat Users List Betreff: Re

Re: AW: Suppress or replace WWW-Authorization header

2015-10-28 Thread tomcat
Hi. on this list, as per http://tomcat.apache.org/lists.html#tomcat-users #6 , it is preferred if you respond below the question being asked (or the previous response) rather than on top. (The main reason being that it is easier that way to follow the normal gist of the conversation, rather

Re: AW: Suppress or replace WWW-Authorization header

2015-10-28 Thread tomcat
the Authorization: Basic header). The server supports two kinds of deployment: Standalone with an embedded Jetty-server and as war-file for app-servers (most of them are tomcat-server). I try to suppress the browser BASIC-login-dialog for the REST-service-calls from AngularJS. On Jetty I modify the 401

Re: AW: Suppress or replace WWW-Authorization header

2015-10-28 Thread tomcat
). But that's not a solution because the rest-service should be still protected and I need to authenticate via "Authentication: Basic ." header send credentials, but I don't want to show the ugly browser-dialog to the users. Using a AngularJS Client with REST-services based on tom

Re: AW: AW: Suppress or replace WWW-Authorization header

2015-10-28 Thread tomcat
On 28.10.2015 17:42, Torsten Rieger wrote: -Ursprüngliche Nachricht- Von: Aurélien Terrestris [mailto:aterrest...@gmail.com] Gesendet: Mittwoch, 28. Oktober 2015 16:45 An: Tomcat Users List <users@tomcat.apache.org> Betreff: Re: AW: Suppress or replace WWW-Authorization header Y

Re: AW: AW: Suppress or replace WWW-Authorization header

2015-10-28 Thread tomcat
On 28.10.2015 17:42, Torsten Rieger wrote: -Ursprüngliche Nachricht- Von: Aurélien Terrestris [mailto:aterrest...@gmail.com] Gesendet: Mittwoch, 28. Oktober 2015 16:45 An: Tomcat Users List <users@tomcat.apache.org> Betreff: Re: AW: Suppress or replace WWW-Authorization header Y

Re: Suppress or replace WWW-Authorization header

2015-10-28 Thread tomcat
Hi. On 28.10.2015 09:36, Torsten Rieger wrote: Hi, I try to suppress the browser login-dialog on basic authentication (basic is a legacy requirement), how can I do that? Filters are called after login on the container, right? I am not sure that I understand exactly what you mean here, and

Re: ClientAbortException: java.io.IOException: Failed to send AJP message

2015-10-27 Thread tomcat
On 27.10.2015 10:46, Yogesh Patel wrote: Ok Thanks, My Tomcat version is : 7.0.47 Error stack trace is below: " org.apache.catalina.core.StandardWrapperValve.invoke:Line 211 - ClientAbortException: java.io.IOException: Failed to send AJP me

Re: ClientAbortException: java.io.IOException: Failed to send AJP message

2015-10-27 Thread tomcat
Yogesh, 1) please follow the rules of this list, and don't "top-post" : http://tomcat.apache.org/lists.html#tomcat-users #6 2) please follow the rules of this list, and post your messages as plain text : http://tomcat.apache.org/lists.html#tomcat-users #7 As you can see below

Re: Java 7 and 8 features

2015-10-27 Thread tomcat
that you are asking the wrong question. As per this page : http://tomcat.apache.org/whichversion.html "Apache Tomcat™ is an open source software implementation of the Java Servlet and JavaServer Pages technologies." In other words, Tomcat is not an implementation of any specific Ja

Re: [ANN] New committer: Ognjen Blagojevic

2015-10-26 Thread tomcat
On 24.10.2015 15:58, Mark Thomas wrote: On behalf of the Tomcat committers I am pleased to announce that Ognjen Blagojevic (ognjen) has been voted in as a new Tomcat committer. Welcome, Ongjen. - To unsubscribe, e-mail

Re: servlet filter not working over virtual directories in tomcat

2015-10-24 Thread tomcat
On 24.10.2015 05:11, Pradyut Bhattacharya wrote: The URL pattern therefore needs to be "/*" Could not do anything with the above statement. May be an example could suffice. Then maybe try this : Instead of : dir_filter /web/* try : dir_filter /* Explanation :

Re: Tomcat answers on port 80, not on 443

2015-10-23 Thread tomcat
ell.. Getting back on-topic however : I do not know anything about Felix, and I have not really followed this thread. But assuming that this Felix is a web application running under Tomcat, the fact that it has the above in its own configuration file, rather than in some Tomcat configurat

Re: httpd 2.2 +mod-jk1.2.37+ tomcat 7.0.28 (debian package)

2015-10-22 Thread tomcat
On 21.10.2015 19:47, André Warnier (tomcat) wrote: On 20.10.2015 00:13, J Lopez wrote: Hi all, is it possible to filter 404 application errors taking into account content-type beside http return code in jk configuration. I need to difference between application is not deployed/executing

Re: httpd 2.2 +mod-jk1.2.37+ tomcat 7.0.28 (debian package)

2015-10-21 Thread tomcat
not look like this feature is available. But if I understand correctly, you have 2 cases of 404 : 1) if the application is for Tomcat "not there" (meaning for example it is not deployed at that particular moment), then Tomcat itself returns a 404. 2) if the application is there and workin

Re: [OT] loading images through a Servlet

2015-10-02 Thread tomcat
From: "André Warnier (tomcat)" <a...@ice-sa.com> Date:10/02/2015 2:46 AM (GMT-08:00) To: users@tomcat.apache.org Subject: Re:[OT] loading images through a Servlet On 02.10.2015 11:39, Bill Ross wrote: And if I find anyone hitting me with unknown or aged-out hash

Re: loading images through a Servlet

2015-10-02 Thread tomcat
On 01.10.2015 23:52, Bill Ross wrote: Please let me know if there is a better place to ask Servlet/javascript interface questions. For the javascript part, there are probably better places. But the people here are awesome, so it's worth giving it a try. For the servlet side of it, this

Re:[OT] loading images through a Servlet

2015-10-02 Thread tomcat
:-) Never mind that. If you have actually found an innovative solution to the "browser-knows-all-anyway" conundrum, much bigger fame (and income) awaits you. Bill Original message From: Bill Ross <r...@cgl.ucsf.edu> Date:10/02/2015 2:04 AM (GMT-08:00) To: T

Re: loading images through a Servlet

2015-10-02 Thread tomcat
Chris, you're kind of breaking down an open door here. Bill was already at the stage of congratulating himself and dreaming of his retirement plan, following his discovery of a brilliant and innovative solution. Better to start from the beginning of the thread.. On 02.10.2015 16:30,

Re: loading images through a Servlet

2015-10-02 Thread tomcat
On 01.10.2015 23:52, Bill Ross wrote: Please let me know if there is a better place to ask Servlet/javascript interface questions. For the javascript part, there are probably better places. But the people here are awesome, so it's worth giving it a try. For the servlet side of it, this

Re: loading images through a Servlet

2015-10-02 Thread tomcat
On 02.10.2015 17:04, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 10/2/15 10:38 AM, André Warnier (tomcat) wrote: Chris, you're kind of breaking down an open door here. Bill was already at the stage of congratulating himself and dreaming of his

<    2   3   4   5   6   7   8   9   >