Re: Wish to use an independent class module in Tomcat

2012-06-27 Thread Terence M. Bandoian
On 1:59 PM, Cotton, Joseph B wrote: My question may be covered by the Tomcat documentation and I am just confused by all the new terminology. I have spent hours in reading and still I am looking to an answer. We wish to have a class running on Tomcat that contains system wide info and

RE: Wish to use an independent class module in Tomcat

2012-06-28 Thread Terence M. Bandoian
On 1:59 PM, Cotton, Joseph B wrote: A link to the Tomcat documentation: http://tomcat.apache.org/tomcat-7.0-doc/appdev/deployment.html#Shared_Li brary_Files -Terence Bandoian Thanks, Terence. Now I have a related question... This is perhaps more a Java question than a Tomcat question. I

Context Documentation

2012-07-28 Thread Terence M. Bandoian
To make the context documentation page more readable, I suggest replacing the last preformatted block on the page with something like the following: div class=wrapped-code code lt;Context path=/mywebapp docBase=/Users/theuser/mywebapp/src/main/webappgt; div lt;Resources

Re: Happy Birthday, Chuck!

2012-07-28 Thread Terence M. Bandoian
On 1:59 PM, Leon Rosenberg wrote: Maybe a little bit late, but still! Happy Birthday Chuck! Leon On Thu, Jul 26, 2012 at 10:46 PM, Rainer Jungrainer.j...@kippdata.de wrote: On 26.07.2012 15:46, Gregor S. wrote: Hi Chuck, thanks again for your valuable comments on this list, and keep it up!

Context Documentation

2012-08-01 Thread Terence M. Bandoian
To make the context documentation page more readable, I suggest replacing the last preformatted block on the page with something like the following: div class=wrapped-code code lt;Context path=/mywebapp docBase=/Users/theuser/mywebapp/src/main/webappgt; div lt;Resources

Re: Context Documentation

2012-08-04 Thread Terence M. Bandoian
On 1:59 PM, Mark Thomas wrote: As a patch in diff -u format to the xml that generates those pages. Attach the patch to Bugzilla. Mark Submitted. Thanks for the pointer. -Terence Bandoian - To unsubscribe, e-mail:

Re: TOMCAT with multiple sites (one on https, others on http)

2012-08-07 Thread Terence M. Bandoian
On 1:59 PM, Massimo Chirivì - Ict Consultant wrote: What version of Tomcat are you using? 6.0.16 What *exactly* does 'not ok' mean? The https site is not responding Are there any errors in the log files? NO, I have Stop and Start TOMCAT, the log files Catalina.2012-08-07.txt is attach

Re: getRealPath returns null

2012-08-25 Thread Terence M. Bandoian
On 8/25/2012 7:01 AM, Konstantin Kolinko wrote: 2012/8/25 Mark Eggers its_toas...@yahoo.com: On 8/24/2012 2:55 PM, Konstantin Kolinko wrote: 2012/8/25 Mark Eggers its_toas...@yahoo.com: (...) An application makes use of a PDF library which generates PDFs from JSP pages. One of these pages

Re: How-to-achieve-url-maxtry-filter-in-apache-tomcat

2012-08-27 Thread Terence M. Bandoian
On 8/27/2012 2:17 AM, rathinasamy@snovabits.net wrote: Hi, Many thanks for your reply. I am asking something which should be done in apache tomcat configurations, Since I have not able to control that maxtry concept through my application (it is out of my app control) Through my app just

RE: Facing Memory leak - 64 bit Tomcat 6.0.35 with windows 2008 R2(64 bit JVM 1.6.0_33)

2012-09-05 Thread Terence M. Bandoian
On 9/5/2012 2:29 PM, PJ Delsh wrote: Chris and Tim, When we had Tomcat issues, every Tomcat professional we spoke to told us to drop Windows and move to Linux ASAP. We were told that Tomcat is more stable and less sensitive on Linux, and there are far better troubleshooting tools on Linux

Re: very basic question about apache and tomcat

2012-09-20 Thread Terence M. Bandoian
On 9/19/2012 6:38 PM, Jeff wrote: I have a related question since we recently implemented authentication to AD via LDAP in our Tomcat WebApp but it currently prompts the user for every new session, even if they are hitting the site from their windows workstation that is already authenticated to

Re: Re: very basic question about apache and tomcat

2012-09-20 Thread Terence M. Bandoian
On 9/20/2012 4:24 PM, Mark Thomas wrote: Terence M. Bandoian tere...@tmbsw.com wrote: On 9/19/2012 6:38 PM, Jeff wrote: I have a related question since we recently implemented authentication to AD via LDAP in our Tomcat WebApp but it currently prompts the user for every new session, even

Re: Handling requests when under load - ACCEPT and RST vs non-ACCEPT

2012-11-12 Thread Terence M. Bandoian
On 11/9/2012 1:41 PM, Christopher Schultz wrote: Closing the listening socket, as you seem to be now suggesting, is a very poor idea indeed: what happens if some other process grabs the port in the meantime: what is Tomcat supposed to do then? I haven't been following this thread closely

How The Weather Company survived a 1,000% traffic spike during Hurricane Sandy

