Re: Unstable display of code 500-pages

2007-10-02 Thread Novaree
Len, You just got yourself a segment in my prayers tonight :) Thanks a lot. This was _exactly_ what I needed :D //Casper Len Popp wrote: Your error-page declaration only handles errors caused by sendError(500). It doesn't handle exceptions thrown by the application. To specify an error

why/how to use ajp connector...

2007-10-02 Thread loredana loredana
Ok, my project manager asked me to set up a server with tomcat, apache and ajp connector. This is the first time I do it and after reading some of the documentation on the ajp connector I still can't figure out it's purpose. Can anybody tell me what is it's use? I read This is used for cases

Re: Problems with SSL-enabled Tomcat 5.5

2007-10-02 Thread Angel Quintana
Following up this email from Werner, did you fix it Werner??? I am facing the same problem, aparently my process is correct, here is some info: Catalina.out: (Alias name autentiacert does not identify a key entry) Catalina.out - GRAVE: Error

Re: Tomcat 6 and Permgen increase with redeployments

2007-10-02 Thread Diego Rodríguez Martín
Hi, There is a leak in commons pool in version 6 that prevents WebappClassLoader from being garbage collected http://www.mail-archive.com/users@tomcat.apache.org/msg29820.html Anyway, you may be encountering memory leaks of you own, and nothing can replace memory profiling to find

Re: why/how to use ajp connector...

2007-10-02 Thread Daniel M Garland
You use this connector to relay requests to a certain URL pattern to Tomcat, so you can have part of your website as static HTML served by apache and part of it hosted by Tomcat, which could be running your server-side Java. Perhaps you have a jsp contact form on your static site that needs

AW: AW: Using Tomcat API to save single files into a wep app - No redeploy

2007-10-02 Thread Iannetti, Gabriele
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gabrielle, Iannetti, Gabriele wrote: now I know it's up to use pure Java API for this, and unfortunately not the servlet engine API. The servlet API doesn't have anything in it that doesn't have to do with serving dynamic requests. I'm not

Re: Tomcat jsessionid cookie across subdomain valve

2007-10-02 Thread Daniel M Garland
How would I raise this as an enhancement request in Tomcat? Daniel M Garland wrote: Hi all, I have a web application that is installed on a virtual host that has a number of subdomains defined with Alias elements in server.xml. We would like cookie sessions persist to across these

Re: DeltaManager cannot receive message through TCP channel in Tomcat cluster

2007-10-02 Thread Daniel M Garland
Thanks for the response So is it better to have one cluster rather than one per host? What about hosts that don't have clustering enabled? Surely there are advantages with having a separate cluster, its listening on a different address so it would have its own message buffer etc.? My

jsp modifications not visible after tomcat restart?

2007-10-02 Thread loredana loredana
I remember something like this happened to me a couple of years back but don't remember how I solved it. I run a tomcat 6 and I have a jsp file within an application. I remember that if I do a modification in a jsp file I don't have to restart tomcat, it's enough to copy the jsp file in the

Re: New to Apache

2007-10-02 Thread Mark H. Wood
On Mon, Oct 01, 2007 at 06:58:23PM -0400, Mark Thomas wrote: Tony Fountain wrote: Mark, I did not hijack a thread. I started this one myself. No you didn't. You hit reply to an old message deleted the content and changed the subject. Please don't do this. Possibly he's an innocent

quick or easy re-direct

2007-10-02 Thread dave slimmon
Morning folks... I'm new to Tomcat 6.x and would appreciate any advice. We have a dynamically-generated page pretty deep in our site which, long story short, we do not wish to modify or alter in any way. However, we would like any requests for that page to re-direct / forward to the front door

Re: quick or easy re-direct

2007-10-02 Thread Pid
dave slimmon wrote: Morning folks... I'm new to Tomcat 6.x and would appreciate any advice. We have a dynamically-generated page pretty deep in our site which, long story short, we do not wish to modify or alter in any way. However, we would like any requests for that page to re-direct /

Re: quick or easy re-direct

