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

2010-06-30 Thread Mark Thomas
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 thing here and that I need to read the

Hello and Tomcat issues with sticky sessions

2010-06-30 Thread Gabriel Tabares
Hi everybody, I have been running Tomcat on production for a few years with no problem but now, after moving to a new company, I am completely unable to get session stickyness working. The setup is as follows: Apache 2.2.3 (CentOS 5.4 version) - Tomcat 6.0.24. I have tried all of

FormAuthenticator exception with non-latin (UTF8) user name

2010-06-30 Thread Chris Rafferty
Hi, I'm getting the following exception when I try to access the list of deployed webservices (http://localhost:8080/manager/list) with a user who has non-Latin characters in their user name: java.lang.NullPointerException

RE: Hello and Tomcat issues with sticky sessions

2010-06-30 Thread Ockleford Paul (NHS Connecting for Health)
I'm not sure if this is what you are looking for but I just checked how our stuff is set up here and wondered if you have the jvm route mapped in the server xml for the tomcat instances you want loadbalanced? Engine jvmRoute=route_7 name=Catalina defaultHost=localhost Paul -Original

Re: Hello and Tomcat issues with sticky sessions

2010-06-30 Thread M.H.G. Emmerig
Hello gabriel I think you should have the following in your configuration: in de workers definition something like worker.pub-app01.domain=pub-app01-jvm and in your tomcat server.xml Engine name=Catalina defaultHost=localhost jvmRoute=pub-app01-jvm regards Milko Emmerig

RE: Hello and Tomcat issues with sticky sessions

2010-06-30 Thread M.H.G. Emmerig
you beat me to it I think regards Milko Emmerig Ockleford Paul (NHS Connecting for Health)

RE: Hello and Tomcat issues with sticky sessions

2010-06-30 Thread Ockleford Paul (NHS Connecting for Health)
Yes sorry! Slow morning here today.. :) From: M.H.G. Emmerig [mailto:m.h.g.emme...@dnb.nl] Sent: 30 June 2010 11:33 To: Tomcat Users List Subject: RE: Hello and Tomcat issues with sticky sessions you beat me to it I think regards Milko Emmerig Ockleford Paul (NHS Connecting for Health)

Re: Hello and Tomcat issues with sticky sessions

2010-06-30 Thread Gabriel Tabares
I'm not sure if this is what you are looking for but I just checked how our stuff is set up here and wondered if you have the jvm route mapped in the server xml for the tomcat instances you want loadbalanced? Engine jvmRoute=route_7 name=Catalina defaultHost=localhost Paul Sorry if it

Re: Hello and Tomcat issues with sticky sessions

2010-06-30 Thread M.H.G. Emmerig
Gabriel have you also set de directive in de workers.properties I suggested? in your case that should look like worker.pub-app01.domain=pub-app01 etc Milko Gabriel Tabares

Re: Webapp reloading issue and intermittent 404 errors

2010-06-30 Thread Tomislav Petrović
Pid said on 29.6.2010 23:20: On 29/06/2010 19:29, Konstantin Kolinko wrote: 2010/6/29 Caldarale, Charles Rchuck.caldar...@unisys.com: From: Tomislav Petrović [mailto:t.petro...@inet.hr] Subject: Re: Webapp reloading issue and intermittent 404 errors

Re: Hello and Tomcat issues with sticky sessions

2010-06-30 Thread Pid
On 30/06/2010 11:33, M.H.G. Emmerig wrote: you beat me to it I think regards Milko Emmerig I'm not sure if this is what you are looking for but I just checked how our stuff is set up here and wondered if you have the jvm route mapped in the server xml for the tomcat instances you want

Re: I'm not able to access to Tomcat Manager

2010-06-30 Thread Pid
On 30/06/2010 11:57, Paula Díaz Redondo wrote: Dear sr./madame I'have recently installed the apache-tomcat-6.0.26.exe (in a Windows XP), I made the changes to insert the administrator in the tomcat-users.xml, now this documents is like follows: tomcat-users role rolename=manager/

Re: Webapp reloading issue and intermittent 404 errors

2010-06-30 Thread Tomislav Petrović
Tomislav Petrović said on 30.6.2010 12:59: Pid said on 29.6.2010 23:20: On 29/06/2010 19:29, Konstantin Kolinko wrote: 2010/6/29 Caldarale, Charles Rchuck.caldar...@unisys.com: From: Tomislav Petrović [mailto:t.petro...@inet.hr] Subject: Re: Webapp reloading issue and intermittent 404 errors

