Put the following in your catalaina.bat, I have this set just underneath
where CATALINA_BASE, JAVA_HOME, and CATALINA)HOME are set.
CATALINA_OPTS=-server -Xmx512m -Xms128m
regards,
Dave
PS all startup parameters get put in under CATALINA_OPTS
- Original Message -
From: Nathan McMinn
Hi,
I still have the problem of not getting a singleton class to in fact be a singleton
(its configured as a context listener inside web.xml). Some people suggested that
perhaps i was getting more than 1 instance of the web app being created and that seems
to be the case. My context si
Hi again,
I also forgot to mention that I am using Apache 1.3.27 and Tomcat 4.1.18 on RedHat 7.3.
Thanks
regards,
Dave
Yes there is,
session.setMaxInactiveInterval(900);
The above for example will make an inactive session invalidate after 900
seconds (15 minutes)
regards,
Dave
- Original Message -
From: David Durst [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, January 15, 2003 10:33 AM
Hi,
This has been posted before, this time i have made it more thorough.
My top of my context inside my server.xml looks like:
Context path=/lawonline docBase=lawonline debug=0
reloadable=false crossContext=true
my web.xml looks like:
listener
listener-class
a context for it declared in server.xml and also have a jar or
a
directory in webapps. ?
On Monday 13 January 2003 18:05, David Hemingway wrote:
Hi,
This has been posted before, this time i have made it more thorough.
My top of my context inside my server.xml looks like:
Context path
: Urgent problem with Singleton
On Fri, 10 Jan 2003, David Hemingway wrote:
Date: Fri, 10 Jan 2003 11:49:35 +1100
From: David Hemingway [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Subject: Urgent problem with Singleton
Hi
applications where security *is* important.
Note that when there are risks with the application there should be no
http access at all - that's easy enough to arrange.
John
-Original Message-
From: David Hemingway [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 09, 2003 7:59 AM
Hi,
I have a task scheduler thread that implements ServletContextListener and starts up as
a listener with the following code from my web.xml:
listener
listener-class
mypackage.MyServlet
/listener-class
/listener
My problem is however I need this to be a
Hi,
I am trying to allow session cookies that created via https to retain the session when
stepping down to http, however by default a new session will be made. It seems that a
session made under http will sustain if you step up to https but not the reverse. I
read in the following document
Noel,
I think they have clamped down in tomcat 4.1.X all classes now muct be
within packages. This wasn't the case in tomcat 4.0.X or before. When I
changed from 4.0.6 to 4.1.12 I had to formally package all of my beans
regards,
Dave
- Original Message -
From: Noel J. Bergman [EMAIL
Sylvie,
You should rename classes12.zip to classes12.jar (a simple rename will do).
Then place the jar in your %CATALINA_HOME%/common/lib directory will safice.
regards,
Dave
- Original Message -
From: PALLUEL Sylvie [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, January 07,
Hi all,
I have found a solution to this problem. Its by no means elegant but if you get as
desperate as I have got then you may wish to do the same.
It appears that none of the information that you specify in your server.xml gets
through to the actual dbcp stuff, don't ask me why. So what I
Dionisio,
The child servlet must be inside a web-app element. Is this the case in
your setup? You can verify your web.xml is of the correct type by looking at
the DTD, this can be found here:
http://java.sun.com/j2ee/dtds/web-app_2_2.dtd
regards,
Dave
- Original Message -
From:
from Iran Marcius (thread: Still can't get
JNDI Datasource) which was to and an extra bit to the Context
i.e. naming=true
But alas, no luck.
Thanks
Paul
On Monday, January 6, 2003, at 01:06 PM, David Hemingway wrote:
There was nothing meaningful in the logs no. Just
On Mon, 6 Jan 2003, David Hemingway wrote:
Date: Mon, 6 Jan 2003 13:45:08 +1100
From: David Hemingway [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Tomcat-4-1-12 Connection Pool problem JNDI Datasource
Hi,
Sorry if this has been
Hi,
Does anyone know anything about servlets in the web.xml to be loaded on startup
loading more than once? I have noticed this in both tomcat-4.1.12 and tomcat-4.1.18.
Its causing a few problems in my setup. Any ideas? Thanks in advance.
regards,
Dave
Hey,
I think that is one of the main differences of the LE edition. You must have
at least jdk1.4.0 or add in the xml parsers yourself.
from jakarta site:
a.. JDK 1.4 LE: This is a lightweight binary distribution of Tomcat 4,
designed to be run on JDK 1.4. It does not include any of the optional
-ref
The ejb and jdbc/EmployeeAppDb was there as default when I started, should it be
removed seeing as it isn't being used?
I have been at this for weeks now. Any help would be very much appreciated. Thank you
regards,
David Hemingway
, January 06, 2003 2:41 PM
Subject: Re: Tomcat-4-1-12 Connection Pool problem JNDI Datasource
On Mon, 6 Jan 2003, David Hemingway wrote:
Date: Mon, 6 Jan 2003 13:45:08 +1100
From: David Hemingway [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED
20 matches
Mail list logo