Error registering RequestProcessor

2005-01-13 Thread John Sidney-Woollett
;t seen the error on our development servers). Thanks for any insight or help. John Sidney-Woollett - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Apache, Tomcat, WebDAV, and Web Folders... Oh, my!

2005-01-11 Thread John Sidney-Woollett
ed out how they do it. If you find a solution to this problem can you let me know - it has driven us mad for months before we finally gave up... We recommend users install webdrive - it works great but costs US$30 a pop! Thanks for any help (if you find a solution) John Sidney-Woollett ps

Prevent session creation by DefaultServlet

2004-11-21 Thread John Sidney-Woollett
the image requests. Any ideas? John Sidney-Woollett - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: http->https url rewrite bug TC 5.0.28?

2004-11-15 Thread John Sidney-Woollett
ug. You can't share a session that way, whether using cookies or URL-rewriting. Yoav Shapira http://www.yoavshapira.com -Original Message- From: John Sidney-Woollett [mailto:[EMAIL PROTECTED] Sent: Monday, November 15, 2004 10:21 AM To: [EMAIL PROTECTED] Subject: http->https url rew

RE: http->https url rewrite bug TC 5.0.28?

2004-11-15 Thread John Sidney-Woollett
omcat is broken/inconsistant on this point... Any other thoughts or solutions, anyone? John Sidney-Woollett Yoav Shapira wrote: > Hi, > Not a bug. You can't share a session that way, whether using cookies > or URL-rewriting. > > Yoav

Re: http->https url rewrite bug TC 5.0.28?

2004-11-15 Thread John Sidney-Woollett
I should have mentioned that the problem I'm seeing is causing a new session to be created after the redirect when in fact I want the original session data prior to the redirect... John Sidney-Woollett John Sidney-Woollett wrote: I'm not sure if this is a bug or a misunderstaning

http->https url rewrite bug TC 5.0.28?

2004-11-15 Thread John Sidney-Woollett
;;jsessionid=xxx" to the URL to workaround the problem. Can anyone shed any light on this? Many thanks John Sidney-Woollett - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: java environment + cron issue

2004-09-01 Thread John Sidney-Woollett
d. I will modify the script to set the variable and see what happens tomorrow. Thanks for the answer! John Sidney-Woollett - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

java environment + cron issue