Re: Webapp reloading issue and intermittent 404 errors

2010-06-30 Thread Pid
On 30/06/2010 11:59, Tomislav Petrović wrote: Context path=/some_webapp docBase=/some_webapp debug=0 reloadable=true crossContext=true ResourceLink global=jdbc/SomeDB name=jdbc/SomeDB type=javax.sql.DataSource / ResourceLink global=jdbc/SomeDB2 name=jdbc/SomeDB2

Re: I'm not able to access to Tomcat Manager

2010-06-30 Thread Paweł Zuzelski
On Wed, 30 Jun 2010, Paula Díaz Redondo wrote: Dear sr./madame I'have recently installed the apache-tomcat-6.0.26.exe (in a Windows XP), I made the changes to insert the administrator in the tomcat-users.xml, now this documents is like follows: tomcat-users role rolename=manager/ user

Re: Hello and Tomcat issues with sticky sessions

2010-06-30 Thread Gabriel Tabares
have you also set de directive in de workers.properties I suggested? in your case that should look like worker.pub-app01.domain=pub-app01 etc My apologies, I am doing 10 things at the time and missed that bit. I now have made the change and it seems to be working (fingers crossed). I

Re: Webapp reloading issue and intermittent 404 errors

2010-06-30 Thread Pid
On 30/06/2010 12:04, Tomislav Petrović wrote: Tomislav Petrović said on 30.6.2010 12:59: Pid said on 29.6.2010 23:20: On 29/06/2010 19:29, Konstantin Kolinko wrote: 2010/6/29 Caldarale, Charles Rchuck.caldar...@unisys.com: From: Tomislav Petrović [mailto:t.petro...@inet.hr] Subject: Re:

Re: ISAPI Redirector Help

2010-06-30 Thread Rainer Jung
On 30.06.2010 01:48, George Sexton wrote: I'm trying to get the ISAPI redirector working on IIS 7.0 running under Windows Server Data Center 64-bit. When I make a request, I get served the isapi_redirector.dll. Here's the detailed information. IIS is running in 32 bit mode. I have

Re: FormAuthenticator exception with non-latin (UTF8) user name

2010-06-30 Thread Mark Thomas
On 30/06/2010 12:22, Chris Rafferty wrote: This only occurs when I add the following valve to /conf/context.xml Valve className=org.apache.catalina.authenticator.FormAuthenticator characterEncoding=UTF-8 / Bad idea on a number of levels. 1. That change then applies to *every* context,

Re: Hello and Tomcat issues with sticky sessions

2010-06-30 Thread Gabriel Tabares
I'm not sure if this is what you are looking for but I just checked how our stuff is set up here and wondered if you have the jvm route mapped in the server xml for the tomcat instances you want loadbalanced? Engine jvmRoute=route_7 name=Catalina defaultHost=localhost Paul Tomcats:

Re: Webapp reloading issue and intermittent 404 errors

2010-06-30 Thread Tomislav Petrović
Pid said on 30.6.2010 13:12: On 30/06/2010 12:04, Tomislav Petrović wrote: Tomislav Petrović said on 30.6.2010 12:59: Pid said on 29.6.2010 23:20: On 29/06/2010 19:29, Konstantin Kolinko wrote: 2010/6/29 Caldarale, Charles Rchuck.caldar...@unisys.com: From: Tomislav Petrović

Re: Hello and Tomcat issues with sticky sessions

2010-06-30 Thread Rainer Jung
On 30.06.2010 13:10, Gabriel Tabares wrote: have you also set de directive in de workers.properties I suggested? in your case that should look like worker.pub-app01.domain=pub-app01 etc My apologies, I am doing 10 things at the time and missed that bit. I now have made the change and it

Re: Hello and Tomcat issues with sticky sessions

2010-06-30 Thread Gabriel Tabares
I now have made the change and it seems to be working (fingers crossed). I have a couple of people testing it out, so fingers crossed! OK, it now works correctly. The only issue I have is that Apache is now adding .number to the end of each request. If I go to myapp/forum, the first time I

Re: Webapp reloading issue and intermittent 404 errors

2010-06-30 Thread Tomislav Petrović
Pid said on 30.6.2010 13:06: On 30/06/2010 11:59, Tomislav Petrović wrote: Context path=/some_webapp docBase=/some_webapp debug=0 reloadable=true crossContext=true ResourceLink global=jdbc/SomeDB name=jdbc/SomeDB type=javax.sql.DataSource / ResourceLink

