Re: Nothing but 404 errors

2024-09-05 Thread David Rush
es > Northwestern University > 4th Floor > 2020 Ridge Avenue > Evanston, IL 60208-0801 > darryl.ba...@northwestern.edu <mailto:darryl.ba...@northwestern.edu> > (847) 467-6674 > > > > > On 9/5/24, 9:56 AM, "David Rush" david.r...@wyo.gov>> wr

Re: Nothing but 404 errors

2024-09-05 Thread David Rush
file). Copying EVERYTHING from CATALINA_HOME/conf to CATALINA_BASE/conf resolved the issue. David On Thu, Sep 5, 2024 at 8:54 AM David Rush wrote: > Sebastian: > > I want to keep HOME and BASE separate so that when a new version of Tomcat > comes out it's easy to swap the new

Nothing but 404 errors

2024-09-05 Thread David Rush
I've been an avid user of "apt install tomcat9" for years on Ubuntu 22.04 and prior with great success, but I've discovered that the package manager on Ubuntu 24.04 doesn't support tomcat9. So I'm trying to install it from the core binary D/L from tomcat.apache.org I want to use distinct CATALINA

Re: context.xml file location

2024-05-30 Thread David Rush
I don't know about any docker-related differences, but I think that if you put a context config file under Catalina/localhost you need to name the .xml file the same as your .war file. So if you have foo.war, then you'd have Catalina/localhost/foo.xml You can also put a file named context.xm

Re: Help with deploying multiple .WAR files in Tomcat

2022-08-05 Thread David Rush
We successfully deploy multiple webapps by simply dropping .war files into the webapps directory all the time. No problems here. Just sharing my perspective. David On Thu, Aug 4, 2022 at 4:10 PM James H. H. Lampert wrote: > Multiple WAR files work fine for us. But we don't simply "drop [the W

Re: Tomcat 7 won't run as Windows service

2011-10-15 Thread David Rush
wrote: On 14/10/2011 13:16, Konstantin Kolinko wrote: 2011/10/14 David Rush: I've been running Tomcat 6.0.18 for a long time, and am now trying to upgrade to 7.0.22 (64 bit .zip download). I can start Tomcat 7 with startup.bat and it's working fine. The script to install it as

Tomcat 7 won't run as Windows service

2011-10-14 Thread David Rush
I've been running Tomcat 6.0.18 for a long time, and am now trying to upgrade to 7.0.22 (64 bit .zip download). I can start Tomcat 7 with startup.bat and it's working fine. The script to install it as a service worked without complaint, and the service is there. However when I try to start i

Re: Browser shows source of .jsp file. Why?

2009-04-28 Thread David Rush
Andre-John Mas wrote: ... > > BTW since you are using a JSP, you should be able to specify the content > type in the JSP: > > <%@ page language="java" contentType="text/html; charset=UTF-8" > pageEncoding="UTF-8"%> > Actually I tried that first, adding it to all 3 .jsp files that were included

Re: Browser shows source of .jsp file. Why?

2009-04-27 Thread David Rush
. David Andre-John Mas wrote: > > On 27-Apr-2009, at 09:04, Pid wrote: > >> David Rush wrote: >>> I checked my web.xml, and found no mime-mapping elements at all. I >>> tried adding one explicitly mapping the jsp extension to text/html, >>> but it had

Re: Browser shows source of .jsp file. Why?

2009-04-27 Thread David Rush
ement et n'aura pas > n'importe quel effet légalement obligatoire. Étant donné que les email > peuvent facilement être sujets à la manipulation, nous ne pouvons accepter > aucune responsabilité pour le contenu fourni. > > > > > > >> Date: Mon, 27 Apr 2

Re: Browser shows source of .jsp file. Why?

2009-04-27 Thread David Rush
treat the whole deal more like a servlet and explicitly set the content-type. Thanks for the help. David Pid wrote: > David Rush wrote: >> Pid: >> >> Yes, I've removed the explicit mapping. >> >> "Sometimes" because when I use the URL http://myserver:8080/C

Re: Browser shows source of .jsp file. Why?

