Keith Ealanta wrote:
Rainer Jung wrote:
Keith Ealanta schrieb:
public void doFilter(ServletRequest servletRequest, ServletResponse
servletResponse, FilterChain filterChain) throws IOException,
ServletException {
log.debug("\nAttributes ... begin.\n");
Enumeration attributeNames
On Sun, May 4, 2008 at 1:09 PM, <[EMAIL PROTECTED]> wrote:
> > David Smith wrote:
> >> But to use the api that the manager app uses, your webapp needs to have
> >> privileged="true" set in the context first. Second, look at the source
> >> for the manager webapp for exactly what it does. And las
Can you describe how you open the 8 browser windows and what browser you
are using? I ask because those 8 browser windows may be coming from one
process and using at most 2 connections, hence the slower processing.
Firefox normally only has one process no matter how you open the new
windows.
Rainer Jung wrote:
Keith Ealanta schrieb:
public void doFilter(ServletRequest servletRequest, ServletResponse
servletResponse, FilterChain filterChain) throws IOException,
ServletException {
log.debug("\nAttributes ... begin.\n");
Enumeration attributeNames = servletRequest.getAt
My english is not very good, I'll try to explain again
For example, my test outside of Tomcat
for(int i=0;i<8;i++){
Thread t = new Thread(new Runner());
t.setDaemon(true);
t.start();
if(i==7)
t.join();
}
My Runner class do some image rendering test...
If
Well, each process is a image rendering process.
But my point is, if I launch 8 threads directly in a JVM outside of
tomcat, it run faster and use 100% of the 8 CPU...
If I make a Servlet (or a JSP) who will start a process each time I call
it (I call it 8 times).
So, the big question is, why I
Thanks for your reply Ben. No, there's no SSL involved.
--john
- Original Message -
From: Ben Stringer <[EMAIL PROTECTED]>
Date: Sunday, May 4, 2008 0:50 am
Subject: Re: unable to read complete POST body via tomcat connector
> On Sun, 2008-05-04 at 00:41 -0600, [EMAIL PROTECTED] wrote:
Thanks for your reply Mark and sorry I didn't include more specifics the
first time.
Tomcat version 5.5.15
mod_jk 1.2.8
Apache 2.0.46
mod_jk-ap20-1.2.8
Java 1.5.0_06
Small files read completely, large files read different amounts
depending of the file. I can't find pattern in how much gets rea
Perhaps you have some contention between the threads or intensive IO.
Can you elaborate a little about the servlet job? Time it takes, kind
of processing it does, etc.
Yuval Perlov
R-U-ON
On May 4, 2008, at 11:21 PM, Gilbert, Antoine wrote:
Hi
I have a 2x quad core (8 cpu units) server
Hi Antoine
The thing to remember is that this is a system which has (at least) four
main parts:
1. Tomcat
2. The operating system
3. A network connection
4. Your application
(and potentially)
5. A database (but you didn't mention that)
Here are some questions.
1. How do you make the connec
Hi.
I'm using tomcat-6.0.16 on a linux server.
I don't want tomcat to insert the date in the log file names, this is very
uncomfortable for me.
And I don't want tomcat to do the log rotation. I'll do it myself with
logrotate
I'm using the default logging facility.
How can I achieve that?
Many Tha
Hi
I have a 2x quad core (8 cpu units) server.
If I start a java program and this one is launching (at the same time) 8
thread doing some CPU intensive jobs, all the CPU are used at 100%, and
that's what I'm expecting..
But, if I am using tomcat, and I call a servlet 8 times to process
> David Smith wrote:
>> But to use the api that the manager app uses, your webapp needs to have
>> privileged="true" set in the context first. Second, look at the source
>> for the manager webapp for exactly what it does. And lastly, notice the
>> manager webapp can't reload itself -- I suspect t
I'm using:
http://java.sun.com/xml/ns/javaee";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd
"
version="2.5">
I don't read schemas well. Perhaps if you would be so kind as
Avi Avi schrieb:
Rainer,
Thanks a lot for the response.
I see similar results as yours in mod_jk.log. So it seems mod_jk is doing
the right thing and passing %25 unescaped.
The error is on the application side while reading the query param. Here is
the snippet:
2008-05-04 10:00:47,684 ERROR [
Keith Ealanta schrieb:
Rainer Jung wrote:
Hi Keith,
Keith Ealanta schrieb:
Can anyone advise me how to access the attributes set in an http
request using JkSetEnv?
I just tried it again, it works for me.
Specifically I'm using JkSetEnv on Apache2.0 to set a number of
attributes in the requ
Did you try using JMX ? Unless you use security manager, this should give
you access to many internals.
Costin
On Sun, May 4, 2008 at 7:59 AM, David Smith <[EMAIL PROTECTED]> wrote:
> But to use the api that the manager app uses, your webapp needs to have
> privileged="true" set in the context
David Smith wrote:
But to use the api that the manager app uses, your webapp needs to have
privileged="true" set in the context first. Second, look at the source
for the manager webapp for exactly what it does. And lastly, notice the
manager webapp can't reload itself -- I suspect there's a r
But to use the api that the manager app uses, your webapp needs to have
privileged="true" set in the context first. Second, look at the source
for the manager webapp for exactly what it does. And lastly, notice the
manager webapp can't reload itself -- I suspect there's a reason for
that.
Hello,
> If you wanted to go that route, might as well call wget or curl to hit
> the manager webapp with a reload command.
It is then possible to send appropriate http request from java class to
manager webapp, isn't it?
But is there any API to reload the context from the app itself? I suppose
Rainer,
Thanks a lot for the response.
I see similar results as yours in mod_jk.log. So it seems mod_jk is doing
the right thing and passing %25 unescaped.
The error is on the application side while reading the query param. Here is
the snippet:
2008-05-04 10:00:47,684 ERROR [orb.servlet.api] tr
Rainer Jung wrote:
Hi Keith,
Keith Ealanta schrieb:
Can anyone advise me how to access the attributes set in an http
request using JkSetEnv?
I just tried it again, it works for me.
Specifically I'm using JkSetEnv on Apache2.0 to set a number of
attributes in the request.
I have captured the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Lloyd,
DIGLLOYD INC wrote:
|
| guest1
| guest2
|
Not sure if Tomcat actually cares, but this is an invalid configuration.
Look at the DTD or Schema (whichever one you are using) again.
- -chris
-BEGIN PGP SIGNATURE-
Version:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Da,
Lists wrote:
|> My guess (and that's all it is) is that you have eliminated much of the
|> context-switching overhead that two instances would have compared to one.
|
| Ah I see. I guess i can look at that with mpstat and look at things like
| t
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
hoffmandirt wrote:
| I tried with IE6, IE7, and Firefox 2.0.0.14 and no luck with any of them.
One more thing: what JVM are you using? I seem to recall some problems
with IBM's 32-bit JVM running on a 64-bit OS having problems with large
file sizes.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
To whom it may concern,
hoffmandirt wrote:
| I tried with IE6, IE7, and Firefox 2.0.0.14 and no luck with any of them.
What is the error you get when you upload, or do you not get an error
(check the logs)?
Do you get any portion of the file? If so
For example - some problem with DB, endless loop and so on can produce
situation, that response is stuck in some steps. how can i set to tomcat
some "try again later" page shown in this situations? thank you.
--
View this message in context:
http://www.nabble.com/How-set-timeout-for-request--tp1
Ben Stringer schrieb:
On Sun, 2008-05-04 at 00:41 -0600, [EMAIL PROTECTED] wrote:
Hello All,
I'm trying to POST a relatively small amount of content (22K) and find
that when the request comes via apache/mod_jk, I can only read part of
the body. The same request to standalone tomcat (HTTP conne
Mark Thomas schrieb:
[EMAIL PROTECTED] wrote:
Hello All,
I'm trying to POST a relatively small amount of content (22K) and find
that when the request comes via apache/mod_jk, I can only read part of
the body. The same request to standalone tomcat (HTTP connector) works
file. I'm reading the P
Hi Avi,
Avi Avi schrieb:
My question is regarding mod_jk/tomcat integration.
I am using Apache 2.0.54 and mod_jk 1.2.26.
When I request the following url to my application, I get an HTTP 500
response (internal server error).
http://www.foo.com/bar?a=param_with_%25
But if I send the request to
Mark Thomas schrieb:
karthikn wrote:
Hi
Can some body on form tell me where can i find ?
>> Load Balacing "mod_jk" for Apache2.2 http server to Tomcat
5.5.23 connectors.
OS = Win 2000 ,UNIX 11 pa
I could not find one on apache mirror sites ...
http://tomcat.apache.org/download-conne
Hi Anurag,
Mehrotra, Anurag schrieb:
I have been trying to connect tomcat 6.0.16 (using JVM 1.5.0_15) on windows
32 bit platform to connect to apache web server httpd 2.0.59 with mod_jk.
I have defined the following entries in my worker.properties:
workers.tomcat_home
workers.java_home
ps
Tho
Hi,
Hansen, P (Palle) schrieb:
Hi All
I'm fairly new to Tomact etc, but I've developed a Web Service in
Eclipse, and it works great there
I created the War Files and deployed them to Tomcat 5.5 running on
Windows and everything looks Great
I then installed Tomcat on Unix Solaris 8 And deploye
Hi Keith,
Keith Ealanta schrieb:
Can anyone advise me how to access the attributes set in an http request
using JkSetEnv?
I just tried it again, it works for me.
Specifically I'm using JkSetEnv on Apache2.0 to set a number of
attributes in the request.
I have captured the mod_jk packets (on
[EMAIL PROTECTED] wrote:
Hello All,
I'm trying to POST a relatively small amount of content (22K) and find
that when the request comes via apache/mod_jk, I can only read part of
the body. The same request to standalone tomcat (HTTP connector) works
file. I'm reading the POST body with code lik
35 matches
Mail list logo