Apache Tomcat 5.5 and labels.properties

2010-06-30 Thread Michael Rodov
Hi All, I have the following question: In the apache 5.0 there was a file called cwc_labels.properties, its attached It had some interesting properties in it, such as ErrorPage.Message - you could set a customer error message in it, and others In 5.5 we could not find this file, theres the

RE: LockoutRealm configuration problem

2010-06-30 Thread Robillard, Greg L
Thanks, I will remove that as well. -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Tuesday, June 29, 2010 11:00 PM To: Tomcat Users List Subject: RE: LockoutRealm configuration problem From: Robillard, Greg L [mailto:greg.l.robill...@lmco.com]

RE: Webapp reloading issue and intermittent 404 errors

2010-06-30 Thread Caldarale, Charles R
From: Pid [mailto:p...@pidster.com] Subject: Re: Webapp reloading issue and intermittent 404 errors JVM: have to check whether server or client, not sure at the moment. Server, one would hope. Probably not - it's a 32-bit Windows, and you have to build your own JVM if you want a server

Re: Webapp reloading issue and intermittent 404 errors

2010-06-30 Thread Pid
On 30/06/2010 13:38, Caldarale, Charles R wrote: From: Pid [mailto:p...@pidster.com] Subject: Re: Webapp reloading issue and intermittent 404 errors JVM: have to check whether server or client, not sure at the moment. Server, one would hope. Probably not - it's a 32-bit Windows, and you

Re: Webapp reloading issue and intermittent 404 errors

2010-06-30 Thread David kerber
On 6/30/2010 8:41 AM, Pid wrote: On 30/06/2010 13:38, Caldarale, Charles R wrote: From: Pid [mailto:p...@pidster.com] Subject: Re: Webapp reloading issue and intermittent 404 errors JVM: have to check whether server or client, not sure at the moment. Server, one would hope. Probably not -

RE: Webapp reloading issue and intermittent 404 errors

2010-06-30 Thread Caldarale, Charles R
From: Pid [mailto:p...@pidster.com] Subject: Re: Webapp reloading issue and intermittent 404 errors Probably not - it's a 32-bit Windows, and you have to build your own JVM if you want a server version for that. Really?! I thought later versions had the server JVM too (for some reason

Re: Webapp reloading issue and intermittent 404 errors

2010-06-30 Thread David kerber
On 6/30/2010 8:38 AM, Caldarale, Charles R wrote: From: Pid [mailto:p...@pidster.com] Subject: Re: Webapp reloading issue and intermittent 404 errors JVM: have to check whether server or client, not sure at the moment. Server, one would hope. Probably not - it's a 32-bit Windows, and you

Advanced LockoutRealm procedures

2010-06-30 Thread Robillard, Greg L
Using the LockoutRealm is running on my application. I am looking for some advanced features. 1.I would like to re-direct a locked user to a different error page, informing them of their locked status. 2. I would like to remove the lock time and force an administrator to

RE: Webapp reloading issue and intermittent 404 errors

2010-06-30 Thread Caldarale, Charles R
From: Tomislav Petrović [mailto:t.petro...@inet.hr] Subject: Re: Webapp reloading issue and intermittent 404 errors Do you actually have an 'endorsed' directory in your Tomcat installation? What's in it if you do? No I don't, this folder doesn't exist, will have to investigate who

Re: Webapp reloading issue and intermittent 404 errors

2010-06-30 Thread Pid
On 30/06/2010 12:45, Tomislav Petrović wrote: Pid said on 30.6.2010 13:12: On 30/06/2010 12:04, Tomislav Petrović wrote: Tomislav Petrović said on 30.6.2010 12:59: Pid said on 29.6.2010 23:20: On 29/06/2010 19:29, Konstantin Kolinko wrote: 2010/6/29 Caldarale, Charles

RE: Webapp reloading issue and intermittent 404 errors

2010-06-30 Thread Caldarale, Charles R
From: Tomislav Petrović [mailto:t.petro...@inet.hr] Subject: Re: Webapp reloading issue and intermittent 404 errors Can you post me how my new server.xml should look and how some_webapp/META-INF/context.xml should look. Just remove all Context elements from server.xml - it's bad practice to

Re: Webapp reloading issue and intermittent 404 errors

2010-06-30 Thread Pid
On 30/06/2010 13:07, Tomislav Petrović wrote: Pid said on 30.6.2010 13:06: On 30/06/2010 11:59, Tomislav Petrović wrote: Context path=/some_webapp docBase=/some_webapp debug=0 reloadable=true crossContext=true ResourceLink global=jdbc/SomeDB name=jdbc/SomeDB type=javax.sql.DataSource

