Re: Valid values for digestEncoding attribute?

2011-01-28 Thread Pid
On 1/27/11 11:01 AM, Ing. Etienne V. Depasquale wrote: > I beg pardon...I should have included the following extract from my > context.xml file (with placeholders for database, user and password): > >driverName="org.gjt.mm.mysql.Driver" Are you really using such an old driver - I've got a

Re: Mod_JK inserted header case sensitivity issue

2011-01-28 Thread Jon Forster
Chuck Thanks for your input, that's an option that has of course occurred to me, but sadly I'm not in a position to use a different webserver, and although I would agree that MOD_JK is HTTP spec-compliant I would have to say that it's not NSAPI spec-compliant, and it's an NSAPI version of the plug

Re: Pid OpenSSO request for Tomcat Form Authentication that requires no password for third party SSO

2011-01-28 Thread Pid
On 1/27/11 3:57 PM, beau.hutche...@thomsonreuters.com wrote: > Chris: > Thanks for your reply. > Currently I am using Tomcat 6.0.29 > > @Pid: Would you have any ideas on how to set something up like this? What details are you providing to Tomcat? If I read the thread correctly you've got a sing

Re: Pid OpenSSO request for Tomcat Form Authentication that requires no password for third party SSO

2011-01-28 Thread André Warnier
Pid wrote: On 1/27/11 3:57 PM, beau.hutche...@thomsonreuters.com wrote: Chris: Thanks for your reply. Currently I am using Tomcat 6.0.29 @Pid: Would you have any ideas on how to set something up like this? What details are you providing to Tomcat? If I read the thread correctly you've got

Re: Mod_JK inserted header case sensitivity issue

2011-01-28 Thread Konstantin Kolinko
2011/1/28 Jon Forster : > 1. It's fixed by developers of MOD_JK. > 2. Oracle decide to do an about-face and change there NSAPI spec. > 3. I have to maintain my own fixed copy, other iPlanet users may experience > same issue and go through the pain I did tracking this down. 4. You create an issue i

Re: Mod_JK inserted header case sensitivity issue

2011-01-28 Thread Mladen Turk
On 01/28/2011 10:08 AM, Jon Forster wrote: I would have to say that it's not NSAPI spec-compliant, and it's an NSAPI version of the plugin after all, so I would export it to conform to the NSAPI spec. Is that somewhere officially documented. We do a whole sort of header manipulation for IIS,

Re: Tomcat reuses threads and connection instances

2011-01-28 Thread Pid
On 1/26/11 11:37 PM, Christopher Schultz wrote: > Blake, > > On 1/26/2011 4:05 PM, Blake McBride wrote: >> The first time a particular web service is called tomcat starts a thread to >> run it on and creates an instance of the class that implements the web >> service. All fine. However, if after

Re: Using logback for Tomcat internal logging

2011-01-28 Thread Brett Delle Grazie
Hi, On 27 January 2011 15:17, Roy McMorran wrote: > Can anyone point me to a document detailing how to replace Tomcat's internal > logging (via JULI) with logback?  Not for access logs, or the logging output > of webapps, but the Tomcat internal logging that ordinarily goes to > tomcat.log, etc.

RE: Valid values for digestEncoding attribute?

2011-01-28 Thread Ing. Etienne V. Depasquale
Hello Pid :) Time is relative to environment I guess...so how old is old for you? I downloaded the jar file from MySQL's site about the middle of 2010 and the jar file structures the class under org/gjt/mm/mysql. As regards the encoding - right you are and wrong it is. I was misled by a posting o

RE: Valid values for digestEncoding attribute?

2011-01-28 Thread Ing. Etienne V. Depasquale
Yes, I am using DIGEST authentication. But what about the www-authenticate HTTP/1.1 header that Tomcat sends over to the browser? Is it ignored by any browser, simply defaulting to MD5? Cheers, Etienne -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] S

SSL not working

2011-01-28 Thread spring
Hi, I did it now so many times - it always worked - configuring tomcat for SSL. Today: New server, new certificate. Create new keystore, imported root, intermediate and server certificate, configured the connector, same as usual. But... http does not work. No error in tomcats log, nothing. Brow

Re: java-process blocks cpu core to 100%

2011-01-28 Thread Christoph Balthaus
Sorry, not possible - it's running on a remote machine where I can just use the ibm package and in theirs JDK jstack is not included. Are there any other ways to get it via network? 2011/1/27 Christopher Schultz > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Chris, > > On 1/26/2011 12:05

Re: java-process blocks cpu core to 100%