2004-09-01 Thread John Sidney-Woollett
f the problem is, and how to fix it? (We will be upgrading to TC 5.0.28 shortly, but I don't think the TC version is the issue). There must be some kind of enviroment issue going on that I don't understand. Thanks John Sidney-Woollett ps here is the cron entry (created using crontab -e from

Re: JSP WhiteSpace

2004-08-23 Thread John Sidney-Woollett
hen that would be great. On average you can see a 10% reduction in file size. We also use mod_deflate with Apache to reduce the data transmission costs even further. John Sidney-Woollett - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Strange behavious with session creation on http and https

2004-06-08 Thread John Sidney-Woollett
on when it is created, and then when you go to a secure connection, check the value you stored (in the session). If it indicates that the session was not originally created by a secure requested, invalidate that session, and create a new one. I think that will probably work.

Re: Strange behavious with session creation on http and https

2004-06-08 Thread John Sidney-Woollett
ve that this is normal. If you ensure that the session is created using a non secure page first (you can always redirect from a non-secure to a secure page after creating the session), then the problem will go away. John Sidney-Woollett -

Re: jk connector build / configure failure

2004-04-16 Thread John Sidney-Woollett
e, but hopefully in conjunction with others docs, you will be able to get Apache and Tomcat connected using JK. They do work really well together (with Apache frontending your SSL transactions, fielding static resources, compressin

Re: session affinity with loadbalancing (apache2, mod_jk, tomcat5 on linux 9, jdk1.4.2)

2004-04-15 Thread John Sidney-Woollett
helps. John Sidney-Woollett ian said: > I've read in the Workers How To of apache that the property > sticky_session for lb worker properties enables / disables session > affinity for the load balancer. When I tried it on my system the session > doesn't seem to be retained o

Re: Virtual Hosting Revisited - Apache serving static pages..???

2004-04-15 Thread John Sidney-Woollett
you need to map all your servlets and JSPs. Whatever doesn't match any of the JkMount entries will be handled by Apache from the document root (/var/www/test.mydomain.com in this example). You can even route the different servlet/jsp requests to different tomcat workers (if th

Re: AJP connector monitoring

2004-03-29 Thread John Sidney-Woollett
en though we front-end Tomcat using Apache as well. This works great with Nagios... John Sidney-Woollett - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Securing a folder

2004-03-26 Thread John Sidney-Woollett
httpd.conf or for a virtual host only is up to you and your configuration. Also consider not having the location of the pdf's within the Apache web root, but instead only accessible by Tomcat... You can then enforce security using a filter, or using some other method. Hope that helps John Sidn

RE: RE : JSP suggestion

2004-03-25 Thread John Sidney-Woollett
, misread the original post. Had it in my mind that they wanted to insert meta tags... John Sidney-Woollett - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: RE : JSP suggestion

2004-03-24 Thread John Sidney-Woollett
You could have a simple template that just adds extra meta tags, or specifies the style sheet or whatever you want. I've seen no downsides to using it, and speed is good too. Couple it with OSCache (http://www.opensymphony.com/oscache/), and you have a couple of blinding tools. Hope tha

Re: mod_jk

2004-03-08 Thread John Sidney-Woollett
ache/bin/apxs --enable-EAPI [Make sure apache built with --enable-module=so otherwise you get "can't find apxs" error!] mkdir /usr/local/apache/modules cp apache-1.3/mod_jk.so /usr/local/apache/modules That should help you out. Good luck! John Sidney-Woollett ---

RE: Internationalization problem

2004-03-04 Thread John Sidney-Woollett
They do allow UTF characters to be defined provided the high order byte is zero. It is a weakness in property files (which is yet to be addressed). Consider populating the properties file without using the default load mechanism to allow/preserve the UTF-8 encoding. John Sidney-Woollett > Any help

RE: JSP whitespace removal

2004-03-03 Thread John Sidney-Woollett
y have been updated... Thanks for the feedback. John Sidney-Woollett - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: JSP whitespace removal

2004-03-03 Thread John Sidney-Woollett
hitecture to strip out excess > stuff Is there a link to some docs for this? Thanks John Sidney-Woollett - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

JSP whitespace removal

2004-03-03 Thread John Sidney-Woollett
possible to use a directive in a JSP page to force the compiler to remove these characters to achieve our desired data reduction? Are there any other techniques or solutions that anyone else is using? Thanks John Sidney-Woollett - T

Re: apache2/mod_jk/tomcat4 - file download / special characters in filename

2004-03-03 Thread John Sidney-Woollett
sponse.setContentLength((int)file.length()); response.setContentType("application/octet-stream"); response.setHeader("Content-Transfer-Encoding", "binary"); Hope that helps. John Sidney-Woollett Andreas Hartstack said: > Problem: > In my tomcat webapp a servlet manages a

Re: TC 5.0.18 RequestDespatcher bug?

2004-02-13 Thread John Sidney-Woollett
Tim Funk said: > Without digging, I can't say if its a bug. BUT... There is no need to > encode the URL if the action is a RequestDispatcher.forward(). Only one > session may be associated with the live of a single request so once the > session is there in the request, its there no matter how many

TC 5.0.18 RequestDespatcher bug?

2004-02-13 Thread John Sidney-Woollett
an SSL to a non-SSL connection, or when cookies are turned off. Thanks for any help. John Sidney-Woollett - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Session Tracking Question

2004-01-21 Thread John Sidney-Woollett
7;m asking a dumb question, but I've been checking on the net for some answers but I don't seem to be making much progress. I'm currently using Tomcat 5.0.16 Thanks for any help. John Sidney-Woollett - To u

RE: Replication question

2004-01-12 Thread John Sidney-Woollett
Also, if you add many attributes during a single servlet call, is the > replication buffered and delayed until the servlet sends its response, or > is the replication attempted each time the session's attributes are > changed? > > When does anyone think that the recent repli

Replication question

2004-01-12 Thread John Sidney-Woollett
on buffered and delayed until the servlet sends its response, or is the replication attempted each time the session's attributes are changed? When does anyone think that the recent replication fixes will make it into the next official release? Thanks for any info.

Re: Tomcat 5 and oracle

2003-12-10 Thread John Sidney-Woollett
Try using the thin driver - it's jar file is classes12.jar Place it in [TOMCAT_HOME]/common/lib John Sidney-Woollett Jonathan Drnek said: > I am having a problem setting up a data source in tomcat. I seem to > remember having this problem last time I played with it several moths

Re: JSP Editors

2003-11-28 Thread John Sidney-Woollett
ed to Eclipse after trying it out. If you have time to experiment, try Eclipse - you won't believe how good it is. John Sidney-Woollett ps I'm not in any way affiliated to Eclipse or MyEclipse! Duncan said: > Sorry if off topic but... > > What do people use to edit JSPs? >

Re: directory reference

2003-11-28 Thread John Sidney-Woollett
r java app. John Sidney-Woollett Giorgio Franceschetti said: > Hi all, >I'd like to create a file with some configuration details for my > application. > I tryed to reference my file like this "./data.txt" and I found it in my > tomcat/bin directory. > Well, I shoul

Re: How to stop the URL comming up?

2003-11-27 Thread John Sidney-Woollett
ard the request rqdD.forward(request, response); The beauty of this technique is that your servlet can handle all business logic, generate beans etc, and place them into the request (attributes), and the jsp page(s) only need concern themselves with presentation. Hope this helps. John Sidney-Woollet

Re: Invalid Number error when regional setting set to English (Canada )

2003-11-26 Thread John Sidney-Woollett
If you're saving numeric data back to an Oracle (or any) database, then consider using binding native java data types instead of passing strings in your update/insert statements or calls to stored procs. For example, instead of: String qry = "update CUSTOMER set TOTAL_INVOICED = " + numValStr +

Re: Problems following symlinks

2003-11-24 Thread John Sidney-Woollett
mple above). John Sidney-Woollett John Prout said: > Using Tomcat, I am not able to open a JSP page, when the page is a symlink > to another file. When I replace the symlink with the file, everything works fine. > > Googling around, I've found some mention of Tomcat not following

TC 4.1.27 Bug? Redirect "/" -> "/index.jsp" with jsessionid

2003-11-13 Thread John Sidney-Woollett
quot;, but DOES NOT rewrite the URL. When you end up in the "/folder1/index.jsp" page, the original session is lost. I know that a work-around is to specify the resource (ie index.jsp) rather than the enclosing folder, but this may not be suitable in all cases. Does this seem like a bug