you should post you tag code of the code for that page. It can either be a
problem with your tag, or the connection pooling. Try stopping and
restarting the app in the manager and see if that makes the updates take
affect. If so, the issues is with re-use of objects and possible connection
Hard to tell with the information given, but my guess is that you're getting a
browser-cached copy of the list all page. Add the header voodoo to suppress caching
and see if that helps.
-Original Message-
From: engp0510 [mailto:[EMAIL PROTECTED]
Sent: Fri
Thank you. I think I'll go for Lucene.
Marco
- Original Message -
From: John Turner [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, September 05, 2003 1:20 PM
Subject: Re: [OT] Realizing a search functionality
AFAIK, Lucene indexes files. How then, do you
Have you verified that the record IS getting added correctly to the DB?
Have you hit the refresh button to check that your browser isn't displaying
a stale page? If an old page is getting displayed you can turn off page
cacheing by calling:
response.setHeader(Pragma, no-cache);
-
Does anybody else have this problem:
Whenever I make a post to this mailing list, I quickly get a reply from a
mail server called [EMAIL PROTECTED], with the subject The email
you authored contained a violation (either a virus or inappropriate
content). The message body reckons that The internet
Hello Robert!
Robert Priest [EMAIL PROTECTED] wrote:
RP I am requesting file :
RP /38CF278C0186B466222FC48571080B83/51/dms00051/äää.txt
RP but what is coming across in the request is:
RP /38CF278C0186B466222FC48571080B83/51/dms00051/???.txt
Probably your browser is sending it that way?
I guess
Hello Lima!
lccb I have a jsp page with some form fields. I don't know how is the right way
lccb to set the charset (because we're using portuguese characters). This is
lccb the only configuration that have worked for me :
lccb %@ page contentType=html/text; charset=UTF-8%
To the best of my
Hello Carlos!
CCH My confusion comes from the fact that when using channelSocket to connect
Apache and Tomcat I can type the URL of any WebApp without specifying Tomcat's
listening port because the
CCH mapping/forwarding is handled in the config files, but after configuring
ChannelJni to
Hello Jan!
To me looks a Mac IE trouble?
Does it not handle the ZIP stream at all?
BTW, isn't IE Mac being put off service replaced
by Safari?
WBR, Anton
JA ... setting the response content type to application/zip and wrapping the
JA response stream to a zipoutputstream and then writing
Hello List...
I'm trying to setup a jndi datasource connection (following the tc docs) but I can't
find the commons-pool 1.0.1 jarfile on the jakarta download site. Anyone point me to
a download link for Pool please?
Thanks
/j-p.
http://jakarta.apache.org/commons/pool/downloads.html
john-paul delaney wrote:
Hello List...
I'm trying to setup a jndi datasource connection (following the tc docs) but I can't find the commons-pool 1.0.1 jarfile on the jakarta download site. Anyone point me to a download link for Pool please?
AFAIK, no such benchmarks have been made.
Once tomcat loads a servlet, it is loaded. Tomcat currently does not unload
servlets due to lack of use.
-Tim
Lukas Bradley wrote:
All,
Where can I get a description of how Tomcat handles a Servlet lifecycle from
init() to removal from memory? I'm
Thanks but...
http://jakarta.apache.org/commons/pool/downloads.html
... links to the jakarta binary download page but there's no reference to Pool there.
/j-p.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Hi,
I have Apache 1.3 and Tomcat 4.1.8 on a Red Hat 9 machine.
Apache serves several virutal hosts. We have one Tomcat instance running
with several web contexts, one context for each virtual host.
Now I would like to change this to have one Tomcat instance for each
virtual host (this is
Has your SQL code issued a commit after adding the extra rows? Some DBMSs
require that before the application can see new rows in the database - a
repeated query simply gets the original result until the rollback buffer is
committed.
Murray
-Original Message-
From: engp0510
This is getting even stranger.
I deleted my war file from my webapps directory and tried uploading a
new war file via the manager GUI. At this point, my app is working,
but I don't see any evidence of it having been installed in webapps!
My first thought was somehow I've got multiple copies
FINALLY!
I still don't know what I did wrong in the first place, but after starting
over with VeriSign, all is well now. I thought I'd share the (simple!)
steps I took to get SSL running using keytool/tomcat in case anyone else
might find this useful:
# keytool -genkey -alias tomcat -keyalg RSA
Hi
I'm trying to write a servlet extension that logs the complete
request and response _body_ of any transaction.
these bodies are streaming, so to log them I need to
open the stream, read and log it, and reset it before
I let the servlet continue. I can do this in a Filter object
(i think?).
1st, you shouldn't cross post to more than one list at a time.
2nd, without seeing your code, we can't help you.
Have you checked the DB with another tool to verify that the record was
actually added to the database? Are you catching SQL errors and doing
something useful with them so you can
Did you commit the Add transaction prior to loading the list again?
More details would be helpful prior to making any more guesses.
Cheers
Christopher Marsh-Bourdon
Pyplia Limited
On 6/9/03 3:30, engp0510 [EMAIL PROTECTED] wrote:
Hi,
Maybe it's a stupid question.
Built jsps for
OK, I had tomcat up and working just fine. I moved some directories around and changed
my web.xml for my web app and now I get 404 for EVERYTHING
I'm not asking anyone to solve this problem for me, but I've tried to check all of the
logs and can't figure out where to go next. Is there some
Hi people,
I've installed Tomcat 4.1.27. Put for some reason, when I restart my
computeror like..shutting down and restarting tomcat a few
times..I'm not able to access tomcat again? Not even
http://localhost:8080/index.jsp.
What is the reason for this?
Regards,
Anson
Hey people, I've found out the reason.its 'cause of my
firewall...haha..sorry for all the trouble
-Original Message-
From: Anson Zeall [mailto:[EMAIL PROTECTED]
Sent: Saturday, September 06, 2003 11:54 PM
To: Tomcat Users List
Subject: How come Tomcat doesn't load the second time?
Hi all,
Please tell me where could I find document about creating secure website (https) using
jakarta-tomcat 3.2.4 as server, JSP as programming language, and Mysql as database
storage?
Thank you very much.
LuongPhan
-
Do you Yahoo!?
Yahoo! SiteBuilder -
That page is (i guess outdated or wrong), anyhow, just go to any download to
get to directory listings, then you'll eventually find ...
http://apache.webmeta.com/jakarta/commons/pool/binaries/
-Tim
john-paul delaney wrote:
Thanks but...
http://jakarta.apache.org/commons/pool/downloads.html
In server.xml almost every declaration has a debug option. Change it to
debug='99'. Do the same for you context declaration too.
Other things use commons-logging. In that case, add log4j.jar to your
common/lib dir and add a file called log4j.properties in your common/classes
dir which looks
Make every attempt to not override the system classpath. Try placing your
classes in common/lib or better WEB-INF/lib.
Your error logs will provide more insight if something wrong is happening.
-Tim
Pradeep Gummi wrote:
Hi all,
I am tring to include external classes that are needed for my
Yeah, I think your screwed :( But your course of action of having upwards of
6 or more classes sounds like your on the right track to meeting your
requirements. Hopefully you are using the HttpServletRequestWrapper and
(ResponseWrapper) classes (and realted classes) to make life easier.
-Tim
Tomcat 4.1.27 on Win32 given
?xml version=1.0?
jsp:root xmlns=http://java.sun.com/JSP/Page version=1.2
h1Cat amp; Dog/h1
/jsp:root
Generates
h1Cat Dog/h1
Can anybody confirm that this is correct behaviour?
I can sort of see that it makes sense (JSP is for generating any character
Please tell me where could I find document about creating secure website
(https) using jakarta-tomcat 3.2.4 as server, JSP as programming language,
and Mysql as database storage?
from the TC docs regarding use of SSL
http://jakarta.apache.org/tomcat/tomcat-3.2-doc/tomcat-ssl-howto.html
HTH,
On Sat, Sep 06, 2003 at 06:10:26PM +0100, Sam Hough wrote:
:
: Tomcat 4.1.27 on Win32 given
:
: ?xml version=1.0?
: jsp:root xmlns=http://java.sun.com/JSP/Page version=1.2
: h1Cat amp; Dog/h1
: /jsp:root
:
: Generates
:
: h1Cat Dog/h1
:
: Can anybody confirm that this is correct
Actually I think it is, at least according to the HTML 4.01 Transitional.
These are character entities and must be entered with the 'escape'
character. These can assume a number or a character after the escape
character. The only character which in some browsers is not rendered
properly is the TM
Can still produce valid XHTML by doing
Cat amp;amp; Dog
But double escaping is not very friendly. I like the fact that JSP
lets you generate any format HTML, XHTML, plain text and being
able to write templates in XML but this is a bit ugly.
Just want to check that it is meant to be this way
But why when i modify or remove the enctype from form tag, the browser
seems to forget the correct charset of these form fields ?
Thanks.
Hello Lima!
lccb I have a jsp page with some form fields. I don't know how is the
right way
lccb to set the charset (because we're using portuguese
Other solution:
...
Cat ![CDATA[amp;]] Dog
/...
Especially handy when using large portions of Normal text
-Original Message-
From: Sam Hough [mailto:[EMAIL PROTECTED]
Sent: zaterdag 6 september 2003 19:40
To: Tomcat Users List
Can still produce valid XHTML by doing
Cat amp;amp; Dog
Hi,
I have a problem when I try to shutdown tomcat. I have tried with version
4.1.24 and 4.1.27, but the problem happens with both versions.
When I start the server (with startup.sh), and browse http://localhost:8080/index.jsp,
and then shutdown it (with shutdown.sh), it works fine. The problem
other than
.jar. For example, can I rename app.jar to app.jar.20030906 and leave it
in WEB-INF/lib along with the new app.jar file, or could this cause
servlet caching issues?
Mike
-
To unsubscribe, e-mail: [EMAIL PROTECTED
Hello, Lima!
AT if you want the form data to be encoded with charset XXX
AT you need your page to have content type with charset XXX.
LIMA form (...) enctype=multipart/form-data
AT As far as I know enctype here is not required.
LIMA But why when i modify or remove the enctype from form tag,
This doesn't really answer your question, but we've found Tomcat to be
quite robust. You may also want to find out (if you don't already
know) what's bringing the server down.
-d
--- Thomas Eichberger [EMAIL PROTECTED] wrote:
Hi,
I have Apache 1.3 and Tomcat 4.1.8 on a Red Hat 9 machine.
I'm trying to decide how to lay out my application. The major question
is how to make Tomcat run it, but ideas for better organization would
be welcome also.
I'd better describe the setup, even though it's a bit lengthy. I'm running
a separate instance of Tomcat, dedicated to this project. It's
Okay, I'm trying to solve my problem by using mod_rewrite with mod_jk2
now. I've spent several days on this problem to date and I'm more than
a little frustrated.
When the user types http://mysight.org; I want the page they get to
be generated by a servlet but without a redirect. So they won't be
Your plan should work pretty well. I do something similar myself. The major
difference is that I use one installation of Tomcat for all the sites.
I have a script to start tomcat for each site, that points CATALINA_HOME to
the
shared Tomcat binaries, and CATALINA_BASE to the conf/, logs/,
ok. i have found my elusive problem. our client has a site with fairly
moderate usage. and over the years we have changes the site a fair bit. it
seems that the problem stems from requesting a jsp file that is no longer on
the server - once the 404 is logged, the apache - tomcat connection
may be a little off topic, but - check to see if you are logging any 404
messages on the tomcat side - i have found that memory and cpu idle time seem
to dissappear with every 404 request passed over to tomcat from apache
Sai.
On Fri, 5 Sep 2003 12:09:52 -0500, Mike Curwen wrote
After about
Dear Tomcat users,
I've recently installed JDK 1.4.2 and Tomcat 4.1.27 on Windows 2000
Advanced Server. But it doesn't seem to work. This is what happened:
1. I set up three accounts in the computer (the default acct
'administrator', 'aa', 'bb'), all with Administrator permissions
2. I set
I really like the idea of setting up multiple instances of Tomcat per virtual
site - i have 2 questions:
1) How does it affect memory usage, i.e. if we are on a server with X
ammount of ram and there are 20 sites, does each site end up needing a minimum
of ~21 MB RAM for tomcat so we have a
Hahahha!! I've solved my own problem again!! ..sorry about that guys
-Original Message-
From: Anson Zeall [mailto:[EMAIL PROTECTED]
Sent: Sunday, September 07, 2003 11:25 AM
To: Tomcat Users List
Subject: Setting up Tomcat in Windows 2000 Advanced Server
Dear Tomcat users,
I've
Hi All.
I'm on TC404
Its seems someone has walked off with my
org.apache.catalina.servlets.ManagerServlet.
Where can I find a copy that I can javac in the hope that finally, the
manager would work.
Cheers :-)
-
To unsubscribe,
My reading of the JSP spec says that Tomcat is correct here. If you need to
preserve the escape, then follow Sjoerd's suggestion.
Sam Hough [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Tomcat 4.1.27 on Win32 given
?xml version=1.0?
jsp:root xmlns=http://java.sun.com/JSP/Page
that they want.
2) Storing old jar files in the WEB-INF/lib with extensions other than
.jar. For example, can I rename app.jar to app.jar.20030906 and leave it
in WEB-INF/lib along with the new app.jar file, or could this cause
servlet caching issues?
Any file in WEB-INF/lib that doesn't end
You are attempting the shutdown too soon (before Tomcat has finished coming
up). Wait 30sec or so and try again.
[EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
I have a problem when I try to shutdown tomcat. I have tried with version
4.1.24 and 4.1.27, but the problem happens
This can be done for:
1) TC 3.3.2-dev with a non-default setting.
2) TC 5.0.9+ with default settings.
You can't currently do this on any 4.x version.
A. Zazula [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Okay, I'm trying to solve my problem by using mod_rewrite with mod_jk2
now.
Tim's comments are very good, and should be followed. However, this error
is usually because you've b*rked up your web.xml file, and the context isn't
loading at all. Your log files should be a help in determining which
element is out-of-order.
Thomas Hehl [EMAIL PROTECTED] wrote in message
Hi All.
I'm on TC404, looking at manager configuration.
Is Administration Tool only available in TC3.x?
Is the Manager Applicatio only available in TC4.1+?
Seems like TC404 is somewhere in between.
-
To unsubscribe, e-mail:
The 'admin' Context in 3.3.x is similar tothe 'manager' Context in 4.1.x.
There are big difference when you get down to the specifics (e.g. 3.3
doesn't include Ant tasks), but in Big Picture terms, they do much the
same thing from the HTML interface.
[EMAIL PROTECTED] wrote in message news:[EMAIL
55 matches
Mail list logo