Re: Enabling HTTP Put

2010-04-01 Thread Stacy Mobley
Hi, I was wondering if there was a way to enable HTTP Put via the API's. I've tried using ServletContext.setAttribute("readonly", "false") without any success. -- Stacy

RE: Significant change between 5.5 and 6.0 for Development

2010-04-01 Thread Caldarale, Charles R
> From: Pid [mailto:p...@pidster.com] > Subject: Re: Significant change between 5.5 and 6.0 for Development > > The Logger element isn't applicable in Tomcat 6. Or 5.5, for that matter. It's always bad form to blindly copy configuration from one level of Tomcat to another, but in this case that

Re: Significant change between 5.5 and 6.0 for Development

2010-04-01 Thread Mark Thomas
On 01/04/2010 21:52, Clark wrote: We recently started looking at moving from Tomcat 5.5.28 to 6.0.26 in our development environment. In the initial upgrade/testing of it, I have found the following that gives me great concern. Again, this is in a development sandbox, not a production deploymen

Re: Where is org.apache.catalina.startup.Tomcat in the 6.0.x branch??

2010-04-01 Thread Mark Thomas
On 01/04/2010 18:39, Caldarale, Charles R wrote: From: David Calavera [mailto:david.calav...@gmail.com] Subject: Where is org.apache.catalina.startup.Tomcat in the 6.0.x branch?? I've been using a custom version of Tomcat 6.0.18 that included that class but I can't find any extra jar that contai

RE: Why HttpSessionEvent comes prior to ServletRequestEvent

2010-04-01 Thread Martin Gainty
the event listener responds to events which are occuring in the monitored object (in this case ServletContext) the first event listent is Servlet context creation, at which point the first request can be serviced http://sqltech.cl/doc/oas10gR3/web.1013/b14426/listener.htm#BABEFJDH as chuck

Re: Significant change between 5.5 and 6.0 for Development

2010-04-01 Thread Pid
On 01/04/2010 22:31, Clark wrote: On 4/1/2010 5:23 PM, Pid wrote: On 01/04/2010 21:52, Clark wrote: The context.xml is in /ROOT/META-INF The server.xml, for both 5.5 and 6.0, is : < - <#> - <#> - <#> - <#> 192.168.2.52 I'll assume the extra * and <#> are a bi-product of mail

Re: Cyclos application install(s)

2010-04-01 Thread Pid
On 01/04/2010 20:17, Rick Bragg wrote: On Thu, 2010-04-01 at 18:55 +0100, Pid wrote: On 01/04/2010 18:04, Rick Bragg wrote: On Wed, 2010-03-31 at 23:37 +0400, Konstantin Kolinko wrote: 2010/3/31 Rick Bragg: What am I missing? Cyclos support forum is here: http://project.cyclos.org/forum/

Re: Significant change between 5.5 and 6.0 for Development

2010-04-01 Thread Clark
On 4/1/2010 5:23 PM, Pid wrote: On 01/04/2010 21:52, Clark wrote: The context.xml is in /ROOT/META-INF The server.xml, for both 5.5 and 6.0, is : < - <#> type="*org.apache.catalina.UserDatabase*" description="*User database that can be updated and saved*" factory="*org.apache.catalina.user

Re: Significant change between 5.5 and 6.0 for Development

2010-04-01 Thread Pid
On 01/04/2010 21:52, Clark wrote: We recently started looking at moving from Tomcat 5.5.28 to 6.0.26 in our development environment. In the initial upgrade/testing of it, I have found the following that gives me great concern. Again, this is in a development sandbox, not a production deploymen

Re: mod_jk behaviour during failure

2010-04-01 Thread Mohit Anchlia
On Thu, Apr 1, 2010 at 11:43 AM, Christopher Schultz wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Mohit, > > On 4/1/2010 11:35 AM, Mohit Anchlia wrote: >> I tested that leaving server down and in 15mt test the worker never >> went to ERR state while the node was down. >> >> Could s

Significant change between 5.5 and 6.0 for Development

2010-04-01 Thread Clark
We recently started looking at moving from Tomcat 5.5.28 to 6.0.26 in our development environment. In the initial upgrade/testing of it, I have found the following that gives me great concern. Again, this is in a development sandbox, not a production deployment. The environment, btw, is Ecl

RE: [OT] Imperialism and sad demise

2010-04-01 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Re: [OT] Imperialism and sad demise > > We also did probably not get the coverage over here, about the > Google/Topeka story, as this is the first I hear about it. Let's hope this works outside of the US: http://googleblog.blogspot.com/201

