I've been looking around the Apache/Jakarta site, and I can't find the
Realm-related stuff (I understand it's separate from Tomcat). We're
running Tomcat 4, and I'd like to hack the query JDBCRealm sends to
Oracle so username checks are not case insensitive. Btw, which JAR in
my Tomcat directorie
Here's our server.xml's Realm element:
Basically out of the textbook...but the problem is, we're moving from
MySQL to Oracle, and the MySQL database wasn't case sensitive when
checking the username. Is there any way to turn off case sensitivity on
the JDBCRealm side of things when checking the
Wait a second...Tomcat will determine which cert to send down based upon
the IP address that the browser went to? I guess that makes sense...so
does the web server never get to see what domain the browser was looking
up to come to the site, or is that info available?
I'm just trying to figure o
Right now, we have one domain that goes to our web application, and we
want to another new domain to point to the same web app (it already
does). Naturally, if you access the site via the new domain, it tells
the browser that the certificate issued by the site doesn't match the
name of the site, s
>
To: "Tomcat Users List"
Date: Wed, 2 Feb 2005 00:52:56 +0100
Subject: Re: SocketException: Too many open files
On Tue, 01 Feb 2005 17:29:51 -0600, Stephen Charles Huey
<[EMAIL PROTECTED]> wrote:
> I'm running some simple but fast-pounding test programs against our
&g
I'm running some simple but fast-pounding test programs against our
Tomcat server from a machine on the same network, and we've been tuning
our database, etc, based on this. But right now, I'm seeing a new one
coming out of our Java code whenever we try to open a URL:
java.net.SocketException: T
Hey there--just wondering if JDBCRealm with Tomcat 4 ever closes
connections it opens...I'm assuming it can open up more than one
connection to the database if traffic gets heavy (because we think we're
seeing that, though it's hard to tell for sure). If so, when does it go
about closing those con
I have Tomcat 4.1.27 on a Linux box at a particular public IP address,
and I want to make it forward ALL requests to a Tomcat on a Windows box
at another public IP address. Over the weekend, we changed the DNS to
the Linux box, but now we need to roll back to the Windows box, and we
already change
We're running Tomcat 4.1.27 on a pretty up-to-date Red Hat 8. I'm
wondering what usually determines the number of connections Tomcat can
handle. Would it typically be Tomcat breaking first, or just the server
itself trying to deal with so many connections? Would it have to do
with memory, or pro
When I go to /manager/html and then click on the session count for one
of my webapps, it displays this:
OK - Session information for application at context path /testwebapp
Default maximum session inactive interval 30 minutes
120 - <130 minutes:4 sessions
If the default timeout is set to 30 minut
We just installed Tomcat 4 on 2 Red Hat servers, and we have a BigIP
load balancer in front of them. In troubleshooting an issue, the guy
working with our BigIP said that when he was running Apache on either of
the Linux servers, the load balancer could tell that the http service
was running, but
_OPTS (Optional) Java runtime options used when the "start",
23 # "stop", or "run" command is executed.
24 #
On Mon, 2005-01-03 at 14:38, Stephen Charles Huey wrote:
> Our script for installing Tomcat as a service on Windows is down below.
> We
Our script for installing Tomcat as a service on Windows is down below.
We're moving to Linux, so I'm wondering where we specify the heap size
parameters (-Xmx and -Xms) for the Tomcat on Linux. Would the correct
place be in the startup.sh file? Thanks!
D:\tomcat\bin\tomcat.exe -install "Apach
We're trying to install our existing web app on multiple machines and
put a BigIP load balancer in front of them. Do we need to do anything
different with Tomcat and/or our web app to get this load balancing to
work, or should we basically be able to copy the Tomcat directory onto
each machine and
t and stderr should go into some particular log files
instead of getting lost into thin air? We need those log files,
particularly when we're troubleshooting! Thanks...
- Original message -----
From: "Stephen Charles Huey" <[EMAIL PROTECTED]>
To: "Tomcat User&qu
I'm trying to move my Tomcat directory from a Windows machine to a Linux
box, and I've already modified the server.xml to take care of path
differences, but I've noticed that stdout.log and stderr.log are no
longer being generated in the logs directory (I can't find them!). Does
anyone have any id
In Tomcat 4's server.xml, one of the ResourceParams elements is
maxActive (set to 20 by default). I'm wondering if there's any reason
why I wouldn't set this very high if I have a virtually unlimited number
of users for our Oracle database...I'm not sure how much this applies to
us since I don't b
Is it actually possible to use a load balancing appliance (Big IP) with
a couple of web servers running standalone Tomcat 4? Actually, I know
it's possible...what I mean is, do I have to do anything special with
Tomcat, or can I set each Tomcat up as if it was the only server, and
then just put th
I want to move to Tomcat 5 right now, but can't yet, and for the time
being we need to move from Tomcat 4.1.23 on Windows to 4.1.31 on Red
Hat, so I'm now facing a question of what to do about the port Tomcat
runs on. I've read stuff online that suggests it's best to leave it at
8080 since 80 is a
"Phillip Qin" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Date: Mon, 22 Nov 2004 16:56:25 -0500
Subject: RE: help with out of memory error
Have you looked at this page?
http://jakarta.apache.org/tomcat/faq/memory.html
-Origi
Is this just a really ambiguous error message, or are there some
specific places I can be hunting for an issue:
Nov 22, 2004 3:53:42 PM
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable run
SEVERE: Caught exception executing
[EMAIL PROTECTED], terminating thread
java.lang.OutOfMemoryError:
I'm seeing a strange error message. We only run Tomcat as a service on
Windows 2000, and no IIS or anything else, so I can't see anything else
holding onto port 80. Any idea what would be causing this? Would it be
something as simple as choosing to Start or Restart the service when
it's already
We often have to restart Tomcat because of an ODBC issue (yes, we're
switching databases as soon as we can). However, I've noticed this
error occuring in the Windows 2000 Event Log in association with Apache
Tomcat:
The CreateThread function failed for the following reason: Not enough
storage is
In the Event log on Windows 2000 Server, we're occasionally seeing a
weird error showing up for Apache Tomcat 4.27:
The CreateThread function failed for the following reason: Not enough
storage is available to process this command.
.
We really don't know what's causing this. Is Tomcat (or Java)
We're using Tomcat 4.1.27 and we have a main database that the web app
uses most of the time, and then a small MySQL database that Tomcat is
configured to use for basic authentication. We used to have trouble
with the main db hanging up on us, so we had a little watch program
running to restart To
Anybody have a clue as to why my basic authentication box would keep
coming back at me 2-6 times before letting me in, even though I'm typing
the correct username and password every single time? This is Tomcat
4.1.27
-
To unsubsc
rsion of tomcat?
> -Original Message-
> From: Stephen Charles Huey [mailto:[EMAIL PROTECTED]
> Sent: Friday, October 01, 2004 11:38 PM
> To: Tomcat Users List
> Subject: Re: type in twice for basic authentication???
>
> Yeah, I need some major help on this to figure out what&
at).
- Original message -----
From: "Stephen Charles Huey" <[EMAIL PROTECTED]>
To: "Tomcat User" <[EMAIL PROTECTED]>
Date: Fri, 01 Oct 2004 17:10:32 -0500
Subject: type in twice for basic authentication???
When my web app pops up a basic authentication box, I type in
When my web app pops up a basic authentication box, I type in the
username and password, and then it bounces back with blank text boxes
asking for it again. Every time when I type them in a second time it
then lets me in! What's going on? Here's what I have in my server.xml:
We had a problem where our website would hang because Tomcat couldn't
access the main database over DSN (on another machine), and it was a
problem with our vendor's ODBC driver, so we moved to the Linux version
(which was more stable). We had created a Watchdog program that would
call a JSP with s
Whoops...I need an addendum. The post can be found here:
http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=13&t=001073
- Original message -
From: "Stephen Charles Huey" <[EMAIL PROTECTED]>
To: "Tomcat User" <[EMAIL PROTECTED]&g
The 8th post in this Javaranch.com thread suggests that Tomcat uses DBCP
connection pooling by default:
http://www.midrangeserver.com/mpo/mpo081502-story04.html
That feature to indicate connection leaks sounds intriguing. I found
the following in our server.xml and am wondering if this means we a
y,
Tomcat is written in Java and is OS independent, you don't need a linux
specific install.
We have the same Tomcat install running on Solaris, Linux, and Windoze.
-Robert
Stephen Charles Huey wrote:
>We're moving Tomcat over to a Linux box, and we're under pressure to get
&g
We're moving Tomcat over to a Linux box, and we're under pressure to get
it done as quickly as possible and put it into production right away
even though none of us knows Linux all that well beyond me using Solaris
back in my school days! So, I'm looking for Tomcat 4.1.27 for Linux,
and I don't se
emory to the machine?
- Original message -
From: "Caldarale, Charles R" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Date: Sun, 8 Aug 2004 02:15:03 -0500
Subject: RE: 1067 error when starting service after allocating more
memory to JVM
iginal message -
From: "Caldarale, Charles R" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Date: Sat, 7 Aug 2004 13:31:29 -0500
Subject: RE: 1067 error when starting service after allocating more
memory to JVM
> From: Stephen Charles Huey [
Hey, we've been running Tomcat 4.1.27 for a couple of years on our
webserver, and we just upgraded the server from 2GB of memory to 3GB.
We've been allocating 1GB to the JVM when installing Tomcat as a
service, but now we'd like to do 2GB, so I just changed the two
instances of 1024 to 2048 in thi
t seem to
be updating my session HashMap).
----- Original message -
From: "Stephen Charles Huey" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Date: Fri, 16 Jul 2004 11:41:53 -0500
Subject: RE: session listener not listening
I'm trying to add this ses
t page you are accessing creates a session? ;)
Yoav Shapira
Millennium Research Informatics
>-Original Message-
>From: Stephen Charles Huey [mailto:[EMAIL PROTECTED]
>Sent: Thursday, July 15, 2004 7:06 PM
>To: Tomcat User
>Subject: session listener not listening
>
>My s
My session listener doesn't seem to be listening. At the top of my
web.xml (before any servlet elements, and I have nothing like a filter
or anything else before it), I have this:
central.OurSessionListener
Here is my listener class:
package central;
import java.util.HashM
My web.xml has the following:
30
However, when a user logs in, the following code in our app gets
executed:
HttpSession session = request.getSession(false);
session.setMaxInactiveInterval(7200);
I've been fiddling with the web.xml and didn't realize that other co
u logged in but your session was
active
*way* under the 30 minute lower limit for the stats one line 1.
Bob
On Wednesday 14 July 2004 12:28 pm, Stephen Charles Huey wrote:
> I have read the Manager App HOW-TO at
> http://jakarta.apache.org/tomcat/tomcat-4.0-doc/manager-howto.html
&g
I have read the Manager App HOW-TO at
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/manager-howto.html
So, I'm accessing the following URL just like the example shows:
https://www.(mydomain).com/manager/sessions?path=/ristmain
I'm trying to interpret these results:
OK - Session information for
Is there any way to find out how many sessions are currently in use?
I'm ultimately trying to get at how much memory is being used per
session...if there's no way to really get at this without a profiler
tool, do any of you use a particular one with Tomcat applications?
JFluid, JProbe, etc?
Than
Hello everyone, we're running Tomcat 4.1.27 and my conf/web.xml has a
session-timeout of 30, which I understand should override the default 20
minutes. I'm wondering if it actually does, because I see here that
someone is saying there's a bug in Tomcat 4 so that sessions always time
out after 20 m
Duh. I was looking in the general Tomcat web.xml--yes, in my
app-specific one, we're using BASIC authentication.
Ok, so Tomcat knows to use the additional MySQL database for
authentication. Right now, if you go to www.ourDomain.com it'll make
you authenticate and then it will forward you to th
In a nutshell, I'm wondering if it's better NOT to use basic
authentication. We have over 10,000 regular users, and I think it would
be good for us to move to a more standard login page instead of that
authentication box that pops up. My question is, would we have to
change a lot to do this? At
If we currently have Tomcat 4 running on Win 2000, would there be
significant overhead to run Apache as well just so that we can put up an
error page when Tomcat has to be restarted?
Some of you mentioned I should try using a type 4 driver, and I Googled
around to brush up on different types, and
Though I'm capable of adding to the JSPs and servlets on an existing
site, I'm no web server guru, so I'm having a hard time with this
problem. Our database vendor's ODBC driver has issues, so occasionally
we have to restart Tomcat (and maybe the driver) to get the website
running again, and since
;^)
You could also use the control panel to set a system-wide env. variable,
but you don't need everybody to have it defined, plus it may mess you up
when running java apps other than tomcat.
-Steve
Stephen Charles Huey wrote:
> I see something in catalina.bat about a JAVA_OPTS environment
quot;-Xmx1024m"
How you set this variable will depend on your environment/os etc.
Hope that helps.
Pete.
Quoting Stephen Charles Huey <[EMAIL PROTECTED]>:
> Ok, I took out the security tags and I can get in there. Is the admin
> app where I set memory allocations in Tomcat?
message -
From: "Stephen Charles Huey" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Date: Mon, 19 Apr 2004 13:06:46 -0500
Subject: Re: emergency - need to get into admin app
Thanks, but we are restarting after every modification. And this is
To
ly and will leave you wide open.
Edit the admin web.xml to allow no authentication.
DO NOT LEAVE IT THIS WAY.
What do you logs say?
What does the server.xml look like? Please post it.
Doug
----- Original Message -
From: "Stephen Charles Huey" <[EMAIL PROTECTED]>
To: "Tomc
o
restart
Tomcat after modifying the file. This is just my best guess, not a
definitive
fact.
Good luck.
Cheers,
Rob
"Stephen Charles Huey" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> We reloaded the drives on our web server yesterday, but Tomcat keeps
&g
We reloaded the drives on our web server yesterday, but Tomcat keeps
choking, and we think it's because not enough memory is allocated, and
we're trying to get into the admin web application, but it keeps saying
our password isn't correct. Even though I set a password during the
install, there was
I'm upgrading from Tomcat 4 to 5 and I just installed Tomcat 5 on a dev
machine to play with it, and I know a couple things are organized a bit
differently, but the provided index page is weirding me out.
I tried to add a line of text to the index.jsp in webapps\ROOT and when I
reload the page (
I've resolved this issue.
We build a JAR file in JBuilder that contains all the JavaBeans, etc, and
we stick that in Tomcat's common\lib, and I checked it and somehow it had
0 KB! Weird. So I just copied it over again and I no longer get that
ZipException when starting up Tomcat. It was like To
Our small company has been using Tomcat 4 for over a year to run our web
app, and on 8/15/2003 I downloaded Tomcat 4.1.27 to install on this
development machine, and I haven't had to think much about it since, and
I'm not super familiar with Tomcat. About all I do with it is stop and
restart the s
I have a copy of Tomcat both on my dev machine and my production machine.
I have some code that looks for an image in a given location, and on the
dev machine (which I set up), the code was working fine (the code takes
that image and inserts it in the middle of a larger one that I'm
drawing). I w
I'm not entirely sure my JDK is the exact same, so I guess that could be
the problem. Anyway, those two extra JAR files in my Tomcat common lib
have been copied to the production server's Tomcat's common lib, and now
the site works without any such exception. So is that the most likely
cause--tha
We have a web app on a server that a contractor developed remotely using
JBuilder 7 Enterprise, and I'm a new guy in the office who's trying to
modify some of our site code on a dev laptop using JBuilder 9 Personal
and Tomcat 4, version 1.1 (the same as what's on the server). I took
great pains to
We have a web app on a server that a contractor developed remotely using
JBuilder 7 Enterprise, and I'm a new guy in the office who's trying to
modify some of our site code on a dev laptop using JBuilder 9 Personal
and Tomcat 4, version 1.1 (the same as what's on the server). I took
great pains to
62 matches
Mail list logo