2009-04-27 Thread David Rush
ps directory. David Pid wrote: > David Rush wrote: >> I checked my web.xml, and found no mime-mapping elements at all. I tried >> adding one explicitly mapping the jsp extension to text/html, but it had no >> effect. I'm still getting HTML markup in the browser window

Re: Browser shows source of .jsp file. Why?

2009-04-27 Thread David Rush
I checked my web.xml, and found no mime-mapping elements at all. I tried adding one explicitly mapping the jsp extension to text/html, but it had no effect. I'm still getting HTML markup in the browser window with Firefox. David Martin Gainty wrote: > David > > did you check your mime-mappin

Re: Browser shows source of .jsp file. Why?

2009-04-25 Thread David Rush
I'm having the same problem, where markup is sometimes appearing in the browser window instead of the rendered HTML. I'm using my own server (MS Windows Server 2003), with Tomcat 6.0.18 behind a reverse proxy on Apache 2.2.11. When I access one of my webapps via Tomcat's port (http://myserver:

Re: Problem with auto-deploy

2007-01-10 Thread David Rush
I have further evidence that the problem has to do with my new .war file being copied in when the background processor (auto-deploy) cycle "hits" and tries to reload. I've slowed the process to every 30 seconds rather than the apparent default of every 10 seconds (by setting backgroundProcesso

Re: Problem with auto-deploy

2007-01-10 Thread David Rush
Chuck: Thanks for the tip. I played a bit with both attributes, with no luck (but admittedly I don't fully understand them, so I was playing somewhat blind). I was able to get different errors, but no joy. Here's what I've since discovered My normal mode of operation is to copy my .war

Problem with auto-deploy

2007-01-09 Thread David Rush
I'm having trouble with the auto-deploy of .war files on Tomcat 5.5.20 running on Windows 2003 Server. When I drop a new .war file into the appropriate webapps directory, Tomcat's finding it and trying to deploy it, but it fails. It succeeds in removing the old directory (that a previous auto-de

Logging?

2006-04-21 Thread David Rush
Should Tomcat be logging the HTTP requests that it gets? I'm debugging 5.5.16 on Windows. I've installed commons-logging.jar and log4j-1.2.13.jar into common/lib, and log4j.properties into common/lib. My log4j.properties looks like this right now: #log4j.rootLogger=INFO, RFA log4j.appender.

Re: servlet mapping request

2006-04-20 Thread David Rush
I've got the example invoker servlet stuff uncommented from conf/web.xml, and have restarted Tomcat, but am unable to get a simple test servlet to function. The test servlet class file (SimpleServlet.class) file is under WEB-INF/classes/SimpleServlet.class. A simple HTML file located in the

Re: CATALINA_BASE and multiple instances

2006-04-19 Thread David Rush
Is there a way to get each instance of tomcat to use its own CATALINA_BASE/common directory? Yes. Clone the entire installation several times. This has the advantage that developers can upgrade 'their' instances as they require. Okay, that looks like it will work for me. I was hopin

CATALINA_BASE and multiple instances

2006-04-19 Thread David Rush
I'm trying to get Tomcat 5.5.16 set up for multiple independent instances (for use by multiple developers w/out stepping on each others' toes) in Windows XP (and eventually 2003 Server). I've got the binaries installed in c:\Apache\Tomcat5, and this is where the environment variable CATALINA_H

Re: running two instances of tomcat

2006-04-05 Thread David Rush
Aha. That did the trick. Thanks! David Nic Daniau wrote: service name must be A-Za-z0-9 (no space no _ or any funky character) On 05/04/06, David Rush <[EMAIL PROTECTED]> wrote: I've tried following the instructions below, and tried using service.bat, but either way I always

Re: running two instances of tomcat

2006-04-05 Thread David Rush
I've tried following the instructions below, and tried using service.bat, but either way I always end up with a small pop-up window with "Application System ..." in the title bar, and it says "NonAlpha 45". Any clue what's going on here? David Nic Daniau wrote: OK here we go. What was said a

Re: running two instances of tomcat

2006-03-24 Thread David Rush
I'm confused. I first installed 5.5.15 using the exe (testing on a WinXP machine right now), and got it working. But to run multiple instances, it looks as though I need the service.bat script, which is not included in the .exe. So I de-installed Tomcat, downloaded the .zip, and expanded it