Check your document root directory in apache configuration file (httpd.conf).
Matteo.
> -Original Message-
> From: Wade Chandler [mailto:[EMAIL PROTECTED]
> Sent: giovedì 7 ottobre 2004 19.52
> To: Tomcat Users List
> Subject: Re: apache problem
>
> Nandish Rudra wrote:
>
> > Hi,
> >
hi,
i am not sure but you may try downloading latest jar files for
following froom tomcat site and try them out. copy the old jar files
somewhere else and try using the latest jar files.
1) Commons Collections
2)Commons DBCP
3)Commons Pool
On Thu, 7 Oct 2004 15:29:40 -0700, Eric Wulff <[EMAIL P
Remy Maucherat wrote:
On Fri, 08 Oct 2004 00:08:30 -0500, Jacob Kjome <[EMAIL PROTECTED]> wrote:
At 09:37 AM 10/7/2004 -0400, you wrote:
>
>Hi,
>Looking at the left-overs from my 5.5.3 build directory, it could be
>that I had a misconfigured build that resulted in the tomcat5.exe and
>tomcat5w.exe
On Fri, 08 Oct 2004 00:08:30 -0500, Jacob Kjome <[EMAIL PROTECTED]> wrote:
> At 09:37 AM 10/7/2004 -0400, you wrote:
> >
> >Hi,
> >Looking at the left-overs from my 5.5.3 build directory, it could be
> >that I had a misconfigured build that resulted in the tomcat5.exe and
> >tomcat5w.exe missi
Hi Phillip,
Thanks for the information.
> - Not all browsers supported DIGEST authentication, so you can't gurantee
> that all clients will be able to authenticate... Internet Explorer and
> Knoqueror are two browsers that do support DIGEST authentication. Mozilla
> 1.0 claims to recognize the DI
At 09:37 AM 10/7/2004 -0400, you wrote:
>
>Hi,
>Looking at the left-overs from my 5.5.3 build directory, it could be
>that I had a misconfigured build that resulted in the tomcat5.exe and
>tomcat5w.exe missing from the .zip. I'll have to double-check, but it
>could be that what I said below is wro
Justin,
Have a read of http://www.mnot.net/cache_docs/
If you have access to the apache config then you should be able to add a
header like the ones below using mod_headers
Cache-Control: max-age=60, must-revalidate
to expire content after 60 seconds or use
Cache-Control: no-cache
to force
Hi Justin,
Sorry If I don't understand your question correctly, but I hope this is what you are
looking for.
Just add a dummy variable at the end the url.
if your css file is http://www.server.com/myapp/v1/main.css, then add ?dummy=<%=new
java.util.Date().getTime()%>
i.e., http://www.se
Can anyone recommend a very reputable company that provides reliable
unix reseller hosting with knowledgeable Tomcat support?
Thanks in advance
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Thanks, it's 512 bytes.
On Thu, 7 Oct 2004 18:14:37 -0500, QM <[EMAIL PROTECTED]> wrote:
> On Fri, Oct 08, 2004 at 08:48:43AM +1000, Ben wrote:
> : I am using Tomcat 5 and I would like to use my HTTP error pages.
> : Things are working fine if I use IE and having the IE's "Show friendly
> : URL e
On Fri, Oct 08, 2004 at 08:48:43AM +1000, Ben wrote:
: I am using Tomcat 5 and I would like to use my HTTP error pages.
: Things are working fine if I use IE and having the IE's "Show friendly
: URL error messages" option unchecked. If I enable it, my error pages
: don't get displayed.
IE thinks y
Hi
I am using Tomcat 5 and I would like to use my HTTP error pages.
Things are working fine if I use IE and having the IE's "Show friendly
URL error messages" option unchecked. If I enable it, my error pages
don't get displayed.
What can I do to make my error pages display everytime doesn't matte
Thanks for the info. I just want to make sure, are you saying that I should
put "-server" in JAVA_OPTS and CATALINA_OPTS? Because I already have it set
in CATALINA_OPTS right now. I think maybe I'll only need it in JAVA_OPTS,
because if I recall those get passed to Tomcat too along with CATALINA
Except that the driver works for connecting if I'm not utilizing a
connection pool, i.e., I am able to connect to the db and manipulate
data via DriverManager.getConnection(url, db, pwd).
The driver is located in CATALINA_HOME/commons/lib
Eric
On Thu, 7 Oct 2004 18:22:45 -0400, Phillip Qin
<[EM
No, you don't need that many params. I think your problem might be the
driver. Where did you drop off your informix jdbc jar?
-Original Message-
From: Eric Wulff [mailto:[EMAIL PROTECTED]
Sent: October 7, 2004 5:56 PM
To: Tomcat Users List
Subject: Re: connection pooling
Yes, I have a
Yes, I have added . Now different errors are
reported via stack trace as I posted in response to Atishay's
suggestion that I add this. I'll try adding your suggestions and see
what happens. Also, you suggest adding many parameters. Are they
necessary for simply making a connection? If so, the
All the posts so far are right - you'll need to profile the app ;-)
A few "tuning" thoughts as you zero in on the app issues:
Check your logs. Are you getting "connection refused" errors at peak when the pages
take so long to load? Modify your connector in your server.xml. You can up the
ma
1. web.xml: OK
2. context.xml on of server.xml:
<= have you added this?
driverClassName
your.jdbc.driver
url
your.jdbc.url
username
youru
I'm having problems setting a mail resource in Tomcat 5.0.25. The
problem can be reproduced as follows:
Install a new copy of 5.0.25
Place activation.jar and mail.jar (reference implementation) in
common/lib
Configure server.xml with a global resource just like the JNDI howto
describes.
Hi Atishay, added your suggestion to the server.xml. While it is not
the fix, I do have a different error listing. Is this a clue to you?
Eric
current last listing of stack trace...
Caused by: java.lang.NullPointerException at
com.informix.jdbc.IfxDriver.checkURL(IfxDriver.java:473) at
com.info
Hi Phillip,
On Thu, 7 Oct 2004 09:29:09 -0400, you wrote:
> Detail, detail, detail.
>
> 1. your context.xml
> 2. your web.xml
> 3. how do you obtain connection from pool, java code pls.
> 4. can you connect using pool
> 5. commons-pool version
>
> Etc. etc.
>
> You need to provide details other
Mike Cherichetti (Renegade Internet) wrote:
Another exception has been detected while we were handling last error.
Dumping information about last error:
ERROR REPORT FILE = (N/A)
PC= 0x
This is the Java VM aborting. You'll probably find core.* files littered
in the Tomc
Hi,
I'm getting this strange error in catalina.out on Red Hat Enterprise Linux
AS and CentOS:
Another exception has been detected while we were handling last error.
Dumping information about last error:
ERROR REPORT FILE = (N/A)
PC= 0x
SIGNAL
Wade,
Thanks for your comments.
By adding the expires tag, it sounds like you setting the system
up to schedule the upgrade. By this, I mean that you know you're gonna
upgrade a week from today, so you configure Apache to suggest that all
content should expire at that time. Sounds reasonable.
The Apache Jakarta Tomcat 5.5.3-alpha release contains a small bug that
affects JSP Specification implicit-object compliance. The bug is
discussed a bit in
http://marc.theaimsgroup.com/?l=tomcat-dev&m=109709836522839&w=2.
For those of you who are using 5.5.3-alpha AND are affected by this bug
AN
Justin Ruthenbeck wrote:
I'm looking for some advice about how to handle the following situation.
(1) Apache 2.x in front of Tomcat 5.x
(2) Deploy new web application. Bunch of servlets, bunch of jsps, bunch
of static content (mainly js, css).
(3) Many users use the application, during which time
As I am knew to Tomcat I will ask you to excuse my ignorance. I have just
realized (and I am asking those with the necessary experience to verify
this) that when you talk about "DIGEST" authentication there are really two
separate and distinct forms of it:
1. Indicate to the BROWSER to digest th
On Thu, 7 Oct 2004 08:26:40 -0400, Shapira, Yoav <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> >The tomcat5.exe and tomcat5w.exe seem to be missing from 5.5.3. They
> exist
> >in
> >5.5.2. Might need to release 5.5.4.
>
> These are present in the .exe download only, by design. One of our
> goals wit
Nandish Rudra wrote:
Hi,
I am running Apache 2.0.49 and Tomcat 5.0.28 on RedHat 9.0. The users are
unable to get the images when using the link
http://test.test.net/images/test.gif but can get to it using
http://test.test.net:8080/images/test.gif. I am new to Apache and would
appreciate some help.
Hi Yoav,
Thanks for asking. I'm thinking something similar to what happens in the
Apache httpd.conf file... If I remember correctly, the Apache
tag allows wildcards.
Basically, I'm assuming that no one will want to literally call their domain
*.mydomain.com and therefore, I'd like Tomcat to inte
I'm looking for some advice about how to handle the following situation.
(1) Apache 2.x in front of Tomcat 5.x
(2) Deploy new web application. Bunch of servlets, bunch of jsps, bunch
of static content (mainly js, css).
(3) Many users use the application, during which time their browsers
cache lo
Unfortunately I deleted my example once I'd realised what the problem was.
Like you I don't have time now, but will try to find time soon to redo it,
and post an example.
> -Original Message-
> From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
> Sent: Thursday 07 October 2004 16:43
> To: Tom
Hi,
I am running Apache 2.0.49 and Tomcat 5.0.28 on RedHat 9.0. The users are
unable to get the images when using the link
http://test.test.net/images/test.gif but can get to it using
http://test.test.net:8080/images/test.gif. I am new to Apache and would
appreciate some help.
Regards,
Nandish Ru
It's interesting you know. I read a book called "Professional Apache Tomcat"
published by Worx. In Chapter 16 Tomcat Security, the author says
- Not all browsers supported DIGEST authentication, so you can't gurantee
that all clients will be able to authenticate... Internet Explorer and
Knoqueror
I don't think MD5+DIGEST will work. Take a look at any subclass of
RealmBase. Realm has nothing to do with web.xml attribute . In
the authenticate method, Realm checks hasMessageDigest() - value of Realm
digest=. If hasMessageDigest, in your case =MD5, Realm digests the password
and compare it with
Hi,
>I certainly do mean the directive within .
OK. What behavior would you like to see for wildcards in the alias
directive?
Yoav
This e-mail, including any attachments, is a confidential business communication, and
may contain information that is confidential, proprietary and/or privile
You can do this, but you will have to change your config. Create a new
in server.xml that has the same definition as your current
one. Your new service will have a new listening on a different
port(i.e. 8010) This new Host will have the that your SSL
connections should run.
Next remove the URI
Hi Yoav,
I certainly do mean the directive within . Please put a good
word in for me.
Thanks,
Mark
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: 07 October 2004 02:15 PM
To: Tomcat Users List
Subject: RE: Age Old Question of Wildcards
Hi,
>2. I've seen folk
Hi Phillip,
> Have you tried it based on the howto?
Yep.
Here's what I tried: (All with o.a.c.r.MemoryRealm)
clear text + BASIC -> works!
clear text + DIGEST -> works!
MD5 digest + BASIC -> works!
SHA digest + BASIC -> works!
MD5 digest + DIGEST -> doesn't work!
SHA digest + DIGEST -> doesn't work
Have you tried it based on the howto?
-Original Message-
From: Shinobu Kawai [mailto:[EMAIL PROTECTED]
Sent: October 7, 2004 12:01 PM
To: [EMAIL PROTECTED]
Subject: Using Digested Passwords and DIGEST Authentication at the same
time.
Hi all,
I'm looking for a way to use Digested Pass
Did you specify your own formatter in your properties file ?
Ive changed my code from
com.appserver.util.logging.LogProperties.setLevelFromParametersFromPrefs();
System.getProperties().setProperty("java.util.logging.config.class",
"com.appserver.util.logging.LogProperties");
LogManager.getLogManag
I've found an example of mapping directly in http.conf, but it still
appears to be ambiguous as to which host is targeted in Tomcat.
# domain.com
ServerAlias www
JkUriSet worker ajp13:localhost:8009
# domain.com - SSL
ServerName www.domain.com
JkUri
Hi all,
I'm looking for a way to use Digested Passwords as in
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/realm-howto.html
and DIGEST Authentication at the same time. I have found relative
questions/threads in the list:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg97135.html
http
Hi,
I didn't follow the thread on include-prelude (not my cup of tea). If
you can post a web.xml (or better yet, a simple WAR containing this
web.xml) that is invalid according to its own declared DTD and yet
Tomcat doesn't complain, that'd be great. I don't have time to look at
this now, there
Yoav, I see your point in your previousu post on this thread re 2.3 DTD
still being valid. However what do you think regarding the possible bug
mentioned in my later post below? (i.e. that a 2.4 feature used in a 2.3
file does not cause an exception, but instead is silently ignored). The
validat
Steffen,
I do have virtual hosts setup...
#
# Client X Domains
#
# domain.com
..
# domain.com - SSL
...
But I thought all mappings had to be configured in workers2.properties
when using JK2? Can you point me to documentation for mapping in
httpd.conf virtual host directives?
Than
Ok. I will test by adding a header using a Filter to all js requests.
I thought I have to interpret every js request and read the file from
dist and deliver it.
Thanks
rgds
Antony Paul
On Thu, 7 Oct 2004 09:40:28 -0400, Phillip Qin
<[EMAIL PROTECTED]> wrote:
> Read servlet spec or books. In shor
On Wed, 6 Oct 2004 14:37:58 -0700, Eric Wulff <[EMAIL PROTECTED]> wrote:
> I have gone over some of the tomcat docs and googled errors
> but there is SO much information covering JNDI, connection pooling,
> and Datasources. Can someone review the info below and consult or
> point me in the right d
I've had similar problems myself (not fully answered yet). Here's a couple
of issues that I found:
1. Check the exception messages / stack traces in your browser and logfiles
carefully to make sure that droit.jsp is not itself throwing a second
exception when trying to display the DroitsExceptio
Read servlet spec or books. In short, extend filter, then your custom class
add header, finally map your in web.xml.
-Original Message-
From: Antony Paul [mailto:[EMAIL PROTECTED]
Sent: October 7, 2004 7:52 AM
To: Tomcat Users List
Subject: Re: [OT] Setting no-cache headers for javascri
Hi,
Looking at the left-overs from my 5.5.3 build directory, it could be
that I had a misconfigured build that resulted in the tomcat5.exe and
tomcat5w.exe missing from the .zip. I'll have to double-check, but it
could be that what I said below is wrong in practice (though still
correct in spirit
Hi,
I have the following question:
If I set response headers in one servlet/JSP and then forward the request to another
servlet/JSP, will the response generated from the target servlet/JSP contain the
headers from the first servlet/JSP?
My thought prior to testing was it could work, but tests in
Detail, detail, detail.
1. your context.xml
2. your web.xml
3. how do you obtain connection from pool, java code pls.
4. can you connect using pool
5. commons-pool version
Etc. etc.
You need to provide details otherwise we can't help.
-Original Message-
From: Eric Wulff [mailto:[EMAIL P
In that case look at ErrorFilter from my Servlet Utilities. It allows you to
set an error based on an EL expression. (The utilities depend on tomcat 5).
For example - to block all direct jsp access.
ErrorFilter
net.funkman.servletutil.filter.ErrorFilter
errorCode
403
Well, I am developping a site I would like to block entry to.
However, my .css file is also in this directory, so having a pattern of /* also
blocks access to my css, making the site very ugly to see.
I have tried the following, with no result:
.jsp (no result), jsp (no result), *.jsp (app fails t
Antony Paul wrote:
I used JSP. How to use filter ?
1) read Chapter 6 of the Servlet spec, and
2) look at the examples included with Tomcat -- there's several
Filters there for dissection :-)
--
Hassan Schroeder - [EMAIL PROTECTED]
Webtuitive Design === (+1) 408-938-0
Hi,
>The tomcat5.exe and tomcat5w.exe seem to be missing from 5.5.3. They
exist
>in
>5.5.2. Might need to release 5.5.4.
These are present in the .exe download only, by design. One of our
goals with 5.5 is to reduce download size, and while these two files by
themselves aren't much, overall w
Hi,
Look at any of the freely-available servlet response caching filters out
there. They all capture the response output completely anyhow. You'd
have to make minimal modifications (if any) to fit your use-case.
Yoav Shapira
Millennium Research Informatics
>-Original Message-
>From: D
Hi,
>2. I've seen folk rewrite PrefixMapper.java and rewrite bits of Tomcat
to
>take care of this. Is this a recommended approach?
It's usually not recommended to customize the server unless you really
have to. Nonetheless, we try to make it easy to customize and extend,
and this is an advantag
I used JSP. How to use filter ?
rgds
Antony Paul
On Thu, 07 Oct 2004 04:44:28 -0700, Hassan Schroeder
<[EMAIL PROTECTED]> wrote:
> Antony Paul wrote:
>
> >How to add no-cache header to a javascript file which is set in the html as
> >
On Thu, Oct 07, 2004 at 11:40:50AM +0800, Faisal Abdullah wrote:
: I think its probably its how the app manages connection, and probably GC?
: DBCP and Cayote HTTP1/1 isn't configured by the way. Would these help?
: If I configure DBCP, would it effect the code?
DBCP may affect the overall app per
Antony Paul wrote:
How to add no-cache header to a javascript file which is set in the html as
Hi all,
How to add no-cache header to a javascript file which is set in the html as
Hi,
I have a communication problem between apache and tomcat. Some times, Im
loosing the communication between apache and workers.
I have these lines in my mod_jk error log when then communication is going
down :
[Thu Oct 07 12:49:07 2004] (error ) [jk_worker_ajp13.c (546)]
ajp13.serv
URL mappings can be a prefix mapping or a filextension mapping. Not both.
-Tim
Fred Blaise wrote:
any possible way i can achieve this in my web.xml ? Bc it wont the app
won't start with this... (tomcat 5.0.28)
/*.jsp
-
To unsubscri
Yes this is possible, you just need to run tomcat on different ports from the
standard. You'll need to move the http port (8080), the connector port (8009) and the
shutdown port (8005). I think that might be it unless you use SSL. Our convention is
to add 100 for each other tomcat, ie 8180,8109
Hi,
I am new to tomcat. I have installed tomcat4 + apache + postgresql on
linux 9.0. But one of my user wants to restart the tomcat service and
database, other users must have to wait until it restart. So all work
has been affected. Now I my plan is to implement the tomcat for each
user, it i
Are you getting any error messages in your log files?
In your browser window?
It sounds like your trying to call sendRedirect after you've already
started sending output to the browser.
Try moving the include to the very top of the jspa page.
On Thu, 2004-10-07 at 03:04, Pablo Carretero SÃnchez
Hi there,
SUBJECT: Subdomain Wildcards
I've seen this question posted all over the Internet and searched and read
until blue in the face - alas without a response. Please could someone
kindly direct me to a resource that answers these problems; or please answer
the questions below.
1. I know you
Sorry,
I did more test about the problem.
I have one JSP("jspa") and ("jspb") from jsp I do an include of "jspb" and
from "jspb" I have a sendRedirect("www.google.com").
If I invoke to http:///../jspa.jsp it doesn't work, but If I invoke
directly to "http://..//jspb.jsp It works
Ihre Mail wurde geblockt, da sie einen Virus enthaelt. Die Mail und darin enthaltene
Erklaerungen sind nicht zugegangen. Einzuhaltende Fristen wurden nicht gewahrt. Senden
Sie uns Ihre ueberpruefte Mail erneut zu oder benutzen Sie einen anderen
Kommunikationsweg. Danke fuer Ihr Verstaendnis.
-
GC might be a problem. but 1st of all, you need to identify is it the cause.
The default GC is run in serial so all your threads need to wait for gc to
finish.
If you found that 1 of your CPU loading is high but other 3 is almost doing
nothing,
it MIGHT be the "Full GC" thread.
Moreover, you can al
when I put the .html file there, the tomcat was not running.after putting
the .html file i started tomcat.
Regards,
Vivek Behal.
-Original Message-
From: John Najarian [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 07, 2004 12:45 PM
To: 'Tomcat Users List'
Subject: RE: new to Tomca
Have you restarted tomcat?
-Original Message-
From: Vivek Behal [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 06, 2004 11:58 PM
To: Tomcat Users List
Subject: RE: new to Tomcat..
No. but the .html is avaialable there and tomcat is not able to get it.
Regards,
Vivek Behal.
No. but the .html is avaialable there and tomcat is not able to get it.
Regards,
Vivek Behal.
-Original Message-
From: John Najarian [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 07, 2004 12:32 PM
To: 'Tomcat Users List'
Subject: RE: new to Tomcat..
Did you use the admin or mana
Did you use the admin or manager tool to check if it's available?
-Original Message-
From: Vivek Behal [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 06, 2004 10:39 PM
To: [EMAIL PROTECTED]
Subject: new to Tomcat..
Hi,
I am new to tomcat. I've installed tomcat 5.0.28 on my machi
76 matches
Mail list logo