Re: [OT] Imperialism and sad demise

2010-04-01 Thread André Warnier
Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: [OT] Imperialism and sad demise www.lmgtfy.com now seems to lead to a search page named Topeka By design (or at least intent). This is Google's 1 April response to the city of Topeka, Kansas officially changing

Re: [OT] Imperialism and sad demise

2010-04-01 Thread Ken Bowen
"...Toto, I don't think we're in Kansas anymore!" On Apr 1, 2010, at 4:10 PM, Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: [OT] Imperialism and sad demise www.lmgtfy.com now seems to lead to a search page named Topeka By design (or at least intent). This

Re: connection_pool_size informations

2010-04-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, On 4/1/2010 9:56 AM, Ramblewski David wrote: > Does anyone can help me know what exactly impact the > "connection_pool_size" parameter in mod_jk configuration file? What, specifically, don't you understand that's covered in http://tomcat.apach

RE: [OT] Imperialism and sad demise

2010-04-01 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: [OT] Imperialism and sad demise > > www.lmgtfy.com now seems to lead to a search page named Topeka By design (or at least intent). This is Google's 1 April response to the city of Topeka, Kansas officially changing its name to "Google, K

Re: [OT] Imperialism and sad demise

2010-04-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Len, On 4/1/2010 3:30 PM, Len Popp wrote: > That's terrible! I predict a humungous backlash from lmgtfy users, and > they'll be forced to restore the old service. Probably by tomorrow > morning. :-) I've certainly registered my complaint! - -chris -

Re: [OT] Imperialism and sad demise

2010-04-01 Thread Len Popp
That's terrible! I predict a humungous backlash from lmgtfy users, and they'll be forced to restore the old service. Probably by tomorrow morning. :-) -- Len On Thu, Apr 1, 2010 at 15:25, André Warnier wrote: > Well, fellow Tomcatters, it is with deep sadness that I have to report that > one o

Re: Version

2010-04-01 Thread André Warnier
Woods, Everett wrote: What version(s) of Apache Tomcat work(s) with Windows 7? It is generally considered good form and polite on these forums, to do a search of the archive before asking a question. For example, a thread just yesterday entitled "Tomcat Supported Windows Operating Systems" a

[OT] Imperialism and sad demise

2010-04-01 Thread André Warnier
Well, fellow Tomcatters, it is with deep sadness that I have to report that one of the most beloved tools used on this forum seems to have been hijacked. www.lmgtfy.com now seems to lead to a search page named Topeka, with a logo eerily reminiscent of something else, but which leads to a search

Version

2010-04-01 Thread Woods, Everett
What version(s) of Apache Tomcat work(s) with Windows 7? Sincerely, Everett Woods Tyson Foods, Inc. IS Middleware This email and any files transmitted with it are confidential and intended solely for the use of the addressee. If you are not the intended addressee, then you have received this em

Re: mod_jk behaviour during failure

2010-04-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mohit, On 4/1/2010 11:35 AM, Mohit Anchlia wrote: > I tested that leaving server down and in 15mt test the worker never > went to ERR state while the node was down. > > Could someone please advise? You'll have to wait for MLaden or Rainer to comment.

RE: RemoteHostValve for infinite domains?

2010-04-01 Thread Bob Hall
--- On Thu, 4/1/10 at 5:52 AM, Caldarale, Charles R wrote: > > Please explain how that parses, since the allow string uses > regular expression syntax, not wildcards (hence the need for > the \. to match a period). > I can't, since it doesn't. - Bob

Re: Cyclos application install(s)

2010-04-01 Thread Pid
On 01/04/2010 18:04, Rick Bragg wrote: On Wed, 2010-03-31 at 23:37 +0400, Konstantin Kolinko wrote: 2010/3/31 Rick Bragg: What am I missing? Cyclos support forum is here: http://project.cyclos.org/forum/ > From Tomcat point of view, there is nothing wrong in what you did. Just speculating h

RE: Where is org.apache.catalina.startup.Tomcat in the 6.0.x branch??

2010-04-01 Thread Caldarale, Charles R
> From: David Calavera [mailto:david.calav...@gmail.com] > Subject: Where is org.apache.catalina.startup.Tomcat in the 6.0.x > branch?? > > I've been using a custom version of Tomcat 6.0.18 that > included that class but I can't find any extra jar that > contained it for 6.0.x version and I'd lik

Re: Tomcat NIO : CometProcessor

