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
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 end up
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
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
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
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
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
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
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
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
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-mapping
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 with Firefox.
David
Ignore that, it's a red herring, you
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/Construction
(direct to Tomcat listening port) it works fine (HTML is rendered).
When I use http://myserver
ne pouvons accepter
aucune responsabilité pour le contenu fourni.
Date: Mon, 27 Apr 2009 14:46:25 +0100
From: p...@pidster.com
To: users@tomcat.apache.org
Subject: Re: Browser shows source of .jsp file. Why?
David Rush wrote:
Pid:
Yes, I've removed the explicit mapping
-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 no effect. I'm still getting HTML markup in the browser
window
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
(rather than
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
No, I did not uninstall the old service. I'd like to be able to keep
multiple Tomcat instances going at once. Normally I do keep multiple
instances, each installed as a service (on different ports with
different service names), but they've always been of the exact same version.
Would there
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
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
20 matches
Mail list logo