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 because
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 BP39
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
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
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
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 BP39 -
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
[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
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
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
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 ?
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,
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 own
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
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
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 and
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
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
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:
Connector
port=8009
-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
-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 that
-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
|
-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
-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
-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
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
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:
?xml version=1.0
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
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.
--
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
Context docBase='G:/figs' path='/fig'/
This works fine for long periods, but for some unknown reason, this web
context mapping seems to get stuck and
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
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
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
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
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,
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
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,
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
[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
many
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()
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 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
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
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 context:
This works - thank you.
Adrian Blakey
Rainer Jung [EMAIL PROTECTED]
01/21/2008 12:38 PM
Please respond to
Tomcat Users List users@tomcat.apache.org
To
Tomcat Users List users@tomcat.apache.org
cc
Subject
Re: HTTP/1.x 400 Invalid URI: noSlash
Hi Adrian,
[EMAIL PROTECTED] schrieb:
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
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
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-userm=117036808932698w=2
(but the user does not tell how he fixed the
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
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
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 life
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. I checked
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 you
-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
to
-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
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: users@tomcat.apache.org
Sent: Monday,
-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
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
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:
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.setContentType(
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
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
76 matches
Mail list logo