spring-webmvc-portlet annotations: File quot;/WEB-INF/servlet/viewquot; not found

2010-06-30 Thread Norris Shelton
I am using: Tomcat 6.0.20 Vignette Portal Server 8.0 spring-webmvc-portlet 3.0.3.RELEASE I get the following error when the portal is requested. Here is my log 2010-06-28 16:08:32 DEBUG - DispatcherPortlet with name 'weather' received render request

Re: Apache Tomcat 5.5 and labels.properties

2010-06-30 Thread Pid
On 30/06/2010 13:13, Michael Rodov wrote: Hi All, I have the following question: In the apache 5.0 there was a file called cwc_labels.properties, its attached The list strips attachments. Where, exactly, was this file? It had some interesting properties in it, such as ErrorPage.Message -

Re: spring-webmvc-portlet annotations: File quot;/WEB-INF/servlet/viewquot; not found

2010-06-30 Thread Pid
On 30/06/2010 14:06, Norris Shelton wrote: I am using: Tomcat 6.0.20 Vignette Portal Server 8.0 spring-webmvc-portlet 3.0.3.RELEASE I get the following error when the portal is requested. Here is my log -snip 2010-06-28 16:08:32 DEBUG - Including resource

Re: Apache Tomcat 5.5 and labels.properties

2010-06-30 Thread Michael Rodov
this is the link, but its not 100% sure since it depends on the installed directories C:\Program Files\Apache Software Foundation\Tomcat 5.5.26\work\Catalina\localhost\sm711\loader\*com\hp\ov\cwc\web* On Wed, Jun 30, 2010 at 4:08 PM, Pid p...@pidster.com wrote: On 30/06/2010 13:13, Michael

RE: Apache Tomcat 5.5 and labels.properties

2010-06-30 Thread Caldarale, Charles R
From: Michael Rodov [mailto:rodov.mich...@gmail.com] Subject: Apache Tomcat 5.5 and labels.properties In the apache 5.0 there was a file called cwc_labels.properties Assuming you mean Tomcat 5.0 (Apache is an organization, not a product), there was no such file. If you had one in your

spring-webmvc-portlet annotations: File quot;/WEB-INF/servlet/viewquot; not found

2010-06-30 Thread Norris Shelton
I have compared the configuration to multiple examples and it appears to be set-up correctly. There is another question similar to this with the exact problem, also on Tomcat/Vignette. Attached are the files, since the pasting earlier did not work. Norris Shelton Software Engineer

Re: Apache Tomcat 5.5 and labels.properties

2010-06-30 Thread Pid
On 30/06/2010 14:13, Michael Rodov wrote: this is the link, but its not 100% sure since it depends on the installed directories C:\Program Files\Apache Software Foundation\Tomcat 5.5.26\work\Catalina\localhost\sm711\loader\*com\hp\ov\cwc\web* So the clue there is in the package name. This

RE: FormAuthenticator exception with non-latin (UTF8) user name

2010-06-30 Thread Chris Rafferty
Thanks Mark, That has worked a treat. I changed the manager application's web.xml to use FORM based authentication, added the valve to its context.xml rather than specifying it globally and provided the login form. Cheers Chris -Original Message- From: Mark Thomas

RE: spring-webmvc-portlet annotations: File quot;/WEB-INF/servlet/viewquot; not found

2010-06-30 Thread Martin Gainty
please include ./WEB-INF/portlet.xml please include all the files that portlet.xml includes also..please include the tomcat logs Martin __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich.

Re: Apache Tomcat 5.5 and labels.properties

2010-06-30 Thread Rainer Jung
On 30.06.2010 15:43, Pid wrote: On 30/06/2010 14:13, Michael Rodov wrote: this is the link, but its not 100% sure since it depends on the installed directories C:\Program Files\Apache Software Foundation\Tomcat 5.5.26\work\Catalina\localhost\sm711\loader\*com\hp\ov\cwc\web* So the clue there

Re: Webapp reloading issue and intermittent 404 errors

2010-06-30 Thread Tomislav Petrović
Pid said on 30.6.2010 15:05: On 30/06/2010 13:07, Tomislav Petrović wrote: Pid said on 30.6.2010 13:06: On 30/06/2010 11:59, Tomislav Petrović wrote: Context path=/some_webapp docBase=/some_webapp debug=0 reloadable=true crossContext=true ResourceLink global=jdbc/SomeDB

