Re: Transfer-Encoding: chunked not working

2013-12-05 Thread Felix Schumacher
"C. Benson Manica" schrieb: >On Thu, Dec 5, 2013 at 10:58 AM, Christopher Schultz < >ch...@christopherschultz.net> wrote: > >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA256 >> >> C., >> >> On 12/5/13, 12:53 PM, C. Benson Manica wrote: >> > The content I expect is in the neighborhood of 30

Re: Transfer-Encoding: chunked not working

2013-12-05 Thread C. Benson Manica
On Thu, Dec 5, 2013 at 10:58 AM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > C., > > On 12/5/13, 12:53 PM, C. Benson Manica wrote: > > The content I expect is in the neighborhood of 30K. What I get back > > is > > > > $ curl -i

Re: Expire Sesssion

2013-12-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Crystal, On 12/5/13, 6:25 PM, Crystal Maramba wrote: >> Sorry I misunderstood your comment. Thanks for the clarification. >> I am actually looking for other options besides modifying the >> web.xml config file. Someone mentioned that we could do it

Re: [OT] JNDI Realm and GSSAPI problems with TC 7

2013-12-05 Thread Mark Thomas
"André Warnier" wrote: >Mark Thomas wrote: >... > >> >> It *should* work with those but it has only been tested with: >> - Windows domain controller >> - Windows client >> - Tomcat running on Windows Server >> - Tomcat running on Ubuntu Server >> >.. >Ah ! To my knowledge, this is the first indi

Re: [OT] JNDI Realm and GSSAPI problems with TC 7

2013-12-05 Thread André Warnier
Mark Thomas wrote: ... It *should* work with those but it has only been tested with: - Windows domain controller - Windows client - Tomcat running on Windows Server - Tomcat running on Ubuntu Server .. Ah ! To my knowledge, this is the first indication *ever* that this also works on Unix/Lin

Re: JNDI Realm and GSSAPI problems with TC 7

2013-12-05 Thread Mark Thomas
On 05/12/2013 14:48, Hendrik Dev wrote: > Hi, > > i have a few questions about the JNDIRealm, GSSAPI (Kerberos 5 mech) > authentication and the SPNEGO Authenticator Valve in TC 7.0.47: > > Preface: In the docs SPNEGO Authenticator Valve/JNDIRealm is called > "30) Windows Authentication" but i gue

RE: Tomcat 7 SEVERE: Invalid message received with signature