2010-04-01 Thread Michael Wojcik
Filip Hanik - Dev Lists wrote: > > I just skimmed this through, but from what I remember, the CRLF after > should not be counted into your "chunk header" No, the chunk-size is the entire length of the chunk. Since a chunked content-body can include any sort of data, it wouldn't make sense to exc

Re: RemoteHostValve for infinite domains?

2010-04-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dean, On 4/1/2010 10:37 AM, Dean Hiller wrote: > So, xxx.dev.premonitionx.com will go be routed to > > as well. I thin the only way to get around writing many entries in server.xml is to either use something like Apache httpd + mod_jk to perform r

Re: RemoteHostValve for infinite domains? & Patch submit question...

2010-04-01 Thread Hassan Schroeder
On Thu, Apr 1, 2010 at 10:00 AM, Dean Hiller wrote: > yes, interesting, unfortunately, I am running our QA and customer demo > machine behind comcast at home so there is only one ip, though it would work > for our production environment. Then you could use the same 2-Engine setup there with 2 loc

Where is org.apache.catalina.startup.Tomcat in the 6.0.x branch??

2010-04-01 Thread David Calavera
Hi, I've been using a custom version of Tomcat 6.0.18 that included that class but I can't find any extra jar that contained it for 6.0.x version and I'd like to migrate to 6.0.26 and continuing using it. I've seen the class is in trunk but it's not in any other branch. Does anyone know if that c

Re: Cyclos application install(s)

2010-04-01 Thread Rick Bragg
On Wed, 2010-03-31 at 23:37 +0400, Konstantin Kolinko wrote: > 2010/3/31 Rick Bragg : > > What am I missing? > > Cyclos support forum is here: > http://project.cyclos.org/forum/ > > >From Tomcat point of view, there is nothing wrong in what you did. > > Just speculating here (as I am not a Cyclo

Re: RemoteHostValve for infinite domains? & Patch submit question...

2010-04-01 Thread Dean Hiller
yes, interesting, unfortunately, I am running our QA and customer demo machine behind comcast at home so there is only one ip, though it would work for our production environment. Dean On Thu, Apr 1, 2010 at 10:56 AM, Hassan Schroeder < hassan.schroe...@gmail.com> wrote: > On Thu, Apr 1, 2010 at

Re: RemoteHostValve for infinite domains? & Patch submit question...

2010-04-01 Thread Hassan Schroeder
On Thu, Apr 1, 2010 at 9:45 AM, Dean Hiller wrote: > I like the ip idea(except for needing two tomcats). You don't need 2 tomcats; a connector can be told to listen on a specific IP... > Two services in tomcat doesn't work as then we would need different ports > which is definintely not somethi

Re: RemoteHostValve for infinite domains? & Patch submit question...

2010-04-01 Thread Dean Hiller
yes, I have thought through all those actually. Was just talking about urlrewrite filter and apache this morning. Issue with that then is having to keep their company name in a param of every single redirect seam does which is not the easiest of things to dothat way, company could be put in f

Re: Connectors in Tomcat

2010-04-01 Thread Rajeev Sampath
On Thu, Apr 1, 2010 at 4:42 PM, Hemali Doshi wrote: > We are using Tomcat 6.0.18 with jdk 1.5 on Windows XP. > > > > line 118 is: > > factory.createHttpsConnector("Catalina:type=Service,serviceName=Catalina", > "127.0.0.1", 8443); > * > > Have you instantiated the 'factory' properly? > > The s

RE: AW: AW: Virtualization (Xen, vmware) + Tomcat

2010-04-01 Thread Caldarale, Charles R
> From: Eric Laflamme [mailto:elafla...@iweb.com] > Subject: Re: AW: AW: Virtualization (Xen, vmware) + Tomcat > > Any ideas from the log I sent.. Haven't had time to look at it in detail, but these issues are pretty obvious: java.sql.SQLException: Access denied for user 'atventdemo'@'localhost'

Re: mod_jk behaviour during failure

2010-04-01 Thread Mohit Anchlia
On Wed, Mar 31, 2010 at 3:35 PM, Mohit Anchlia wrote: > On Wed, Mar 31, 2010 at 3:29 PM, Christopher Schultz > wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Mohit, >> >> On 3/31/2010 5:33 PM, Mohit Anchlia wrote: >>> On Wed, Mar 31, 2010 at 2:27 PM, Rainer Jung >>> wrote: >>>

Re: RemoteHostValve for infinite domains? & Patch submit question...