Re: spring-webmvc-portlet annotations: File quot;/WEB-INF/servlet/viewquot; not found

2010-06-30 Thread André Warnier
Norris Shelton wrote: I have compared the configuration to multiple examples and it appears to be set-up correctly. There is another question similar to this with the exact problem, also on Tomcat/Vignette. Attached are the files, since the pasting earlier did not work. Norris, I know

Re: Webapp reloading issue and intermittent 404 errors

2010-06-30 Thread Tomislav Petrović
Caldarale, Charles R said on 30.6.2010 15:03: From: Tomislav Petrović [mailto:t.petro...@inet.hr] Subject: Re: Webapp reloading issue and intermittent 404 errors Can you post me how my new server.xml should look and how some_webapp/META-INF/context.xml should look. Just remove allContext

Re: Apache Tomcat 5.5 and labels.properties

2010-06-30 Thread Michael Rodov
Ok thanks guys On Wed, Jun 30, 2010 at 4:43 PM, Pid p...@pidster.com wrote: On 30/06/2010 14:13, Michael Rodov wrote: this is the link, but its not 100% sure since it depends on the installed directories C:\Program Files\Apache Software Foundation\Tomcat

Re: Question about BASIC Authentication

2010-06-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Matthew, On 6/30/2010 12:07 AM, Matthew Mauriello wrote: I have two directories in 'webapps' other than ROOT. ROOT redirects users to webappA. WebappA does not use tomcat's basic authentication but if you log into the application there are links

Re: Hello and Tomcat issues with sticky sessions

2010-06-30 Thread János Löbb
workers.properties --- ps=/ worker.list=pub-app01, pub-app02, pub-app03, pub-app04, pub-app05, pub-lb worker.pub-app01.type=ajp13 worker.pub-app01.host=app01 worker.pub-app01.port=8009 worker.pub-app01.socket_keepalive=1 worker.pub-app02.type=ajp13

FW: problem with org.apache.catalina.core.ApplicationHttpRequest method.

2010-06-30 Thread Ranjix R
Hi guys, sorry for the bother. I do have a question related to how a certain feature was implemented in Tomcat (6.0, probably all of them), that's why I address the question to the dev-list and the user-list. I do have a fairly complicated case, in which I have a filter for jsp's, and I use

RE: FormAuthenticator exception with non-latin (UTF8) user name

2010-06-30 Thread Caldarale, Charles R
From: Chris Rafferty [mailto:chris.raffe...@sidonis.com] Subject: RE: FormAuthenticator exception with non-latin (UTF8) user name I changed the manager application's web.xml to use FORM based authentication, added the valve to its context.xml You really should not be explicitly adding the

RE: Webapp reloading issue and intermittent 404 errors

2010-06-30 Thread Caldarale, Charles R
From: Tomislav Petrović [mailto:t.petro...@inet.hr] Subject: Re: Webapp reloading issue and intermittent 404 errors any idea what caused original problem? And if I can provide any additional info to help resolve it. Again, we believe this to be a JVM bug, not specific to Tomcat. Since it's

Re: Webapp reloading issue and intermittent 404 errors

2010-06-30 Thread Tomislav Petrović
Forgot to say: Tomcat service is started with following parameters: JVM: have to check whether server or client, not sure at the moment. Server, one would hope. Did you find out the exact version? Yup JVM path for tomcat is ..\jdk1.6.0_18\jre\bin\server\jvm.dll, so Java 6 update 18

Re: Hello and Tomcat issues with sticky sessions

2010-06-30 Thread Rainer Jung
On 30.06.2010 16:18, János Löbb wrote: workers.properties --- ps=/ worker.list=pub-app01, pub-app02, pub-app03, pub-app04, pub-app05, pub-lb worker.pub-app01.type=ajp13 worker.pub-app01.host=app01 worker.pub-app01.port=8009 worker.pub-app01.socket_keepalive=1

Re: spring-webmvc-portlet annotations: File /WEB-INF/servlet/view not found

2010-06-30 Thread Norris Shelton
Sorry, none of my files were included. I sent another email with all of the files as attachments. Norris Shelton Software Engineer Sun Certified Java 1.1 Programmer Shelton Consulting, LLC ICQ# 26487421 AIM NorrisEShelton YIM norrisshelton From: Norris

Re: Advanced LockoutRealm procedures

2010-06-30 Thread Mark Thomas
On 30/06/2010 14:50, Robillard, Greg L wrote: Using the LockoutRealm is running on my application. I am looking for some advanced features. 1.I would like to re-direct a locked user to a different error page, informing them of their locked status. That would require customizing

