Hi,
I am running tomcat 5.0.28 on Linux (2.6.9-5.ELsmp #1 SMP Wed Jan 5
19:29:47 EST 2005 x86_64 x86_64 x86_64 GNU/Linux).
I am having another test box which runs java process with 1000
threads(each thread will send 1 http requests to above tomcat server
in the delay of 1 ms). This test p
Hi,
Sort of Files you need:
ls -l /usr/local/tomcat/tomcatinstances
drwxrwx---5 tomcat tomcat 4096 2005-06-24 07:59 instance1
drwxrwx---5 tomcat tomcat 4096 2005-06-24 08:07 instance2
drwxrwx---5 tomcat tomcat 4096 2005-06-24 09:50 instance3
ls -l /usr/local/tomca
Complete stab in the dark here ... Tomcat serves a maximum number of threads at
a time (request processing threads). It may be that Tomcat's timings are
accurate for the threads *when* it executes them, but your HTTP Client will be
seeing a queue when Tomcat has no spare request thread capacity.
In my testbox, both of the following processes are running simultaniously:
java testprocess 1: 1000 threads (avg time to execute the
executeMethod:1723.61 ms)
java testprocess 2: 10 threads (avg resp time to execute the
executeMethod: 32 ms)
If it is to do with max processor attribute of Tom
Hi,
Tomcat's max threads by default is usually around 75. I you fire 10 at it then
they all get serviced immediately.
If you send 1000, all 75 get taken up, meaning a queue forms for the 1000-75
remaining threads until Tomcat has spare threads for them.
Allistair
> -Original Message
Hi,
I would think that is because Tomcat's max threads by default is usually around
75. I you fire 10 at it then they all get serviced immediately.
If you send 1000, all 75 get taken up, meaning a queue forms for the 1000-75
remaining threads until Tomcat has spare threads for them.
Allistai
it turns-out that my problem was defining CATALINA_BASE improperly
for the Win2K service. i was setting CATALINE_BASE as an Enviroment
variable. for example:
MS-DOS> CATALINA_BASE=...
and then i 'ed the Service. wrong! that is NOT how to define config
params for the Tomcat (all MS-Wi
Hi all,
i am using tomcat 4.1.30, jk1.x and apache 1.3.x.
In my vhost i have
JkMount /* api13
JkUnMount /forum/* api13
Goal is not to forward domain.de/forum to tomcat.
Problem is that apachectl configtest tells me that JkUnMount
directive is unknown. I can't start Apache with this.
Does someb
When I´m doing all the things that they put to do to configure the ssl
apache tomcat Server, an error occurs. When I´m importing my new
certificate it puts: keytool error: java.lang.Exception: No chain for the
response. Why ?? Someone knows what can I do??
> ==
> Date: Wed, 13 Jul 2005 01:54:18 -0700
> From: "Kenneth B. Harwood" <[EMAIL PROTECTED]>
> To: "Tomcat Users List"
> Subject: RE: CATALINA_BASE
> ==
>
> it turns-out that my problem was defining CATALINA_BASE improperly
> for the Win2K service.
You may need to add this to your Connector declaration:
URIEncoding="UTF-8"
-Tim
Guernsey, Byron (GE Consumer & Industrial) wrote:
Is there a FAQ on how Tomcat 5 and JK1 implement HTTP header character
sets? (ie, does it support RFC-2047)
We use some single sign-on plugin's at the web server
You'll need to check the logs. When you have such a high load, it can be any
number of reasons.
-Tim
Ayyanar Inbamohan wrote:
Hi all,
My web application run in an intranet site, i used
jmeter for testing the Load and performance,
when the concurrent user is set to 500 in jmeter to
test th
It is throwing out of memeory error
--- Tim Funk <[EMAIL PROTECTED]> wrote:
> You'll need to check the logs. When you have such a
> high load, it can be any
> number of reasons.
>
> -Tim
>
> Ayyanar Inbamohan wrote:
>
> > Hi all,
> >
> > My web application run in an intranet site, i
> used
That's your answer then, give Tomcat more memory, or look for leaks in your
code with a profiler.
> -Original Message-
> From: Ayyanar Inbamohan [mailto:[EMAIL PROTECTED]
> Sent: 13 July 2005 12:07
> To: Tomcat Users List
> Subject: Re: 500 - Internal server error
>
>
> It is throwing o
I used jmeter to test the performance, and i found
the leak in the database connections, then i checked
the code and corrected it. then when i use 500 users
concurrently in jmeter to test my application running
in tomcat. i am getting this internal server error.
Is there is any way to increase
Oh I forgot to mention. Currently, the max thread size is 3000.
Note that both the client processes will run simultaniously. One with
more threads runs for long and one with less number of threads stops
quickly.
Moreover if tomcat runs out of threads then it will clearly put the info
in the log
Hi ,
I want to configure Tomcat/4.1.27 in order to use the client
certificate authentication. I first set up the SSL connector following
the How-To.
So now my site runs under SSL without any problem.
Next,I build the client certificate with keytool, and store it into a
file ( trust.keystore ). In
Hi all,
Now our webapp is running in production environment,
nearly 500 people can ask it simultaneously, so the
server performance is very low in all aspects.
so, anyone help me, how to tune the tomcat for the
production environment.
increasing memory and ...
I am using apache at the
Are all your dependents in $CATALINA_HOME\common\lib? Are you sure that
the PATH for the service is, indeed, including that dir? PATH management
for services is a pain.
Look up -delayload in the Win32 link.exe doc, and follow from there into
the hooks.
-Original Message-
From: Michael I
Ivan, Thanks a lot.
Ivan Rodriguez <[EMAIL PROTECTED]> escribió:
public void execute(HttpServletRequest request, HttpServletResponse
response)
throws IOException, ServletException {
[.]
[When you end the server tasks, ]
String redirectString = request.getContextPath() +
"/some/path/to/fin
> Goal is not to forward domain.de/forum to tomcat.
> Problem is that apachectl configtest tells me that JkUnMount
> directive is unknown. I can't start Apache with this.
>
> Does somebody know what i made wrong? JkMount
> works as expected and i used JkUnMount like described in the
> documentation
IMHO most tuning potential is in the code of the developer rather than in
the servlet container.
Use DBCP and avoid looking up contexts and datasources all the time but
simply return these from a "utility database class". If possible cache
data rather than update this upon each request (for ins
Hi ,
I want to configure Tomcat/4.1.27 in order to use the client
certificate authentication. I first set up the SSL connector following
the How-To.
So now my site runs under SSL without any problem.
Next,I build the client certificate with keytool, and store it into a
file ( trust.keystore ). In
Does URIEncoding affect all HTTP headers or only the URIs?
Thanks,
Byron
-Original Message-
From: Tim Funk [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 13, 2005 6:31 AM
To: Tomcat Users List
Subject: Re: RFC-2047 Header Character Set Encoding JK + Tomcat 5
You may need to add this
When I´m running Apache Tomcat I have this problem with Apache. Do you know
Why ???
org.apache.tomcat.util.net.PoolTcpEndpoint acceptSocket
GRAVE: El Punto Final (Endpoint) [SSL:
ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=8443]] ignoró excepción:
java.net.SocketException: SSL handshake er
All,
What 'used' to work is no longer working. Now when I attempt to
access Tomcat (v5.5.7) admin app, I get the following message:
"Tomcat's administration web application is no longer installed by
default. Download and install the "admin" package to use it."
Attempting to access 'statu
I agree, I have an inhouse portal which is accessed by a few hundred
people constantly because it is their main entry desktop, to the whole
intranet. It is fast, with the occasional GC hickkups.
The most likely thing is a performance issue either in the app or db layer.
The most likely possibili
There is no jk folder that was an example that the author created. You can
store it in the conf directory. Just change the path JkWorkersFile
/var/jakarta/conf/jk/workers.properties to JkWorkersFile
/var/jakarta/conf/workers.properties. Just an FYI I store my workers file
in the apache
conf
Stephen,
The admin app is no longer a part of the standard Tomcat download.
You need to go download and install it. Obviously, you need to make
the appropriate changes to conf/tomcat-users.xml
erik
--- Stephen Caine <[EMAIL PROTECTED]> wrote:
> All,
>
> What 'used' to work is no longer worki
Erik Weibust wrote:
Stephen,
The admin app is no longer a part of the standard Tomcat download.
You need to go download and install it.
Or you can use an IDE that bundles Tomcat, including the Tomcat manager.
NetBeans IDE (www.netbeans.org) is one.
-- Geertjan
Obviously, you need to ma
You can use JAVA_OPTS in the catalina.bat file and specify the heap size as in:
set JAVA_OPTS=%JAVA_OPTS% -Xmn128m -Xmx512m
just make sure that the memory you specify for Xmx is lesser than the
ram that you have on the physical machine hosting tomcat or else the
swap memory will be used and you w
CSJakharia,
Did you find a resolution to this problem? I'm
sorry I have been away for a while and forgot about
this.
--- Chirag <[EMAIL PROTECTED]> wrote:
>
>
> I don't think this is a session issue but I think
> they
> must be inserting something extra rather than
> username
> and passwo
I will be out of the office starting 13/07/2005 and will not return until
18/07/2005.
I will be out of the office starting from 14th of July and I will return on
the 18th of July. For urgent matters, you can reach me on my mobile 0033
(0) 6 26 26 88 59
Kind regards
>> Which jk version are you using?
Hi,
dpkg --list | grep apache
tells me:
libapache-mod- 3.3a-4woody1 Apache connector for Tomcat servlet engine
I have Version 3.3a- is this possible? I am really confused now.
Regards,
Chris
-
No i could not find any way out for this Problem
I am still hanging on the same point.
Thanks for trying to help me But Still I m in the same
Problem
Bye for now
CSJakharia
--- Mark Winslow <[EMAIL PROTECTED]> wrote:
> CSJakharia,
>Did you find a resolution to this problem? I'm
> sorry
Chris. Grobmeier said:
> >> Which jk version are you using?
>
> Hi,
> dpkg --list | grep apache
> tells me:
>
> libapache-mod- 3.3a-4woody1 Apache connector for Tomcat servlet engine
I think this is mod-webapp, and not mod-jk. Try to find
libapache-mod-jk-[version] for Debian.
Joost
---
>>I think this is mod-webapp, and not mod-jk. Try to find
libapache-mod-jk-[version] for Debian.
I tried this and finally i did dpkg --list and searched manually.
all i could get is this information again:
libapache-mod-jk 3.3a-4woody1 Apache connector for Tomcat
servlet engine
Any o
to the best of my knowledge JkUnMount is only available at version mod_jk
1.2.7 and above
if you are using apache2 mod_jk lives at apche2/modules/ as something like
mod_jk.so
if you check your apache startup log , maybe error_log
you may see something like:
[Wed Jul 13 12:22:26 2005] [not
Thank you for the reply. I was not aware, is the PATH variable
different for each service? How can it be set? This would likely be
the cause of my problem if it's true.
On 7/13/05, Benson Margulies <[EMAIL PROTECTED]> wrote:
> Are all your dependents in $CATALINA_HOME\common\lib? Are you sure
hope this is useful, this info is based on a Tomcat 5.5.9, Apache 2.0.5 on
Solaris 9
thank this is useful. I have grep'ed the logfiles, i have version:
mod_jk/1.1.0
This is quite bad i guess :-) have to upgrade
Cheers
Chris
-
It can only be set in the system environment for all services as once.
The tomcat service integration does not include any help in this area.
-Original Message-
From: Michael Ivanov [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 13, 2005 12:51 PM
To: Benson Margulies; tomcat-user@jakart
When using tomcat clusters on an untrusted subnet or using a routable
multicast address, i see the potential for a rogue tomcat instance to
join a cluster in order to hijack session information. This doesn't
seem to be cured
by any firewalling of incoming connections to the valid servers, as,
from
Excellent! You've pointed me in the right direction. It turns out I
had PATH set correctly in the User Variables but not in System
Variables. Works great now. Thank you very much.
On 7/13/05, Benson Margulies <[EMAIL PROTECTED]> wrote:
> It can only be set in the system environment for all ser
I want http://mylocal.tomcat.machine/ to run my servlet's hello world
(instead of whatever's in ROOT) without having to put the servlet name
in the path, i.e. I want it to be the "front door" for the domain.
Can't make this work, no amount of futzing with Context path= or
docBase= does it.
This i
Hello.
I'm following the instructions from the following page:
http://www.dougsparling.com/comp/howto/linux_java-1.3.html
At the part where I edit a userconfig.sh file with the vi editor, I'm at a loss
as far as what to type in the editor besides setting the J2EE_HOME and
JAVA_HOME environment
Hi.
Where can I get the Apache patch for openssl 0.9.8 and how do I implement
it?
Thanks,
Lars Nielsen Lind
Hi all,
I have been trying to configure IIS/Tomcat to perform basic
authentication and have not had any success yet,
I would appreciate it if someone could give me some pointers on how to
make this to work.
Thanks,
Ike
After 800 tries at getting APache compiled with the AIX C compiler
xlc_r, I now need to compile mod_k. I downloaded the sources for
connector 1.2.10.
I am trying to compile it on AIX 5L with uname -a "AIX hostname 2 5
00C04A2E4C00". I am using AIX's cc_r compiler per instructions from
http://peopl
Eric,
The admin app is no longer a part of the standard Tomcat download.
You need to go download and install it. Obviously, you need to
make the appropriate changes to conf/tomcat-users.xml
Thank you, but the admin and manager app 'used' to work. In other
words, I was able to access bot
More clues:
We got it to work if you put
I want http://mylocal.tomcat.machine/ to run my servlet's hello world
> (instead of whatever's in ROOT) without having to put the servlet name
> in the path, i.e. I want it to be the "front door" for the domain.
>
> Can't make this work, no amount of fut
Hi all,
I have been trying to configure IIS/Tomcat to perform basic
authentication and have not had any success yet,
I would appreciate it if someone could give me some pointers on how to
make this to work.
Thanks,
Ike
After 800 tries at getting APache compiled with the AIX C compiler
xlc_r, I now need to compile mod_k. I downloaded the sources for
connector 1.2.10.
I am trying to compile it on AIX 5L with uname -a "AIX hostname 2 5
00C04A2E4C00". I am using AIX's cc_r compiler per instructions from
http://peopl
Hi all,
I have been trying to configure IIS/Tomcat to perform basic
authentication
and have not had any success yet, I would appreciate it if someone could
give me some pointers on how to make this to work.
Thanks,
Ike
-
To
To answer your question, it would help to at least include the
relevant OS and tomcat version information.
In Tomcat, you can set a resource valvel that does the auth for you.
Docs for 4.1:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/realm-howto.html. Docs
for 5.0: http://jakarta.apache.org/to
fitchburg arum inhuman cancellate lighthearted
hausdorff lexicography sirius carl groan conrad imperial
bloop earthy decontrolling epitaxial charta escheat intoxicant ahead tenney
I am trying to use ModJk to Link Apache 2 and Tomcat 5.5.9
I followed the instructions and I thought I had it all right!
But I edited my httpd.cong file to support virtual hosts and pointed the
document root to the jsp and the servlet examples and apache serves those
pages to the web but the
Check out http://jakarta.apache.org/tomcat/connectors-doc/ for
infromation on how to configure mod_jk to server up specific sorts of
URLs.
Ben Ricker
On 7/13/05, Ben Stuart <[EMAIL PROTECTED]> wrote:
> I am trying to use ModJk to Link Apache 2 and Tomcat 5.5.9
>
> I followed the instructions and
All,
Sorry about this off topic post, but I am looking for a couple free software
for the pictures on my web sites. One is to display pictures as slide show, and
the other one is to display pictures as thumbnails (clickable for full size).
They must be able to run on UNIX server and do not requ
epyonne wrote:
and the other one is to display pictures as thumbnails (clickable for full
size). They must be able to run on UNIX server and do not require any database.
At least for the thumbnail/clickable-full-size you could have a look at
http://jalbum.net/
Uses jsp-like templates and create
Hi there,
Have a question on dbcp settings. I'd done the settings by configuring the
server.xml and the web.xml of my application and it works fine. But since i
need to install multiple application on the same Tomcat server, i'll need to
place different tag in the server.xml for each applicati
60 matches
Mail list logo