Since they are in application scope, you can make them part of a Singleton
pattern, i.e., make them static values of a class, loaded by the
contextInitialized() method. They could be properties of the listener
itself, or to be more properly factored, you can place them in their own
class.
Tim
I knew I had to be missing something! Thanks so much!
-Original Message-
From: Alex Jalali [mailto:[EMAIL PROTECTED]
Sent: Fri 3/3/2006 8:32 PM
To: 'Tomcat Users List'
Subject: RE: Testing DataSourceRealms
Also I don't know if you already have this... But in your context should
have
On 3/4/06, James Reynolds [EMAIL PROTECTED] wrote:
I'm working on setting up BASIC authentication using container managed
security in Tomcat 5.5.15. However, It's not working so now I'm
wondering if my set up is wrong. The JNDI DataSource definitely works,
I'm not so sure about the realm.
Tim,
I got the same problem once.
I found out that you have to put the context files under
${catalina-home}/conf/{engine-name}/{hostname}
It worked for me and I got all the contexts working fine.
I found it on:
http://tomcat.apache.org/tomcat-5.5-doc/config/context.html
Hope it helps you.
---
The Apache Tomcat team is proud to announce the immediate availability
of Tomcat v5.5.16-beta. This release contains dozens of bug fixes and
a number of other updates. Please consult the change log below for
more details.
Release Notes: http://tomcat.apache.org/tomcat-5.5-doc/RELEASE-NOTES
Hello everyone,
I have set up the JMX server of JDK 1.5.0_06/Tomcat 5.5.15. It works
fine locally, I'm testing with jconsole.
However, if I tunnel the JMX port over SSH, it does not work. I can
connect to the port, but there is no flow of data. jconsole is hanging
around for a minute, and
Hello,
I use the SleepyCat dbxml which is also JNI and I have to do the
following:
export JAVA_OPTS='-Djava.library.path=/path/to/folder/with/so'
then...
sh catalina.sh .run
I'd wager that you would have to do the same..
Richard
Shannon Scott wrote:
Greetings,
I have been trying
Hi,
I studied something about Sybase ASA and here are my pieces of knowledge:
- ASA is, unlike ASE, ODBC based insted of TDS
- the JDBC drivers are generic JDBC-to-ODBC bridge and can be used to
access _any_ database throw ODBC
- the JDBC drivers are not freely downloadable (I didn't find any)
-
Thanks. I used a singleton class and initialized it
from an impl of ServletContextListener.
If I place a properties file in WEB-INF/classes of my
webapp, I am unable to read it from my class:
FileNotFoundException.
(Absolute path works fine though.)
I have:
//properties file in classes
Rahul wrote:
//properties file in classes/com/example/test
myProps.load(new
FileInputStream(com/example/test/test.properties));
Is this not the correct way to specify the path?
Try using getResourceAsStream()
Mark
-
To
Res Pons [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Sorry to post across the userlists.
I'm using Subversion, Ant, and Anthill OS to automate my projects. We
release many products in different projects.
Currently I have set up a property sheet in Anthill for each project's
Hi All
We have set up Loadbalacning of Jboss 4.0.3 using Apache2 (2.0.53),
mod_jk 1.2.15.
We have currently got 10 Tomcat Servers ( 5 on one server, 3 on another
server and 2 on another server)
We expect all workers to get the same amount of load (checked using the
'Busy' attribute show in the
Hi,
I'm a newbie of TOMCAT 5.5. I have some jsp scripts which inlucde some
static files by using jsp:include element. I want to cache them to
improve the performance. Can TOMCAT do that? If yes, how?
I searched the docs, and found an attribute cachingAllowed in
context container. Does the
13 matches
Mail list logo