2011-01-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris, On 1/28/2011 9:16 AM, Christoph Balthaus wrote: > Sorry, not possible - it's running on a remote machine where I can just use > the ibm package and in theirs JDK jstack is not included. > Are there any other ways to get it via network? You cou

Re: Valid values for digestEncoding attribute?

2011-01-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Etienne, On 1/28/2011 7:59 AM, Ing. Etienne V. Depasquale wrote: > Yes, I am using DIGEST authentication. > > But what about the www-authenticate HTTP/1.1 header that Tomcat sends over > to the browser? Is it ignored by any browser, simply defaulting

Re: [OT] Valid values for digestEncoding attribute?

2011-01-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Pid, On 1/28/2011 3:39 AM, Pid wrote: > On 1/27/11 11:01 AM, Ing. Etienne V. Depasquale wrote: >> I beg pardon...I should have included the following extract from my >> context.xml file (with placeholders for database, user and password): >> >> >

Re: Valid values for digestEncoding attribute?

2011-01-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Etienne, On 1/28/2011 7:55 AM, Ing. Etienne V. Depasquale wrote: > The real problem lies in the fact that Tomcat does not specify any digest > algorithm in the www-authenticate header of HTTP/1.1, which leads the > browser to digest the password using

RE: java-process blocks cpu core to 100%

2011-01-28 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: java-process blocks cpu core to 100% > Warning: the NIO connector appears to be broken in 6.0.30 > and looks like it will be in 6.0.31. Clarification: the NIO connector is quite usable in 6.0.31, but will likely p

RE: SSL not working

2011-01-28 Thread Jeffrey Janner
Probably a server config issue, and not SSL. Please provide details of the new environment. > -Original Message- > From: spr...@gmx.eu [mailto:spr...@gmx.eu] > Sent: Friday, January 28, 2011 7:06 AM > To: 'Tomcat Users List' > Subject: SSL not working > > Hi, > > I did it now so many tim

Re: SSL not working

2011-01-28 Thread Thad Humphries
I've been fooling around *a lot* lately with SSL, so I thought I'd give this a try. I'm not very experienced, but I'll offer my two cents. First of all, what version of Tomcat, Java, etc. are you running? Such a statement is *de rigueur* for practically any question to this forum. My system looks

RE: SSL not working

2011-01-28 Thread spring
Hi, it is TC 7.0.5, Java 1.6_22. When I use a selfsigned certificate everything is fine - same server config, just the other certificate. So it must be something wrong with the certificate. But I have no clue what. How can I debug the SSL-Handshake process? The cert not working has: #7: Object

deploying a war file and starting the application

2011-01-28 Thread Robert.Jenkin
Hello all, hope all of you are having a good day.. I have downloaded and configured Tomcat 7. All appears to be working. I have deployed a war file that currently works with WebSphere 7 and WebLogic 11g. The first issue I had was with url-pattern. It appears that Tomcat requires they start wit

RE: SSL not working