2010-04-01 Thread André Warnier
Dean Hiller wrote: ... I need "two"one for requests .domain1.com and one for .domain2.com where is infinite combination. I think that you are right. Based on the little I know about Java and Tomcat and RequestDispatcher, I would suggest a range of possible solutions, in my

Re: AW: AW: Virtualization (Xen, vmware) + Tomcat

2010-04-01 Thread Eric Laflamme
Hi all, Any ideas from the log I sent.. Thank you -- Eric Laflamme [iWeb] IT Architecture Specialist Spécialiste de l'Architecture TI http://www.iWeb.com/ Le 2010-03-31 à 11:04, Caldarale, Charles R a écrit : >> From: Eric Laflamme [mailto:elafla...@iweb.com] >> Subject: Re: AW: AW: Virtual

RE: RemoteHostValve for infinite domains? & Patch submit question...

2010-04-01 Thread Caldarale, Charles R
> From: Dean Hiller [mailto:dean.hil...@gmail.com] > Subject: Re: RemoteHostValve for infinite domains? & Patch submit > question... > > http://tomcat.apache.org/tomcat-5.5-doc/config/engine.html > "Exactly one *Engine* element MUST be nested inside a > Service

Re: RemoteHostValve for infinite domains? & Patch submit question...

2010-04-01 Thread Dean Hiller
hmmm, I don't think Engine worksaccording to http://tomcat.apache.org/tomcat-5.5-doc/config/engine.html "Exactly one *Engine* element MUST be nested inside a Serviceelement" I need "two"one for requests .domain1.com and one

Re: RemoteHostValve for infinite domains?

