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
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
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
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
/*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
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
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 &
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
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
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
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
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
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
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,
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
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
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
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
-
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.
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
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
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
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
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
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
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
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.
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
28 matches
Mail list logo