Re: Connectors in Tomcat

2010-04-02 Thread Hemali Doshi
Hi, I would like to know how to link this new factory with the service Catalina. Because on checking with the JConsole, the attributes of this factory do not match with the existing one. Hence the connector is not created with the same factory and the code doesn't work. -Hemali

Re: Connectors in Tomcat

2010-04-02 Thread Hemali Doshi
Hi, Thanks Rajeev, i hadn't initialized the factory properly, now i don't get a null pointer exception, and it shows in the console that http connector is initialized and started at the port i'v given say 9002, but http is still not enabled in the sense that an html page does not run on http://

Re: Enabling HTTP Put

2010-04-02 Thread Bill Barker
"André Warnier" wrote in message news:4bb5a06e.4080...@ice-sa.com... Stacy Mobley wrote: Hi, I was wondering if there was a way to enable HTTP Put via the API's. What makes you think it is not enabled ? (at least, presuming you are talking about Tomcat) I've tried using ServletContext.

isapi_redirect 1.2.30

2010-04-02 Thread Jordan Michaels
Hello! I'm attempting to debug a cookie problem with the IIS7, using a default document, and the Tomcat connector. I can see where firefox is sending cookie information in the request headers to IIS, and I can see where the isapi_connector is passing the request off to Tomcat *without* cooki

Re: Cyclos application install(s)

2010-04-02 Thread Pid
On 02/04/2010 20:03, Rick Bragg wrote: On Fri, 2010-04-02 at 14:52 +0100, Pid wrote: On 02/04/2010 14:04, Rick Bragg wrote: On Thu, 2010-04-01 at 22:46 +0100, Pid wrote: 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

Re: Cyclos application install(s)

2010-04-02 Thread Rick Bragg
On Fri, 2010-04-02 at 14:52 +0100, Pid wrote: > On 02/04/2010 14:04, Rick Bragg wrote: > > On Thu, 2010-04-01 at 22:46 +0100, Pid wrote: > >> 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

Re: Would like to extract every request to servelt except index.html

2010-04-02 Thread Pid
On 02/04/2010 14:36, Martin Gainty wrote: Paul and Pid i would suggest directing all requests to SearchServerServlet e.g. default servlet/ It's fairly clear tha... Sorry lost the will to continue. p then the SearchServerServlet will do a request.getRequestURI and then do regex on the Re

Re: mod_jk behaviour during failure

2010-04-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mohit, On 4/1/2010 5:04 PM, Mohit Anchlia wrote: > On Thu, Apr 1, 2010 at 11:43 AM, Christopher Schultz > wrote: >> The default is printed in the documentation: >> >> http://tomcat.apache.org/connectors-doc/reference/workers.html > > Sorry but I don

Re: Tomcat NIO : CometProcessor

2010-04-02 Thread Filip Hanik - Dev Lists
you're wrong, I believe it is chunk-header:blabla chunk-data The spec says chunk = chunk-size [ chunk-extension ] CRLF chunk-data CRLF Hence, the request that was posted here, should have been 16bytes header, not 18 Filip On 04/01/2010 11:23 AM, M

Re: Cyclos application install(s)

2010-04-02 Thread Pid
On 02/04/2010 14:04, Rick Bragg wrote: On Thu, 2010-04-01 at 22:46 +0100, Pid wrote: 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:

RE: Would like to extract every request to servelt except index.html

2010-04-02 Thread Martin Gainty
Paul and Pid i would suggest directing all requests to SearchServerServlet e.g. default servlet / then the SearchServerServlet will do a request.getRequestURI and then do regex on the Request URI and SearchServerServlet will redirect or forward from there allowing reg expressions

RE: unable to start Tomcat in Windows 7 prof - 64 bit

2010-04-02 Thread Caldarale, Charles R
> From: Martin Gainty [mailto:mgai...@hotmail.com] > Subject: RE: unable to start Tomcat in Windows 7 prof - 64 bit > > also the dlls located in %JRE_HOME%\bin\server need to be 64bit No, they don't *need* to be 64-bit; rather, they must match the mode of the tomcat6.exe launcher being used. -

RE: unable to start Tomcat in Windows 7 prof - 64 bit

2010-04-02 Thread Martin Gainty
also the dlls located in %JRE_HOME%\bin\server need to be 64bit determine if %JRE_HOME%\bin\server\jvm.dll is a 64bit dll hth Martin __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich.

RE: Enabling HTTP Put

