Antonio Fiol Bonnín wrote, On 3/11/2004 11:11 PM:
Tomcat will
detect the closed connection and return that JK thread back to the pool
for later use.
It won't. If the firewall has already dropped the connection, Tomcat
will not notice it being closed.
OK, so if the conn is dropped, TC won't know
Hello dudes, i´m trying to set some attributes to a
request in my
servlet, that´s pretty easy as you know, but after i must use
redirect to a
JSP page and when i try to recall those attributes created before they
doesn´t appear in JSP´s request object. Even thought i set a request´s
Hi All,
I am facing a problem as soon as i include jdom.jar (which i have download from
http://www.jdom.org/dist/binary/)
my %@ page errorPage% and error-page do not display anything in the browser.Even
though the files pointed by them are getting processed - as i can see that on the
console.
Dear folks,
How could i dump HTTP Response and Request headers.
Im using Apache 1.3 and Tomcat 4.0 MOD_JK.
For Mozilla you have a tool called Live HTTP Headers
(http://livehttpheaders.mozdev.org/) that does exactly
what you want. You install it into Mozilla and it
shows you the headers
Just create extra worker declarations on workers2.properties on different
ports.
-Original Message-
From: Randy Harrison [mailto:[EMAIL PROTECTED]
Sent: 11 March 2004 20:56
To: Tomcat Users List
Subject: mod_jk2 with multiple tomcats
Hi all,
I'm currently using apache2 + mod_jk2 +
On 03/12/2004 06:05 AM mganesh wrote:
Dear folks,
How could i dump HTTP Response and Request headers.
Im using Apache 1.3 and Tomcat 4.0 MOD_JK.
Hi Ganesh,
if you are talking client-side, then there is an excellent extension for
Firefox browser called HTTP headers. I expect there's something
On 03/12/2004 08:49 AM Andi Reinbrech wrote:
The next best thing since sliced bread is UML (no, not drawings of stickmen)
User Mode Linux.
Some hosting companies give you a Linux VM with full root telnet access.
You can do with it whatever you want, install Tomcat, install JDK,
PostgreSQL -
Hallo,
I am a newbie for tomcat 4.1.29.I have deployed tomcat4.1.29 successfully.The
help I need is how to cofigure tomcat to give access to a client .I have configured
only to localhost.
Thankx in advance .
regards
Mano
Yahoo! India Insurance Special: Be informed on the best
I think they are, because it finds the commons-digester.jar! In fact I use
both CATALINA_BASE and CATALINA_HOME, but Catalina.jar is in the same
directory with the same permissions as commons-digester.jar, which is
used, clearly.
'can't understand.
For those interested, someone added old
One tomcat tool is the RequestDumperValve.
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/valve.html
(The doc is a bit sparse, so it needs some testing
what is logged and if that is enough)
-Original Message-
From: Adam Hardy [mailto:[EMAIL PROTECTED]
Sent: Friday, March 12,
what type of access?
On Fri, 12 Mar 2004, xavier manohar wrote:
Date: Fri, 12 Mar 2004 09:32:43 + (GMT)
From: xavier manohar [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: how to configure to give access to clients
Hallo,
I
Hallo Alex,
I want to develop an application that I am working in a client and
should have access to the main server.Where should I jsp files and compile it .can
u understand .I am confused.
regards'
Mano
Yahoo! India Insurance Special: Be informed on the best policies,
Hallo Alex,
I want to develop an application that I am working in a
client and should have access to the main server.Where should I save the jsp files
and compile it .can u understand .I am confused.
regards'
Mano
Yahoo! India Insurance Special: Be informed on the best
Yes, +1 from me. I've been using UML at www.memset.co.uk for 3 months so
far without the slightest glitch. I couldn't live without my root access
:)
I notice that memset.co.uk charge £9.60/year for the registration of .com
domains. This is significantly lower than anywhere else. The cheapest
For simple domain registration £9.60 is expensive :). www.namecheap.com
offer domain
registration for $8.99 with dynamic DNS and a host of other goodies.
-Original Message-
From: Graham Reeds [mailto:[EMAIL PROTECTED]
Sent: 12 March 2004 10:19
To: Tomcat Users List
Subject: Re: Java
Peter Lin wrote:
Latest screen shot http://cvs.apache.org/~woolfel/alpha-mon-cap.png
http://tao.altern8.net/jmeter-mon.zip
I've tested it quite a bit today. This weekend I plan to run a
long-ish test and let the monitor run for 48+ hours to see if memory
consumption grows. So far for short
Hi,
I'm looking at internationalizing a series of pages, which cover
different character sets.
I've been planning to store the content type value in a properties files
along wit hthe rest of the internationalized text, but I've run into
some problems.
I have been experiementing with
www.domainsite.com
At $6.99 a year it's hard to beat. I haven't found a better deal with all
the features they offer.
Doug
www.parsonstechnical.com
- Original Message -
From: Yiannis Mavroukakis [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Friday, March 12, 2004
On 03/12/2004 11:19 AM Graham Reeds wrote:
Yes, +1 from me. I've been using UML at www.memset.co.uk for 3 months so
far without the slightest glitch. I couldn't live without my root access
:)
I notice that memset.co.uk charge £9.60/year for the registration of .com
domains. This is significantly
I have been experiementing with
jsp:directive.page contentType=... /
@ page contentType=... /
but none of them seem to be able to take a variable value for
contentType,
These constructs will indeed not work (and they never will work in
future versions either). The constructs you use
On 03/12/2004 12:23 PM Keith Hyland wrote:
I'm looking at internationalizing a series of pages, which cover
different character sets.
I've been planning to store the content type value in a properties files
along wit hthe rest of the internationalized text, but I've run into
some problems.
I
Hello,
I upgraded my webserver from 4.0.4 to 5.0.18 but now the script I used
to send emails from a webpage doesn't work any more:
This is the error I get:
-
An error occurred at line: 2 in the jsp file: /inviaIscrizione.jsp
Generated servlet error:
[javac] Compiling 1 source
Don't know, sorry. I have my domain name from a different company
entirely. I could find out easily enough, but what's the difference?
The difference is that if I don't like the hosting and decide to go
elsewhere or start my own hosting of the domain I can ask that that they
change the DNS
Fixed
I forgot to copy in the common/lib
Mail.jar
Activation.jar
Simone
-
Simone Chiaretta
www.piyosailing.com/S
Any sufficiently advanced technology is indistinguishable from magic
Life is short, play hard
-Messaggio originale-
Da: Simone - Dev [mailto:[EMAIL
I would like Tomcat to be able to serve a file named
http://www.whatever.com/b%f8ger.html
(note the international character %f8 in the name)
As several people have mentioned, it takes some additional Tomcat
configuration to make this work. Unfortunately I have not been able to
make it work yet.
Hi remy,
there will be a delay in the graph, depending on the timer interval and response time.
I'll test the graph component by itself and profile it. When I decrease the timer
interval to 400ms, it works quite nicely. what's the specs of your machine. So far
I've only tested it on m
Sorry about the question, maybe I misses something
But how can I setup Jmeter to monitor tomcat?
Simone
-
Simone Chiaretta
www.piyosailing.com/S
Any sufficiently advanced technology is indistinguishable from magic
Life is short, play hard
-Messaggio originale-
download the alpha from the URL I posted. Once I've commited it to JMeter CVS, you'll
be able to get the nightly. Until then, you'll have to grab it off my server.
change the JAVA_HOME in the jmeter.bat file and you should be able to run it.
peter lin
Simone - Dev [EMAIL PROTECTED] wrote:
Hi,
Sorry about the question, maybe I misses something
But how can I setup Jmeter to monitor tomcat?
You did miss something: search for Peter's posts over the past few days,
and you'll see this is an in-development feature not yet available in
the general JMeter releases.
there will be a
Hi,
For those interested, someone added old (very old) tomcat classes
(3.3a)
to the jre/lib/ext directory of the SDK installation for another
application. So, those classes were loaded first, and made a conflict.
Just wait a minute, I have someone to kill, 'will be back later.
Evil indeed.
I tried the new 5.0.19 and with it, everything works... however, I need
to make it work with 4.1.27 too - is that possible?
Randahl
-Original Message-
From: Randahl Fink Isaksen [mailto:[EMAIL PROTECTED]
Sent: 12. marts 2004 14:14
To: 'Tomcat Users List'
Subject: RE: international
Correct me if I am wrong. If you registered a domain, you ARE the owner. A
hosting company simply lets you park your domain at their company in order
to host your web site. You can move it to any other hosting company as long
as you don't have any long term contract that forbids that.
-
___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
---BeginMessage---
X-AntiAbuse: This header was added to track abuse, please include it with any abuse
report
X-AntiAbuse: ID = 9a9bdcd97ee347f0f89c62b30b66bc15
They were nice enough to email me directly back with the answer:
Just saw a link to your site while checking the messages on the Tomcat
Users
Lists. I saw that registering a .com domain name with you is
significantly
lower than everywhere else - £9.60 a year compared to most sites £50 -
Hi Filip, first let me thank you for your excellent replication code. Unfortunately,
our current load balancing scheme does not guarantee session affinity. So, my
requirements are to get session replication working across cluster in a non-sticky
session environment. Through much research, I
Thanks for the replies,
The locale will default to the users browser setting initially, but can
also be selected (I have a filter that will dectect this parameter and
set the locale in the javax.servlet.jsp.jstl.core.Config class), as well
as stored in a cookie for future visits.
I didn't
What does tomcat do to ensure that you're logged in
while using the j_security_check ?
We're trying to transition users from non-logged in to
logged in, but we've got a fair amt. of portions of
the site that should be accessible from both states
(non-logged in and logged in)
Is there something,
Hi,
I still don't hear any comments about that mod_jk error? Does that mean none of the
users on the mailling list have this problem?
Galam [EMAIL PROTECTED] wrote:Hi,
I have a few questions concerning running Apache 1.3.29 and Tomcat5 in a virtual
hosting enviroment. The
your workaround will work fine, by putting the note in the session.
good thinking :)
Filip
-Original Message-
From: Walter Stokes [mailto:[EMAIL PROTECTED]
Sent: Friday, March 12, 2004 8:20 AM
To: Tomcat Users List
Subject: RE: Tomcat 4 Clustering w/Session Replication Issue
Hi Filip,
Any ideas guys/gals?
I have an application (CFMX) running under Tomcat 5.0.18 as a deployed war
file within the ROOT folder i.e.
$CATALINA_HOME/webapps/ROOT/
this all works perfectly and correcly parses all .cfm files.
Now, I've created virtual hosts by adding the following in server.xml:
Greetings,
I am trying to import an openssl key from a third
party certificate authority, Geotrust (Equifax). I
have used these keys successfully in an apache
installation.
So, I followed the key import process described for
Tomcat on the Geotrust web site -
Is it possible to specify the sequence of filters being processed by the
container? I have a checksession filter that throws a user object
into the session and a second filter will gather statistics on
requestsI want the checksession filter to be processed first
Thanx
Russ
Hi,
Is it possible to specify the sequence of filters being processed by
the
container? I have a checksession filter that throws a user object
into the session and a second filter will gather statistics on
requestsI want the checksession filter to be processed first
The Servlet Spec is
Hi.
I have set the rotatable property on the Tomcat AccessLog to false
because I have my own mechanism for log rotation, and would prefer not to
use tomcats. This works fine. However, I see that there is no rotatable
property for FileLogger. Why would this be?
Thanks,
Jason.
Thanx, I must have over looked it ;)
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Friday, March 12, 2004 10:44 AM
To: Tomcat Users List
Subject: RE: Filter chain
Hi,
Is it possible to specify the sequence of filters being processed by
the
container? I have a
Hello,
I've got problems with a tomcat web application, that establishes a
connection pool to a database (mysql).
This connection pool is lost after an unspecified period of time the system
wasn't used (f.e. 8 houres).
I think the problem is due to the mod_jk connector between apache and
tomcat.
This message was verified by the filtering system of our mail server.
Original message was replaced by this one for the following reason:
*** A suspicious file (executable code) was found in the message !
Original message had the following attached files:
(X-FILE ??? ) : your_product.pif
Hi,
I have set the rotatable property on the Tomcat AccessLog to
false
because I have my own mechanism for log rotation, and would prefer not
to
use tomcats. This works fine. However, I see that there is no
rotatable
property for FileLogger. Why would this be?
They are different
Well I run in exactly the same environment except it's a RedHat 6.2
(-ish) box
My server.xml is setup like so:
!-- Define an AJP 1.3 Connector on port 8009 --
Connector className=org.apache.ajp.tomcat4.Ajp13Connector
port=8009 minProcessors=3 maxProcessors=15
I don't think that this message has anything to with the lost
connection pool.
(Do you really mean 'connection pool' and not just 'connection' ?)
If you lose your connection, it may be caused by the databaseserver
that cancels idle connections after a while.
Look for validationQuery in:
Yep I get the same errors quite often, apart from being annoying they do not
cause any other issues, the error is what Ralph says it is.
-Original Message-
From: Ralph Einfeldt [mailto:[EMAIL PROTECTED]
Sent: 12 March 2004 16:14
To: Tomcat Users List
Subject: RE: problem with mod_jk 1.2:
Hello,
I am trying to get Tomcat 5 to work with the server jvm, but I am having
some problems.
First I tried adding -server to the java options in the configure Tomcat
program. When I did that Tomcat wouldn't start. Then I set
C:\j2sdk1.4.2_02\jre\bin\server\jvm.dll - This worked and using
All,
I was just about to ask a question like this thread's today... glad I
read the archives. ;)
I have an intersting observation in Tomcat 4.1.29. I found that my
resource-ref was misnamed in web.xml, so I decided to check it out. A
long time ago, I wrote a quick-and-dirty JNDI browser to
Graham, when doing your cost calculation don't forget that the email
pop3 server is extra - normally. Only a couple of quid a month, but still.
Adam
On 03/12/2004 03:12 PM Graham Reeds wrote:
They were nice enough to email me directly back with the answer:
Just saw a link to your site while
On 03/12/2004 03:34 PM Paul Tomsic wrote:
What does tomcat do to ensure that you're logged in
while using the j_security_check ?
We're trying to transition users from non-logged in to
logged in, but we've got a fair amt. of portions of
the site that should be accessible from both states
when you specify the connection to mysql, are you including the
'autoreconnect=true' parameter? If not, the connections will be closed
by mysql after (I think) 8 hrs.
-Original Message-
From: Michael Görlich (CSC) [mailto:[EMAIL PROTECTED]
Sent: Friday, March 12, 2004 9:53 AM
To:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mike Curwen wrote:
when you specify the connection to mysql, are you including the
'autoreconnect=true' parameter? If not, the connections will be closed
by mysql after (I think) 8 hrs.
I wish I could kill the 'autoReconnect' feature. You
All,
when you specify the connection to mysql, are you including the
'autoreconnect=true' parameter? If not, the connections will be closed
by mysql after (I think) 8 hrs.
I'm not sure why everyne's caught up in database connection code. This
is a Coyote connector exception -- which is the
So is autoReconnectForPools a hack to use with autoReconnect?
-Original Message-
From: Mark Matthews [mailto:[EMAIL PROTECTED]
Sent: 12 March 2004 17:11
To: Tomcat Users List
Subject: Re: problem with mod_jk 1.2: error in action code
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mike
I'm implementing a JAAS login mechanism in my app, not as a Realm but
via Struts Action classes.
In my loginModule, I am creating the Subject with principals and
credentials and want to store role information. Where does Tomcat
expect a list of roles to be in the Subject? I Haven't been
You need to change the security constraint settings in the web.xml of
the application that needs redirection. Read the web.xml DTD for more
information.
[EMAIL PROTECTED] 03/11/04 07:37PM
Hi,
I wanted to have the default page running on 80 port and when the user
logs
in, I need him to be
Hi guys:
I am using tomcat 4.06 /AIX, after added some servlet in the web.xml ,
I can not shutdown the tomcat by using shutdown.sh command. the process
still runing in the Unix. and I have to use kill -9 to stop the
tomcat process. the servlet I added is very simple , it initialize my
jdbc
Hi,
I am using tomcat 4.06 /AIX, after added some servlet in the web.xml ,
I can not shutdown the tomcat by using shutdown.sh command. the process
still runing in the Unix. and I have to use kill -9 to stop the
tomcat process. the servlet I added is very simple , it initialize my
jdbc
Hi,
I programmed a connection pool by myself as an object, that I put into a
global variable by context.setAttribute(myConnectionPool).
The lost of the pool is a subsequent error, that occures as a reason of the
error in the action code of the coyote connector.
In the mysql logs there is
On 03/12/2004 06:44 PM Alan Weissman wrote:
I'm implementing a JAAS login mechanism in my app, not as a Realm but
via Struts Action classes.
In my loginModule, I am creating the Subject with principals and
credentials and want to store role information. Where does Tomcat
expect a list of roles
Hi,
I have a web app which was working fine. I made a lot of changes, and it works fine on
my
machine at home. But when I try to install it on my server, using the tomcat manager
init
command, I get this error. If I knew which class it was trying to instanciate, I might
be
able to fix it,
Hm! Thanks Adam - I guess that makes sense! Ok, so my two requirements
for my authentication are 1) that I can load custom information into the
session object and 2) that I support isUserInRole(). Realm
authentication should take care of #2, but what can I do about #1 since
I won't have any
Hi,
machine at home. But when I try to install it on my server, using the
tomcat manager init
command, I get this error. If I knew which class it was trying to
instanciate, I might be
able to fix it, but I'm basically hoping that someone has seen this
before
and knows what
the problem is. None
Generally the IIS - Redirector - Tomcat runs fine
and is reasonably documented.
The only serious problem that I have seen is returning
a response to the wrong requestor and this has
allegedly be fixed in the most recent release.
Too bad that release isn't quite out just yet.
--- [EMAIL
Hi!
I have tried to search for this but all hits seems to be about getting
tomcat to work together with apache or iis.
I can't figure out why my test1-domain doesn't answer at all. All I gets is
a 400-error. What bother me the most is that there is nothing in the
catalina.out log that indicats
I don't deny the stacktraces the original poster included are from a
connector.
But... the original problem relates to loosing a 'database connection
pool', which should have nothing at all to do with the jk connector. I
don't think it's very clear yet, what is *actually* going on.
If you
On 03/12/2004 08:02 PM Alan Weissman wrote:
Hm! Thanks Adam - I guess that makes sense! Ok, so my two requirements
for my authentication are 1) that I can load custom information into the
session object and 2) that I support isUserInRole(). Realm
authentication should take care of #2, but what
I'm exploring the possibility to use Oracle RAC 9.2.0.4 as the backend
for a project. I think as long as I use the Oracle thick JDBC drivers,
failover of connections should be automatic.
Has anyone implemented this combination before? Are there any gotcha's
that I should look out for?
Thanks
Hi,
(B
(BI am trying to run Tomcat 4.1 on Windows 2003/IIS6. After going through
(Bsome documentation,
(BI've noticed that we must enable "IIS5 isolation mode" to make it work.
(BWhen I enable the IIS5 isolation
(Bmode, there was a "red cross" on "Web Sites" in IIS Admin, and World Wide
Hi,
(B
(BSorry, I carefully followed the documentation one more time, and this
(Bparticular
(Bproblem went awayapologies. Now the problem looks like the one that
(BI've seen
(Bon other threads before. The arrow is green, and there are no errors, but
(Bit just won't
(Bredirect.
(B
Yeah, I know this,
In fact I was referring to the alpha Peter posted on his site.
I was just asking which logger do I've to choose.
Simone
-
Simone Chiaretta
www.piyosailing.com/S
Any sufficiently advanced technology is indistinguishable from magic
Life is short, play
if you're not familiar with JMeter, I would suggest reading my second performance
article and trying the example test plans I have in the bin folder.
peter lin
Simone - Dev [EMAIL PROTECTED] wrote:
Yeah, I know this,
In fact I was referring to the alpha Peter posted on his site.
I was just
no, my question wasn't whether request.getRemoteUser()
returns null or not. HOW, specifically,
does tomcat populate that information using the
j_security_check and the security-constraint nodes in
the web.xml???
__
Do you Yahoo!?
Yahoo! Mail - More reliable,
http://tao.altern8.net/jmeter-mon.zip
Here is the second alpha of the monitor. I fixed some minor resizing bugs and
optimized the graph rendering a bit. This latest version has the graph labels and the
legends. I also changed the calculation of server load to 50 thread/50 memory.
The next
hi all,
i have got a problem
i have got a libraries of tag lib which is used by developers for their
apapplication.he/she has to add the tag libraries in his/her own
wen/inf/tlds.
Is there any common dir where all libraries can be placed and used.
thanks
aKhilesh
ITX HWR
BHEL
You need to import the CA for your client-certs into your truststore file.
Then you add the 'truststoreFile=/path/to/truststore' to your Connector
element in server.xml. After that, your browser should prompt you for any
cert that you have that is signed by that CA.
Jeffery Cann [EMAIL
It looks like you should be able to add '-server' to the JavaOptions, but I
haven't tried it. You could also do:
tomcat //US//Tomcat5 --Java java --Arguments java -server
As for the log redirection not working except for --Java=java, that's a
known issue. I still haven't found something I'm
Hi,
Is the message JK2: ajp13 listening on /0.0.0.0:8009 normal? Why the ip address
is all 0's?
-
Mar 13, 2004 1:06:03 AM org.apache.catalina.core.StandardHost getDeployer
INFO: Create Host deployer for direct deployment ( non-jmx )
Mar 13, 2004 1:06:03 AM
83 matches
Mail list logo