2010-04-01 Thread Dean Hiller
So, xxx.dev.premonitionx.com will go be routed to .premonitionx.com for any companies that register. thanks!!! Dean On Thu, Apr 1, 2010 at 7:52 AM, Pid wrote: > On 01/04/2010 06:53, Dean Hiller wrote: > >> I added this(I want it to use my requirements.war file for any requests to >> .dev.p

Re: Windows Local user Login

2010-04-01 Thread Stéphanie Cettou
Thanks!!! Now, I have a best idea. I will "analyse" all this for the next week. A very big Thanks! Stéphanie 2010/4/1 Christopher Schultz : > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Stéphanie, > > On 4/1/2010 3:12 AM, Stéphanie Cettou wrote: >> - the webapp running in a Microsoft W

RE: connection_pool_size informations

2010-04-01 Thread Ramblewski David
Hi, Does anyone can help me know what exactly impact the "connection_pool_size" parameter in mod_jk configuration file? If I've posted to the wrong mailing list, please let me know the right one. Thanks for help, David -Message d'origine- De : Ramblewski David Envoyé : mercredi 31 mars

Re: Can't load page via tomcat6

2010-04-01 Thread Pid
On 01/04/2010 06:41, Leon Li wrote: Hi I am trying to build sermyadmin page via tomcat6 on a RHEL5 machine. I can start tomcat6 fine, but I couldn't load even the default page. browser seems to try to load something and eventually timed out. Any ideas? Nope. I can provide other information

Re: RemoteHostValve for infinite domains?

2010-04-01 Thread Pid
On 01/04/2010 06:53, Dean Hiller wrote: I added this(I want it to use my requirements.war file for any requests to .dev.premonitionx.com where is infinite combinations all of which point to one single ip of course. I have another Host for .demo.premonitionx.com as well with infinite

Re: Windows Local user Login

2010-04-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stéphanie, On 4/1/2010 3:12 AM, Stéphanie Cettou wrote: > - the webapp running in a Microsoft Windows 2003 Server environment. > Active directory is NOT use in this server. Got it. > - Actually the users authenticate with a user/passwords/roles in a

RE: Why HttpSessionEvent comes prior to ServletRequestEvent

2010-04-01 Thread Caldarale, Charles R
> From: Mercy [mailto:techme...@gmail.com] > Subject: Re: Why HttpSessionEvent comes prior to ServletRequestEvent > > Thanks,but I can't understand why not ServnetRequestEvent comes first? Because the QuantumTunneling filter to reorder reality isn't scheduled until Tomcat 8. (Yes, this is 1 Apr

RE: RemoteHostValve for infinite domains?

2010-04-01 Thread Caldarale, Charles R
> From: Bob Hall [mailto:rfha...@yahoo.com] > Subject: Re: RemoteHostValve for infinite domains? > > I haven't used this TC feature but it wouldn't hurt to try: > > allow="*\.dev\.premonitionx\.com" /> Please explain how that parses, since the allow string uses regular expression syntax, n

Re: Hide JSP name using web.xml

2010-04-01 Thread Konstantin Kolinko
2010/4/1 Karthik Nanjangude : > I also have roughly 300+ similar pages across folder1 /folder 2 You will either need something to generate that web.xml for you, or some person to type in those 300 mappings (if they are all different), or use some Filter/Servlet that performs introspection of your

Re: Connectors in Tomcat

2010-04-01 Thread Hemali Doshi
We are using Tomcat 6.0.18 with jdk 1.5 on Windows XP. line 118 is: factory.createHttpsConnector("Catalina:type=Service,serviceName=Catalina", "127.0.0.1", 8443); * The stack trace is as follows: java.lang.NullPointerException * at toggle1.doPost(*toggle1.java:118*) at javax.servlet.http.

Re: Connectors in Tomcat

2010-04-01 Thread Mark Thomas
On 01/04/2010 11:45, Hemali Doshi wrote: > Hi, > > We ran jconsole and found the the service is catalina and the mbean name is > Catalina:type=Service,serviceName=Catalina. but still the program is giving > null pointer exception. other two parameters have been passed as ip address > of my machine

Re: Connectors in Tomcat

2010-04-01 Thread Hemali Doshi
Hi, We ran jconsole and found the the service is catalina and the mbean name is Catalina:type=Service,serviceName=Catalina. but still the program is giving null pointer exception. other two parameters have been passed as ip address of my machine and port as say 8443. Do you know what the problem

Re: Why HttpSessionEvent comes prior to ServletRequestEvent

2010-04-01 Thread Mercy
Thanks,but I can't understand why not ServnetRequestEvent comes first? Kind regards, Mercy Mark Thomas wrote: On 01/04/2010 07:19, Mercy wrote: Hi, I declared two listeners , the former is a ServletRequestListener, the later is HttpSessionListener. When a client request calls the a

Re: RemoteHostValve for infinite domains?

2010-04-01 Thread André Warnier
Dean Hiller wrote: I added this(I want it to use my requirements.war file for any requests to .dev.premonitionx.com where is infinite combinations all of which point to one single ip of course. I have another Host for .demo.premonitionx.com as well with infinite combinations again.

Re: RemoteHostValve for infinite domains?

2010-04-01 Thread André Warnier
Dean Hiller wrote: I added this(I want it to use my requirements.war file for any requests to .dev.premonitionx.com where is infinite combinations all of which point to one single ip of course. I have another Host for .demo.premonitionx.com as well with infinite combinations again.

Re: Connectors in Tomcat

2010-04-01 Thread Mark Thomas
On 01/04/2010 09:30, Hemali Doshi wrote: > Yes, i did look at the source code. But there is a parameter called parent > in createHttpsConnector method. I am unable to find the parent, I tried > passing Catalina,StandardEngine, etc. It gives me a null pointer exception > for whatever parent name I p

Re: RemoteHostValve for infinite domains?

2010-04-01 Thread Mark Thomas
On 01/04/2010 06:53, Dean Hiller wrote: > I added this(I want it to use my requirements.war file for any requests to > .dev.premonitionx.com where is infinite combinations all of which > point to one single ip of course. I have another Host for > .demo.premonitionx.com as well with in

Re: Connectors in Tomcat

2010-04-01 Thread Hemali Doshi
Yes, i did look at the source code. But there is a parameter called parent in createHttpsConnector method. I am unable to find the parent, I tried passing Catalina,StandardEngine, etc. It gives me a null pointer exception for whatever parent name I pass. Thanks. -Hemali

Re: Why HttpSessionEvent comes prior to ServletRequestEvent

2010-04-01 Thread Mark Thomas
On 01/04/2010 07:19, Mercy wrote: > Hi, > >I declared two listeners , the former is a ServletRequestListener, > the later is HttpSessionListener. > >When a client request calls the application first, why a > HttpSessionEvent comes prior to ServletRequestEvent? Because something is trigg

Re: Connectors in Tomcat

2010-04-01 Thread Mark Thomas
On 01/04/2010 06:33, Hemali Doshi wrote: > Hi, > i wanted to create an https connector on a port other than 8443. There is a > method to create HttpsConnector in MBeanFactory. Could anyone kindly tell me > how to use this method and what parameters to pass? Did you read the JavaDoc or look at the

Re: Windows Local user Login

2010-04-01 Thread Stéphanie Cettou
No, I'm not sure what I want...the only things sure is my mandatory (and optional) rules...but I don't know how I will make this... I ask for the windows local user while for me is more simple to create local user that install a new server with active directory...but if is necessary (or best) I can