Re: use of Delegate ...

2005-03-29 Thread Lionel Farbos
On Sat, 26 Mar 2005 16:46:44 +0100 Simon Kitching [EMAIL PROTECTED] wrote: I don_t understand; If you want jars from the war-specific WEB-INF/lib to be used BEFORE the common/lib version, then the default classloading order (child-first) is exactly what you want, isn_t it? yes, in my

Location of javascript files.

2005-03-29 Thread Pawson, David
I'm having problems locating a javascript file. {catalina_home}/project/x.html finds an external javascript file in the same directory quite happily. script language=JavaScript1.2 type=text/javascript src=upload.js/script Same thing from a jsp file When I convert the jsp

RE: Location of javascript files.

2005-03-29 Thread Peter Crowther
From: Pawson, David [mailto:[EMAIL PROTECTED] When I convert the jsp file to /project/WEB-APPS/class/x.class where would you expect the javascript file to be found please? By what URL is the client accessing the page (FileProperties or right-clickProperties in IE)? It needs to be in that

RE: Location of javascript files.

2005-03-29 Thread Pawson, David
-Original Message- From: Peter Crowther When I convert the jsp file to /project/WEB-APPS/class/x.class where would you expect the javascript file to be found please? By what URL is the client accessing the page (FileProperties or

RE: Location of javascript files.

2005-03-29 Thread Pawson, David
Problem solved! Worthy of note: script language=JavaScript type=text/javascript src=upload.js/script the space after javascript was the criminal! remove it and its back working again. Because I'd converted from jsp to java, I'd been careless with the whitespace; Odd one is that MS was picky,

Re: caching pattern

2005-03-29 Thread Didier McGillis
A listing of some names, and some static content, the content is pulled from the database, but is infrequently changed From: QM [EMAIL PROTECTED] Reply-To: Tomcat Users List tomcat-user@jakarta.apache.org To: Tomcat Users List tomcat-user@jakarta.apache.org Subject: Re: caching pattern Date:

Content negotiation like Apache HTTP Server in Tomcat

2005-03-29 Thread Martin Alvarez Espinar
Hi, I want to create something like the content negotiation implemented in the 'mod_negotiation' for Apache HTTP Server, which would resolve requests like myPage.jsp.en using the language preferences of browsers or resource names without extensions like images. Does anyone knows a solution

RE: caching pattern

2005-03-29 Thread Mark Benussi
If you are caching content, e.g. pages I would recommend using XSL to transform the data into html, or jsp if you need. At startup and then whenever it is changed. For data, implement a persistence pattern (Data extends BaseData class, Persistence extends BasePersistence class). Then for any data

(solved sesion problem )

2005-03-29 Thread FRANCOIS Dufour
thanks to all for your anwsers i finaly found that internet explorer was refusing the autentification cookie on xp (sp2) for db authentification [EMAIL PROTECTED] administrateur http://monteregiechat.org From: Martin Alvarez Espinar [EMAIL PROTECTED] Reply-To: Tomcat Users List

Re: connection pooling confusion help needed

2005-03-29 Thread Preeti Iyer
Hi, Please follow the directions by user rmorriso on the following link. It should work fine. http://forums.devshed.com/archive/t-120081 On Fri, 25 Mar 2005 19:11:15 + (GMT), Krishnakant Mane [EMAIL PROTECTED] wrote: hello all, im going to put a web application in java servlets with

Limit catalina.out size

2005-03-29 Thread Jimmy Ray
Running on HPUX...SDK 1.4.2...the standard output is going to catlaina.out. Is it possible to change the logger settings reduce the size of the catalina.out file and perform circular logging? If so where are these settings? Regards, Jimmy Ray

RE: caching pattern

2005-03-29 Thread Didier McGillis
Are there any good examples of this? From: Mark Benussi [EMAIL PROTECTED] Reply-To: Tomcat Users List tomcat-user@jakarta.apache.org To: 'Tomcat Users List' tomcat-user@jakarta.apache.org Subject: RE: caching pattern Date: Tue, 29 Mar 2005 14:54:24 +0100 If you are caching content, e.g. pages I

RE: caching pattern

2005-03-29 Thread Mark Benussi
The content or the data? -Original Message- From: Didier McGillis [mailto:[EMAIL PROTECTED] Sent: 29 March 2005 15:59 To: tomcat-user@jakarta.apache.org Subject: RE: caching pattern Are there any good examples of this? From: Mark Benussi [EMAIL PROTECTED] Reply-To: Tomcat Users List

Re: Limit catalina.out size

2005-03-29 Thread Jimmy Ray
Sorry...Tomcat 5.0.28 --- Jimmy Ray [EMAIL PROTECTED] wrote: Running on HPUX...SDK 1.4.2...the standard output is going to catlaina.out. Is it possible to change the logger settings reduce the size of the catalina.out file and perform circular logging? If so where are these settings?

Re: Limit catalina.out size

2005-03-29 Thread Tim Funk
There shouldn't be anything going to standard output (Unless your code is writing to System.out) An overly simple way to rotate logs in unix ... cd $tomcat_log_dir cp -f catalina.out catalina.out.`date +%Y.%m.%d` cat /dev/null catalina.out -Tim Jimmy Ray wrote: Running on HPUX...SDK 1.4.2...the

Re: Limit catalina.out size

2005-03-29 Thread Filip Hanik - Dev Lists
or like we do, we pipe the output through cronolog Filip Tim Funk wrote: There shouldn't be anything going to standard output (Unless your code is writing to System.out) An overly simple way to rotate logs in unix ... cd $tomcat_log_dir cp -f catalina.out catalina.out.`date +%Y.%m.%d` cat

RE: Limit catalina.out size

2005-03-29 Thread Michael Cornell
I would imagine that tomcat is logging using commons-logging, and that by default it is outputting to Catalina.out A suggested solution would be to include for example log4j.jar with a log4j.properties in the classpath which should control how this log is produced (consoleAppender output seems to

unexpected behaviour when hot-deploying

2005-03-29 Thread Rob van Oostrum
On our production environment, when hot-deploying WAR files, Tomcat occasionally spits out errors like this one: Mar 29, 2005 12:46:59 AM org.apache.catalina.core.StandardContext preDeregister SEVERE: error stopping LifecycleException: Manager has not yet been started at

Where to download the Compatibility Package for running Tomcat 5.5 with 1.4 jdk?

2005-03-29 Thread David
Dear Members, On the documentation there is a comment about downloading the Compatibility Package in order to run Tomcat 5.5 under 1.4.x version. I don't see such package on the download section. Do you have any idea where to find such package? Tanks in advance, David

RE: Where to download the Compatibility Package for running Tomcat 5.5 with 1.4 jdk?

2005-03-29 Thread Caldarale, Charles R
From: David [mailto:[EMAIL PROTECTED] Subject: Where to download the Compatibility Package for running Tomcat 5.5 with 1.4 jdk? On the documentation there is a comment about downloading the Compatibility Package in order to run Tomcat 5.5 under 1.4.x version. I don't see such package on

Re: Where to download the Compatibility Package for running Tomcat 5.5 with 1.4 jdk?

2005-03-29 Thread Jason Bainbridge
On Tue, 29 Mar 2005 08:15:33 -0800 (PST), David [EMAIL PROTECTED] wrote: Dear Members, On the documentation there is a comment about downloading the Compatibility Package in order to run Tomcat 5.5 under 1.4.x version. I don't see such package on the download section. Do you have any

Re: Where to download the Compatibility Package for running Tomcat 5.5 with 1.4 jdk?

2005-03-29 Thread Trond G. Ziarkowski
Hi, they are available for download with the other downloads here http://jakarta.apache.org/site/downloads/downloads_tomcat-5.cgi. Named 5.5.X Compat tar.gz/zip. Trond David wrote: Dear Members, On the documentation there is a comment about downloading the Compatibility Package in order to run

Re: Admin application creates duplicate secure attribute in server.xml

2005-03-29 Thread Jeffrey Barnett
Peter, Many thanks for finding and fixing the bug, however we are currently running 5.0.28, and not likely to upgrade until summer. Can you describe enough about the problem that I could track it down and create a local fix / work around until then? Peter Rossbach wrote: Yes the wrong saving

Re: Where to download the Compatibility Package for running Tomcat 5.5 with 1.4 jdk?

2005-03-29 Thread David
Is it really that hard to see the -compat download there? No, but there is no link to this addres on the Introduction documentation about Tomcat 5.5 On this link: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/setup.html There is a following comment: If using a J2SE 1.4 JRE, the

using a docBase outside $catalina.home ?

2005-03-29 Thread P T
Hi all, I've checked the archives and google, but come up dry on this. I know that with 5.5 we're no longer supposed to put contexts for individual applications in server.xml, but none of the 'proper' ways have worked. I've got source for an application that we're working on in

Using JDBC with 5.5.x

2005-03-29 Thread Martin Dubuc
I am having some problems using JDBC with 5.5.x releases. I can use JDBC with 5.0.28, but as soon as I switch to 5.5.x, I get the following errors trying to connect to database: Mar 29, 2005 11:26:37 AM org.apache.catalina.realm.DataSourceRealm open SEVERE: Exception performing authentication

Re: Using JDBC with 5.5.x

2005-03-29 Thread Trond G. Ziarkowski
Hi, the way to define JNDI Datasources has changed from 5.0.x to 5.5.x. Check out the docs http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jndi-datasource-examples-howto.html Trond Martin Dubuc wrote: I am having some problems using JDBC with 5.5.x releases. I can use JDBC with 5.0.28, but as

Re: using a docBase outside $catalina.home ?

2005-03-29 Thread Brad Baynes
I then start tomcat and access the /manager utility and it shows /MyAppName in the Applications display and indicates 'false' under the Running column. I'm stumped -- I can't imagine that the only way to work with unWAR-ed files is to put them inside tomcats directory structure. Cheers,

RE: caching pattern

2005-03-29 Thread Didier McGillis
data, or as they say in new england datur From: Mark Benussi [EMAIL PROTECTED] Reply-To: Tomcat Users List tomcat-user@jakarta.apache.org To: 'Tomcat Users List' tomcat-user@jakarta.apache.org Subject: RE: caching pattern Date: Tue, 29 Mar 2005 16:01:08 +0100 The content or the data? -Original

Re: using a docBase outside $catalina.home ?

2005-03-29 Thread Brad Baynes
I can't imagine that the only way to work with unWAR-ed files is to put them inside tomcats directory structure. Patrick Thomas Patrick - make sure that the deployOnStartup attribute is not set to false in the server.xml. We are running apps outside the Tomcat folder structure with

Re: Using JDBC with 5.5.x

2005-03-29 Thread Jimmy Ray
This brought up an issue that we are having in 5.0.28. We can not get a JNDI data sources to work unless we have a resource link entry in the application.xml file in the $tomcat_home/conf/catalina/localhost directory. If we do not have these entries then we get the error: ERROR: SQL

Getting Tomcat to start my connection pool on startup.

2005-03-29 Thread Brian McGovern
Can anyone tell me how to get tomcat to see my connection pool (DBCP) when tomcat starts? I'm running struts if that helps. I have a Jndi resource set up that i can call from my code. But the pool starts the first time i ask for a connection from the factory. I'd rather it start on startup.

Re: Getting Tomcat to start my connection pool on startup.

2005-03-29 Thread dshort
Yes, this can be done. I use a resource listener with struts. Upon Tomcat startup, the resource listener fires up and executes my Oracle DB connection pool logic. I can send you the code later today, as it's not available at my current location. - Original Message - From: Brian

Re: BASIC Authentication for Custom Realm

2005-03-29 Thread Mark Thomas
Based on my own experience, the quickest way to work out what is happening will be to debug your way through it. See the FAQ for how to set this up: http://jakarta.apache.org/tomcat/faq/development.html Mark Mudumbai, Kalyan wrote: Hi All, I am trying to write a custom realm for my web

Tomcat 4.1.27 context MBeans

2005-03-29 Thread Sheykhet, Rostic
Hi all, I would like to deploy my webapp along with custom mbeans. I have LifeCycleListeners enabled, and I can get a hold of MBeanServer object from my webapp's servlet code, list mbeans, etc. I cannot call the MBeanServer.createMBean() method because all of my mbean-related classes are only

(OT) RE: Location of javascript files.

2005-03-29 Thread Brent Sims
That error indicates an IE specific error in the javascript code, usually a null variable object that Firefox will gracefully ignore. I've run into that a few times; isn't Microsoft grand? Brent Sims Systems Analyst 2 KC Human Services - Road

Re: Admin application creates duplicate secure attribute in server.xml

2005-03-29 Thread Peter Rossbach
Hello Jeffrey, I have no time to made a storeconfig backport to the Tomcat 5.0 tree. Sorry, the 5.0.x is in some places very unfriendly. When you want a local workaround look inside StandardServer#storeConnector. The probleme is the storeAttributes method calls for real Connector and also for

include / c:import problems

2005-03-29 Thread Asim Alp
Hi, We're using Tomcat 5.5.7 on Windows Server 2003 with Sun's J2SE 5.0. From time to time, we have problems with jsp:includes and c:imports. For some reason, the whole page gets included more than once. For example; on index.jsp, we have news.jsp and events.jsp includes. From time to time

RE: include / c:import problems

2005-03-29 Thread Ramu, Vinod
Could we get the jsp code and web.xml configuration? Vinod -Original Message- From: Asim Alp [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 29, 2005 3:14 PM To: Tomcat Users List Subject: include / c:import problems Hi, We're using Tomcat 5.5.7 on Windows Server 2003 with Sun's J2SE

Re: JNDI Realm Issue with 5.5.7

2005-03-29 Thread Ole Ersoy
OK! Good news. The JNDIRealm code is rock solid which I found out after a few days of looking through it and running tests. Eventually I got around to having a good look at my context descriptor and discovered that I was not capitalizing the n and s in roleName and roleSearch. Hopes this

Re: include / c:import problems

2005-03-29 Thread Folashade Adeyosoye
are you refering to includes or Tiles? On Tue, 29 Mar 2005 15:20:01 -0500, Ramu, Vinod [EMAIL PROTECTED] wrote: Could we get the jsp code and web.xml configuration? Vinod -Original Message- From: Asim Alp [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 29, 2005 3:14 PM To:

RESOLVED - using a docBase outside $catalina.home ?

2005-03-29 Thread P T
putting a foo.xml file into conf\Catalina\localhost eventually worked... not exactly sure why it's working, but thanks for the input all. ~PST - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: include / c:import problems

2005-03-29 Thread Asim Alp
Here is the web.xml at top level (Tomcat/conf/web.xml), there is really nothing special about it. Our regular applications don't really need web.xml: ?xml version=1.0 encoding=ISO-8859-1? web-app xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;

Tomcat-juli in 5.5.9

2005-03-29 Thread Brent Sims
Did the tomcat-juli jar not make the release of 5.5.9 or is this something I need to build separately? I can't seem to locate the jar in the zip download, which could very well just be my eyes. Thanks Brent Sims Systems Analyst 2 KC Human Services

Tomcat 5.5.7, mod_jk 1.2.8, Apache 2.0.53 - 404 received from remote client, but not local

2005-03-29 Thread Jason Williams
Hello, I have tomcat 5.5.7, mod_jk 1.2.8 and Apache 2.0.53 installed on Debian linux machine (machine A). When accessing a webapp through apache using a browser on the same machine as the server (machine A) I have no problems. When accessing the same URL from another machine on the same network

Compressing file uploads with TC 4.1

2005-03-29 Thread David Wall
As I undertand it, some browsers (which ones?) support GZIP compression. I'm not sure if the HTTP response needs to include anything to tell the browser that the server supports it or not. Does anybody know if Tomcat will provide the right headers for that? I read in the Coyote HTTP connector

Data file owner and group difficulties

2005-03-29 Thread James T. Studebaker
My servlets create data files. The webapp is running on a Linux system. The app user is jims and my group is jims. I have to set permissions to 777 in order for tomcat to read data files. When data files are created, the user is tomcat and the group is nobody. As a result my servlets can

RE: FIXED - Tomcat 5.5.7, mod_jk 1.2.8, Apache 2.0.53 - 404 received from remote client, but not local

2005-03-29 Thread Jason Williams
It seems the problem was that the auto-generated mod_jk.conf file was placing the JkMount directives inside a VirtualHost tag for localhost. Since I'm not interested in having any name-based virtual hosting, I removed the enclosing VirtualHost tags and renamed the file mod_jk.conf.manual so it

Re: Tomcat 4.1.27 context MBeans

2005-03-29 Thread Bill Barker
I don't believe that TC 4 registers the webapp's classloader with JMX (only the Catalina Loader). You'll need TC 5 for that. Sheykhet, Rostic [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all, I would like to deploy my webapp along with custom mbeans. I have LifeCycleListeners

Re: Re: Installing Tomcat service: Unable to manually insert values for JvmMx and JvmMs in registry

2005-03-29 Thread Lakshmi Narayanan K.
No replies yet??? :( Is it possible that this is a possible bug in the tomcat5.exe executable? Can this thread be forwarded to the other mailing list, the tomcat-developers one??? Eagerly awaiting your replies... -- Warm Regards, Lakshmi Narayanan K. When the buying stops, the killing can

Session Handling

2005-03-29 Thread Jagadeesha T
Hi all, I need to launch a browser from a java application (swing) on the click of the button. Each click should launch a different instance of the browser. However, all these instances of the browser should share the same HttpSession (created on the launch of the first browser instance).

Re: tomcat 5.5.7 / windowsXP / access database

2005-03-29 Thread U K Laxmi
I was watching this mailing list and found this posting useful. Even my environment is same except that i'm using MS Access on windows 2000 machine. I followed what Mr. Luke has done and it works fine for me too. Earlier i was using JDBC connection as follows:

apply SSL using tomcat 3.3.1a and JDK 1.3.1

2005-03-29 Thread Marcus Nugroho
Hi All, Is it possible to apply SSL on tomcat 3.3.1a using JDK 1.3.1 ? We have succeeded for Tomcat 3.3.1a using JDK 1.4.2. unfortunately, the application required JDK 1.3.1 Does anyone have similar experince about this ? Thanks, Marcus.

multiple domain name support for https

2005-03-29 Thread Sasisekar S Sundaram
Hi, Few browsers (like Mozilla) are giving a warning message == Security Error: Doamin Name Mismatch with https. I understand that the error is because i have two domain names, like www.mycompany.com and mycompany.com for the same IP, and the certificate of tomcat contains only one of the 2

Re: apply SSL using tomcat 3.3.1a and JDK 1.3.1

2005-03-29 Thread Bill Barker
Marcus Nugroho [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi All, Is it possible to apply SSL on tomcat 3.3.1a using JDK 1.3.1 ? We have succeeded for Tomcat 3.3.1a using JDK 1.4.2. unfortunately, the application required JDK 1.3.1 Does anyone have similar experince about

Re: multiple domain name support for https

2005-03-29 Thread Antony Paul
One way is to redirect all requests if the request.getServerName() dont return the hostname for which SSL certificate is issued. This can be done in entry pages to your site. On Wed, 30 Mar 2005 00:40:34 -0600, Sasisekar S Sundaram [EMAIL PROTECTED] wrote: Hi, Few browsers (like Mozilla) are

JDK usage with Tomcat

2005-03-29 Thread Gurunandan G Rao
Which JDK is mostly used with Tomcat in production environment?. Is it * Sun * IBM * BEA(Jrockit) * Unisys * HP(on HP ux) Is Tomcat certified with any JDK vendor?.

RE: caching pattern

2005-03-29 Thread Mark Benussi
Ill put something together and send it to you, not the list as I think people mind large files being posted. Will try and get it out by 5pm BST -Original Message- From: Didier McGillis [mailto:[EMAIL PROTECTED] Sent: 29 March 2005 18:12 To: tomcat-user@jakarta.apache.org Subject: RE:

Re: multiple domain name support for https

2005-03-29 Thread Sasisekar S Sundaram
Thanks Antony ! - Original Message - From: Antony Paul [EMAIL PROTECTED] To: Tomcat Users List tomcat-user@jakarta.apache.org Sent: Wednesday, March 30, 2005 12:57 AM Subject: Re: multiple domain name support for https One way is to redirect all requests if the request.getServerName()