Re: FormAuthenticator exception with non-latin (UTF8) user name

2010-06-30 Thread Mark Thomas
On 30/06/2010 16:20, Caldarale, Charles R wrote: From: Chris Rafferty [mailto:chris.raffe...@sidonis.com] Subject: RE: FormAuthenticator exception with non-latin (UTF8) user name I changed the manager application's web.xml to use FORM based authentication, added the valve to its context.xml

RE: Advanced LockoutRealm procedures

2010-06-30 Thread Robillard, Greg L
Thanks -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Wednesday, June 30, 2010 9:37 AM To: Tomcat Users List Subject: Re: Advanced LockoutRealm procedures On 30/06/2010 14:50, Robillard, Greg L wrote: Using the LockoutRealm is running on my application. I am

RE: ISAPI Redirector Help

2010-06-30 Thread George Sexton
I'm using IIS 7.0 so that step would not apply. George Sexton MH Software, Inc. 303 438-9585 www.mhsoftware.com -Original Message- From: Rainer Jung [mailto:rainer.j...@kippdata.de] Sent: Wednesday, June 30, 2010 5:19 AM To: Tomcat Users List Subject: Re: ISAPI Redirector Help

Re: ISAPI Redirector Help

2010-06-30 Thread Rainer Jung
On 30.06.2010 16:57, George Sexton wrote: I'm using IIS 7.0 so that step would not apply. Sure? The docs talk about version 6 because that was the last time they were updated. Rainer - To unsubscribe, e-mail:

RE: ISAPI Redirector Help

2010-06-30 Thread George Sexton
In IIS 7 the equivalent function is done by enabling/disabling handler mappings. George Sexton MH Software, Inc. 303 438-9585 www.mhsoftware.com -Original Message- From: Rainer Jung [mailto:rainer.j...@kippdata.de] Sent: Wednesday, June 30, 2010 9:01 AM To: Tomcat Users List

[OT] Using httpd's mod_rewrite with mod_jk

2010-06-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, 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

One question about change port to 80

2010-06-30 Thread Yue Yuanyuan
Hi, I am setting a server on Amazon cloud. Cent OS 5.3 and tomcat 6.0.26. Everything works fine. Then I want to change the port from 8080 to 80. The server.xml file was modified to Connector port=80 protocol=HTTP/1.1 nnector port=8080 protocol=HTTP/1.1 connectionTimeout=2

JK connector and extra characters showing up

2010-06-30 Thread David Brown
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 8k packets. Setup: Tomcat 5.5 - JK 1.2.30 - SunOne 6.1sp11 I tested using Apache2 and the problem does not show up there. Using apache is

RE: One question about change port to 80

2010-06-30 Thread Caldarale, Charles R
From: Yue Yuanyuan [mailto:yue.yuany...@gmail.com] Subject: One question about change port to 80 The server.xml file was modified to Connector port=80 protocol=HTTP/1.1 nnector port=8080 protocol=HTTP/1.1 connectionTimeout=2 redirectPort=8443 / Well,

Re: One question about change port to 80

2010-06-30 Thread Yue Yuanyuan
Thank you. That is just the copy/paste mistake. Even the file is right: Connector port=8080 protocol=HTTP/1.1 connectionTimeout=2 redirectPort=8443 / It still does not work. I tried iptables -F. It still does not work. And I tried to install apache httpd on the

RE: One question about change port to 80

2010-06-30 Thread Caldarale, Charles R
From: Yue Yuanyuan [mailto:yue.yuany...@gmail.com] Subject: Re: One question about change port to 80 And I tried to install apache httpd on the server. It could work on port 80 and there is no problem for apache. So have you tried using the non-root mechanisms for Tomcat as described in

Re: One question about change port to 80

2010-06-30 Thread Yue Yuanyuan
I think i figure out what is going on. I need to run tomcat using root. But even I su to root and start tomcat using /etc/init.d/tomcat6 start. It stills runs under tomcat users. So how could I run it using root? Thank you. Best, Gavin On Wed, Jun 30, 2010 at 3:46 PM, Caldarale, Charles R

Re: One question about change port to 80

2010-06-30 Thread Paweł Zuzelski
On Wed, 30 Jun 2010, Yue Yuanyuan wrote: I think i figure out what is going on. I need to run tomcat using root. But even I su to root and start tomcat using /etc/init.d/tomcat6 start. It stills runs under tomcat users. So how could I run it using root? It is a bad idea. Just use iptables to

