SSL Not working on tomcat 5.5.29

2010-07-01 Thread kareem_s_m
Hi All, I am working on upgrading tomcat from 5.5.28 to 5.5.29 for one of the applications. I see that the website renders and works fine in 5.5.29 on port 8080 (non SSL) but with SSL (port 8443) the website doesnot run at all. When I try to see what's going on in Fiddle, I see 502 error. Also n

Re: using Servlet Filter to rewrite domain of JSESSIONID cookie?

2010-07-01 Thread Nikita Tovstoles
Yep, I realized as much and went exactly that route. However, i still think that altering (broadening) domain of JSESSIONID cookie is worthwhile. However, after looking at Tomcat src, it appears that creating a delegate for the internal Request is surprisingly non-trivial as there are protected fie

Re: "Application" vars -

2010-07-01 Thread Eric P
So it makes sense to go into what "disruption" means. I'm not 100% sure about the following, it would be good if a tomcat heavyweight would confirm/refute what I say. When you initiate a webapp reload, Tomcat waits for requests that have already started processing to terminate. This ensures that

Re: Implementing Connection Pooling

2010-07-01 Thread Andrew Laughlin
"For instance, if you're using your DataSource for container-managed authentication, you might not be able to set up your DataSource before any authentication attempts are being made." Good point Chris. I neglected to point out that I have a custom realm that performs authentication. "The one qu

Re: Tomcat 6.0.26

2010-07-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John, I think we might want to start again and work from the ground up. If you've been working in the dark-ages with the invoker servlet and non-packaged servlets, these things can pile up on you. First of all, make it a point to put all your servlet

Re: using Servlet Filter to rewrite domain of JSESSIONID cookie?

2010-07-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nikita, On 7/1/2010 6:37 PM, Nikita Tovstoles wrote: > I borrowed "sub-domain" from Google Analytics terminology. I have one > server, running one tomcat instance with one virtual host. That host is > running one app - a JS/html widget that is embedde

Re: Implementing Connection Pooling

2010-07-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 7/1/2010 6:06 PM, Caldarale, Charles R wrote: >> From: Andrew Laughlin [mailto:andrew.laugh...@gmail.com] >> Subject: Re: Implementing Connection Pooling >> >> The credentials for a database connection are specified per >> database. That is

Re: [OT] Using httpd's mod_rewrite with mod_jk

2010-07-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Terence, On 6/30/2010 11:14 PM, Terence M. Bandoian wrote: > Here's an alternative: > > RewriteCond %{HTTP_USER_AGENT} Firefox/ > RewriteCond %{HTTP_USER_AGENT} > !Firefox/(3\.0\.19|3\.5\.9|3\.6\.3)($|[^\.0-9]) > RewriteRule .* /bad-browser.jsp

Re: [OT] Using httpd's mod_rewrite with mod_jk

2010-07-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, On 7/1/2010 4:54 AM, Rainer Jung wrote: > Usually mod_rewrite is perfectly compatible with mod_jk. I must confess, > that I'm not 100% sure about the case, where you try to rewrite a > request that originally would have been handled by mod_jk

Re: Implementing Connection Pooling

2010-07-01 Thread Andrew Laughlin
Thanks for responding Charles. I'm looking at the code here --> http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/BasicDataSource.java?view=markup

Fw: Re: Tomcat 6.0.26 with Java 6 update 20 on Sun Solaris 5.8 Sparc - Web application unable to execute properly

2010-07-01 Thread rahul
In support of my email below, I am attaching the logs. As they are not in zip format, I hop they will not be removed. Else, I need to copy and paste each one of them :) --- On Fri, 7/2/10, rahul wrote: > From: rahul > Subject: Re: Tomcat 6.0.26 with Java 6 update 20 on Sun Solaris 5.8 Sparc -

Re: Tomcat 6.0.26 with Java 6 update 20 on Sun Solaris 5.8 Sparc - Web application unable to execute properly

2010-07-01 Thread rahul
This email contained a .zip file attachment. Raytheon does not allow email attachments that are considered likely to contain malicious code. For your protection this attachment has been removed. If this email is from an unknown source, please simply delete this email. If this email was expected

