Re: JkMount and Context path

2006-08-19 Thread Evan J
Ok, your answer just recaps everything that is needed to run Apache-jk_mod-Tomcat but does not answer my question. What if in your setting, you have set Context path, what would be the consequences? How are the servlets then are accessed? Is it required to include Context path in the uri ending to

Re: Writing Web.xml & Context.xml at Runtime

2006-08-19 Thread Renaud Waldura
I believe this is just what the Administration webapp does. Available at /admin on your default Tomcat install. - Original Message - From: "Feris Thia" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Friday, August 18, 2006 9:56 PM Subject: Writing Web.xml & Context.xml at Runtime

Re: do I need Apache httpd?

2006-08-19 Thread Steven Bell
The answer mainly depends on your plans for the future. If the machine currently serving up your web app is not going to do anything else web related (requiring a web server such as Apache) then you are probably ok with shutting down Apache and changing Tomcat over to port 80. However, if you

do I need Apache httpd?

2006-08-19 Thread Nolan Johnson
I've got a webapp that's entirely dynamic. That is, all of the content is produced by servlets through Tomcat. The only static content for the site is a .css file and a small error page. Is there any reason for me to have Apache httpd listening on port 80 and have that connected to Tomcat wit

Re: JkMount and Context path

2006-08-19 Thread Martin Gainty
/*httpd.conf JkMount maps all JSP (*.jsp) to ajp13 */ e.g. httpd.conf JkMount /*.jsp ajp13 /*map ajp13 to your webapp docRoot /var/tomcat4/webapps/domain1 ServerName domain1.com ServerAlias www.domain1.com DocumentRoot /var/tomcat4/webapps/domain1 JkMount /* ajp13 /*server.xml

JkMount and Context path

2006-08-19 Thread Evan J
I've a question regarding the way jk_mod relays requests to Tomcat servlets. If I have set my virtualhost to supposedly send requests with such JkMount directive URL prefix, /serve/* and /serve/*.jsp, then I take it, the only way for jk_mod relays requests for this virtualhost to Tomcat web applic

Re: maxPostSize in Tomcat

2006-08-19 Thread Mark Thomas
Krish B wrote: > Hi, > > I tried doing the same using a FORM input > > > This also works and i dont get an error for large file sizes more than the > limit. > > Regards > KK > > > On 8/19/06, Krish B <[EMAIL PROTECTED]> wrote: >> >> Hi Mark, >> >> I restarted Tomcat after making the change &

Valve && Connectors && Request-Objects

2006-08-19 Thread Alexander Lazic
Hi, today i have try to get some Infos from tomcat 4.1.x similar like --- 5.5.x =>container/webapps/manager/WEB-INF/classes/org/apache/catalina/manager/StatusTransformer.java . . . mBeanServer.getAttribute(grpName, "requestCount")); . . --- My main target is as follow: currentUsersSessions cur

Not getting error for posting large data

2006-08-19 Thread Krish B
hi, I am not getting a error when i POST large amounts of data in tomcat 5.5.15 I started the server after changing server.xml I used a FORM to post data > maxPostSize But i dont get a error. The request is processed by the servlet. I think my configuration is wrong... Any help in correc

Re: Parsing keyvalue pairs in POST data

2006-08-19 Thread Martin Gainty
javax.servlet.http.HTTPServletResponse.setIntHeader("Content-Length",4096000); Martin -- * This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email me

Re: UndeployTask did not delete webapps directory

2006-08-19 Thread wolverine my
You are right, Veit Guna! I'm using Tomcat 5.5 on Windows XP and the problem is solved after I added the attribute antiJARLocking="true" in the Context. On 8/19/06, Veit Guna <[EMAIL PROTECTED]> wrote: Hi. I guess you're using Tomcat under Windows. There's a problem with freeing resoures unter

What is mcastBindAddr for??

2006-08-19 Thread Patrick Wang
Hi, I am currently setting up 2 linux server and enabled the clustering and multicast for these 2 servers. I verified using the cat /proc/net/igmp command and found out once I started the tomcat, machine will subscribe to the 228.0.0.4 group, multicast address. I also used the ethereal

Apache module?

2006-08-19 Thread Oliver Block
Hi, I am not really familiar with tomcat. I understand tomcat as server for JSP and servlets. Or in other words, a server that is capable to host web applications. I also know, that tomcat colaborates with apache. Now I am wondering, if there is also an apache module which has the capabilities

Re: maxPostSize in Tomcat

2006-08-19 Thread Krish B
Hi, I tried doing the same using a FORM input This also works and i dont get an error for large file sizes more than the limit. Regards KK On 8/19/06, Krish B <[EMAIL PROTECTED]> wrote: Hi Mark, I restarted Tomcat after making the change & i am using port 8080. Regards KK On 8/19/06,

Re: maxPostSize in Tomcat

2006-08-19 Thread Krish B
Hi Mark, I restarted Tomcat after making the change & i am using port 8080. Regards KK On 8/19/06, Krish B <[EMAIL PROTECTED]> wrote: hi Mark, Yes. I used apache httpclient to POST a large file to a servlet in Tomcat. I expected tomcat to throw a error as size was cet to 4 MB. Any thought

Re: maxPostSize in Tomcat

2006-08-19 Thread Krish B
hi Mark, Yes. I used apache httpclient to POST a large file to a servlet in Tomcat. I expected tomcat to throw a error as size was cet to 4 MB. Any thoughts where i am wrong... Regards KK On 8/19/06, Mark Thomas <[EMAIL PROTECTED]> wrote: Krish B wrote: > hi, > > I am trying to use maxPostS

Re: maxPostSize in Tomcat

2006-08-19 Thread Mark Thomas
Krish B wrote: > hi, > > I am trying to use maxPostSize of tomcat in 5.5.15. > > I edited the server.xml and added maxPostSize = 4MB > > port="8080" maxHttpHeaderSize="8192" > maxThreads="150" minSpareThreads="25" maxSpareThreads="75" > enableLookups

Re: Parsing keyvalue pairs in POST data

2006-08-19 Thread Mark Thomas
Santosh Puranshettiwar wrote: > Well, there's another problem. > HttpServletRequest.getParameter() is unable to parse the key-value pairs > in the http message body if the the total content-length is greater that > 2016. > > Any ideas? Please. > Santosh. maxPostSize on the connector? Mark -

Re: Tomcat BUILD FAILED, error=2

2006-08-19 Thread Mark Thomas
Martin Gainty wrote: > The message was truncated ..What is the root cause ? error=2 is usually because an executable specified in an exec can not be found. In this case it was svn as was clear from further down the output. BUILD FAILED C:\Program Files\Apache Software Foundation\apache-tomcat-5.

maxPostSize in Tomcat

2006-08-19 Thread Krish B
hi, I am trying to use maxPostSize of tomcat in 5.5.15. I edited the server.xml and added maxPostSize = 4MB I am able to post a file of size > 4 MB ( 16MB etc.. ). I was supposed to get an error "Post too large" but dont seem to get it. I think i have not configured it correctly... Any p

Re: Parsing keyvalue pairs in POST data

2006-08-19 Thread Martin Gainty
I assume you are front-ending with Apache..? I would use HTTP 1.1 instead of (HTTP 1.0 where length must be specified beforehand) Here are some keyword values in httpd.conf that will help you overcome your current limitations You can adjust the limit on the size of any field via LimitRequestFi

Re: Upgrade problem (useBean)

2006-08-19 Thread charly
Is this issue still current? If yes I have seen more emails on the list about such problems and it was because a configuration error: In TC 5.5.17 you will have troubles when and having identical paths or the context docBase attribute ist empty: which also means that the paths are identica

Re: UndeployTask did not delete webapps directory

2006-08-19 Thread Veit Guna
Hi. I guess you're using Tomcat under Windows. There's a problem with freeing resoures unter Windows. Add antiResourceLocking="true" to your global Context.xml like: That worked for me. regards Veit wolverine my schrieb: > Hi! > > What could be the reason the org.apache.catalina.ant.Undep

Re: Creating /WEB-INF folders for virtualhosts

2006-08-19 Thread Edoardo Causarano
The host appbase attribute specifies the directory where the wars (exploded or left intact) are stored and is not a documentroot in the apache httpd sense. The latter would be the ROOT.war webapp to which root relative paths unmatched by any other war prefix resolve. Distribution of object

Re: Parsing keyvalue pairs in POST data

2006-08-19 Thread Santosh Puranshettiwar
Well, there's another problem. HttpServletRequest.getParameter() is unable to parse the key-value pairs in the http message body if the the total content-length is greater that 2016. Any ideas? Please. Santosh. Santosh Puranshettiwar wrote: Managed to digg it. Had to set Content-Type=applica

Re: Parsing keyvalue pairs in POST data

2006-08-19 Thread Santosh Puranshettiwar
Managed to digg it. Had to set Content-Type=application/x-www-form-urlencoded Santosh Puranshettiwar wrote: Hello, How does tomcat parse the key-value pairs sent in a Http Request as POST data? I am unable to read the parameters using the HttpServletRequest.getParameter() method. Parameters a

Parsing keyvalue pairs in POST data

2006-08-19 Thread Santosh Puranshettiwar
Hello, How does tomcat parse the key-value pairs sent in a Http Request as POST data? I am unable to read the parameters using the HttpServletRequest.getParameter() method. Parameters are being sent by a J2ME application. Tell me if more details are required. Thanks alot. Santosh.

From SSL back to unsecured channel

2006-08-19 Thread WU T.L.
Hi, I've set up a SSL on the page /secure/login.jsp It works fine. However, the links after this page are all SSL-enabled Can I just make /secure/login.jsp SSL-enabled while others aren't. The setting in web.xml (extract) is teacherPassW /secure/login.jsp CONFIDENTIAL Best regards. Fro