2011-01-28 Thread spring
OK, i enabled ssl-debug an got this: Using SSLEngineImpl. http-8443-exec-6, READ: TLSv1 Handshake, length = 72 *** ClientHello, TLSv1 RandomCookie: GMT: 1296237960 bytes = { 29, 26, 93, 201, 51, 195, 57, 220, 172, 159, 182, 24, 23, 109, 229, 241, 219, 44, 93, 9, 215, 107, 176, 92, 192, 250, 134,

RE: Pid OpenSSO request for Tomcat Form Authentication that requires no password for third party SSO

2011-01-28 Thread beau.hutcheson
@Pid: The SSo third party app knows the SSO entry point into my Tomcat app. I am supplied an encrypted token which contains the username and my tomcat app has the libraries to unencrypt that token and unveil the username @Andre: Ideally it would seem most convenient to access j_security_check wi

secure TLS renegotiation

2011-01-28 Thread Olaf Tomczak
Hello, Does Tomcat support the so called "secure TLS renegotiation"? If so, what should I configure to use it? Currently when connecting to my application using secure connection most browsers complain about my server software being "very old" and insecure because of the lack of this feature. I'm

Re: secure TLS renegotiation

2011-01-28 Thread Mark Thomas
On 28/01/2011 19:00, Olaf Tomczak wrote: > Hello, > > Does Tomcat support the so called "secure TLS renegotiation"? If so, what > should I configure to use it? > Currently when connecting to my application using secure connection most > browsers complain about my server software being "very old" a

Help needed on apache tomcat 7.0

2011-01-28 Thread Anup Niroula
hi, Actually, i am trying to include jar file in apache tomcat server so that i can access the classes of the jar file to use it in my jsp pages (web application). How can i do this ? Any help would be appreciated. Regards, Anup Niroula

Re: secure TLS renegotiation

2011-01-28 Thread Olaf Tomczak
Mark, 2011/1/28 Mark Thomas > > On 28/01/2011 19:00, Olaf Tomczak wrote: > > Hello, > > > > Does Tomcat support the so called "secure TLS renegotiation"? If so, what > > should I configure to use it? > > Currently when connecting to my application using secure connection most > > browsers complai

RE: Help needed on apache tomcat 7.0

2011-01-28 Thread Caldarale, Charles R
> From: Anup Niroula [mailto:anup.niro...@gmail.com] > Subject: Help needed on apache tomcat 7.0 > Actually, i am trying to include jar file in apache tomcat > server so that i can access the classes of the jar file to > use it in my jsp pages (web application). How can i do this ? Long answer

Re: java-process blocks cpu core to 100%

2011-01-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 1/28/2011 10:34 AM, Caldarale, Charles R wrote: >> From: Christopher Schultz [mailto:ch...@christopherschultz.net] >> Subject: Re: java-process blocks cpu core to 100% > >> Warning: the NIO connector appears to be broken in 6.0.30 >> and

Re: deploying a war file and starting the application

2011-01-28 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robert, On 1/28/2011 1:09 PM, robert.jen...@surecomp.com wrote: > I have downloaded and configured Tomcat 7. All appears to be working. Glad to hear it! > I have deployed a war file that currently works with WebSphere 7 and > WebLogic 11g. > > The

Re: secure TLS renegotiation

2011-01-28 Thread Mark Thomas
On 28/01/2011 19:29, Olaf Tomczak wrote: > Mark, > > 2011/1/28 Mark Thomas >> >> On 28/01/2011 19:00, Olaf Tomczak wrote: >>> Hello, >>> >>> Does Tomcat support the so called "secure TLS renegotiation"? If so, what >>> should I configure to use it? >>> Currently when connecting to my application

RE: deploying a war file and starting the application

2011-01-28 Thread Robert.Jenkin
Christopher, Thanks for your assistance. Here is my web.xml http://java.sun.com/xml/ns/javaee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; version="2.5" id="web-app_1"> allMATCHWeb InitServlet com.surecomp.allMATCH.client.InitServlet 1 InitServlet /I

Re: deploying a war file and starting the application

2011-01-28 Thread Mark Thomas
On 28/01/2011 20:03, robert.jen...@surecomp.com wrote: > Christopher, > > Thanks for your assistance. > > Here is my web.xml > > > http://java.sun.com/xml/ns/javaee"; > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; version="2.5" > id="web-app_1"> That does not look quite right to me

Re: Help needed on apache tomcat 7.0

2011-01-28 Thread Anup Niroula
Hi, Thank you for the reply. I am new to JSP and i am using tomcat server 7.0 for the first time. could you please tell me where can i find examples of web applications importing classes from jar file ? On Fri, Jan 28, 2011 at 1:46 PM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: >

RE: Help needed on apache tomcat 7.0

2011-01-28 Thread Caldarale, Charles R
> From: Anup Niroula [mailto:anup.niro...@gmail.com] > Subject: Re: Help needed on apache tomcat 7.0 > could you please tell me where can i find examples of > web applications importing classes from jar file ? In several of the example webapps that come with the Tomcat distribution. Look in we

Re: Help needed on apache tomcat 7.0

2011-01-28 Thread Anup Niroula
Thanx On Fri, Jan 28, 2011 at 2:21 PM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: Anup Niroula [mailto:anup.niro...@gmail.com] > > Subject: Re: Help needed on apache tomcat 7.0 > > > could you please tell me where can i find examples of > > web applications importing clas

RE: deploying a war file and starting the application

2011-01-28 Thread Robert.Jenkin
Mark, That’s for input.. the initservlet is just a means to initialize the application. The writing of a log file is not to a directory within tomcat. It is a directory outside of the environment. This information (the directory location) is supplied via property file. Which I doubt is being lo

RE: deploying a war file and starting the application

2011-01-28 Thread Robert.Jenkin
Mark, I made the change regarding web-app in the web.xml and same results. The piece I find most interesting is the lack of information. If tomcat is not able to load my class (initservlet) or an error has occurred in the class I would expect some type of logging indicating an error. Sincere

RE: deploying a war file and starting the application

2011-01-28 Thread Caldarale, Charles R
> From: robert.jen...@surecomp.com [mailto:robert.jen...@surecomp.com] > Subject: RE: deploying a war file and starting the application > the initservlet is just a means to initialize the application. Which, as Chris S noted earlier, should be done by a ServletContextListener, not a servlet. >

RE: deploying a war file and starting the application

2011-01-28 Thread Caldarale, Charles R
> From: Caldarale, Charles R > Subject: RE: deploying a war file and starting the application > > The writing of a log file is not to a directory within tomcat. On rereading your original message, the above statement does not appear to be operative: > > During startup of my servlet I generate

war app, Tomcat, public IP and port 8080 - remote access

2011-01-28 Thread Amilcar De Leon
Hello I'm using tomcat 6.0.29, Sun Java JRE 1.6.0_21 and OS is CentOS 5.5 and I'm runnning (localhost) a war OK, through the port 8080. I have recently gotten a Public IP (eg 10.10.1.38) and I can also use my app with no problems locally and within a LAN through the same port (eg 10.10.1.38:8080/m

RE: deploying a war file and starting the application

2011-01-28 Thread Caldarale, Charles R
> From: robert.jen...@surecomp.com [mailto:robert.jen...@surecomp.com] > Subject: RE: deploying a war file and starting the application > If tomcat is not able to load my class (initservlet) or an error > has occurred in the class I would expect some type of logging > indicating an error. Mak

RE: deploying a war file and starting the application

2011-01-28 Thread Robert.Jenkin
Chuck, I understand the ServletConextListener and will investigate the recommendation to see if ServletConextListener is compatible with WebSphere 7 and WebLogic 11g as well and if it is I will make the change. I make reference to getRealPath to load a property file. I have not had issue with

RE: deploying a war file and starting the application

2011-01-28 Thread Caldarale, Charles R
> From: robert.jen...@surecomp.com [mailto:robert.jen...@surecomp.com] > Subject: RE: deploying a war file and starting the application > I make reference to getRealPath to load a property file. It's definitely a bad thing to do. You should be using ServletContext#getResourceAsStream(). That

Re: deploying a war file and starting the application

2011-01-28 Thread Mark Thomas
On 28/01/2011 20:54, Caldarale, Charles R wrote: >> From: robert.jen...@surecomp.com [mailto:robert.jen...@surecomp.com] >> Subject: RE: deploying a war file and starting the application > >> I make reference to getRealPath to load a property file. > > It's definitely a bad thing to do. You sho

RE: deploying a war file and starting the application

2011-01-28 Thread Robert.Jenkin
I understand the issues and recommendations being made. But, possibly a little more detail in the app is needed. The web pages provided with the app are static and created in English. Upon starting the web app new pages are created that are language based. When deployed the war is always explod

Re: deploying a war file and starting the application

2011-01-28 Thread Mark Thomas
On 28/01/2011 21:12, robert.jen...@surecomp.com wrote: > I have modified the InitServlet class (removed everything). The following is > the complete code of InitServlet > > package com.surecomp.allMATCH.client; > > import javax.servlet.ServletException; > import javax.servlet.ServletInputStream;

RE: deploying a war file and starting the application

2011-01-28 Thread Robert.Jenkin
The following is the directory layout C:\Downloads\tomcat-7\apache-tomcat-7.0.6 - root bin conf lib logs temp webapps allMATCHWeb documents images lib

RE: war app, Tomcat, public IP and port 8080 - remote access

2011-01-28 Thread Caldarale, Charles R
> From: Amilcar De Leon [mailto:ada...@antigualug.org] > Subject: war app, Tomcat, public IP and port 8080 - remote access > I have recently gotten a Public IP (eg 10.10.1.38) There's either a misconception or a terminology problem here: 10.x.x.x is *not* a public IP address; rather, it's one o

Re: war app, Tomcat, public IP and port 8080 - remote access

2011-01-28 Thread Amilcar De Leon
I have my server configured with a static public IP like 211.210.19.11 (this is not my real one if you ask). There is another static public IP that came with the routher which is the same than the above, except for the last numer (eg 211.210.19.10). I'm giving this as I don't know if you'd need th

RE: deploying a war file and starting the application

2011-01-28 Thread Robert.Jenkin
Well after playing with web.xml I got my app up and partly working in Tomcat 7. When I go to http://localhost:7080/allMATCHWeb the default page is loaded. My properties file is loaded and language based webpages generated, etc. Now my issue seems to be with web services. Again the web.xml contai