;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]
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
the image requests.
Any ideas?
John Sidney-Woollett
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
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
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
;;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]
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]
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
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]
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.
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
-
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
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
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
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]
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
, 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]
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
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
---
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
y have been updated...
Thanks for the feedback.
John Sidney-Woollett
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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]
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
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
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
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]
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
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
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.
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
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?
>
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
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
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 +
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
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
37 matches
Mail list logo