2012-11-14 Thread Terence M. Bandoian
For anyone who might be interested: http://venturebeat.com/2012/11/02/how-the-weather-company-survived-a-1000-traffic-spike-during-hurricane-sandy/ It looks like Tomcat held up under heavy load. -Terence Bandoian - To

Re: Modify Cache-Control header

2012-11-18 Thread Terence M. Bandoian
On 11/16/2012 2:38 PM, Jose María Zaragoza wrote: Hi: I'm using Tomcat 6 ( I don't remember the exact release, I hope to be forgiven by Pid ) I need to modify Cache-Control header in some responses ( forcing them to not be cached ) What is the best way to do it ? a) To implement a Valve (

HttpServletReponse#sendError(int) behavior in ErrorReportValve

2012-11-24 Thread Terence M. Bandoian
On 11/23/2012 3:09 PM, Michael-O wrote: Hi, I've been struggling recently with this builtin valve and some Spring-based REST services. I some cases I do return states like 404 or 400. SendError seems to be the right thing to do but Tomcat alters the response with the HTML page. Which is

Context Path for a subdirectory

2012-11-30 Thread Terence M. Bandoian
On 11/29/2012 2:14 PM, Caldarale, Charles R wrote: From: Leo Donahue - RDSA IT [mailto:leodona...@mail.maricopa.gov] Subject: Context Path for a subdirectory If I have a webapp, with a www directory, and in that www directory are other directories, how would I restrict access to one of those

Context Path for a subdirectory

2012-11-30 Thread Terence M. Bandoian
On 11/30/2012 2:00 PM, Caldarale, Charles R wrote: From: Terence M. Bandoian [mailto:tere...@tmbsw.com] Subject: Context Path for a subdirectory A webapp can never be nested inside another, so what you're trying to do is nonsensical. I don't mean to be argumentative but, with Tomcat 6.0.29, I

Re: Context Path for a subdirectory

2012-12-03 Thread Terence M. Bandoian
On 12/2/2012 4:54 AM, Konstantin Kolinko wrote: 2012/11/30 Terence M. Bandoian tere...@tmbsw.com: Hi, Chuck- I don't mean to be argumentative but, with Tomcat 6.0.29, I found that static files from an images subdirectory of a web application were not cached by Internet Explorer 7

RE: JMS in a Tomcat Environment

2013-02-09 Thread Terence M. Bandoian
On 1/30/2013 3:27 PM, Jeff Sturm wrote: -Original Message- From: Williams, Nick [mailto:nicholas.willi...@ul.com] Sent: Wednesday, January 30, 2013 2:06 PM I'm curious. I know that, being open source, the Tomcat project generally welcomes volunteers who want to contribute features or

RE: [Seriously OT] Help in diagnosing server unresponsiveness

2013-02-09 Thread Terence M. Bandoian
On 2/6/2013 9:26 AM, Jeffrey Janner wrote: IMO, developer performance trumps runtime performance most of the time. So, if you can create a more maintainable system in less time by using EJB (or whatever), then you go ahead and do it: servers are cheap, while developer time is expensive. -

Re: [Seriously OT] Help in diagnosing server unresponsiveness

2013-02-11 Thread Terence M. Bandoian
On 2/10/2013 7:13 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Terrence, On 2/9/13 8:01 PM, Terence M. Bandoian wrote: On 2/6/2013 9:26 AM, Jeffrey Janner wrote: IMO, developer performance trumps runtime performance most of the time. So, if you can create

Re: [Seriously OT] Help in diagnosing server unresponsiveness

2013-02-13 Thread Terence M. Bandoian
On 2/12/2013 9:36 AM, Christopher Schultz wrote: On 2/11/13 4:30 PM, Terence M. Bandoian wrote: I understand the considerations above and they are a part of the prevailing thinking. However, one underlying assumption of the supporting argument appears to be that today's programmers

Re: [Seriously OT] Help in diagnosing server unresponsiveness

2013-02-21 Thread Terence M. Bandoian
On 2/12/2013 9:36 AM, Christopher Schultz wrote: On 2/11/13 4:30 PM, Terence M. Bandoian wrote: I understand the considerations above and they are a part of the prevailing thinking. However, one underlying assumption of the supporting argument appears to be that today's programmers

Re: Tomcat6 j_security_check any parameter / sessions variable on failure?

2013-02-26 Thread Terence M. Bandoian
On 2/25/2013 2:54 AM, Tanmoy Chatterjee wrote: Hello, Tech Stack: Tomcat: 6.0.35 Java: 1.6.0_18 OS: RHEL 5.3 I am using j_security_check (JNDIRealm - LDAP authentication). On failure I am sending the user to a common error.jsp in the application. On successful

Re: Tomcat 7 doesn't start on Windows

2013-02-26 Thread Terence M. Bandoian
On 2/26/2013 6:04 AM, Rune Stilling wrote: Hi list I have been trying to get this to work by looking a lot on similar situations around the net but nothing works. My setup is as follows: * Tomcat 7.0.37 installed via the Windows service installer package * Windows 2003 server * Java/JRE

Re: runtime.exec cmd.exe /C net use

2013-03-26 Thread Terence M. Bandoian
On 3/26/2013 8:40 AM, chris derham wrote: This thread has been going on for some time now, but why are you using drive letters? Can't you just use unc paths and remove all of these issues you are having? I searched the thread for UNC and can't see that this was asked, but seems like a sensible

RE: Question on servlet determination

2013-04-27 Thread Terence M. Bandoian
On 4/25/2013 12:52 PM, Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Question on servlet determination http://localhost:8080/examples/servlets/servlet/RequestInfoExample I get the example page with pathInfo=ll

Re: Form Authentication and Cache-Control

2013-06-27 Thread Terence M. Bandoian
On 6/27/2013 9:37 AM, Jan Vávra wrote: Hi. Note that Cache-Control:private does not disable caching. Instead, it disables public-caching for proxies. The browser is still free to cache the document in certain ways. True disabling of the cache would be to set Cache-Control to no-cache or

Re: Moving Tomcat to work externally.

2013-07-12 Thread Terence M. Bandoian
On 7/11/2013 6:46 PM, Mark Eggers wrote: Comments mostly inline. Lots at the end - channeling James Fenimore Cooper. On 7/11/2013 3:26 PM, Mark Eggers wrote: On 7/11/2013 3:06 PM, Caldarale, Charles R wrote: From: john Matlock [mailto:johndmatl...@gmail.com] Subject: Re: Moving Tomcat to

Re: Moving Tomcat to work externally.

2013-07-13 Thread Terence M. Bandoian
On 7/12/2013 10:52 AM, Terence M. Bandoian wrote: On 7/11/2013 6:46 PM, Mark Eggers wrote: Comments mostly inline. Lots at the end - channeling James Fenimore Cooper. On 7/11/2013 3:26 PM, Mark Eggers wrote: On 7/11/2013 3:06 PM, Caldarale, Charles R wrote: From: john Matlock

Re: JSP in Static Resources

2013-07-13 Thread Terence M. Bandoian
On 7/13/2013 9:29 AM, André Warnier wrote: Alireza Fattahi wrote: Hi, My situation is this: The site which i work should work in RTL and LTR modes ( I am using YAML for layout) The site.css should have this for LTR: @import url(../yaml/navigation/hlist.css); @import

Re: JSP in Static Resources

2013-07-14 Thread Terence M. Bandoian
On 7/13/2013 10:56 PM, Alireza Fattahi wrote: Guys please concentrate on the main issue !! I ask again: When you set jsp servlet to process the css files by adding: servlet-mapping servlet-namejsp/servlet-name url-pattern*.css/url-pattern /servlet-mapping The tomcat does not

Re: Keeping user roles in different realm than users

2013-09-25 Thread Terence M. Bandoian
On 9/25/2013 7:49 AM, attr wrote: Is it possible to authenticate a user against one realm (i.e.: LDAP) but authorize (obtain roles the user belongs to) against another realm (i.e. database)? Any other solutions than writing an error-prone homegrown one that will allow to keep users in one

Re: Multi-URL Access 1 Webapp

2013-11-01 Thread Terence M. Bandoian
On 10/31/2013 2:30 PM, Chris Arnold wrote: mod_rewrite is what's adding the extra /share/ RewriteRule ^/(.*) https://192.168.123.3:8443/share/$1 [P] should be something like either: RewriteRule ^/(.*) https://192.168.123.3:8443/$1 [P] This takes me to the tomcat home page, / or:

Re: how to reply

2013-11-06 Thread Terence M. Bandoian
On 11/6/2013 3:18 PM, Jay Vee wrote: I subscribed to this email list using the digest format; How do I freaking reply now? I see a reply to a previous response, to construct a reply I have to cut-copy-paste into another message. It's not easy. Can you people install forum software already

Re: (working) high load (100K+) websocket + NIO connector setting comparison on 1 Tomcat 7 instance

2013-11-07 Thread Terence M. Bandoian
On 11/7/2013 12:51 PM, Mark Thomas wrote: On 07/11/2013 18:20, Bob DeRemer wrote: Guys, I wanted to follow back around on some of the websocket load testing we’ve been doing in EC2.The good news is, we were able to get 100K websockets connected directly to a single Tomcat instance

Re: Tomcat session with uncertain problem

2013-11-11 Thread Terence M. Bandoian
On 11/11/2013 2:29 PM, Jose Irrazabal wrote: Thanks for the reply I generate the session in a servlet in doPost method that would be: protected void doPost ( HttpServletRequest request , HttpServletResponse response) throws ServletException , IOException { */ / create the

Re: Tomcat session with uncertain problem

2013-11-13 Thread Terence M. Bandoian
On 11/11/2013 3:58 PM, Christopher Schultz wrote: Terrence, On 11/11/13, 4:31 PM, Terence M. Bandoian wrote: On 11/11/2013 2:29 PM, Jose Irrazabal wrote: Thanks for the reply I generate the session in a servlet in doPost method that would be: protected void doPost

Re: TLS is not working in 6.0.37, 7.0.42, 7.0.47

2014-01-04 Thread Terence M. Bandoian
On 1/4/2014 3:08 PM, Christopher Schultz wrote: Musassir, On 1/3/14, 5:27 PM, Mudassir Aftab wrote: Again, we have to submit this as a bug.TLS 1.2 is not working in Tomcat Tomcat 7.0.74 Oracle Java 1.7.0_45 tcnative 1.1.29 trunk (essentially 1.2.29 tcnative$ make clean tcnative$

Re: TLS is not working in 6.0.37, 7.0.42, 7.0.47

2014-01-04 Thread Terence M. Bandoian
On 1/4/2014 3:08 PM, Christopher Schultz wrote: Musassir, On 1/3/14, 5:27 PM, Mudassir Aftab wrote: Again, we have to submit this as a bug.TLS 1.2 is not working in Tomcat Tomcat 7.0.74 Oracle Java 1.7.0_45 tcnative 1.1.29 trunk (essentially 1.2.29 tcnative$ make clean tcnative$

RE: [tomcat7] rhel 6 - init.d script works; does not start on reboot

2014-01-15 Thread Terence M. Bandoian
On 1/15/2014 11:46 AM, Bush, Eddie wrote: Great feedback, Mark! Thanks! As this will be for a single app, I'm not concerned with having quite as complex of a setup as you do. The box does not seem to have selinux enabled: [ebush@tuldgskap01 ~]$ selinuxenabled [ebush@tuldgskap01 ~]$ echo $?

Re: Oracle Application Server 10g R3 works fine with RK-1048 codepage but Tomcat 7.0.47 does not.

2014-01-15 Thread Terence M. Bandoian
On 1/15/2014 10:13 AM, Тимур Кулибаев wrote: Hello, Chris ! I applied settings you adviced: Don't you want user.langauge=RU user.country=kz? [oracle@n36 logs]$ echo $JAVA_OPTS -XX:MaxPermSize=128M -Xms256m -Xmx1024m -Duser.language=RU -Duser.country=kz But our java-application gives

Re: Oracle Application Server 10g R3 works fine with RK-1048 codepage but Tomcat 7.0.47 does not.

2014-01-16 Thread Terence M. Bandoian
On 1/16/2014 7:23 PM, Тимур Кулибаев wrote: Hello, Chris ! Thank you for your response. Below are answers to your questions. +++If the data is correctly-stored in the database (as verified by some +++other means), does the fetched-data display correctly in your web pages? Yes, data is

Re: Tomcat and Spring Framework

2014-03-09 Thread Terence M. Bandoian
On 3/7/2014 4:45 PM, Leo Donahue wrote: On Fri, Mar 7, 2014 at 3:41 PM, Konstantin Kolinko knst.koli...@gmail.comwrote: 2014-03-08 2:30 GMT+04:00 Leo Donahue donahu...@gmail.com: Any Spring developers on the list?

Re: simple way to access application in multi instance envirnoment

2014-03-09 Thread Terence M. Bandoian
On 3/9/2014 10:05 AM, Neven Cvetkovic wrote: Ahmed, On Sun, Mar 9, 2014 at 10:14 AM, Ahmed Dalatony ahmed.dalat...@gmail.comwrote: hello, can you help me little more with example or simpler doc i'm new to tomcat config and i don't understand virtual host thank you Ultimately, if you

Re: Tomcat 7 : Configure redirect url for session timeout

2014-03-16 Thread Terence M. Bandoian
On 3/14/2014 6:18 PM, Akash Jain wrote: I want to redirect user to / with a query parameter to indicate that session has timed out. On Fri, Mar 14, 2014 at 4:01 PM, Leo Donahue donahu...@gmail.com wrote: On Fri, Mar 14, 2014 at 3:48 PM, Akash Jain akash.delh...@gmail.com wrote: Leo, If any

Re: AW: AW: tomcat-connectors-1.2.39-windows-x86_64-iis does not work

2014-04-04 Thread Terence M. Bandoian
On 4/4/2014 5:52 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jeffrey, On 4/4/14, 1:09 PM, Jeffrey Janner wrote: -Original Message- From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Sent: Friday, April 04, 2014 12:04 PM To: 'Tomcat Users List'

Re: Configuration question

2014-04-17 Thread Terence M. Bandoian
On 4/17/2014 9:01 AM, Mark Murphy wrote: Here is the configuration, as you can see the default host is set and the IP is not aliased. in server.xml ... Connector port=80 protocol=HTTP/1.1 connectionTimeout=2 redirectPort=443 / ... Connector

Re: CORS issue with Tomcat and Android Webview

2014-04-22 Thread Terence M. Bandoian
On 4/22/2014 11:03 AM, Ankit Singhal wrote: Also we tried to give the same call from Android App to some different Node server and things worked fine. So it seems some problem with Tomcat only. On Tue, Apr 22, 2014 at 9:22 PM, Ankit Singhal ankising...@gmail.comwrote: Hi All I am facing a

Re: CORS issue with Tomcat and Android Webview

2014-04-24 Thread Terence M. Bandoian
On 4/22/2014 1:37 PM, Jose María Zaragoza wrote: -- Forwarded message -- From: Terence M. Bandoian tere...@tmbsw.com Date: 2014-04-22 20:12 GMT+02:00 Subject: Re: CORS issue with Tomcat and Android Webview To: Tomcat Users List users@tomcat.apache.org On 4/22/2014 11:03 AM

Re: CORS issue with Tomcat and Android Webview

2014-04-24 Thread Terence M. Bandoian
On 4/24/2014 1:14 PM, Jose María Zaragoza wrote: 2014-04-24 19:00 GMT+02:00 Terence M. Bandoian tere...@tmbsw.com: On 4/22/2014 1:37 PM, Jose María Zaragoza wrote: -- Forwarded message -- From: Terence M. Bandoian tere...@tmbsw.com Date: 2014-04-22 20:12 GMT+02:00 Subject: Re

Re: lean and mean Tomcat 7 configuration

2014-04-24 Thread Terence M. Bandoian
On 4/24/2014 10:52 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 4/24/14, 9:16 AM, André Warnier wrote: Starting from a vanilla current Tomcat 7 download (*), on a Linux server I have looked at the on-line Configuration documentation of Tomcat 7,

Re: CORS issue with Tomcat and Android Webview

2014-04-25 Thread Terence M. Bandoian
to a message, please do so at the bottom of the message or inline, as I've done here. Additional information may be found on the Tomcat web site: http://tomcat.apache.org/lists.html#tomcat-users Hope that helps. -Terence Bandoian On Fri, Apr 25, 2014 at 1:36 AM, Terence M. Bandoian tere

Re: CORS issue with Tomcat and Android Webview

2014-04-26 Thread Terence M. Bandoian
On 4/26/2014 1:13 AM, Ankit Singhal wrote: On Sat, Apr 26, 2014 at 12:53 AM, Terence M. Bandoian tere...@tmbsw.comwrote: On 4/24/2014 11:16 PM, Ankit Singhal wrote: Hi I did more research on this and figure out the issue.If you see the headers from Android and look into Origin Header

Re: CORS issue with Tomcat and Android Webview

2014-04-28 Thread Terence M. Bandoian
On 4/27/2014 11:36 AM, Konstantin Kolinko wrote: 2014-04-27 0:50 GMT+04:00 Terence M. Bandoian tere...@tmbsw.com: On 4/26/2014 1:13 AM, Ankit Singhal wrote: On Sat, Apr 26, 2014 at 12:53 AM, Terence M. Bandoian Hi, Ankit- Where did you see accept-origin documented? I see an init-param named

Re: CORS issue with Tomcat and Android Webview

2014-04-28 Thread Terence M. Bandoian
, Terence M. Bandoian tere...@tmbsw.comwrote: On 4/24/2014 11:16 PM, Ankit Singhal wrote: Hi I did more research on this and figure out the issue.If you see the headers from Android and look into Origin Header. Origin: file:// Tomcat CORS filter tries to validate the URI in Origin header

Re: CORS issue with Tomcat and Android Webview

2014-04-28 Thread Terence M. Bandoian
On 4/28/2014 3:21 PM, Konstantin Kolinko wrote: 2014-04-28 23:44 GMT+04:00 Terence M. Bandoian tere...@tmbsw.com: On 4/27/2014 11:36 AM, Konstantin Kolinko wrote: 2014-04-27 0:50 GMT+04:00 Terence M. Bandoian tere...@tmbsw.com: On 4/26/2014 1:13 AM, Ankit Singhal wrote: On Sat, Apr 26, 2014

Re: CORS issue with Tomcat and Android Webview

2014-04-28 Thread Terence M. Bandoian
On 4/28/2014 3:08 PM, Jose María Zaragoza wrote: 2014-04-28 21:55 GMT+02:00 Terence M. Bandoian tere...@tmbsw.com: On 4/26/2014 6:56 AM, Jose María Zaragoza wrote: 2014-04-26 13:16 GMT+02:00 Martin Gainty mgai...@hotmail.com: Date: Sat, 26 Apr 2014 11:43:05 +0530 Subject: Re: CORS issue

Re: CORS issue with Tomcat and Android Webview

2014-04-28 Thread Terence M. Bandoian
On 4/28/2014 5:32 PM, Terence M. Bandoian wrote: On 4/28/2014 3:08 PM, Jose María Zaragoza wrote: 2014-04-28 21:55 GMT+02:00 Terence M. Bandoian tere...@tmbsw.com: On 4/26/2014 6:56 AM, Jose María Zaragoza wrote: 2014-04-26 13:16 GMT+02:00 Martin Gainty mgai...@hotmail.com: Date: Sat, 26 Apr

Re: CORS issue with Tomcat and Android Webview

2014-04-30 Thread Terence M. Bandoian
On 4/29/2014 3:48 AM, Jose María Zaragoza wrote: 2014-04-29 0:38 GMT+02:00 Terence M. Bandoian tere...@tmbsw.com: On 4/28/2014 5:32 PM, Terence M. Bandoian wrote: On 4/28/2014 3:08 PM, Jose María Zaragoza wrote: 2014-04-28 21:55 GMT+02:00 Terence M. Bandoian tere...@tmbsw.com: On 4/26/2014 6

Re: Setup Issue tomcat 6 SLES 11 SSL

2014-04-30 Thread Terence M. Bandoian
On 4/30/2014 9:02 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Vincent, On 4/29/14, 4:24 PM, Vincent T. DiScipio wrote: I have setup tomcat 6 on SLES 11 and secured the instance with an external certificate if authority. The following is occurring from the

Re: CORS issue with Tomcat and Android Webview

2014-04-30 Thread Terence M. Bandoian
On 4/28/2014 3:21 PM, Konstantin Kolinko wrote: 2014-04-28 23:44 GMT+04:00 Terence M. Bandoian tere...@tmbsw.com: On 4/27/2014 11:36 AM, Konstantin Kolinko wrote: 2014-04-27 0:50 GMT+04:00 Terence M. Bandoian tere...@tmbsw.com: On 4/26/2014 1:13 AM, Ankit Singhal wrote: On Sat, Apr 26, 2014

RE: Setup Issue tomcat 6 SLES 11 SSL

2014-05-01 Thread Terence M. Bandoian
of Wooster P - 330-263-2612 F - 330-263-2666 -Original Message- From: Terence M. Bandoian [mailto:tere...@tmbsw.com] Sent: Wednesday, April 30, 2014 3:01 PM To: Tomcat Users List Subject: Re: Setup Issue tomcat 6 SLES 11 SSL On 4/30/2014 9:02 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED

Re: No activity on tomcat.users since Tues?

2014-05-12 Thread Terence M. Bandoian
On 5/11/2014 7:56 AM, Konstantin Kolinko wrote: 2014-05-10 22:54 GMT+04:00 Tim Watts t...@cliftonfarm.org: Markmail seems to confirm this but kind of remarkable, huh? I think the user community should get a promotion in recognition of our quantum leap in tomcat problem-solving skills! (Or

Re: where find documentation

2014-05-16 Thread Terence M. Bandoian
On 5/15/2014 8:05 AM, Francesco Viscomi wrote: Hi all, i'm try to find a documentation that describe every tag inside the web.xml file, but i wasn't able to find anything about that on http://tomcat.apache.org/tomcat-5.5-doc/config/context.html someone can help me? thanks in advance; Francesco

Re: Session fixation Tomcat 7

2014-05-16 Thread Terence M. Bandoian
On 5/8/2014 8:56 PM, Akash Jain wrote: Hi, I am trying to resolve session fixation issue with tomcat 7.0.52 We have a Spring MVC application running on it, and the Auth method is provided by another application which writes cookie, and we use the cookie value to check whether the user is valid

RE: Tomcat dependency on application server

2014-05-17 Thread Terence M. Bandoian
On 5/17/2014 4:35 AM, Randhir Singh wrote: I have 1 observation. In our developmental environment, I killed the Tomcat process and started the Tomcat it worked. But in the production environment, starting Tomcat was not enough and I had to restart JBoss Tomcat in sequence for Tomcat to be up.

Re: tomcat6 thread locked

2014-05-21 Thread Terence M. Bandoian
On 5/20/2014 8:28 PM, devoss ind wrote: Hi Christopher, Can you suggest stable tomcat and jvm versions. Regards, Devoss. On 20 May 2014 21:32, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Devoss, On 5/19/14, 2:43 AM, devoss ind

Re: Tomcat is down or refused connection

2014-05-23 Thread Terence M. Bandoian
On 5/23/2014 1:22 AM, Ballarpure, Akshay (EXT-Tata Consultancy Ser - IN/Hyderabad) wrote: Hello, Soap request is failing with below message in our application. 2014/05/20 06:48:43 [ERROR] (browse_csl) failed to reach startSearch service, soapRC 502 2014/05/20 06:48:43 [ERROR]

Re: Webapps directory query

2014-06-20 Thread Terence M. Bandoian
On 6/20/2014 12:53 AM, vicky wrote: Thanks Mark, but it doesn't have the details of scenario when we'll carry out a redeployment along with a restart/ How the exploded directories will then be updated , is it only the files are going to be updated within it ? Please give some directions.

Re: Browsers suddenly start timing out when accessing port 80 of secure site

2014-06-26 Thread Terence M. Bandoian
On 6/24/2014 12:25 PM, Bruce Lombardi wrote: Thanks for the response Konstantinos. I'll look into the HSTS header. The behavior you describe may be what is happening. Bruce Sent from my iPad On Jun 24, 2014, at 8:51 AM, Konstantin Preißer kpreis...@apache.org wrote: Hi, -Original

Re: Host appBase vs Context docBase

2014-07-05 Thread Terence M. Bandoian
On 7/4/2014 9:04 PM, Igal @ getRailo.org wrote: I'm a little confused about the Host appBase attribute. Let's say that my website resides in D:\www\site1 I don't like using {Tomcat}/webapps so I don't want to have it as a base directory for websites. What I've been doing so far is create an

Re: Host appBase vs Context docBase

2014-07-07 Thread Terence M. Bandoian
On 7/5/2014 9:48 AM, Terence M. Bandoian wrote: On 7/4/2014 9:04 PM, Igal @ getRailo.org wrote: I'm a little confused about the Host appBase attribute. Let's say that my website resides in D:\www\site1 I don't like using {Tomcat}/webapps so I don't want to have it as a base directory for websites

Re: Problem with Transfer-Encoding

2014-07-07 Thread Terence M. Bandoian
On 7/5/2014 6:36 PM, André Warnier wrote: Sushil Prusty wrote: Dear User Thanks for you input. You're welcome. First, a foreword : I will try my best to help you, but doing this is very difficult, and doing it via email is even more difficult. I was not kidding when I wrote earlier that

Re: Problem with Transfer-Encoding

2014-07-09 Thread Terence M. Bandoian
On 7/8/2014 2:52 AM, Konstantin Kolinko wrote: 2014-07-07 21:07 GMT+04:00 Terence M. Bandoian tere...@tmbsw.com: On 7/5/2014 6:36 PM, André Warnier wrote: I agree with André about the difficulties of debugging character encodings. A couple of things you might check are the character encodings

Re: Help understanding Session System Properties

2014-07-22 Thread Terence M. Bandoian
On 7/22/2014 9:36 AM, Felipe Jaekel wrote: I have a simple authentication logic in my applications, where I store the current user in the session and check with a filter if the current user value is not null. Eventually I see some null pointer exceptions in my Tomcat 7.0.47 that happened in JSF

Security Manager Exception

2014-07-23 Thread Terence M. Bandoian
On 7/22/2014 11:04 AM, George Sexton wrote: I'm using Tomcat 7.0.54 with the security manager. I'm getting an exception I don't understand: 2014-07-22 09:27:03,934 [http-bio-80-exec-64] ERROR org.apache.catalina.core.ContainerBase.[Catalina].[somehostname.mhsoftware.com].[/].[jsp]-

java.lang.IllegalArgumentException at java.nio.Buffer.limit

2014-08-07 Thread Terence M. Bandoian
On 8/7/2014 10:04 AM, John Smith wrote: TC 7.0.54 / RHEL 6 / JDK 1.7.0_60 I'm getting a pretty consistent error in my logs that started showing up recently. I use logback and have a servlet catch all 500 errors and log them. The error seems to be associated with one servlet that writes XML

Built-in Tomcat Support for Windows Authentication

2014-10-22 Thread Terence M. Bandoian
On 10/22/2014 4:40 AM, Philippe Wijdh wrote: Hello, We have spent a long time now, trying to set up Apache Tomcat with Windows Authentication. We followed the instructions as per http://tomcat.apache.org/tomcat-7.0-doc/windows-auth-howto.html but we cannot make it work properly, the logon

Re: How to access Sessions outside of class

2014-10-28 Thread Terence M. Bandoian
On 10/28/2014 9:36 AM, Jason Ricles wrote: Thanks Tim, That seems like the way to go. IT avoids us having to write our own protocols and everything and instead just code the logic for what action to take when a certain message is received. Hi, Jason- RMI seems reasonable if foo and bar

Re: HTTPS / URLs with no port number / Tomcat only

2014-10-28 Thread Terence M. Bandoian
On 10/28/2014 8:55 AM, Léa Massiot wrote: Christopher Schultz-2 wrote A bit of warning: when modifying iptables, you need to be very careful that you don't wipe-out any rules that allow you to gain remote access to the server. For instance, if you have a default rule to DROP all packets and an

Re: HTTPS / URLs with no port number / Tomcat only

2014-10-29 Thread Terence M. Bandoian
On 10/28/2014 5:59 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Terence, On 10/28/14 5:49 PM, Terence M. Bandoian wrote: On 10/28/2014 8:55 AM, Léa Massiot wrote: Christopher Schultz-2 wrote A bit of warning: when modifying iptables, you need to be very

Re: From HTTP to HTTPS request.getHeader(referer)

2014-11-01 Thread Terence M. Bandoian
On 10/31/2014 11:18 AM, Mark Eggers wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/31/2014 5:06 AM, Léa Massiot wrote: Hello and thank you for reading my post. I'm trying to make a webapp work with HTTPS. It was working properly with HTTP. Below is the problem I have. Inside a

Re: From HTTP to HTTPS request.getHeader(referer)

2014-11-03 Thread Terence M. Bandoian
On 11/2/2014 11:34 AM, Léa Massiot wrote: Hi again. It looks like sendRedirect() is working if I pass it a HTTPS URL as an argument: - String s_prov = request.getScheme() + :// + request.getServerName() + request.getContextPath() + / +

Re: From HTTP to HTTPS request.getHeader(referer)

2014-11-04 Thread Terence M. Bandoian
On 11/4/2014 4:46 AM, Léa Massiot wrote: Hi, Terence M. Bandoian wrote: I'm not sure how you're using it but it's worth pointing out that response.sendRedirect Sends a temporary redirect response to the client... The client (browser) must then send another request to the server before any

Re: Security Best Practices on Windows Service

2014-11-07 Thread Terence M. Bandoian
On 11/5/2014 1:34 PM, Igal @ getRailo.org wrote: hi, what are the security best practices for running Tomcat as a Windows Service? is the local system account safe or am I better off creating a new user and giving it write permissions only to the Tomcat runtime folders and read permissions to

Re: jsp page on Tomcat non loading css

2014-11-08 Thread Terence M. Bandoian
On 11/7/2014 7:55 PM, Daniel Baktiar wrote: Hi Alessandro, Is there any servlet filter running which modifies the Content-Type headers? Look at the web.xml for filter/ tag. Daniel Baktiar On Thu, Nov 6, 2014 at 7:04 PM, Alessandro Panzeri alessandro.panzer...@gmail.com wrote: I deployed a

My problem: I cannot successfully get or set a session attribute from a JSP file.

2014-12-08 Thread Terence M. Bandoian
On 12/6/2014 3:19 PM, Jim Anderson wrote: Hi to all, I am currently developing some server side JSP code. By and large, things are progressing and working well. I have gotten half way decent at debugging my java/javascript/jquery/jsp/HTML source code, but I have run into a problem in JSP

Re: Initialise application once

2014-12-22 Thread Terence M. Bandoian
On 12/21/2014 9:14 AM, Fabio Ricci wrote: Yes that made it THANK YOU very much!!! Grazie mille! Cheers Fabio Am 21.12.14 um 14:10 schrieb Alessandro Manzoni: Il 21.12.2014 13.38, Fabio Ricci ha scritto: Dear community I developed a tomcat JSP servlet which - say - instantiates a class,

Re: REST call failure on newer tomcat version/update

2014-12-22 Thread Terence M. Bandoian
On 12/22/2014 6:02 AM, Konstantin Kolinko wrote: 2014-12-19 20:49 GMT+03:00 Sean Dawson seandawson2...@gmail.com: Hello, We had a gwt app deployed and working with tomcat 7_42 and tried it recently in several configurations (Windows/Linux) with the latest update of 7 and it fails during a

Re: Tomcat 8, Apache 2.4, Tomcat Connector 1.2.40, Windows 7 home basic issue

2015-01-02 Thread Terence M. Bandoian
On 1/1/2015 9:20 AM, Sandip Gaikwad wrote: Hi, Following are entries in files. Please let me know what is going wrong. *workers.properties* worker.list=worker1 # Set properties for worker1 (ajp13) worker.worker1.type=ajp13 worker.worker1.host=localhost worker.worker1.port=8009

Re: AJP connector address vs. IPv4/6

2015-01-24 Thread Terence M. Bandoian
On 1/23/2015 3:05 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 1/23/15 3:35 PM, André Warnier wrote: Jess Holle wrote: It seems that java.net.InetAddress.getLoopbackAddress().getHostAddress() should give the right answer -- if one is running with

Re: [OT] Tomcat 8 encoding issues: unable to change the default encoding iso-8859-1 to utf-8 in http header

2015-01-26 Thread Terence M. Bandoian
On 1/25/2015 4:29 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, On 1/24/15 7:52 AM, André Warnier wrote: Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 André, ... Morality : in web applications, always specify the

Re: JSp dynamic include in tomcat 8.0.15

2015-01-26 Thread Terence M. Bandoian
On 1/25/2015 4:23 PM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Srikanth, On 1/24/15 12:03 AM, Srikanth Hugar wrote: When i include jsp:include page=/WEB-INF//countries.jsp / It does not work in tomcat 8.0.15. I think there are too many dots in

Re: login issue

2015-02-17 Thread Terence M. Bandoian
On 2/17/2015 9:51 AM, James McEvoy wrote: Checked logs, added admin and manager to all needed files and added url so it's ok for tomcat to use and still rejected when Logging in. Stumped. I started and stopped it etc. Hi, James- You might try posting the new contents of tomcat-users.xml

RE: tomcat errors

2015-02-12 Thread Terence M. Bandoian
On 2/11/2015 7:53 AM, Wirth, Kevin wrote: The catalina log and the err logs are being written too -Original Message- From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] Sent: Wednesday, February 11, 2015 6:28 AM To: Tomcat Users List Subject: Re: tomcat errors 2015-02-10 22:45

Static files with default servlet in tomcat 8.0.9

2015-01-12 Thread Terence M. Bandoian
Please see my comments inline below. On 1/12/2015 8:55 AM, Srikanth Hugar wrote: Hello, I am trying to configure static files with default servlet in tomcat 8.0.9 but could not succeed. My directory structure in deployed webapp is: - WEB-INF - static -css -images -js -

Re: WorkManager replacement

2015-02-13 Thread Terence M. Bandoian
On 2/13/2015 8:52 AM, Kevin Hale Boyes wrote: I'll look into the timers for sure. I've also noticed that my application (lots of code) also uses Executors and ExecutorService so I might do something there. One of the things that WorkManager gave us, and we take advantage of, is a callback

Re: tomcat severe error when shutting down service but startup is clean

2015-02-13 Thread Terence M. Bandoian
On 2/13/2015 11:21 AM, David kerber wrote: On 2/13/2015 11:54 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 David, ... public static void unRegisterDrivers() { try { for ( EnumerationDriver drivers = DriverManager.getDrivers(); drivers.hasMoreElements(); )

<    1   2   3   >