Re: One question about change port to 80

2010-06-30 Thread Yue Yuanyuan
is it a good idea to use vhost like this : http://www.javathinking.com/2007/10/tomcat-with-apache2-virtual-hosts/ Thank you. Best, Gavin 2010/6/30 Paweł Zuzelski z...@xatka.net On Wed, 30 Jun 2010, Yue Yuanyuan wrote: I think i figure out what is going on. I need to run tomcat using root.

Re: One question about change port to 80

2010-06-30 Thread Pid
On 30/06/2010 21:51, Yue Yuanyuan wrote: is it a good idea to use vhost like this : http://www.javathinking.com/2007/10/tomcat-with-apache2-virtual-hosts/ Thank you. Best, Gavin That's an article from 2007. Things have moved on since then. Unless you really need HTTPD for some reason -

need help setting up tomcat with ssl client authentication

2010-06-30 Thread Ralph Carlson
tomcat version 6.0.20 os: windows xp sp3 professional edition sun java jdk 1.5.11 I am trying to do the following (a) create a certificate authority and self sign server and client certificates using openssl and keytool (b) import the keytool keystore into tomcat (c) verify the certificate

Re: One question about change port to 80

2010-06-30 Thread Yue Yuanyuan
It is running. I did iptables now it works fine. I also did test on my ubuntu. There is no problem. I just do not get it why I run the tomcat using ROOT, but still I do not have the privilege to bind 80 port. 2010/6/30 Pid p...@pidster.com On 30/06/2010 21:51, Yue Yuanyuan wrote: is it a

Re: need help setting up tomcat with ssl client authentication

2010-06-30 Thread Pid
On 30/06/2010 22:07, Ralph Carlson wrote: tomcat version 6.0.20 os: windows xp sp3 professional edition sun java jdk 1.5.11 I am trying to do the following (a) create a certificate authority and self sign server and client certificates using openssl and keytool (b) import the keytool

Re: spring-webmvc-portlet annotations: File /WEB-INF/servlet/view not found

2010-06-30 Thread Norris Shelton
After much trial an error. I found the problem. Vignette Portal does not map URLs below WEB-INF. I had to map it to /somePublicUrl and it worked fine. Norris Shelton Software Engineer Sun Certified Java 1.1 Programmer Shelton Consulting, LLC ICQ# 26487421 AIM NorrisEShelton YIM

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

2010-06-30 Thread rahul
Dear Users, We are trying to upgrade the Tomcat version from existing 4.1.31 to the latest available release 6.0.26. In the process, I did the following changes – 1. Downloaded the Tomcat 6.0.26 basic distribution file - apache-tomcat-6.0.26.zip from the website. 2. Unbundled it and deployed

using Servlet Filter to rewrite domain of JSESSIONID cookie?

2010-06-30 Thread Nikita Tovstoles
I'd like to make session cookie domain-wide, and ignore subdomains - in Tomcat 6. So for app reachable via my.site.com and www.site.com, I'd like to have session cookie's domain be .site.com. I thought of doing so using a ServletResponseWrapper and a servlet Filter: @Override public void

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

2010-06-30 Thread Caldarale, Charles R
From: rahul [mailto:iamrahu...@yahoo.com] Subject: Tomcat 6.0.26 with Java 6 update 20 on Sun Solaris 5.8 Sparc - Web application unable to execute properly 5. Built and deployed the application in the UNIX itself. If the application is pure Java, that step was unnecessary. What happens if

RE: need help setting up tomcat with ssl client authentication

2010-06-30 Thread Ralph Carlson
the tomcats logs have no errors in them, they end after start up (I haven't installed any apps yet, just trying to get to the tomcat manager with ssl) Connector port=443 protocol=HTTP/1.1 SSLEnabled=true maxThreads=150 scheme=https secure=true clientAuth=true

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

2010-06-30 Thread rahul
Hello Charles Thanks for extremely prompt reply :). First answers to your question: 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. Some more clarification - When I started the upgrade test after testing

Re: One question about change port to 80

2010-06-30 Thread André Warnier
Yue Yuanyuan wrote: It is running. I did iptables now it works fine. I also did test on my ubuntu. There is no problem. I just do not get it why I run the tomcat using ROOT, but still I do not have the privilege to bind 80 port. Probably because you are /not/ running Tomcat as root. You are

Re: need help setting up tomcat with ssl client authentication

