Hi.
Maybe your problem is that you are using a recent MySQL with an old JDBC
driver. Get the latest MM driver (2.0.4 at the moment) from
http://mmmysql.sourceforge.net/
I use Mysql for my applications and just drop the MM binary in the
corresponding /WEB-INF/lib directory, and that's all.
I think you have more chances with JServ...
Paul
On Friday, December 8, 2000, at 07:41 PM, Michael Kuz wrote:
Hello all,
Does anyone know of Corperate (Fortune 500) companies using Tomcat as their
enterprise servlet container?
Anything like that at all? Links would be great.
Hi,
are there any plans to add the functionality found in mod_jserv for
managing high availability with load balancing? Secifically the
shutdown functionality seems to be missing where you could take one
tomcat off the load balancing pool and still send old sessions there
for a while.
Checking
Luc Vanlerberghe [EMAIL PROTECTED] wrote:
Thanks for incorporating this change to jasper. I had suggested it a
couple of months ago (22/11/2000 in fact: see
http://w6.metronet.com/~wjm/tomcat/2000/Nov/msg00747.html)
In the meantime, however, I have been browsing through the sessions of
BDY.RTF
Hi,
for academic purpose I want to introduce a real-time algorithm
in a web server. Since I'm quite familiar with java, i thought
of tomcat... B/W a wonderfull 'product', thanks for all the dev.
efforts!
what I want to do: when requests arrive and are queued, order
this queue due to some sort
RE: Tomcat 3.2.1 and mod_jk on UNIX and Apache default_handler interaction.
When you configure apache for mod_jk, the Apache default_handler checks to see
if the full
UNIX path for the URI exists. If it does not exist the the server returns a
permission error (FORBIDDEN)
and never calls the
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
list-help: mailto:[EMAIL PROTECTED]
list-unsubscribe: mailto:[EMAIL PROTECTED]
list-post: mailto:[EMAIL PROTECTED]
Delivered-To: mailing list [EMAIL PROTECTED]
From: Paul Speed [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: An
My lib folder contains the xerces.jar and the xalan.jar which come with
Xalan20D07.
Workarounds:
- replace parser.jar with xerces.jar ( in tomcat_home/lib )
- replace parser.jar with crimson.jar ( part of jaxp1.1 or built from
apache xml-crimson )
( you'll have to also replace jaxp.jar with
Paul,
Actually, my investigations in the past have shown that (at least in
Sun's JDK 1.2) this is implemented as:
new StringBuffer
("My").append("dog").append("has").append("fleas").toString();
It is also possible to write a statement like:
"My" + "dog" + '.'
The
At 11:03 AM -0800 01/25/2001, Mel Martinez wrote:
That presumes the line termination
character of choice for the output is a linefeed
character.
Good point. Will fix when I get a moment.
Another issue is that the example creates catenated
String literals. I would hope that the actual code
Great to hear that you want to contribute some work!
As to mod_jk / TC 4.0, that's a complicated question. mod_jk is currently used by a
lot of people, and will continue to be for a while (I think), since I expect a lot of
people to continue to be using the 3.x source in the near future. So
Just found the problem.
Well I found that the Alias in mod_jk.conf seems to be the problem with separating
the web server from the servlet engine. Removing the alias makes it work.
Ron
Ron Bolin wrote:
RE: Tomcat 3.2.1 and mod_jk on UNIX and Apache default_handler interaction.
When you
Stefan,
Michael Kuz actually submitted a nice patch to do just this, which I've been intending
to apply. The only thing which has held me back is that you have to restart apache to
let it know that it should stop sending new sessions to a particular TC instance.
Since you're interested in
At 11:23 AM -0500 01/26/2001, Brad Cox wrote:
so the user's session will be lost if they ever browse
to a hard-coded html pag
I meant to say...
for browsers that don't support cookies or if the user has disabled cookies.
--
---
Dr. Brad Cox; [EMAIL PROTECTED]
Phone: 703 361 4751 Fax: 703 995
"When the thread exits the synchonized block, it is required to commit all its
changes to main memory"
Does this mean that the following code would be thread safe?
if (_jspx_inited == false) {
synchronized (this) {
if (_jspx_inited == false) {
synchronized(new Object())
Last paragraph in the java.lang.String javadoc says:
The Java language provides special support for the string
concatentation operator
( + ), and for conversion of other objects to strings. String
concatenation is
implemented through the StringBuffer class and its append
method.
Does this mean that the following code would be thread safe?
NO, it's not!
Check the JavaOne session I mentioned and follow the links they gave.
There have been various patches suggested, but most of them are wrong...
The only safe way to do it is synchronize before the first test...
The
This list is for discussing issues related to developing the Tomcat
servlet container, not design of web applications. Could this
discussion get moved elsewhere?
Thanks,
Glenn
Brad Cox wrote:
At 11:23 AM -0500 01/26/2001, Brad Cox wrote:
so the user's session will be lost if they ever
That code has also been found to be _not_ thread safe. Much to the surprise
and dismay of several experts.
See: http://www.cs.umd.edu/~pugh/java/memoryModel/DoubleCheckedLocking.html
The "Double-Checked Locking is Broken" Declaration
-Original Message-
From: Ethan Wallwork
Hi Dan.
I really appreciate the work you're doing on Apache - Tomcat connectivity!
Couple of questions first:
1) (totally unrelated) the mod_jk howto seems to suggest that mod_jk is
useable from _inside_
apache VirtualHost statements. However, practical experience - ands much
screaming ;) - have
Hi,
I am using Tomcat 3.2.1 w/Sun JDK 1.3 on Solaris 8 + Apache 1.3.14 + mod_jk
Now here is my problem.
I have a jsp page with an include to refer to file a.inc.
I change the include to refer to another file (b.inc)
I reload the page. I still see the content of a.inc.
I touch the jsp file.
Steve Downey wrote:
That code has also been found to be _not_ thread safe. Much to the surprise
and dismay of several experts.
See: http://www.cs.umd.edu/~pugh/java/memoryModel/DoubleCheckedLocking.html
The "Double-Checked Locking is Broken" Declaration
-Original Message-
Thom,
Thanks for the feedback.
1) The mod_jk howto / vhosts
The mod_jk user docs are (as far as I can tell) kind of a mess. I have a
medium-term goal of overhauling them and cleaning them up, but I haven't
done so yet. I'm not clear on what they say about vhosts, and, to be
honest, I'm no
Hi, Dan, thanks for your informative response.
|File Upload was badly broken with mod_jk/ajp13 in both 3.2 and 3.x
|-- some basic bugs have been fixed in both of those repositories,
|but have not yet been released. Just so you know.
I am working with source from jakarta-tomcat cvs head, but
Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
list-help: mailto:[EMAIL PROTECTED]
list-unsubscribe: mailto:[EMAIL PROTECTED]
list-post: mailto:[EMAIL PROTECTED]
Delivered-To: mailing list [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: RE:
Pier Fumagalli wrote:
Luc Vanlerberghe [EMAIL PROTECTED] wrote:
Thanks for incorporating this change to jasper. I had suggested it a
couple of months ago (22/11/2000 in fact: see
http://w6.metronet.com/~wjm/tomcat/2000/Nov/msg00747.html)
In the meantime, however, I have been
I've installed Tomcat 3.2.1 on an IIS5.0 and Win2k.
Everything is working fine, I can get the servlet and jsp examples to run
from
http://localhost/examples/jsp but the big problem is that when I want to try
to run the
same thing on the live site it seems like tomcat is not responding to
servlets
This is a truly fascinating thread of discussion. However, from reading the
article _The "Double-Checked Locking is Broken" Declaration_
(http://www.cs.umd.edu/~pugh/java/memoryModel/DoubleCheckedLocking.html)
It seems to me that the following code is thread safe.
if (_jspx_inited == false) {
Marc Saegesser wrote:
This is a truly fascinating thread of discussion. However, from reading the
article _The "Double-Checked Locking is Broken" Declaration_
(http://www.cs.umd.edu/~pugh/java/memoryModel/DoubleCheckedLocking.html)
It seems to me that the following code is thread safe.
David,
Can you follow this up with Pierre and tomcat-dev? This could probably go
into 3.3 and 4.x.
Thanks.
David Pollak wrote:
Anil,
My team has been using Tomcat and noticed that changing included files
does not cause Tomcat to recompile the pages that include that changed
files. I've
OK, if _jspx_init() can be inlined and the _jspx_inited=true assignment
might get interspersed within the inlined code (the fog is lifting now) then
the second approach I presented where the result of _jspx_init() is used
should work.
-Original Message-
From: Paul Speed [mailto:[EMAIL
Erik Pischel wrote:
Hi,
for academic purpose I want to introduce a real-time algorithm
in a web server. Since I'm quite familiar with java, i thought
of tomcat... B/W a wonderfull 'product', thanks for all the dev.
efforts!
what I want to do: when requests arrive and are queued, order
Pierre et. al.,
I've updated the 3.2.1 code to support testing included files for changes when
determining wether to compile a JSP page. Do you want the code? If so,
please let me know the best format to deliver it.
Thanks,
David
Anil Vijendran wrote:
David,
Can you follow this up with
Brad Cox [mailto:[EMAIL PROTECTED]] wrote:
At 11:03 AM -0800 01/25/2001, Mel Martinez wrote:
That presumes the line termination
character of choice for the output is a linefeed
character.
Good point. Will fix when I get a moment.
Another issue is that the example creates catenated
String
Marc Saegesser wrote:
This was first time I've looked in a while so I'm not sure when this
happened, but there don't seem to be any nightly builds for the 3.2 branch
on the Jakarta site.
I will fix this soon ... makes sense because I'm already creating and uploading
a lot of the nightly
craigmcc01/01/26 13:33:13
Modified:catalina/src/share/org/apache/catalina/connector
HttpResponseBase.java
Log:
Correct the isEncodeable() method to correctly assume a default port of
443 for https, rather than always assuming the default port is 80.
Hi,
I'm developing patches to add webdav support to ajpv13 in
jakarta-tomcat, and I'm interesting in expediting this code
to a release. If I got it in next week, could it be a
canidate to go out with 3.2, or would you prefer to wait
until 3.3?
Keith
-Original Message-
From: Marc
Mathias Bachner wrote:
Hello Developers,
I have here a little problem with jakarta-tomcat-4.0-b1. I use a Session
to keep track of the user login. For security purpose, I also use
SSL. When I don't use any cookies, everything is ok, as long as I don't
switch over to SSL. When using SSL,
This is a patch against cvs head to add support to ajpv13
for webdav methods:
http://www.apache.org/~keith/jk/webdav1.txt
Also, this is a patch against cvs head to update the win32
project files to reflect the new directory structure:
http://www.apache.org/~keith/jk/win32.txt
I'd be happy to
I don't think this should go to the tomcat_32 branch. The activity on 3.2
is just bug fixes these days. Any new *functionality* for Tomcat 3 should
go on the HEAD.
-Original Message-
From: Keith Wannamaker [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 26, 2001 3:34 PM
To: [EMAIL
nacho 01/01/26 16:59:20
Modified:src/tests/webpages/WEB-INF test-tomcat.xml
Log:
* Tests involving welcome.tst were bad , because now the 302
body response is localizd
* Tests involving a Location header were trying
to match up with "localhost" the default it's
craigmcc01/01/26 17:49:15
Modified:tester/src/bin tester.xml
tester/src/tester/org/apache/tester TestClient.java
tester/web/WEB-INF web.xml
Added: tester/src/tester/org/apache/tester Aggregate01.java
Aggregate02.java
Log:
The reputation of Bill Pugh is quite high - enough so that I would be
nclined to take his statements on this subject as beyond challenge.
As well you should. And many very smart people have signed his
declaration, including Doug Lea.
Upon careful reading of the link mentioned in this thread,
44 matches
Mail list logo