Re: Question about BASIC Authentication

2010-07-01 Thread Matthew Mauriello
Christopher, Great news (for me), seems the problem was that because I was using relative linking and sending the credentials to log the user in to SOLR the links on the landing page were being recreated with the same credentials in them so I just put in direct link locations in and and for the mo

Re: using Servlet Filter to rewrite domain of JSESSIONID cookie?

2010-07-01 Thread Nikita Tovstoles
I borrowed "sub-domain" from Google Analytics terminology. I have one server, running one tomcat instance with one virtual host. That host is running one app - a JS/html widget that is embedded on multiple sites. We need to track usage per-deployment (per site embedding the wiget). For (google) an

Re: using Servlet Filter to rewrite domain of JSESSIONID cookie?

2010-07-01 Thread André Warnier
Nikita Tovstoles wrote: thanks for the pointers. However, emptySessionPath - from what I can tell - only deals with paths (not domain). how could I use it do ignore subdomains? What I do not really understand in all this, is what the point is, of having the same JSESSIONID (and by extension,

RE: Implementing Connection Pooling

2010-07-01 Thread Caldarale, Charles R
> From: Andrew Laughlin [mailto:andrew.laugh...@gmail.com] > Subject: Re: Implementing Connection Pooling > > The credentials for a database connection are specified per > database. That is, user credentials are not used to get an > authenticated connection to the database. Notice OrgID is > th

Re: Implementing Connection Pooling

2010-07-01 Thread Andrew Laughlin
Thanks for responding Mikolaj. I may not completely understanding your response. The credentials for a database connection are specified per database. That is, user credentials are not used to get an authenticated connection to the database. Notice OrgID is the database name, username and passw

RE: Tomcat DBCP

2010-07-01 Thread Caldarale, Charles R
> From: Bill Davidson [mailto:bill...@gmail.com] > Subject: Re: Tomcat DBCP > > If we don't want to buy SpringSource tc, do we need to check > it out from SVN and build it? Not sure what the official status of the package is right now, but you can get it here: http://svn.apache.org/viewvc/tomc

Re: Implementing Connection Pooling

2010-07-01 Thread Mikolaj Rydzewski
Andrew Laughlin wrote: Notice no username or password entry exists. Here's the code to get a connection: Context ctx = new InitialContext(); org.apache.tomcat.dbcp.dbcp.BasicDataSource ds = (org.apache.tomcat.dbcp.dbcp.BasicDataSource)ctx.lookup( "java:comp/env/jdbc/DB" ); // These must be set

Implementing Connection Pooling

2010-07-01 Thread Andrew Laughlin
Just started using Tomcat 6.0.26 connected to MySQL 5.1. The MySql server contains a database for each organization. Each user that logs in, specifies an organization and is directed to the corresponding DB. I would like to employ connection pooling, with a small pool allocated to each database.

Re: Tomcat DBCP

2010-07-01 Thread Mark Thomas
On 01/07/2010 23:31, Bill Davidson wrote: On 6/9/2010 2:15 AM, Altanis Alexandros wrote: >I have been reading about the new Tomcat DBCP in a couple of blogs >lately, as I am interested in Connection Pooling for an application I am >working on. Here they are: > >http://vigilbose.blogspot.com/

Re: Tomcat DBCP

2010-07-01 Thread Bill Davidson
On 6/9/2010 2:15 AM, Altanis Alexandros wrote: >I have been reading about the new Tomcat DBCP in a couple of blogs >lately, as I am interested in Connection Pooling for an application I am >working on. Here they are: > >http://vigilbose.blogspot.com/2009/03/apache-commons-dbcp-and-tomcat-jdbc.html

Re: SSL and non SSL configuration on tomcat 6.0.26, confused

2010-07-01 Thread John-Paul Ranaudo
I wish I could provide more information. At least I have narrowed down the problem. I am having a meeting with the architects of both frameworks today so perhaps I'll get some details. Thanks. On Thu, Jul 1, 2010 at 2:54 PM, Pid wrote: > On 01/07/2010 19:38, John-Paul Ranaudo wrote: > > I did m

Re: Tomcat 6.0.26

2010-07-01 Thread Pid
On 01/07/2010 18:55, John Byrne wrote: > On 1 July 2010 16:25, Pid wrote: >> On 01/07/2010 15:52, John Byrne wrote: > > Hi Chuck > > Please find details of setup copied below > > > onsubmit = "return formCheck()"> This "formCheck" javascript function doesn't mangle the URL does it? > The a

Re: SSL and non SSL configuration on tomcat 6.0.26, confused

2010-07-01 Thread Pid
On 01/07/2010 19:38, John-Paul Ranaudo wrote: > I did more tracing and remote debugging and I was mistaken (too many > late nights). Each framework is sending us the request via port 80. The > problem comes from the fact the one of the frameworks uses HTTPS before > the load balancers so when we se

RE: Tomcat 6.0.26

2010-07-01 Thread Caldarale, Charles R
> From: John Byrne [mailto:jbmulti...@gmail.com] > Subject: Re: Tomcat 6.0.26 > > HTTP 404 STATUS > description The requested resource (/ukjava1900) is not available. So how is the webapp deployed? Location? Contents of its element (and its location)? - Chuck THIS COMMUNICATION MAY CONTAI

Re: using Servlet Filter to rewrite domain of JSESSIONID cookie?

2010-07-01 Thread Nikita Tovstoles
thanks for the pointers. However, emptySessionPath - from what I can tell - only deals with paths (not domain). how could I use it do ignore subdomains? On Thu, Jul 1, 2010 at 2:07 AM, Rainer Jung wrote: > On 01.07.2010 03:26, Christopher Schultz wrote: > >> -BEGIN PGP SIGNED MESSAGE-

Re: SSL and non SSL configuration on tomcat 6.0.26, confused

2010-07-01 Thread John-Paul Ranaudo
I did more tracing and remote debugging and I was mistaken (too many late nights). Each framework is sending us the request via port 80. The problem comes from the fact the one of the frameworks uses HTTPS before the load balancers so when we send back a redirect it is using the wrong scheme. HTTP

Re: Tomcat 6.0.26

2010-07-01 Thread John Byrne
On 1 July 2010 19:00, Caldarale, Charles R Dear Chuck Sincere apologies HTTP 404 STATUS description The requested resource (/ukjava1900) is not available. jOHN -- Mult-i-tel better by design. http://www.multitel.co.uk tel: 44(0)151 548 8122 fax: 44(0)709 210 1464 skype jcbyrne ---

Re: Tomcat 6.0.26

2010-07-01 Thread André Warnier
Caldarale, Charles R wrote: From: John Byrne [mailto:jbmulti...@gmail.com] Subject: Re: Tomcat 6.0.26 description The requested resource (/UkJava1900d=%22post%22) is not available. Which it certainly isn't - your URL is invalid. Perhaps you meant to try: /UkJava1900?=%22post%22 To me, it

RE: Tomcat 6.0.26

2010-07-01 Thread Caldarale, Charles R
> From: John Byrne [mailto:jbmulti...@gmail.com] > Subject: Re: Tomcat 6.0.26 > > description The requested resource (/UkJava1900d=%22post%22) > is not available. Which it certainly isn't - your URL is invalid. Perhaps you meant to try: /UkJava1900?=%22post%22 - Chuck THIS COMMUNICATION M

Re: Tomcat 6.0.26

2010-07-01 Thread John Byrne
On 1 July 2010 16:25, Pid wrote: > On 01/07/2010 15:52, John Byrne wrote: Hi Chuck Please find details of setup copied below The and tags both copied from webapps/myapp/WEB-INF/web.xml UkJava1900 formprocessors.UkJava1900 UkJava1900 /UkJava1900 http statu

Re: problem in deplyong war file

2010-07-01 Thread André Warnier
Pid wrote: On 01/07/2010 17:39, allensim wrote: Hi, I tried to deploying .war file into Tomcat, But when i login to the manager interface page, the running column, it shows "fail" . How can i make it to become "true" ? Please read: http://catb.org/esr/faqs/smart-questions.html ... then pro

Re: problem in deplyong war file

2010-07-01 Thread Pid
On 01/07/2010 17:39, allensim wrote: > > Hi, > I tried to deploying .war file into Tomcat, > But when i login to the manager interface page, the running column, it shows > "fail" . > How can i make it to become "true" ? Please read: http://catb.org/esr/faqs/smart-questions.html ... then provi

Re: Servlet mapping question -- way to include everythign EXCEPT a directory?

2010-07-01 Thread André Warnier
Caldarale, Charles R wrote: From: laredotornado [mailto:laredotorn...@gmail.com] Subject: RE: Servlet mapping question -- way to include everythign EXCEPT a directory? I like your idea about specifying the DefaultServlet, but what do you mean by the "DefaultServlet" ? Tomcat's built-in servle

problem in deplyong war file

2010-07-01 Thread allensim
Hi, I tried to deploying .war file into Tomcat, But when i login to the manager interface page, the running column, it shows "fail" . How can i make it to become "true" ? Please advice. Looking forward to hear from you. Thanks in advance, Allen -- View this message in context: http://old.nabbl

RE: Servlet mapping question -- way to include everythign EXCEPT a directory?

2010-07-01 Thread Caldarale, Charles R
> From: laredotornado [mailto:laredotorn...@gmail.com] > Subject: RE: Servlet mapping question -- way to include everythign > EXCEPT a directory? > > I like your idea about specifying the DefaultServlet, > but what do you mean by the "DefaultServlet" ? Tomcat's built-in servlet that handles all

Re: Servlet mapping question -- way to include everythign EXCEPT a directory?

2010-07-01 Thread Hassan Schroeder
On Thu, Jul 1, 2010 at 9:24 AM, laredotornado wrote: > > I like your idea about specifying the DefaultServlet, but what do you mean by > the "DefaultServlet" ? - Dave -- Hassan Schroeder hassan.schroe...@gmail.com t

RE: Servlet mapping question -- way to include everythign EXCEPT a directory?

2010-07-01 Thread laredotornado
I like your idea about specifying the DefaultServlet, but what do you mean by the "DefaultServlet" ? - Dave n828cl wrote: > >> From: laredotornado [mailto:laredotorn...@gmail.com] >> Subject: Servlet mapping question -- way to include everythign EXCEPT a >> directory? >> >> I don't know how

RE: JK connector and extra characters showing up

2010-07-01 Thread Caldarale, Charles R
> From: David Brown [mailto:captki...@gmail.com] > Subject: Re: JK connector and extra characters showing up > > Now here's what I'm seeing. In dump A (tomcat jk) in > packet 2 at line 00c0 look at the end of the line's > hex. It's 03 1f f8 40. Pay attention to the 1f f8, > it shows up latter.

Re: SSL and non SSL configuration on tomcat 6.0.26, confused

2010-07-01 Thread Pid
On 01/07/2010 16:01, John-Paul Ranaudo wrote: > I am confused no doubt. What you say here is correct: > > /"In your description of the issue so far, you've said that the > application *is* using SSL. The load-balancers might be terminating it > & forwarding unencrypted connections"/ > / > / > /I

RE: Servlet mapping question -- way to include everythign EXCEPT a directory?

2010-07-01 Thread Caldarale, Charles R
> From: laredotornado [mailto:laredotorn...@gmail.com] > Subject: Servlet mapping question -- way to include everythign EXCEPT a > directory? > > I don't know how to specify "not" in a mapping That's because you can't specify a "not". What you can do is specify what should handle /play/sports/i

Re: JK connector and extra characters showing up

2010-07-01 Thread David Brown
First let me thank everyone for looking at this. Now I'll try to answer some of the questions and clear up the confusion (if I can). All these dumps are from responses and not request. I'll post more complete dumps at he end of this message. The first one is the communications between tomcat an

Re: Tomcat 6.0.26

2010-07-01 Thread Pid
On 01/07/2010 15:52, John Byrne wrote: > Hi > > This is the first line in my java servlet ukjava1900 it compiles OK > > package formprocessors; > > is it complete? Yes. It wouldn't compile otherwise. 'UkJava1900' would be better than 'ukjava1900' > I attach copy of my web.xml which i think

RE: Tomcat 6.0.26

2010-07-01 Thread Caldarale, Charles R
> From: John Byrne [mailto:jbmulti...@gmail.com] > Subject: Re: Tomcat 6.0.26 > > is it complete? Not sure what you're asking. > I attach copy of my web.xml which i think is OK? No, your value is very, very wrong. It should be: formprocessors.ukjava1900 - Chuck THIS COMMUNICATION MAY CON

Servlet mapping question -- way to include everythign EXCEPT a directory?

2010-07-01 Thread laredotornado
Hi, I'm using Tomcat 6.0.26. I want to map all of my /play/sports/* files to a servlet, except the subdirectory, /play/sports/includes/*. I don't know how to specify "not" in a mapping, so I only have ... SportsSearchServlet /play/sports/* Wha

Re: SSL and non SSL configuration on tomcat 6.0.26, confused

2010-07-01 Thread John-Paul Ranaudo
I am confused no doubt. What you say here is correct: *"In your description of the issue so far, you've said that the application *is* using SSL. The load-balancers might be terminating it & forwarding unencrypted connections"* * * *I think I understand what you mean by redirecting. Our current c

Re: Change Tomcat's bind address?

2010-07-01 Thread Gaddour
Hi, to change tomcat's bind adress, add address in connector exemple: then to test, run netstat command [r...@localhost]# netstat -an | grep 8080 tcp0 0 192.168.1.10:80800.0.0.0:* LISTEN [r...@localhost]# Regards, Abdelkader YEDDES --

Re: Tomcat 6.0.26

2010-07-01 Thread John Byrne
Hi This is the first line in my java servlet ukjava1900 it compiles OK package formprocessors; is it complete? I attach copy of my web.xml which i think is OK? Kind regards John On 1 July 2010 14:08, Pid wrote: > On 01/07/2010 13:26, Shay Rojansky wrote: >> /servlet/com/multitel/ukjava1900

Re: InvokerServlet

2010-07-01 Thread André Warnier
Reinaldo wrote: Hello, Tomcat 7 don't have the implementation for the org.apache.catalina.servlets.InvokerServlet, do any reason? Maybe because of this : http://wiki.apache.org/tomcat/FAQ/Miscellaneous#Q3 - To unsubscribe, e

RE: InvokerServlet

2010-07-01 Thread Caldarale, Charles R
> From: Reinaldo [mailto:reinaldo.be...@gmail.com] > Subject: InvokerServlet > > Tomcat 7 don't have the implementation for the > org.apache.catalina.servlets.InvokerServlet, do any reason? Because it was a really stupid and dangerous idea from the beginning. Sorry it took so long to get rid of

Re: SSL and non SSL configuration on tomcat 6.0.26, confused

2010-07-01 Thread Pid
On 01/07/2010 14:49, John-Paul Ranaudo wrote: > That wont work either because like I said before, the application is not > really using SSL. The SSL is handled by the load balancers. Either I'm confused, or you are. In your description of the issue so far, you've said that the application *is* u

InvokerServlet

2010-07-01 Thread Reinaldo
Hello, Tomcat 7 don't have the implementation for the org.apache.catalina.servlets.InvokerServlet, do any reason? Bests regards, Reinaldo - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-m

Re: need help setting up tomcat with ssl client authentication

2010-07-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ralph, On 7/1/2010 9:28 AM, Ralph Carlson wrote: > I changed server.xml to: > > maxThreads="150" >scheme="https" >secure="true" >clientAuth="true" >keystoreFile="/

Re: SSL and non SSL configuration on tomcat 6.0.26, confused

2010-07-01 Thread John-Paul Ranaudo
That wont work either because like I said before, the application is not really using SSL. The SSL is handled by the load balancers. If we use anything that forces SSL it will fail for the other framework which does not use SSL. On Thu, Jul 1, 2010 at 3:59 AM, Pid wrote: > On 01/07/2010 08:49, J

RE: need help setting up tomcat with ssl client authentication

2010-07-01 Thread Ralph Carlson
I changed server.xml to: and now it works with all clients, firefox, openssl s_client, and php client thanks for you all your help, its much appreciated :) From: users-return-214184-racarlson=mediacomcc@tomcat.apache.org [users-return-214184-rac

Re: Tomcat 6.0.26 with Java 6 update 20 on Sun Solaris 5.8 Sparc - Web application unable to execute properly

2010-07-01 Thread Pid
On 01/07/2010 13:34, rahul wrote: > Hello Miki > > Thanks for your inputs. UNIX war means the war file deployed in UNIX > environment and Windows war means the war file deployed in Windows. So, as I > said that when I just transfer the war file from Windows to UNIX, it > mis-bheaves the way I s

Re: Tomcat 6.0.26

2010-07-01 Thread Pid
On 01/07/2010 13:26, Shay Rojansky wrote: > /servlet/com/multitel/ukjava1900). Change this to "/servlet/ukjava1900" according to the HTML form 'action' attribute. Also, a minor pedantic note: conventionally, classes are defined with capitalised names. So one would expect to see it called "com.

Re: Tomcat 6.0.26 with Java 6 update 20 on Sun Solaris 5.8 Sparc - Web application unable to execute properly

2010-07-01 Thread rahul
Hello Miki Thanks for your inputs. UNIX war means the war file deployed in UNIX environment and Windows war means the war file deployed in Windows. So, as I said that when I just transfer the war file from Windows to UNIX, it mis-bheaves the way I specified. On the other hand, if I transfer the

Re: Tomcat 6.0.26

2010-07-01 Thread Shay Rojansky
Hi. pid's right - you should really put your classes in packages (although I'm pretty sure it's not technically mandatory). But looking at your attached files, I think I see another problem - confusion between the Java class package and the servlet mapping. In the web.xml element, you reference

Re: Tomcat 6.0.26 with Java 6 update 20 on Sun Solaris 5.8 Sparc - Web application unable to execute properly

2010-07-01 Thread Mikolaj Rydzewski
rahul wrote: 1. Replacing the Windows war file with the one in UNIX, works fine. 2. Replacing the UNIX war file with that in Windows mis-behaves. Please clarify what windows-war and unix-war mean. So, in other words does it mean: If you take old war file, that runs on Tomcat 4.x, from Solar

Re: Tomcat 6.0.26

2010-07-01 Thread Pid
On 01/07/2010 10:48, John Byrne wrote: > Hi Shay > > Still having problems with reading html form with servlet. > > We only have a small number of servlets and would choose not to place > them in a package at this point in time. > > I understand your naming of package com.company.project, can yo

Re: Tomcat 6.0.26

2010-07-01 Thread John Byrne
Hi Shay Still having problems with reading html form with servlet. We only have a small number of servlets and would choose not to place them in a package at this point in time. I understand your naming of package com.company.project, can you replace com\mycompany\Myservlet.class. What is the li

Re: [OT] Using httpd's mod_rewrite with mod_jk

2010-07-01 Thread André Warnier
Rainer Jung wrote: On 30.06.2010 19:00, Christopher Schultz wrote: Slightly off-topic, but relevant. On our development servers, I'm trying to enforce a rule that all our users have the most up-to-date web browser available (yeah, it's an uphill battle, I know... just go with it). I decided to

Re: EL 2.2 in Tomcat 7 RC1/RC2 does not fully support method invocation, such as "#{helloWorldController.doSomething(helloWorldModel)}"

2010-07-01 Thread Mark Thomas
On 30/06/2010 09:15, Mark Thomas wrote: On 29/06/2010 22:32, Mark Thomas wrote: On 21/06/2010 15:16, John Wu wrote: Hi Mark, I just got a chance to test it on the Beta release. It's still broken, with a slightly different exception message. Confirmed. I'm pretty sure JSF is doing the right

Re: Docbase inside the host appBasehas been specified, and will be ignored

2010-07-01 Thread André Warnier
Ockleford Paul (NHS Connecting for Health) wrote: Ok, so if I am just working in development and only using classes outside of a war or a jar file how should I configure the application? If I remove those mappings how would tomcat know that a request for /LabCatalogue should be matched to my c

Re: using Servlet Filter to rewrite domain of JSESSIONID cookie?

2010-07-01 Thread Rainer Jung
On 01.07.2010 03:26, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nikita, On 6/30/2010 6:20 PM, Nikita Tovstoles wrote: I'd like to make session cookie domain-wide, and ignore subdomains - in Tomcat 6. You could use the emptySessionPath="true" setting in your. ht

Re: JK connector and extra characters showing up

2010-07-01 Thread Rainer Jung
On 01.07.2010 03:00, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 6/30/2010 3:32 PM, David Brown wrote: Problem: Extra characters showing up in some content delivered from tomcat. I believe they are from the JK connector when it breaks up the content into

Re: [OT] Using httpd's mod_rewrite with mod_jk

2010-07-01 Thread Rainer Jung
On 30.06.2010 19:00, Christopher Schultz wrote: Slightly off-topic, but relevant. On our development servers, I'm trying to enforce a rule that all our users have the most up-to-date web browser available (yeah, it's an uphill battle, I know... just go with it). I decided to use mod_rewrite to

RE: Docbase inside the host appBasehas been specified, and will be ignored

2010-07-01 Thread Ockleford Paul (NHS Connecting for Health)
Ok, so if I am just working in development and only using classes outside of a war or a jar file how should I configure the application? If I remove those mappings how would tomcat know that a request for /LabCatalogue should be matched to my code in c:\\webapps\LabCatalogue? -Original Mess

Re: Docbase inside the host appBasehas been specified, and will be ignored

2010-07-01 Thread Pid
On 01/07/2010 09:06, Ockleford Paul (NHS Connecting for Health) wrote: > Hi, > > I am using tomcat 5.5 and I have deployed a web application that is working > fine, but on tomcat start up I have noticed this message. I have googled > around but it seems most people see this message and their web

Docbase inside the host appBasehas been specified, and will be ignored

2010-07-01 Thread Ockleford Paul (NHS Connecting for Health)
Hi, I am using tomcat 5.5 and I have deployed a web application that is working fine, but on tomcat start up I have noticed this message. I have googled around but it seems most people see this message and their web app doesn't work, mine does however work fine. Does anybody know why I am seei

Re: JK connector and extra characters showing up

2010-07-01 Thread André Warnier
Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: JK connector and extra characters showing up Those 4 extra characters are likely to be the chunk size. 31 66 66 38 is, well, "1ff8", which is 792 in decimal. Not on my calculator; would you

Re: SSL and non SSL configuration on tomcat 6.0.26, confused

2010-07-01 Thread Pid
On 01/07/2010 08:49, John-Paul Ranaudo wrote: > No we are not. If the SSL-only resources match a specific path, you can add a security-constraint which doesn't have user roles, but does have a transport-guarantee set to 'CONFIDENTIAL'. The container will automatically upgrade a matching request t

Re: SSL and non SSL configuration on tomcat 6.0.26, confused

2010-07-01 Thread John-Paul Ranaudo
No we are not. On 7/1/10, Pid wrote: > On 01/07/2010 03:42, John-Paul Ranaudo wrote: >> I have now realized the root of the problem. The cause of the problem is >> that the load balancer will sometimes proxy an HTTPS request as an HTTP >> request so when we send back a redirect we send it back wi

Re: SSL and non SSL configuration on tomcat 6.0.26, confused

2010-07-01 Thread Pid
On 01/07/2010 03:42, John-Paul Ranaudo wrote: > I have now realized the root of the problem. The cause of the problem is > that the load balancer will sometimes proxy an HTTPS request as an HTTP > request so when we send back a redirect we send it back with the wrong > scheme (HTTP). So here is my

Re: Question about BASIC Authentication

2010-07-01 Thread Pid
On 01/07/2010 02:30, Christopher Schultz wrote: > Matthew, > > On 6/30/2010 8:20 PM, Matthew Mauriello wrote: >> The behavior seems rather strange to me in fact, I've seen other websites >> run on what looks to be BASIC Authentication without popping these browser >> messages when leaving secured