2007-10-02 Thread dave slimmon
RE: Does the URL for the page change or is it consistent? Hey there, thanks for writing. The URL is consistent. In fact, I've come to discover that it's really everything under a specific directory that I would like to re-direct. So, to modify my previous example, we would like everything

Re: New to Apache

2007-10-02 Thread David Smith
I know in Thunderbird you can click on the email address of a message and compose a new message to that person. It's not the same as a reply which incorporates other header information in order to perserve the thread association. --David Mark H. Wood wrote: On Mon, Oct 01, 2007 at

RE: New to Apache

2007-10-02 Thread Tony Fountain
Yes, I did do that - it was just a simple way to obtain the email address. I'll be careful not to do this again as I was unaware of this. Thanks, Tony Fountain Benefit Concepts, Inc. (419) 244-9936 x9010 (office) (419) 249-7221 (fax) -Original Message- From: Mark H. Wood,UL 0115A,+1 317

Re: New to Apache

2007-10-02 Thread Ken Bowen
I remind myself regularly that the address is a link at the bottom of every eamil I get from the list, and using that sets up everything I need. Since I save (some) list items, it's easy to get the address to start a new thread. --Ken Bowen Tony Fountain wrote: Yes, I did do that - it was

Re: Tomcat clustering

2007-10-02 Thread Szabolcs Márton
HI! Have you tryed Terracotta for clustering? I find some days ago, and its very easy and simple to cluster tomcats. as i remember its free. regards, sZabi 2007/10/1, Daniel M Garland [EMAIL PROTECTED]: Hey The mcastDropTime attribute controls how long a node waits without a response from

Re: quick or easy re-direct

2007-10-02 Thread Pid
dave slimmon wrote: RE: Does the URL for the page change or is it consistent? Hey there, thanks for writing. The URL is consistent. In fact, I've come to discover that it's really everything under a specific directory that I would like to re-direct. So, to modify my previous example, we

Re: How to specify a default context?

2007-10-02 Thread Szabolcs Márton
Hi maybe try this, in server.xml, in tomcat6 Context path= docBase=YOUR_CONTEXT_HERE debug=0 / after this, every request at http://host will served by the context you specified here. No any changes neccessary, as i remember. regards Szabi 2007/9/30, Caldarale, Charles R [EMAIL PROTECTED]:

Re: jsp modifications not visible after tomcat restart?

2007-10-02 Thread Szabolcs Márton
hi sometimes, delete /work dir at catalina_home helps, but i have the same problems sometimes. Something like the server doesnot recognize, that tha file changed and need recompile. regards Szabi 2007/10/2, loredana loredana [EMAIL PROTECTED]: I remember something like this happened to me a

Re: New to Apache

2007-10-02 Thread Steve Ochani
On 2 Oct 2007 at 8:51, Mark H. Wood wrote: On Mon, Oct 01, 2007 at 06:58:23PM -0400, Mark Thomas wrote: Tony Fountain wrote: Mark, I did not hijack a thread. I started this one myself. No you didn't. You hit reply to an old message deleted the content and changed the subject.

RE: How to specify a default context?