2010-06-30 Thread Pid
On 30/06/2010 23:45, Ralph Carlson wrote: the tomcats logs have no errors in them, they end after start up (I haven't installed any apps yet, just trying to get to the tomcat manager with ssl) Are you using APR? This path: keystoreFile=/server.ks doesn't appear to match

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

2010-06-30 Thread Pid
On 30/06/2010 23:58, rahul wrote: Is there any way I can give you a call, if you have any contact number? See below. No, replies should go only to the mailing list, not to individuals. We keep all discussions on the list, that way other people can learn from them too. You can think of it

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

2010-06-30 Thread rahul
Thanks Pid. Your points noted. Any pointers to the issues will be appreciated. Kind Regards, Rahul --- On Thu, 7/1/10, Pid p...@pidster.com wrote: From: Pid p...@pidster.com Subject: Re: Tomcat 6.0.26 with Java 6 update 20 on Sun Solaris 5.8 Sparc - Web application unable to execute

[OT] Using httpd's mod_rewrite with mod_jk

2010-06-30 Thread Terence M. Bandoian
Hi, Chris- This should redirect to /bad-browser.shtml: RewriteCond %{HTTP_USER_AGENT} Firefox/ RewriteCond %{HTTP_USER_AGENT} !Firefox/(3\.0\.19|3\.5\.9|3\.6\.3)($|[^\.0-9]) RewriteRule .* /bad-browser.shtml [R=307,L] Looks just about like what you already had though. I'm not sure

RE: need help setting up tomcat with ssl client authentication

2010-06-30 Thread Ralph Carlson
I am starting and stopping tomcat using startup.bat and shutdown.bat from the command line I am not using the apr I copied /server.ks into c:\tomcat folder in an attempt to get it working if I change it to a fake name it throws an error so I think its reading it the console looks like: Jun 30,

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

2010-06-30 Thread Ralph Carlson
can you extend org.apache.catalina.connector.Response adding the HttpResponse object and its getter/setter and call that before valve.invoke() also depending on what you are putting in your cookie and if the users are logging on or not (you could also use ipaddress but that is flaky is they are

Re: Question about BASIC Authentication

2010-06-30 Thread Matthew Mauriello
Christopher, 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 sections. See the http://user:passw...@website.com/SOLR is only used once and it might actually be

Re: JK connector and extra characters showing up

2010-06-30 Thread Christopher Schultz
-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 8k packets. Setup: Tomcat 5.5 - JK

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

2010-06-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Terrence, On 6/30/2010 7:55 PM, Terence M. Bandoian wrote: This should redirect to /bad-browser.shtml: RewriteCond %{HTTP_USER_AGENT} Firefox/ RewriteCond %{HTTP_USER_AGENT} !Firefox/(3\.0\.19|3\.5\.9|3\.6\.3)($|[^\.0-9]) RewriteRule

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

2010-06-30 Thread Christopher Schultz
-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 Connector.

Re: Question about BASIC Authentication

2010-06-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 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 sections.

Re: need help setting up tomcat with ssl client authentication

2010-06-30 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ralph, On 6/30/2010 5:07 PM, Ralph Carlson wrote: (d) have client Authorization on - with it off tomcat ssl works just fine, when its turned on I get this error so far I have been following the steps listed in this tomcat user group message

Re: Question about BASIC Authentication

2010-06-30 Thread Matthew Mauriello
Christopher, First off, I really appreciate your responses. Unfortunately I do not have a link that I can send out. I generally use Mozilla Firefox, Microsoft recently implemented a patch that prevents http://user:passw...@website.com/SOLR/ from working. So on this consistent implementation

Re: Question about BASIC Authentication

2010-06-30 Thread Matthew Mauriello
Christopher, I may have found a problem in the SOLR header.jsp file that I am using in navigation. The header.jsp file might be trying to send headers, unfortunately I am not in the same location as the server so I will have to check this out tomorrow. I'll keep you posted, ~Matt -BEGIN

Re: Application vars -

2010-06-30 Thread Eric P
Shay, Forgive all potential newbness in my responses below. I'm still learning this stuff. Shay Rojansky wrote: Hi Eric. Would making your servlet reload all application vars not be akin to simply reloading your servlet altogether, by changing context/init params in your web.xml or

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

2010-06-30 Thread rahul
A further information - I installed Mozilla Firefox and on clicking search it printed out an error message that The requested URL /workbench/Jsp/WorkOrderList.jsp was not found on this server.. Ran the same application parallaly on Windows and that works fine with Firefox as well. Best

  1   2   >