file. Some systems flush the cache at an interval
and some do it on file age.
Doug
- Original Message - From: Paul Taylor [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Monday, January 17, 2005 2:30 PM
Subject: Re: Website downloading old file
Umm inconclusive
Puzzled.
I have a Tomcat 5 application, associated with it a file that can be
downloaded from the website, which is in the root directory of the
context. (So if the context is called myapp the file is in myapp).
Everything was fine but then I realised that there was a problem with
the file so
a
restart of Tomcat after deleting the file? I remember something on the list
awhile back similar to this.
Doug
- Original Message -
From: Paul Taylor [EMAIL PROTECTED]
To: tomcat-user@jakarta.apache.org
Sent: Monday, January 17, 2005 7:42 AM
Subject: Website downloading old file
: Paul Taylor
[EMAIL PROTECTED]
To: tomcat-user@jakarta.apache.org
Sent: Monday, January 17, 2005 7:42 AM
Subject: Website downloading old file
Puzzled.
I have a Tomcat 5 application, associated with it a file that can
be downloaded from the website, which is in the root directory of
the context
larger
file which no longer exists !
Paul Taylor wrote:
Can you expand on this please, btw if I change any part of the web
application itself such as a jsp the results are imediate.
Two ther bits of info which maybe relevent.
1. The host is based in Canada and hence has time set to Candian time
/file.txt?bogus=var
See if the unique URL gets you the right file.
On Mon, 2005-01-17 at 12:43, Paul Taylor wrote:
Can you expand on this please, btw if I change any part of the web
application itself such as a jsp the results are imediate.
Two ther bits of info which maybe relevent.
1. The host
server may have a list of extensions that don't get
cached. This would explain why your dynamic JSPs are working but the
static files are being cached.
On Mon, 2005-01-17 at 13:47, Paul Taylor wrote:
OK I think you are onto something here,
the original file was called file.bin, new file replacing
In what way, do you mean path seperator or something else ?
Within my context.xml im using forward slash (UNIX notation) for both
and its the Windows one that is working
Phillip Qin wrote:
Windows and linux use different url.
-Original Message-
From: Paul Taylor [mailto:[EMAIL PROTECTED
Ok, it is working on my test (Windows) environment.
But with same war deploying it to my Live environment(Linux) results in
it creating myapp.xml as a directory rather than a file !
Ive doubled checked this and the behaviour is constant, anyone ever
sdeen this?
Paul Taylor wrote:
Thanks now
Still struggling perhaps I need to buy a book but Ive had a tentaive
look at your options
Parsons Technical Services wrote:
Does the dnsmanager have a choice for redirection of an URL?
It has lots of choices, you can change the dn server, and can use their
own dnsmanager to chanage various
I have an application myapp.war and a corresponding xml file myapp.xml.
Previously I was copying myapp.xml into tomcat/conf/catalina/localhost
and manually unpacking my war.
Now I realised I can put the war into tomcat/webapps and it will
automatically deploy, but I then have to shutdown server
Thanks now working
I had previously found the bit about META-INF but called the file
myapp.xml not context.xml
Phillip Qin wrote:
Sotre your context.xml into META-INF. Pack your webapp as war. Then let
catalina-ant task or Tomcat Manager to deploy your war.
-Original Message-
From: Paul
I have three domains
mycompany.com
mycompany.net
myapp.com
I have setup a website with a hosting provider using Tomcat 5 which
contains the ROOT application and myapp application so currently
if user goes to http://mycompany.host/ they will go to ROOT application
and if they go to
Could anyone get me started on this please ?
Paul Taylor wrote:
I have three domains
mycompany.com
mycompany.net
myapp.com
I have setup a website with a hosting provider using Tomcat 5 which
contains the ROOT application and myapp application so currently
if user goes to http://mycompany.host
Parsons Technical Services wrote:
You will be working with the host entries in the server.xmlFrom how I
read this you want mycompany..com and .net pointing at the same app.
You can do this either at the dns level or in the host entry with an
alias. As for master slave the master will be the
and so I implemented the commons database pooling and use log4j to do
my logging.
Sorry it wasn't so clear for you
Original Message Follows
From: Paul Taylor [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: Mark Benussi [EMAIL PROTECTED],Tomcat Users List
tomcat-user
Hi
How exactly do I stop the user going into directory containing jsps and
listing all the jsps within it as a directory listing. I dont mind them
specifying a particular jsp and going straight to that but I would / to
map to the default page for the particular some section.
i.e
myapp/section1
-file
4308 welcome-fileindex.jsp/welcome-file
4308 welcome-filestart.jsp/welcome-file -
4309/welcome-file-list
4310 !--
On Mon, 2005-01-10 at 11:03, Paul Taylor wrote:
Hi
Are these exclusive options. I can disable the listings but cant get the
default pages
For this to work if you havent already you must have also configured
your Tomcat Manager Application with a valid user and password if you
havent already.Acess to documentation here
http://localhost:8080/manager/manager-howto.html
Mike Fowler wrote:
Sandeep -
The ant deploy task you need is
your account has external access to retrieve the DTD's (They
don't do this by default). Also if you need SSL ask them now as they
need to do some specifics with your host IP address.
Cheers,
Mark Benussi
Original Message Follows
From: Paul Taylor [EMAIL PROTECTED]
Reply-To: [EMAIL
Hi
I have a Tomcat 4 Application ready to deploy as a WAR. It uses database
pooling to connect to a MYSQL database. I recently selected a Tomcat
hosting platform to deploy my application but the deployment is non
-standard you have to copy various parts of the WAR to different
locations which
Thanks, it loooks quite good but have you actually used it ?
Guy Katz wrote:
you have http://www.webconexion.net based @ the uk.
-Original Message-
From: Paul Taylor [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 04, 2005 4:32 PM
To: Tomcat Users List
Subject: Please recommend a Low Cost
is good, they are a small
company and from that point of view you always get a quick response.
Original Message Follows
From: Paul Taylor [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Subject: Please recommend a Low Cost Tomcat Hosting
unsure of how important Java Hosting is, also
based in US.
Paul Taylor wrote:
Hi
I have a Tomcat 4 Application ready to deploy as a WAR. It uses
database pooling to connect to a MYSQL database. I recently selected a
Tomcat hosting platform to deploy my application but the deployment is
non
Yeah, they have been mentioned before but I sent them an email a couple
of weeks ago regarding some questions about hosting and they never got
back to me.
Guy Katz wrote:
www.javaservlethosting.com is also considered one of the best out there.
-Original Message-
From: Paul Taylor
-on-startup
/servlet
servlet-mapping
servlet-nameController/servlet-name
url-pattern/controller/url-pattern
/servlet-mapping
/web-app
Is there anything I can do here which might make a difference.
Paul Taylor wrote:
Thanks I use a File() constructor because the same class is used
Ok, I misunderstood what it did. It seems to work ok on both IE and
Firefox always returning a value when navigating from a page but being
null when accessing the page directly because there is no referer.
So Ive just coded my page like to only show a back link when actually
come from another
Shapira http://www.yoavshapira.com
-Original Message-
From: Paul Taylor [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 09, 2004 7:00 AM
To: Tomcat Users List
Subject: Preventing users getting accessing to directory contents in
Tomcat
Under tomcat 4 my jsps are held in a subdiir
. Then use a servlet
to validate the incoming parameters and then forward to the JSP.
-Tim
Paul Taylor wrote:
Thanks works a treat
Is there a similar way to prevent the user typing in the url of a
partciuar jsp or image and stop them being taken it. Ive looked at
security-constraints but this seems
How do you default to get website to go straight to my webapp ?
I have a web application called testapp and in web.xml I have
welcome-file-list
welcome-filejsp/overview.jsp/welcome-file
/welcome-file-list
Going to
http://localhost:8080/testapp
takes the user to
Thanks for the quick prompt reply.
Is this normal to do, it feels like I am messing up the standard config
and would the end result be that the url would display as
localhost/overview.jsp
rather than localhost/testapp/overview.jsp
Would it be better to replace ROOT app with a mini app. For
Ok, ive done the section so that I can add an extra application at a
later stage if I need to.
You say in your post index.xml do you mean index.jsp or web.xml
I've created a new index.jsp which provides the user with a hyperlink
to testapp but I dont know if I can make the new page
Ok FYI, done it added
head
meta http-equiv=refresh content=1;
URL=../testapp/overview/startup.jsp/
/head
to index.jsp
Paul Taylor wrote:
I've created a new index.jsp which provides the user with a hyperlink
to testapp but I dont know if I can make the new page automatically go
to testapp
requests. Code
you JSP to look for the request method. If the method is NOT POST,
then redirect them to some error page. (Or the start page)
For example, in JSTL (but not verified)
c:if test='${POST ne pageContext.request.method}'
c:redirect url=start.jsp /
/c:if
-Tim
Paul Taylor wrote:
Point
I have a WebPage which can be called from two different webpages, and I
wanted it to have a back button.
Originally I had the calling pages passing a parameter to tell the
called page what called it. Then someone pointed
out %=request.getHeader(REFERER)% to m. This works much better.
But I
Under tomcat 4 my jsps are held in a subdiir called jsp which contains
further subdirectories
What do I put into web.xml to stop requests such as
http//localhost:8080/myapp/jsp or http//localhost:8080/myapp/jsp/info
listing the contents of the directory.
Hi I was originally deploying an application in Tomcat 4 using the
exploded directory structure.
Ive now created a war and tried to deploy that instead.
First attempt it didnt do anything I then changed docbase from appname
to appname.war in server.xml and on starting tomcat it tried to deploy
Thanks I use a File() constructor because the same class is used in a
standalone situation
Ive checked my server.xml and it already seems to have unpacking set.
!-- Define the default virtual host --
Host name=localhost debug=0 appBase=webapps
unpackWARs=true autoDeploy=true
should my
Hi
having written an application that ran fine on Tomcat 5 I am having to
regress it to run on Tomcat 4.1 running on Windows. part of the
deployment involves setting up database pooling.
First of all I deployed my application war only and started Tomcat using
catalina start this worked ok, but
Thanks very much all working, the problem was I had removed docbase
paramter not hinking it was needed because the code was hosted directly
under webapps.
BTW username is correct in TC4.
My context is privileged just because I copied it from somehwere else
without knowing what it meant, no
Spoke to someone else who had the same problem.
As far as I can see this is a bug in Tomcat, it is unable to find the
custom formatter unless anyone knows different Ill raise this as a bug.
Paul Taylor wrote:
Did you specify your own formatter in your properties file ?
Ive changed my code from
logging with java.util.logging.config.file
property and
config file.
- Jukka -
Paul Taylor wrote:
Hi in a previous non Tomcat project I wrote some classes that used
the java.util.logging library that comes with java 1.4 quite
successfully. I am now trying to use the same classes with Toimcat
Hi in a previous non Tomcat project I wrote some classes that used the
java.util.logging library that comes with java 1.4 quite successfully. I
am now trying to use the same classes with Toimcat 5.0 but it doesnt
like it. With the logging classes you can provide a configuration class
which you
Im trying to write my own realm for Tomcat 4 WebDav application. I have already
written some JAAS Authenication modules which are used by our main application and
support Database and LDAP authentication but I need think I need to use tomcat realm
for Webdav to force the user authentication
44 matches
Mail list logo