2007-10-02 Thread Caldarale, Charles R
From: Szabolcs Márton [mailto:[EMAIL PROTECTED] Subject: Re: How to specify a default context? maybe try this, in server.xml, in tomcat6 Context path= docBase=YOUR_CONTEXT_HERE debug=0 / Please read the docs before posting. In current versions of Tomcat, do not ever put Context elements

RE: jsp modifications not visible after tomcat restart?

2007-10-02 Thread Caldarale, Charles R
From: loredana loredana [mailto:[EMAIL PROTECTED] Subject: jsp modifications not visible after tomcat restart? I remember that if I do a modification in a jsp file I don't have to restart tomcat, it's enough to copy the jsp file in the webapps/appfolder/ and refresh in browser. well that

Re: quick or easy re-direct

2007-10-02 Thread Ken Bowen
Another option I've been learning to use (it has both forward and redirect capabilities) is: http://tuckey.org/urlrewrite/ --Ken Pid wrote: dave slimmon wrote: RE: Does the URL for the page change or is it consistent? Hey there, thanks for writing. The URL is consistent. In

tomcat iptables problem

2007-10-02 Thread Dieter Schicker
Hi, this is my first mail to this list so please forgive me if it's the wrong list. Here's my problem: I'm running tomcat 5.5.23 on Debian Etch (4.0) with Linux kernel 2.6.18-4-xen-amd6. Now I set up an iptables firewall (with fwbuilder) with the following open ports: 8080 (http), 8005

Re: tomcat iptables problem

2007-10-02 Thread albrecht andrzejewski
Quoting Dieter Schicker [EMAIL PROTECTED]: With this configuration I have the following behavior: Tomcat needs 3 minutes to shut down and another 3 minutes to start up again. If it runs it runs perfectly ... Any ideas? It can occurs if you are working with a localhost url... If you do,

Re: tomcat iptables problem

2007-10-02 Thread Pid
Dieter Schicker wrote: Hi, this is my first mail to this list so please forgive me if it's the wrong list. Here's my problem: I'm running tomcat 5.5.23 on Debian Etch (4.0) with Linux kernel 2.6.18-4-xen-amd6. Now I set up an iptables firewall (with fwbuilder) with the following open

Configuring and using DataSource in Tomcat

2007-10-02 Thread Heping Ling
Hi, everybody: I am new in doing web applications and new in using tomcat. I am having trouble configuring and using DataSource in Tomcat. Hope someone could see where the problem is. About the database: hostname is sb.lehman.cuny.edu schema name (sqlplus account name) is

Re: DeltaManager cannot receive message through TCP channel in Tomcat cluster

2007-10-02 Thread Filip Hanik - Dev Lists
Daniel M Garland wrote: Thanks for the response So is it better to have one cluster rather than one per host? easier to manage and troubleshoot one cluster than many. What about hosts that don't have clustering enabled? that's not a problem, clustering only applies to webapps with the

RE: Configuring and using DataSource in Tomcat

2007-10-02 Thread Caldarale, Charles R
From: Heping Ling [mailto:[EMAIL PROTECTED] Subject: Configuring and using DataSource in Tomcat I am new in doing web applications and new in using tomcat. Don't suppose you'd want to give anyone a hint about what Tomcat version you're using? 2. File name and location of the JDBC

RE: Configuring and using DataSource in Tomcat

2007-10-02 Thread Heping Ling
Oops! The Tomcat I use is version 5.5.23. While trying to solve the problem, I put the driver file in both places: c:\tomcat\common\lib and the application's WEB-INF\lib. But that did not work out. Thank you for the clues! Jason -Original Message- From: Caldarale, Charles R

Re: quick or easy re-direct

2007-10-02 Thread dave slimmon
Thanks to both Ken and P for the great suggestions. We're going to use the filter approach discussed earlier in this thread, but the urlrewrite feature Ken mentions seems quite appealing as well for other things we have planned. Cheers, Davey On 10/2/07, Ken Bowen [EMAIL PROTECTED] wrote:

deploy outside of appBase w/Manager

2007-10-02 Thread nyronian
To put it simply, I would like to use the manager to deploy an app just like auto-deployment works but I need to change the context (path) without changing the name of the war. I am trying to implement the following deployment requirment: 1. Change the context (path) of the war I am deploying,

Re: deploy outside of appBase w/Manager

2007-10-02 Thread Scott McClanahan
On Tue, 2007-10-02 at 16:51 -0400, nyronian wrote: To put it simply, I would like to use the manager to deploy an app just like auto-deployment works but I need to change the context (path) without changing the name of the war. I am trying to implement the following deployment requirment:

Re: deploy outside of appBase w/Manager

2007-10-02 Thread nyronian
I am on 5.0.25. Here are the different deployments I have tried and the problems I have: First, the context.xml is simple: Context path=/site docBase=/usr/apps/app1 reloadable=false privileged=false / The server.xml Host entry is: Host name=localhost appBase=webapps unpackWARs=false

Re: New to Apache

2007-10-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, Mark H. Wood wrote: I would think I'm being efficient by letting the MUA copy the list address for me instead of typing it myself. The only address that should be used for these messages is [EMAIL PROTECTED] There's really no reason to CC

Re: AW: AW: Using Tomcat API to save single files into a wep app - No redeploy

2007-10-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gabrielle, Iannetti, Gabriele wrote: I think I am going to use an other program like a extracter (e.g. 7zip or something) to add files to the deployed .war archive file, So I get the data files into it at runtime and have the ability to read

Re: tomcat iptables problem

2007-10-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dieter, Dieter Schicker wrote: Now I set up an iptables firewall (with fwbuilder) with the following open ports: 8080 (http), 8005 (shutdown?), 8009 (ajp connector) and all lo traffic is allowed. What about outgoing allowed ports? With this

Re: deploy outside of appBase w/Manager

2007-10-02 Thread nyronian
Excuse me...I meant version 5.5.20 nyronian wrote: I am on 5.0.25. Here are the different deployments I have tried and the problems I have: First, the context.xml is simple: Context path=/site docBase=/usr/apps/app1 reloadable=false privileged=false / The server.xml Host

RE: deploy outside of appBase w/Manager

2007-10-02 Thread Caldarale, Charles R
From: nyronian [mailto:[EMAIL PROTECTED] Subject: Re: deploy outside of appBase w/Manager First, the context.xml is simple: Context path=/site docBase=/usr/apps/app1 reloadable=false privileged=false / As you have discovered, and we have discussed _many_ times on this mailing list, the

windows installer error on TomCat v5.5.25

2007-10-02 Thread Newell, Gary
I have been attempting to upgrade to TomCat v5.5.25 (from 5.5.9). I have been running TomCat versions since 3.something. Normally the upgrades have been simple and easy, but this time I'm stuck and all of today's Google searches have not turned up a solution (I have, however, found several

RE: deploy outside of appBase w/Manager

2007-10-02 Thread nyronian
Thanks...you have confirmed my suspicionscan't do it through the manager. I wanted to do my due diligence before coming up with my own deployment solution (like the scripting solution you recommended). I wanted to make sure I wasn't missing something. Thanks. Caldarale, Charles R

RE: windows installer error on TomCat v5.5.25

2007-10-02 Thread Caldarale, Charles R
From: Newell, Gary [mailto:[EMAIL PROTECTED] Subject: windows installer error on TomCat v5.5.25 I have been attempting to upgrade to TomCat v5.5.25 (from 5.5.9). I have been running TomCat versions since 3.something. I'm surprised you haven't learned how to spell it by now: Tomcat, not

RE: deploy outside of appBase w/Manager

2007-10-02 Thread Caldarale, Charles R
From: nyronian [mailto:[EMAIL PROTECTED] Subject: RE: deploy outside of appBase w/Manager I wanted to do my due diligence before coming up with my own deployment solution (like the scripting solution you recommended). You could probably use the manager as is to do the reload part; it's

Removal from mailing list

2007-10-02 Thread Stephen . Morris
Please remove me from the mailing list. Thankyou. Stephen Morris Security Technician, IT Security Access Management Technology Security Risk, National Australia Bank Level 8, 800 Bourke St, Melbourne VIC 3000 Tel: +61 (0) 3 8634 1755 | Mob: 0438 537 569 Email: [EMAIL PROTECTED]

Controlling JULI logging 1) Tomcat on its own; 2) when running under Eclipse.

2007-10-02 Thread Ken Bowen
I'm using a freshly unzipped install of Tomcat 5.5.25 on Windows. 1) JULI logging is automatically enabled, and is controlled by the logging.properties file found in conf. This seems to be at variance with the statement in http://tomcat.apache.org/tomcat-5.5-doc/logging.html : Example

Re: Removal from mailing list

2007-10-02 Thread Wendy Smoak
Send a message to [EMAIL PROTECTED] from the address you used to subscribe. If that doesn't work, you can reach a human at [EMAIL PROTECTED] . -- Wendy - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe,