Hi
can any one suggest me how to configure Thread pool in tomcat 4.1.
my application users are 500.
Regards
Madhu
Hi;
I did a Netbeans 6 JSF Project recently which was developed and tested
with Tomcat6. The final installation was set up with Tomcat 6.0.14
behind IIS6 (Connectors / isapi_rediretor (latest version)).
Running some tests we discovered that allmost all Javascript was
filtered out and we
> > tomcat requires a JDK, and not a JRE!
>
> That's not true. Tomcat 5.0 and older required a JDK, 5.5
> and newer run quite happily with just a JRE, since they no
> longer use javac.
That's good to know. I'm still having problems though.
I don't believe any of my classes are corrupted bec
Hello,
thank you Chuck, Ben and all at this list for your responses
I think I'll try the apache "secret" feature but i don't know which
attribute it matches under tomcat ajp connector conf ?
Any idea ?
Regards
Jean-Louis Matéo
Bull, Architect of an Open World TM
Bull SA - 53 r de l'Etang BP3
Good morning,
I would like to know if Tomcat 6 is much more advantageous than 5.5 in
a production server.
I plan to deploy Tomcat in a production server where High Availability
requirement is about 100%.
I am newbie to Tomcat, so I would like to have opinions from people
which have used both versi
Yes, you are right!
Feedback welcome :-)
Peter
Am 18.01.2008 um 22:24 schrieb David Rees:
On Jan 18, 2008 1:13 PM, David Rees <[EMAIL PROTECTED]> wrote:
So your testing is with the to-be-released 5.5.26? Where can I get a
copy of this and the changes going into 5.5.26?
I found the changel
Hello,
I would like to redeploy my web application as war file, but if I export
my project from Eclipse
he couldn't overwrite the old version in folder webapps. I deployed the
library for struts in my project
and he couldn't delete this while tomcat is running.
So what can I do to make a redep
Hi everybody,
which source files tomcat (apache-tomcat-6.0.14-src\java\org\apache)
handles the "server.xml" contents.
Precisely, I would like to know which source parses the "Connector" tag ?
Thank you
Regards
Jean-Louis Matéo
Bull, Architect of an Open World TM
Bull SA - 53 r de l'Etang BP3
Hi Holger,
Holger Burde wrote:
Hi;
I did a Netbeans 6 JSF Project recently which was developed and tested
with Tomcat6. The final installation was set up with Tomcat 6.0.14
behind IIS6 (Connectors / isapi_rediretor (latest version)).
Running some tests we discovered that allmost all Javascr
[EMAIL PROTECTED] wrote:
Hello,
thank you Chuck, Ben and all at this list for your responses
I think I'll try the apache "secret" feature but i don't know which
attribute it matches under tomcat ajp connector conf ?
Any idea ?
At least
http://tomcat.apache.org/connectors-doc/reference/worker
I've been seeing some unusual behaviour when staring eclipse from the
server tab.
When I start tomcat the server tab never reports that tomcat as started.
It always appears as either stopped or starting...
The server is actually running an I'm able to use the installed webapps
and do debuggi
Hi,
Do you have any initialization errors in your logs? If not, can you
create a reproducible test case (war)?
I have no errors in the log.
I will create a testcase with all relevant informations this evening and
will give feedback here.
Thanks,
Frank
Hi;
Thanks for the reply.
This type of matching breaks at least every JSF Netbeans (5.x/6.x) App and
maybe others. We have no choice now than patching the isapi_redirector. Also i
thought that Tomcat protects those dirs ? or is this not the case if access is
via ajp13 ?
hb
-Ursprünglic
Hi!
Is there any benchmark test available that allow me to determine the number
of concurrent requests that Tomcat supports for a particular type of
hardware?
Thanks a lot
Holger Burde wrote:
Hi;
Thanks for the reply.
This type of matching breaks at least every JSF Netbeans (5.x/6.x)
App and maybe others. We have no choice now than patching the
isapi_redirector. Also i thought that Tomcat protects those dirs ? or
is this not the case if access is via ajp13 ?
It
On Jan 20, 2008 9:59 AM, Martin Gainty <[EMAIL PROTECTED]> wrote:
> are you using apache as front-end?
> or are you relying on the https connector?
> Martin-
~
I am using apache as front-end
~
lbrtchx
~
-
To start a new topic,
Hi;
Ok - report is under way ...
PS I 1st checked the Netbeans List to make sure i can't do anything about this
from the Netbeans side. Its just emited from the IDE this way and there is no
way to change those internals.
Thx
hb
-Ursprüngliche Nachricht-
Von: Rainer Jung [mailto:[
> From: Andrew Hole [mailto:[EMAIL PROTECTED]
> Is there any benchmark test available that allow me to
> determine the number
> of concurrent requests that Tomcat supports for a particular type of
> hardware?
You already have it: your own Tomcat, your own app, your own mix of requests,
and your o
I wish to create a JDBC connection and store it in a JNDI tree for use by a
spring configuration file that usually runs my tomcat webapp. I'm trying to
figure out how tomcat creates the connection pool from my config file and
stores it in JNDI, but it is absolutely beyond me.
I've googled and l
Hi,
I am using Tomcat 5.5 and have successfully setup a Realm containing
users/groups from my Active Directory domain. I can login (to the /manager
app, for example) with no problem. Now, I would like to use IIS and NTLM
authentication so the user is not prompted for login. I have unchecked th
SB ... have you had any luck yet, perhaps on any other forums? I am having
the same difficulties and am looking for *working* examples.
Thanks,
Mark
Siobhan-2 wrote:
>
> To anyone who has successfully used Comet:
>
>
>
> I've been trying to use Comet with Tomcat 6.0 for a few weeks now a
No. I can't seem to get any help to really outline the process.
-Siobhan
-Original Message-
From: mrbasinger [mailto:[EMAIL PROTECTED]
Sent: Monday, January 21, 2008 8:27 AM
To: users@tomcat.apache.org
Subject: Re: Comet Development
SB ... have you had any luck yet, perhaps on any othe
Rainer,
thanks for valuable info.
>> Let's see, if this matches your experience: assuming recovery_options=0,
> the request should be retried on other lb member workers (if such exist
> and are OK), unless it's a POST and the POST body is bigger than 8186
> bytes and more than the first 8186 bytes
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Claire,
Claire Dugenet wrote:
| The first DLL, created with JNI, works well. Because : there are several
| fonctions in the second DLL (this one in language C).
I would imagine that they are both written in C, yes?
| The first function
| (which doe
Yes, it works.
Here is an excerpt of my workers.properties:
...
worker.list=web1,jkstatus
worker.web1.host=127.0.0.1
worker.web1.port=8009
worker.web1.type=ajp13
worker.web1.lbfactor=1
worker.web1.secret=password
...
and this one, my server.xml:
Note that within workers.properties, passw
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Filip,
Filip Hanik - Dev Lists wrote:
| the solution is to not store stuff in the session modified by other
| threads, if that's the case, then its not really something you wanna
| store in a session
What's wrong with modifying something in a sessio
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Eric,
Eric B. wrote:
| After further debugging, I noticed that my compiled JSP class file has a
| response.setContentType( "text/html" ) as pretty much the first
functional
| line in the _jspService() method. I checked my jsp file and don't
have tha
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Albrecht,
Albretch Mueller wrote:
| How could you then specify a different (virtual) host accepting only
| https connections, that would authenticate the user and then somehow
| communicate to the particular webapp Sec Realm so the user is
| authenti
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chris,
Chris Baty wrote:
[snip]
Did you mean to turn off the "cwrecyclers" worker? It's not listed in
the worker.list:
| worker.list=yougarage
??
- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (MingW32)
Comment: Using GnuPG with Mo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tc,
tc wrote:
| The developers think there may some issue with the database. They have
| also done multi-user testing without being able to reproduce the problem.
If they think it's the database, it's probably their code interacting
with the databa
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Peter,
Peter Crowther wrote:
|> From: Andrew Hole [mailto:[EMAIL PROTECTED]
|> Is there any benchmark test available that allow me to
|> determine the number
|> of concurrent requests that Tomcat supports for a particular type of
|> hardware?
|
| You
This is a tricky one so bare with me...
We are using Tomcat 5.5 on windows running Java SSL. There are MANY
concurrent clients using SSL.
After investigating what seemed to be a memory leak and taking a
memory dump we realized that the memory is not leaking but rather
growing with a SoftR
Alec,
I'm not aware of any specific causes for this behavior with Eclipse 3.3.x and
WTP 2.0.x. To begin searching for a cause, it would be helpful to know what
happens if you unzip a new Tomcat install, create a runtime and server from
that install in Eclipse, and try starting that server from
Thanks for the ideas, still no luck. This didn't work. It acts like Apache
and Tomcat aren't connecting at all. I copied index.jsp to index.html and
everything worked except the JSP code. I changed
/usr/share/tomcat5.5-webapps/ROOT/cwrecyclers/WEB-INF/web.xml to:
xmlns:xsi="http:/
If you think that your requests do net get forwarded to Tomcat, set
JkLogLevel to debug and do a single request, that should go to Tomcat.
Post the contents of the jk log then.
Regards,
Rainer
Chris Baty wrote:
Thanks for the ideas, still no luck. This didn't work. It acts like Apache
and
We have solved the problem, in fact it seems that is not exactly slow
replication but slow deserialization of the sessiond data.
The way we solved this is not too good but deadlines. you know, if
at the first try we don get the session data we try again up to three
times spaced by 100ms.
--
T
I think you need to explain a little more on what you want to achieve by
using comet with JSPs.
The JSP processing model is bound to the traditional Servlet processing
model,
and a compiled JSP is a traditional Servlet - not a Comet Servlet.
I am not sure if including response snippets generated
Hi Guys
I have tomcat 5.0(shipped as part of jboss 4.02), and this has a static
web context set up within the tomcat server.xml
This works fine for long periods, but for some unknown reason, this web
context mapping seems to get stuck and fail to service all the files
within t
I would like directions or steps on how to set up a working Comet test
example. I'm very new to Comet and haven't been able to find a step-by-step
process as to how a Comet application is set up using a servlet with Tomcat.
I want something like:
1. Change the Nio connector. Find the file.and
You need to get some Java thread dumps of the JBoss during the time the
problem is visible. The reason for the hanging backend most likely can
be found by investigating the thread dumps.
That's kind of an FAQ answer, you can google for Java thread dump.
Regards,
Rainer
Steve Gaunt wrote:
Siobhan wrote:
I would like directions or steps on how to set up a working Comet test
example. I'm very new to Comet and haven't been able to find a step-by-step
process as to how a Comet application is set up using a servlet with Tomcat.
I want something like:
1. Change the Nio connector. Find
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Rainer,
Rainer Jung wrote:
| If you think that your requests do net get forwarded to Tomcat, set
| JkLogLevel to debug and do a single request, that should go to Tomcat.
Or, just check to see that your worker is mentioned in worker.list.
- -chris
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Rainer,
Rainer Jung wrote:
| If you think that your requests do net get forwarded to Tomcat, set
| JkLogLevel to debug and do a single request, that should go to Tomcat.
Or, just check to see that your worker is mentioned
Here's my mod_jk list:
on Jan 21 16:46:14 2008] [6389:21952] [debug] do_shm_open::jk_shm.c (295):
Truncated shared memory to 28800
[Mon Jan 21 16:46:14 2008] [6389:21952] [debug] do_shm_open::jk_shm.c (327):
Initialized shared memory size=28800 free=28672 addr=0x2b362997a000
[Mon Jan 21 16:46:14
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Rainer,
Rainer Jung wrote:
| I think I saw [worker.list] further down, before he dfined the
properties of that
| worker. He split the list into multiple worker.list lines, which is
| allowed and might be nice for keeping the files modular.
Oops. Col
My guess is that the problem is with: favicon.ico and your URL
specification
The following works ok:
http://67.207.133.158:8180/cwrecyclers/
http://cwrecyclers.hopto.org:8180/cwrecyclers/
On Windows XP, the following works with Internet Explorer except for
the icon:
http://cwrecyclers.hopto
Christopher Schultz wrote:
Rainer Jung wrote:
| I think I saw [worker.list] further down, before he dfined the
properties of that
| worker. He split the list into multiple worker.list lines, which is
| allowed and might be nice for keeping the files modular.
Oops. Color me stupid and obnoxious!
You mapped all URLs that start with /cwrecyclers but your request is for
"/", which doesn't start with /cwrecyclers, so it doesn't get forward.
That's OK.
By the way: version 1.2.18 is pretty outdated, we are at 1.2.26.
Regards,
Rainer
Chris Baty wrote:
Here's my mod_jk list:
on Jan 21 16:
This page doesn't describe where to put this code. Can you explain that?
-Siobhan
Siobhan wrote:
> I would like directions or steps on how to set up a working Comet test
> example. I'm very new to Comet and haven't been able to find a
step-by-step
> process as to how a Comet application is set u
First off, thanks for your responses. The contributors to this list
are extremely responsive, patient, and helpful, and I really
appreciate it!
Hmm, in your test case did you set the HttpURLConnection to use
chunked transfers (setChunkedStreamingMode(...))? I find if I use
chunked transfers, the
But this client isn't using a proxy. I've even tried the same client
on my home network, where other machines function properly, to try to
eliminate router/network/firewall issues. Is it possible that (and
here I'm delving into territory I know next to nothing about) the
client's socket library w
> Let me get this straight: you want to create a webapp that does nothing
> other than authenticate connections for another webapp?
>
> Why would you want to do something like this?
~
Well, what else would you do if:
~
* you maintain a number of name-based virtual hosts (of your own and
for devel
the socket library itself shouldn't wait for protocol specific packets.
only if there is some sort of filtering mechanism on the box for the
http protocol, then it would do it
Filip
Peter Warren wrote:
But this client isn't using a proxy. I've even tried the same client
on my home network, w
answers inline
Peter Warren wrote:
First off, thanks for your responses. The contributors to this list
are extremely responsive, patient, and helpful, and I really
appreciate it!
Hmm, in your test case did you set the HttpURLConnection to use
chunked transfers (setChunkedStreamingMode(...))?
madhu sudhan bandari wrote:
can any one suggest me how to configure Thread pool in tomcat 4.1.
http://tomcat.apache.org/tomcat-4.1-doc/config/coyote.html
my application users are 500.
Concurrent? Total? With what sort of workload?
To be perfectly honest the answers to the above questions don
Filipe David Manana wrote:
Good morning,
I would like to know if Tomcat 6 is much more advantageous than 5.5 in
a production server.
Generally, yes. YMMV.
I plan to deploy Tomcat in a production server where High Availability
requirement is about 100%.
Hmm. High, but not impossible with the
[EMAIL PROTECTED] wrote:
Hi everybody,
which source files tomcat (apache-tomcat-6.0.14-src\java\org\apache)
handles the "server.xml" contents.
Precisely, I would like to know which source parses the "Connector" tag ?
It isn't that simple. A re-packaged commons-digester is used so there are
m
Hehl, Thomas wrote:
I wish to create a JDBC connection and store it in a JNDI tree for use by a
spring configuration file that usually runs my tomcat webapp. I'm trying to
figure out how tomcat creates the connection pool from my config file and
stores it in JNDI, but it is absolutely beyond me.
eborisow wrote:
If someone has been able to get this working and could provide some help,
that would be great.
Haven't tried it but you should be able to create a custom Realm by
extending the existing JNDIRealm and manipulating the user name, probably
by overriding the authenticate() methods
Hehl, Thomas wrote:
I wish to create a JDBC connection and store it in a JNDI tree for use by a
spring configuration file that usually runs my tomcat webapp. I'm trying to
figure out how tomcat creates the connection pool from my config file and
stores it in JNDI, but it is absolutely beyond me.
Should it be normal behavior to return the response: HTTP/1.x 400 Invalid
URI: noSlash
To the request: GET/bar/foo%3A%2F%2Fxx.org%2Fencs%3Fenc%3D100%23101
Note: Unencoded it is: GET /bar/foo://xx.org/encs?enc=101#101
Tomcat 6.0.14 jdk 1.5
Is this a defect? Could someone explain how this URI i
I want to replicate it. I need to use my DAO spring configuration which
loads the factory from JNDI for my connection pool. I want to create the
connection pool and store it within JNDI so my test application picks up the
spring configuration with no further fuss nor muss.
-Original Message---
Hi Adrian,
[EMAIL PROTECTED] schrieb:
Should it be normal behavior to return the response: HTTP/1.x 400 Invalid
URI: noSlash
To the request: GET/bar/foo%3A%2F%2Fxx.org%2Fencs%3Fenc%3D100%23101
Note: Unencoded it is: GET /bar/foo://xx.org/encs?enc=101#101
Tomcat 6.0.14 jdk 1.5
Is this a def
markt-2 wrote:
>
>
> Haven't tried it but you should be able to create a custom Realm by
> extending the existing JNDIRealm and manipulating the user name, probably
> by overriding the authenticate() methods.
>
>
Ok, thanks Mark... that gives me a place to start.
--
View this message in co
This works - thank you.
Adrian Blakey
Rainer Jung <[EMAIL PROTECTED]>
01/21/2008 12:38 PM
Please respond to
"Tomcat Users List"
To
Tomcat Users List
cc
Subject
Re: HTTP/1.x 400 Invalid URI: noSlash
Hi Adrian,
[EMAIL PROTECTED] schrieb:
> Should it be normal behavior to return the
Mark Thomas wrote:
eborisow wrote:
If someone has been able to get this working and could provide some
help,
that would be great.
Haven't tried it but you should be able to create a custom Realm by
extending the existing JNDIRealm and manipulating the user name,
probably by overriding the a
Hi All,
At every user instance of an applet is there a "session"
started as reported by tomcat manager for that application?
Charlie
---
This message is a CONFIDENTIAL communication. If you are not the intended
re
Hi
I'm using Tomcat 5.5.17 with jdk 1.5.0_14, and i want to know what is the
best way to check if the tomcat thread pool is working all right.
I think I have the same problem as reported here:
http://marc.info/?l=tomcat-user&m=117036808932698&w=2
(but the user does not tell how he fixed the probl
Applet are client side, they are not related to tomcat. If you applet
request ressources from server, the fact it creates or not session
depend on the way it access it and on the fact ressource requires or not
a user session.
Charlie Wingate a écrit :
Hi All,
At every user in
> as I mentioned, the "last chunk" doesn't generate an END event, I tried
> it locally. of course against 6.0.x trunk.
I played around a bit because I was definitely getting an END event
and found: Sending 0crlf does not generate and END event. However
sending 0crlfcrlf, which is what HttpURLCon
> From: Yuval Perlov [mailto:[EMAIL PROTECTED]
> Subject: ssl.SessionId Cache keeps growing
>
> 1. Any one has ever met this problem?
I haven't, but it's definitely an interesting one.
> 2. Is there anyway to access the ssl.SessionId object and invalidate
> it during the HttpServletRequest li
"Christopher Schultz" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> Eric B. wrote:
> | After further debugging, I noticed that my compiled JSP class file has a
> | response.setContentType( "text/html" ) as pretty much the first
> functional
> | line in the _jspService() method.
Siobhan wrote:
This page doesn't describe where to put this code. Can you explain that?
I should have spotted this earlier sorry, are you not clear on how to
construct a java web application? Lots of stuff around (Google is your
friend) to explain how to make a basic web app, a Comet app is
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Albrecht,
Albretch Mueller wrote:
|> Let me get this straight: you want to create a webapp that does nothing
|> other than authenticate connections for another webapp?
|>
|> Why would you want to do something like this?
| ~
| Well, what else would y
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Eric,
Eric B. wrote:
| Ahhh yes - my mistake for not being clear enough. I had already
discovered
| that. Or another option is to put <% response.setContentType(
"text/css" )
| %>. However, I am looking more in the sense that I don't want Jasper
t
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Tc,
>
> tc wrote:
> | The developers think there may some issue with the database. They have
> | also done multi-user testing without being able to reproduce the
> problem.
>
> If they think it's the database, it's probably their code interacti
Is there a database listener installed? and
is it listening on the right port?
do you have the correct connection string?
do you have the correct driver (DB version) (JDBC version) installed?
M-
- Original Message -
From: "tc" <[EMAIL PROTECTED]>
To:
Sent: Monday, January 21, 2008 8:22
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Tc,
tc wrote:
| Thanks for the suggestions. I will have a look at the source and see how
| the app is interacting with the database.
|
| I don't think the whole tomcat server freezes; just the one application.
Okay. That could be an app-specific db
IMHO, there isn't much you can do about once you use sessions. The problem
with session is that there is no natural way telling that session is ended
and can be discarded! So system may have to keep session objects for long.
For this reason, I always avoid to use sessions. If this is a major prob
> From: Christopher Schultz [mailto:[EMAIL PROTECTED]
> Subject: Re: Tomcat App becomes Unresponsive
>
> David Delbecq has already told you that sending a SIGQUIT to a running
> JVM will generate a thread dump on standard output.
I recently found another tool to take stack dumps of a running JVM
Try jakarta.apache/jmeter
Robson Hermes wrote ..
> Hi
>
> I'm using Tomcat 5.5.17 with jdk 1.5.0_14, and i want to know what is the
> best way to check if the tomcat thread pool is working all right.
>
> I think I have the same problem as reported here:
> http://marc.info/?l=tomcat-user&m=117036
Hello Andrew, if you are looking for comprehensive HW review for particular
hardware good luck. The following will get you started and a PDF by Peter Lin
using JMeter is the closest I have seen. HTH, David
http://wiki.apache.org/tomcat/FAQ/Performance_and_Monitoring
Andrew Hole wrote ..
> Hi!
>
"Christopher Schultz" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Eric,
>
> Eric B. wrote:
> | Ahhh yes - my mistake for not being clear enough. I had already
> discovered
> | that. Or another option is to put <% response.setC
Thank you chris for your reply.
I try to arrange all the services on one webserver, anyway if it need to be
devided into several servers, I have to find a way to communicate between the
servers, and I may use JMS or RMI to implement this. How about the diffierence
between JMS and RMI?
Thanks a
Well, this is not session problems I am having but SSL Sessions - you
can't have a secure connection without using one of those.
On a side note, I'd like to argue that if you have users logging in,
you can't help having some kind of object on the server side telling
you which user is actual
On Jan 21, 2008, at 11:50 PM, Caldarale, Charles R wrote:
From: Yuval Perlov [mailto:[EMAIL PROTECTED]
Subject: ssl.SessionId Cache keeps growing
1. Any one has ever met this problem?
I haven't, but it's definitely an interesting one.
2. Is there anyway to access the ssl.SessionId object a
86 matches
Mail list logo