Re: step by step: demonstrate blocked http-method DELETE request?

2005-03-04 Thread Robert Hunt
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

Re: TC 5.0.28 AdminTool -- nodes under Tomcat Server throwing exceptions

2005-02-15 Thread Robert Hunt
!-- 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

Re: Session lost on netscape, mozilla and firefox, but not IE and Opera

2005-02-14 Thread Robert Hunt
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 AdminTool -- nodes under Tomcat Server throwing exceptions

2005-02-14 Thread Robert Hunt
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

Re: Session lost on netscape, mozilla and firefox, but not IE and Opera

2005-02-13 Thread Robert Hunt
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

Re: [OT] Automated tool for creating mime-multipart e-mail from web page

2005-02-13 Thread Robert Hunt
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.

[OT] Automated tool for creating mime-multipart e-mail from web page

2005-02-12 Thread Robert Hunt
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

Re: Session lost on netscape, mozilla and firefox, but not IE

2005-02-12 Thread Robert Hunt
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

Re: Java.mail smtp authentication

2005-02-06 Thread Robert Hunt
Try setting the mail.smtp.auth property to true.

Re: Adding Host/ withOUT server restart?

2004-12-20 Thread Robert Hunt
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:

Adding Host/ withOUT server restart?

2004-12-19 Thread Robert Hunt
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 )

Admin webapp on TC 5.0.25

2004-12-17 Thread Robert Hunt
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

Re: Olen joululomalla, palaan 4.1.2005

2004-12-17 Thread Robert Hunt
I believe the notation's semantics indicate dd/mm/ (4-January-2005).

RE: Slightly OT: Yet another IE woe...

2004-12-08 Thread Robert Hunt
Thanks for the link. Very informative and best of all, it works! -- RH

Slightly OT: Yet another IE woe...

2004-12-07 Thread Robert Hunt
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

Re: Slightly OT: Yet another IE woe...

2004-12-07 Thread Robert Hunt
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

RE: WebDav behavior

2004-11-19 Thread Robert Hunt
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)

RE: [Slightly OT] coercing AWT/image libraries to release resources

2004-10-25 Thread Robert Hunt
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

[Slightly OT] coercing AWT/image libraries to release resources

2004-10-23 Thread Robert Hunt
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

Archive out of synch?

2004-10-22 Thread Robert Hunt
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?]

Re: Push-Server with Tomcat

2004-10-19 Thread Robert Hunt
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:

Host names with mixed case

2004-10-18 Thread Robert Hunt
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

Re: Undefined hosts being directed to localhost

2004-10-11 Thread Robert Hunt
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

Undefined hosts being directed to localhost

2004-10-10 Thread Robert Hunt
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?

Re: Reducing network traffic for rollover images

2004-10-04 Thread Robert Hunt
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

RE: Reducing network traffic for rollover images

2004-10-03 Thread Robert Hunt
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

Re: Reducing network traffic for rollover images

2004-10-03 Thread Robert Hunt
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

Re: Reducing network traffic for rollover images

2004-10-02 Thread Robert Hunt
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

Re: Reducing network traffic for rollover images

2004-10-02 Thread Robert Hunt
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 -

Reducing network traffic for rollover images

2004-10-01 Thread Robert Hunt
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

Re: Reducing network traffic for rollover images

2004-10-01 Thread Robert Hunt
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

RE: Server JVM with service startup

2004-08-18 Thread Robert Hunt
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

RE: WebDAV using Tomcat 5 and Dreamweaver 7.0.1

2004-08-16 Thread Robert Hunt
Thanks Mark. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

WebDAV using Tomcat 5 and Dreamweaver 7.0.1

2004-08-12 Thread Robert Hunt
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

Re: Intermittent exception during startup (5.0.25)

2004-08-05 Thread Robert Hunt
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

Re: Intermittent exception during startup (5.0.25)

2004-08-04 Thread Robert Hunt
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 contexts mapped to single docbase

2004-08-02 Thread Robert Hunt
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

RE: other ways to register a Servlet web application

2004-08-01 Thread Robert Hunt
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,

Re: Multiple contexts mapped to single docbase

2004-08-01 Thread Robert Hunt
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

Multiple contexts mapped to single docbase

2004-07-31 Thread Robert Hunt
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 (5.0.25)

2004-07-19 Thread Robert Hunt
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

SEVERE: Error reading tld listeners java.lang.NullPointerException

2004-07-09 Thread Robert Hunt
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

%@ include % files and Jasper/Ant

2004-07-08 Thread Robert Hunt
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

Re: %@ include % files and Jasper/Ant

2004-07-08 Thread Robert Hunt
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

Re: %@ include % files and Jasper/Ant

2004-07-08 Thread Robert Hunt
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

Classloader behavior in 5.0.25 5.0.16

2004-07-04 Thread Robert Hunt
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