2010-04-02 Thread Caldarale, Charles R
> From: Martin Gainty [mailto:mgai...@hotmail.com] > Subject: RE: Enabling HTTP Put > > since doPut disallows request processing if readOnly is true as seen > here > > protected void doPut(HttpServletRequest req, HttpServletResponseresp) > throws ServletException, IOException { > >

RE: unable to start Tomcat in Windows 7 prof - 64 bit

2010-04-02 Thread Caldarale, Charles R
> From: Karthick Ragunath [mailto:karthick.ragun...@live.com] > Subject: unable to start Tomcat in Windows 7 prof - 64 bit > > classpath Remove the CLASSPATH environment variable; you should never, ever use it, especially not with Tomcat. > jakarta_service_*.log > - > [2010-

RE: Enabling HTTP Put

2010-04-02 Thread Martin Gainty
since doPut disallows request processing if readOnly is true as seen here protected void doPut(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { if (readOnly) { resp.sendError(HttpServletResponse.SC_FORBIDDEN); r

Re: Would like to extract every request to servelt except index.html

2010-04-02 Thread Paul Taylor
Pid wrote: On 02/04/2010 11:09, Paul Taylor wrote: Pid wrote: On 02/04/2010 09:51, Paul Taylor wrote: I would like every request to be redirected to a central servlet EXCEPT if the request is simply index.html, but at the moment everything gets redirected to the servlet, how could I do what I

Re: Would like to extract every request to servelt except index.html

2010-04-02 Thread Pid
On 02/04/2010 11:09, Paul Taylor wrote: Pid wrote: On 02/04/2010 09:51, Paul Taylor wrote: I would like every request to be redirected to a central servlet EXCEPT if the request is simply index.html, but at the moment everything gets redirected to the servlet, how could I do what I want This i

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

2010-04-02 Thread David Calavera
Thank you Mark, then I'll wait to tomcat 7 to upgrade my app, right now my current version works pretty fine and I'm not in a hurry. On Fri, Apr 2, 2010 at 12:18 AM, Mark Thomas wrote: > On 01/04/2010 18:39, Caldarale, Charles R wrote: > >> From: David Calavera [mailto:david.calav...@gmail.com]

Re: Would like to extract every request to servelt except index.html

2010-04-02 Thread André Warnier
Paul Taylor wrote: Pid wrote: On 02/04/2010 09:51, Paul Taylor wrote: I would like every request to be redirected to a central servlet EXCEPT if the request is simply index.html, but at the moment everything gets redirected to the servlet, how could I do what I want This is extract from my w

Re: Would like to extract every request to servelt except index.html

2010-04-02 Thread Paul Taylor
Pid wrote: On 02/04/2010 09:51, Paul Taylor wrote: I would like every request to be redirected to a central servlet EXCEPT if the request is simply index.html, but at the moment everything gets redirected to the servlet, how could I do what I want This is extract from my web.xml SearchServe

Re: Would like to extract every request to servelt except index.html

2010-04-02 Thread Pid
On 02/04/2010 09:51, Paul Taylor wrote: I would like every request to be redirected to a central servlet EXCEPT if the request is simply index.html, but at the moment everything gets redirected to the servlet, how could I do what I want This is extract from my web.xml SearchServerServlet /

Would like to extract every request to servelt except index.html

2010-04-02 Thread Paul Taylor
I would like every request to be redirected to a central servlet EXCEPT if the request is simply index.html, but at the moment everything gets redirected to the servlet, how could I do what I want This is extract from my web.xml SearchServerServlet / index.html thanks Paul ---

Re: unable to start Tomcat in Windows 7 prof - 64 bit

2010-04-02 Thread André Warnier
Karthick Ragunath wrote: Hi, I am unable to start Tomcat in Windows 7 professional edition - 64 bit. http://www.lmgtfy.com/?q=tomcat+%2Bwindows+%2B64bit which (thanks to TGSMITS) is back to its usual self. - To uns

Re: Enabling HTTP Put

2010-04-02 Thread André Warnier
Stacy Mobley wrote: Hi, I was wondering if there was a way to enable HTTP Put via the API's. What makes you think it is not enabled ? (at least, presuming you are talking about Tomcat) I've tried using ServletContext.setAttribute("readonly", "false") without any success. What would that

unable to start Tomcat in Windows 7 prof - 64 bit

2010-04-02 Thread Karthick Ragunath
Hi, I am unable to start Tomcat in Windows 7 professional edition - 64 bit. I recently installed JDK, Tomcat and configured it to the following:- JDK installation dir - C:\Installs\Java\jdk1.6.0_18 JRE installation dir - C:\Installs\Java\jre6 Tomcat installation dir -