I think your vunerability scanner is getting confused between what's reported
from an HTTP HEAD request and an actual attempt to delete. You can wade
through the Tomcat source, you'll probably find that the default HttpServlet
implementation has an empty doDelete method.
If you want to see
!-- Jakarta-Tomcat DEVELOPMENT Server Configuration File --
Server port=21043 shutdown=shutdown debug=3
Listener className=org.apache.catalina.mbeans.ServerLifecycleListener
debug=0/
Listener
className=org.apache.catalina.mbeans.GlobalResourcesLifecycleListener
debug=0/
Service
If you've got a Valve
className=org.apache.catalina.valves.RequestDumperValve/ defined for the
Engine/ node in server.xml for your Tomcat installation, you should be able
to see cookies being passed in HTTP requests:
==
2005-02-02 10:30:39
TC 5.0.28 running out of the box, the admin tool works fine; tree view
expands and all nodes are accessible.
Trying to run the admin tool with my own (pared down) server.xml generates the
following when clicking the Service (Catalina) node:
javax.servlet.ServletException: Define tag cannot set
If you've got a Valve
className=org.apache.catalina.valves.RequestDumperValve/ defined for the
Engine/ node in server.xml for your Tomcat installation, you should be able
to see cookies being passed in HTTP requests:
==
2005-02-02 10:30:39
Huy,
A PDF is an alternative. However, I'm inclined to stay with HTML without
having to require client to have Acrobat reader properly installed.
I'd like to push a copy of a web page via e-mail in a background Tomcat
thread/servlet. The idea is to serve up-to-date news and info without
requiring patrons/subscribers to follow a link to the original page or require
them bypass the Outlook Express warning about some items blocked to
I've seen some browsers (Netscape) truncate the query string portion of an
action URL in the form tag:
form action=http://target.com/servlet?param=val; ...
such that the target servlet receives the HTTP request without param=val, but
that's usually with method=GET.
Perhaps you should
Try setting the mail.smtp.auth property to true.
Peter,
I added the mx4j-tools.jar to the classpath and Connector/ node as noted. I
had to add 'port=9050' to the Connector/ node to skew it away from the 8009
default.
But now I'm stuck; what front-end should be used? You instructions conflict
with what's found here:
Is there a way/example to add a virtual host programmatically *WITHOUT* having
to edit server.xml (adding another Host/ node) and restarting the server?
(If you're about to say, Use the admin web app, then see this:
http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg143691.html )
I tried activating the admin web app. I got it to recognize my home-grown
Realm, so I can log in and see an initial page. However, I see only one
host (there are 4 defined in server.xml) and when I attempt to traverse from
Tomcat Server to Service to Host node in the left-hand tree pane, I
I believe the notation's semantics indicate dd/mm/ (4-January-2005).
Thanks for the link. Very informative and best of all, it works!
-- RH
Under Tomcat 5.0.25, I've got a web-app creating a file on-the-fly. I've
got the servlet surrounded by the following security constraint:
--
security-constraint
web-resource-collection
url-pattern/registration/file.xls/url-pattern
Weider still, I comment out only the user-data-constraint tag and the
download works fine; no-cache http headers are still in place. So, it may be
something with https, but how?
-- RH
- Original Message -
From: rh
To: tc-u
Sent: Tuesday, December 07, 2004 10:42 PM
Subject: Slightly
I was able to map two contexts to the same docbase, one a normal web.xml
context (recognizing welcome files) and one that supported WevDAV ops
(producing directory lists). See this post:
( RE: Multiple contexts mapped to single docbase)
In any case, so what if the ImageIcon takes 30MB?
So what? Right now, my Tomcat server is sitting taking up 24mb. When the
thumbnail servlet activates, that will jump up to an ADDITIONAL 30mb. If I
attempt to create/load a bunch of thumbs on the fly, Tomcat comes close to
maxing its memory
I've got a servlet that produces thumbnail images on-the-fly (using TC
5.0.25, JDK 1.4.2). Once the servlet becomes active, it gobbles about 30mb
per servlet/instance. I've gone through and tried to apply as many
flush()/dispose()/gc()/etc. methods as I could find, but still, the memory
Searching the tomcat-user mail archive, I find an article that looks to be
of interest:
Re: OutOfMemory on Tomcat webapp with awt use
(
http://www.mail-archive.com/[EMAIL PROTECTED]/msg137239.html )
and when I click the link, a totally different article appears:
RE: [Possible bug?]
This gives excellent exposition to behind-the-scenes data transfer with code
examples:
http://www-106.ibm.com/developerworks/web/library/wa-exrel/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Does Tomcat (5.0.25) use case-insensitive matching against the list of hosts
defined in server.xml? I'm looking at my request log and I'm seeing a
request for MyWebService.com that appears to be serviced by the default
host rather than mywebservice.com Why the HTTP header has mixed case is
Okay, I should have remembered about the defaultHost attr of the Engine/
node. (duh Rob!)
However, I'd like to redirect/stop spurious requests that have nothing to do
with my hosts; I've gotten a couple requests with www.yahoo.com as the
requested host. Anyone already got a (or cleverly
On Tomcat 5.0.25; I've got a few Host/ nodes defined in server.xml:
Host name=localhost...
Host name=abc.com...
Host name=def.net...
So then, why does a request for host www.xyz.com get routed to localhost?
Why wouldn't the request get kicked with like a 404 status?
Well, thanks to all the advice (and advisors), there are two workable
solutions.
For me, I'm liking the ease of display/maintenance for now. (Just wrap an
A around the text and voila! You have a cool hightlighting link.)
However, an arsenal of buttons (and the software to manage it) may be
Thanks for the filter idea Keith. I'll try it out!
In the ...teach someone to fish and you feed them for a lifetime spirit of
things, where would one get more information (and hopefully as easily
digestable as your post) about these header names/codes?
Thanks again!
-- RH
Well, http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html isn't *that*
hard to find or digest...
- Original Message -
To: [EMAIL PROTECTED]
Sent: Sunday, October 03, 2004 10:38 PM
Subject: RE: Reducing network traffic for rollover images
Thanks for the filter idea Keith. I'll try
Message -
From: Robert Hunt
To: [EMAIL PROTECTED]
Sent: Friday, October 01, 2004 6:32 PM
Subject: Re: Reducing network traffic for rollover images
Frank,
Thanks for the code snippet. However, I'm having a bit of trouble mapping
your jscript to the CSS that currently creates the rollover
To clarify:
Watching the Tomcat access log and using permutations of CSS and the
FrankZ/jscript-caching-strategy to achieve the rollover effects, I've found
that the background image is requested:
IExplore 6.0Netscape 7.2
-
Is there a way (as in, response header or other HTTPServletResponse setting)
that can persuade a
browser to use a cached version of an GIF/JPG that's used for a rollover
effect?
I'd like to reduce the network traffic (and perhaps improve the browser's
response)
from browsers that attempt to
Frank,
Thanks for the code snippet. However, I'm having a bit of trouble mapping
your jscript to
the CSS that currently creates the rollover/hover effect:
a.glink:hover { background-image:
url(../images/glblnav_selected.gif); }
I've tried several permutations for the anchor that has
You could use SRVANY.exe (typically found in the WinNT/2K/XP Resource Kit)
as it provides the shell (and I use the term loosely) to run any .bat,
.cmd or .exe as an NT/2K/XP service. You'd also like to use SRVINSTW.exe
(also a ResKit item) to define the service via GUI. Unfortunately, then it
Thanks Mark.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I'm having problems with using Dreamweaver to access a Tomcat WebDAV
environment. The web.xml file uses security-constraint and a
login-config (DIGEST) to produce the authentication challenge (sc 401).
Every time, DW continues to receive a 401 status.
I rolled my own digest authentication
Nachricht- Original Message -
Sent: Thursday, August 05, 2004 2:52 AM
Subject: AW: Intermittent exception during startup (5.0.25)
Hi Robert
I got the solution: you have to take the original jmx 1.2 RI version from
SUN instead of that jmx which comes with tomcat (see also
Other than to restart the server and cross my fingers, no I haven't found a
solution. Perhaps it should be submitted as a bug.
-- RH
- Original Message -
Sent: Wednesday, August 04, 2004 2:40 AM
Subject: Intermittent exception during startup (5.0.25)
Hello Robert
I got the same
Re: multiple mappings; not exactly the point and I apologize for not
specifying that 'docBase=appXyz' (in both Context/ descriptors) should
be an absolute reference.
The point was to have multiple contexts mapped to the same docbase, BUT,
with each context having its OWN web.xml deployment
Regarding this thread and another I just inquired about
(http://www.mail-archive.com/[EMAIL PROTECTED]/msg132857.html),
Yoav, would you have a code example?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
This seems to work:
[server.xml excerpted]
---
!-- uses standard web.xml as deployment descriptor --
Context path=myWWW
docBase=appXyz
...
/
!-- uses webdav.xml as deployment descriptor --
Context path=myWebDav
I'd like two contexts mapped to a single docbase. The first context would
use default servlets (and mappings) to serve the site for regular http
requests. I'd like the second context to be served by the webdav servlet,
so that it could be updatable by authorized users. Both contexts need to
Intermittent exception during startup with Tomcat 5.0.25;
(N.B.: there are TWO Connectors defined for the service in server.xml)
-
Jul 19, 2004 4:39:32 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1
Why does this happen during startup?
Jul 9, 2004 2:05:07 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-30041
Jul 9, 2004 2:05:07 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1328 ms
I'm trying to use Ant (in stand-alone fashion) to build a set of JSPs. The
JSPs compile, execute and serve up HTML fine when compiled under Tomcat
5.0.25; only the root JSPs generate .java files. Eg. FileA.jsp contains a
%@ include=FileB.jsp % directive. When requested through the Tomcat web
Thanks for the reply Filip, but no, that doesn't answer the question nor
does it solve the issue; the emitted dependent files still trigger
compilation problems.
However, I *do* like how your tomcat-precompile-jsp.xml handily precompiles
JSPs as Tomcat would. Very nice.
So, the question
Thanks Layton. Makes sense.
Looking back now, when I read the Jasper How-to page
(http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jasper-howto.html) the
implication (at least, how I comprehended it) was that Jasper would produce
the same output including the seemingly prescient ability of
I'm trying to upgrade a Tomcat (development) server from 5.0.16 to 5.0.25
and have found some classloader frustrations. Ultimately, I'd like to have
the webapp JAR file under its webapp/WEB-INF/lib directory and a set of
shared classes (in several JARs) residing in the $CATALINA_BASE/shared/lib
46 matches
Mail list logo