Can TOMCAT cache the file in element?

2006-03-05 Thread Xuekun Hu
Hi, I'm a newbie of TOMCAT 5.5. I have some jsp scripts which inlucde some static files by using 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 attribute work f

Re: mod_jk Loadbalancer Not working as Expected

2006-03-05 Thread Mladen Turk
Mohan Wickramasinghe wrote: Hi All We have set up Loadbalacning of Jboss 4.0.3 using Apache2 (2.0.53), mod_jk 1.2.15. worker.abc123_1.domain=www.groupabc123.com See the red note about worker names at: http://tomcat.apache.org/connectors-doc/config/workers.html The same applies for the domai

mod_jk Loadbalancer Not working as Expected

2006-03-05 Thread Mohan Wickramasinghe
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

RE: Form login UTF-8 username problem

2006-03-05 Thread Dave
Hi Daniel, I am not quite understanding. Is it a security hole? User needs a username and password to login to the web application. Thanks! Daniel Blumenthal <[EMAIL PROTECTED]> wrote: As a security concern, you might not want to allow full UTF-8 usernames. There are a number of inv

[OT] Re: I need help with project concept

2006-03-05 Thread Bill Barker
"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

Re: JSP on Tomcat: application scope variable

2006-03-05 Thread Mark Thomas
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 ---

RE: JSP on Tomcat: application scope variable

2006-03-05 Thread Rahul
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 myPro

Re: JDBC DataSources with SYBASE Adaptive Server Anywhere

2006-03-05 Thread Hadraba Petr
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) -

Re: Linux JNI ClassLoad

2006-03-05 Thread Richard Toren
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

JMX via SSH tunnel does not work?

2006-03-05 Thread Andreas Schildbach
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, an

[ANN] Apache Tomcat v5.5.16-beta Now Available

2006-03-05 Thread Yoav Shapira
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 Chang

Re: help with context fragments (+virtual hosts) under windows

2006-03-05 Thread Vanessa Campos
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. --- T

Re: Testing DataSourceRealms

2006-03-05 Thread Remy Maucherat
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 re

RE: Testing DataSourceRealms

2006-03-05 Thread James Reynolds
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 pr

RE: JSP on Tomcat: application scope variable

2006-03-05 Thread Tim Lucia
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 -