2013-12-05 Thread Caldarale, Charles R
> From: John Beaulaurier -X (jbeaulau - ADVANCED NETWORK INFORMATION INC at > Cisco) > [mailto:jbeau...@cisco.com] > Subject: Tomcat 7 SEVERE: Invalid message received with signature > Apache is not running and in fact has been uninstalled. Presumably you mean Apache httpd, not Apache Tomcat (b

Re: Expire Sesssion

2013-12-05 Thread Tomcat Random
Crystal, The properties file is just a standard java properties file. Really, it's only a better option if you have other settings and want to consolidate them there, along with your session expiration time. If you can edit the web.xml and restart, and it's permanent, then I'd recommend you just

Re: Tomcat 6 lib jars

2013-12-05 Thread Tomcat Random
Dan, +1. I can't imagine what kind of headaches are waiting around with all the symbolic links for the JARs. -Alec On Thu, Dec 5, 2013 at 10:03 AM, Daniel Mikusa wrote: > On Dec 5, 2013, at 9:42 AM, "Patel, Rakesh (Java)" < > rakesh.pat...@bskyb.com> wrote: > > > Hi, > > > > I've come across l

RE: Expire Sesssion

2013-12-05 Thread Crystal Maramba
-Original Message- From: Tomcat Random [mailto:tomcat.ran...@gmail.com] Sent: Thursday, December 05, 2013 3:03 PM To: Tomcat Users List Subject: Re: Expire Sesssion Chris, True. But changing the web.xml file will still require a restart. It depends on if she wants to change this frequ

Re: Expire Sesssion

2013-12-05 Thread Tomcat Random
Chris, True. But changing the web.xml file will still require a restart. It depends on if she wants to change this frequently or permanently. The interval could go in a properties file as well, if setMaxInactiveInterval(...) is used. Also requires a restart by default but there are file listeners.

Tomcat 7 SEVERE: Invalid message received with signature

2013-12-05 Thread John Beaulaurier -X (jbeaulau - ADVANCED NETWORK INFORMATION INC at Cisco)
Hello, I did some testing with Apache reverse proxy to Tomcat a week ago or so, and am now out of the blue seeing a string of SEVERE messages in catalina.out. Apache is not running and in fact has been uninstalled. The proxyPort directive has been removed from the Tomcat server.xml connector c

Re: Expire Sesssion

2013-12-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Alec, On 12/5/13, 3:29 PM, Tomcat Random wrote: > Crystal, > > At the risk of stating the obvious, you can also override the > default session timeout programmatically using HttpSession's > method: > > setMaxInactiveInterval(int interval) I'm gue

Re: Expire Sesssion

2013-12-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Crystal, On 12/5/13, 2:27 PM, Crystal Maramba wrote: > > > -Original Message- From: Christopher Schultz > [mailto:ch...@christopherschultz.net] Sent: Thursday, December 05, > 2013 10:36 AM To: Tomcat Users List Subject: Re: Expire Sesssion

Re: mod_proxy not redirecting servlet redirect properly

2013-12-05 Thread Jan Vávra
Hello, is really cutting of the /myapp the thing you want to do? Isn't it turned-up? Now from url http://myip/myapp/smthg you redirect client to http://myip/smthg You wrote : "In one of the servlets POST method i am redirecting the request to a JSP page" So the scenatio is. 1. client makes

Re: Expire Sesssion

2013-12-05 Thread Tomcat Random
Crystal, At the risk of stating the obvious, you can also override the default session timeout programmatically using HttpSession's method: setMaxInactiveInterval(int interval) -Alec On Thu, Dec 5, 2013 at 2:27 PM, Crystal Maramba wrote: > > > -Original Message- > From: Christopher Sc

Re: Accessing ServletContext from WebSocket endpoint

2013-12-05 Thread Violeta Georgieva
Hi, 2013/12/5 Enrico Olivelli > > Hi, > is there a standard way to access ServletContext from a WebSocket ServerEndpoint ? Recently there was such discussion: http://markmail.org/message/pqkzatjastefxvd6?q=Tomcat+8+Websockets+configuration+list:org%2Eapache%2Etomcat%2Euser/ Regards Violeta

Accessing ServletContext from WebSocket endpoint

2013-12-05 Thread Enrico Olivelli
Hi, is there a standard way to access ServletContext from a WebSocket ServerEndpoint ? thank you Tomcat is great Enrico Olivelli - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: u

RE: Expire Sesssion

2013-12-05 Thread Crystal Maramba
-Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Thursday, December 05, 2013 10:36 AM To: Tomcat Users List Subject: Re: Expire Sesssion -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Crystal, On 12/5/13, 12:10 PM, Crystal Maramba wrote: > >

Re: Need Information regarding Apache Webserver static file configuration

2013-12-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 David, On 12/5/13, 1:33 PM, David kerber wrote: > On 12/5/2013 5:37 AM, Tapajyoti Roybarman wrote: >> Hi Andre, >> >> I apologize for not following the mailing rule. Actually this is >> the first time that I am taking the help of such a forum. >>

org.apache.catalina.session.PersistentManager

2013-12-05 Thread spring
Hi, if I want to use org.apache.catalina.session.PersistentManager but do not want the async storage of session data is it sufficient to add a valve which stores the session data after the request via manager.getStore().save(..)? And how can I prevent that the session is stored again by the backg

Re: Transfer-Encoding: chunked not working

2013-12-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 C., On 12/5/13, 12:53 PM, C. Benson Manica wrote: > The content I expect is in the neighborhood of 30K. What I get back > is > > $ curl -i http://localhost:8080/ > > HTTP/1.1 200 OK^M Server: Apache-Coyote/1.1^M Set-Cookie: > JSESSIONID=6ED488F581

Re: Expire Sesssion

2013-12-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Crystal, On 12/5/13, 12:10 PM, Crystal Maramba wrote: > > > -Original Message- From: Igor Cicimov > [mailto:icici...@gmail.com] Sent: Wednesday, December 04, 2013 6:54 > PM To: Tomcat Users List Subject: Re: Expire Sesssion > > On 05/12/2

Re: Need Information regarding Apache Webserver static file configuration

2013-12-05 Thread David kerber
On 12/5/2013 5:37 AM, Tapajyoti Roybarman wrote: Hi Andre, I apologize for not following the mailing rule. Actually this is the first time that I am taking the help of such a forum. Before I begin asking you anything I want to thank you for such a detailed explanation. To begin with, answer to

Re: ssl on tomcat

2013-12-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Randeep, On 12/4/13, 1:30 PM, Randeep wrote: > Chris, Yes. I have so many http links as some of our old submitted > apps used non secured http links. as the apps are in use we cannot > change it. I cannot use any redirect rules to convert all the h

RE: Transfer-Encoding: chunked not working

2013-12-05 Thread Konstantin Preißer
Hi, > -Original Message- > From: C. Benson Manica [mailto:cbman...@gmail.com] > Sent: Thursday, December 5, 2013 6:54 PM > To: Tomcat Users List > Subject: Re: Transfer-Encoding: chunked not working > > The content I expect is in the neighborhood of 30K. What I get back is > > $ curl -i

Re: Need Information regarding Apache Webserver static file configuration

2013-12-05 Thread André Warnier
Tapajyoti Roybarman wrote: Hi Andre, I apologize for not following the mailing rule. Actually this is the first time that I am taking the help of such a forum. Before I begin asking you anything I want to thank you for such a detailed explanation. To begin with, answer to your question - "

Re: Transfer-Encoding: chunked not working

2013-12-05 Thread C. Benson Manica
The content I expect is in the neighborhood of 30K. What I get back is $ curl -i http://localhost:8080/ HTTP/1.1 200 OK^M Server: Apache-Coyote/1.1^M Set-Cookie: JSESSIONID=6ED488F581B8D3317261ADA2AD97CC20; Path=/; HttpOnly^M Content-Type: text/html;charset=UTF-8^M Transfer-Encoding: chunked^M Da

RE: Expire Sesssion

2013-12-05 Thread Crystal Maramba
-Original Message- From: Igor Cicimov [mailto:icici...@gmail.com] Sent: Wednesday, December 04, 2013 6:54 PM To: Tomcat Users List Subject: Re: Expire Sesssion On 05/12/2013 9:47 AM, "Crystal Maramba" wrote: > > Version: Apache Tomcat 7.0.42 > Server: 2008r2 Standard > > How can I chan

Re: mod_proxy not redirecting servlet redirect properly

2013-12-05 Thread André Warnier
Konstantin Kolinko wrote: 2013/12/5 Ponmani : Hi I am very new to mod_proxy. Gone thru some tutorials and configured mod_proxy. Everything works great except this issue. Couldn't solve even after spending hrs in googling. Issue is - I have apache 2 in front of tomcat 6 (running in port 808

Re: Severe 7.0.47 startup performance regression

2013-12-05 Thread Rossen Stoyanchev
On Thu, Dec 5, 2013 at 10:57 AM, Mark Thomas wrote: > On 05/12/2013 14:22, Rossen Stoyanchev wrote: > > On Thu, Dec 5, 2013 at 7:05 AM, Mark Thomas wrote: > > > >> > >> There is also the programmatic interface to WebSockets so once there is > >> a way to disable the SCI, you can use the programm

RE: %F in AccessLogValve

2013-12-05 Thread francisco.sanmartin-gomez
Oh, thanks. Good to know. -Original Message- From: ext Daniel Mikusa [mailto:dmik...@gopivotal.com] Sent: jueves, 05 de diciembre de 2013 16:58 To: Tomcat Users List Subject: Re: %F in AccessLogValve On Dec 5, 2013, at 10:55 AM, Daniel Mikusa wrote: > On Dec 5, 2013, at 10:31 AM, franc

Re: %F in AccessLogValve

2013-12-05 Thread Daniel Mikusa
On Dec 5, 2013, at 10:55 AM, Daniel Mikusa wrote: > On Dec 5, 2013, at 10:31 AM, francisco.sanmartin-go...@here.com wrote: > >> Hello, >> >> I'm trying to use the %F in the AccessLogValve but all I'm getting in the >> logs is the string: "???F???" > > Seems like this option is not available i

RE: %F in AccessLogValve

2013-12-05 Thread Konstantin Preißer
Hi, > -Original Message- > From: francisco.sanmartin-go...@here.com [mailto:francisco.sanmartin- > go...@here.com] > Sent: Thursday, December 5, 2013 4:31 PM > I'm trying to use the %F in the AccessLogValve but all I'm getting in the > logs is > the string: "???F???" > > This is the con

Re: Severe 7.0.47 startup performance regression

2013-12-05 Thread Mark Thomas
On 05/12/2013 14:22, Rossen Stoyanchev wrote: > On Thu, Dec 5, 2013 at 7:05 AM, Mark Thomas wrote: > >> >> There is also the programmatic interface to WebSockets so once there is >> a way to disable the SCI, you can use the programmatic interface to set >> everything up. > > > Yes, the very exi

Re: %F in AccessLogValve

2013-12-05 Thread Daniel Mikusa
On Dec 5, 2013, at 10:31 AM, francisco.sanmartin-go...@here.com wrote: > Hello, > > I'm trying to use the %F in the AccessLogValve but all I'm getting in the > logs is the string: "???F???" Seems like this option is not available in your version. Have you tried the latest release? Dan > >

%F in AccessLogValve

2013-12-05 Thread francisco.sanmartin-gomez
Hello, I'm trying to use the %F in the AccessLogValve but all I'm getting in the logs is the string: "???F???" This is the configuration in server.xml And I'm using Name: tomcat7 Arch: noarch Version : 7.0.39 Any ideas? Thanks in advance. Kind regards,

Re: Tomcat 6 lib jars

2013-12-05 Thread Daniel Mikusa
On Dec 5, 2013, at 9:42 AM, "Patel, Rakesh (Java)" wrote: > Hi, > > I've come across lots of duplicate jars in the tomcat/lib directory on the > servers we have been given by our infrastructure people. > > The directory looks like this: > > -rw-r--r-- 1 root root 15153 Jul 20 2011 annotat

JNDI Realm and GSSAPI problems with TC 7

2013-12-05 Thread Hendrik Dev
Hi, i have a few questions about the JNDIRealm, GSSAPI (Kerberos 5 mech) authentication and the SPNEGO Authenticator Valve in TC 7.0.47: Preface: In the docs SPNEGO Authenticator Valve/JNDIRealm is called "30) Windows Authentication" but i guess its not only working for windows? I see no code whi

Tomcat 6 lib jars

2013-12-05 Thread Patel, Rakesh (Java)
Hi, I've come across lots of duplicate jars in the tomcat/lib directory on the servers we have been given by our infrastructure people. The directory looks like this: -rw-r--r-- 1 root root 15153 Jul 20 2011 annotations-api-6.0.24.jar lrwxrwxrwx 1 root root 26 Oct 29 17:05 annotations-a

Re: Severe 7.0.47 startup performance regression

2013-12-05 Thread Rossen Stoyanchev
On Thu, Dec 5, 2013 at 7:05 AM, Mark Thomas wrote: > > There is also the programmatic interface to WebSockets so once there is > a way to disable the SCI, you can use the programmatic interface to set > everything up. Yes, the very existence of a programmatic interface alternative more or less

Re: Severe 7.0.47 startup performance regression

2013-12-05 Thread Mark Thomas
On 05/12/2013 11:50, Johan Compagner wrote: >> >>> Does anyone know why this wasn't done by using services? (SPI) >>> So that we can directly point to a class that is the websocket or point >> to >>> a class that registers the websockets? >> >> The Java WebSocket 1.0 specification requires this be

Re: ssl on tomcat

2013-12-05 Thread André Warnier
Please do not top-post. It is annoying when someone is trying to figure out what you are talking about. Randeep wrote: Chris, Yes. I have so many http links as some of our old submitted apps used non secured http links. as the apps are in use we cannot change it. I cannot use any redirect rules

Re: Severe 7.0.47 startup performance regression

2013-12-05 Thread Johan Compagner
> > > Does anyone know why this wasn't done by using services? (SPI) > > So that we can directly point to a class that is the websocket or point > to > > a class that registers the websockets? > > The Java WebSocket 1.0 specification requires this behaviour. > > As has been pointed out previously,

Re: Severe 7.0.47 startup performance regression

2013-12-05 Thread Mark Thomas
On 05/12/2013 08:33, Johan Compagner wrote: >> >> >> Good. >> >> Remove the tomcat7-websocket.jar library if you do not need it. This >> library (added in 7.0.47, a JSR-356 Java WebSocket 1.0 implementation) >> has a ServletContainerInitializer and thus forces Tomcat to perform >> annotation scann

Re: Need Information regarding Apache Webserver static file configuration

2013-12-05 Thread Tapajyoti Roybarman
Hi Andre, I apologize for not following the mailing rule. Actually this is the first time that I am taking the help of such a forum. Before I begin asking you anything I want to thank you for such a detailed explanation. To begin with, answer to your question - "why do you want to serve these

Re: Severe 7.0.47 startup performance regression

2013-12-05 Thread Johan Compagner
> > > Good. > > Remove the tomcat7-websocket.jar library if you do not need it. This > library (added in 7.0.47, a JSR-356 Java WebSocket 1.0 implementation) > has a ServletContainerInitializer and thus forces Tomcat to perform > annotation scanning. > > Does anyone know why this wasn't done by us

Re: Severe 7.0.47 startup performance regression

2013-12-05 Thread Konstantin Kolinko
2013/12/5 David Rees : > Since upgrading to 7.0.47 from 7.0.42, I've seen a very severe > performance hit during startup. > > One Tomcat instance with a lot of webapps slowed down from ~33 seconds > to ~180 seconds. It appears to be related to jar-scanning - If I > change catalina.properties' > tom