Hello
I do some further analysis in this problem and got following result:
Precondition: The filter manipulates the HTTP header when returning a
static resource (e.g. image).
HTTP 200
In case of a HTTP 200 (OK) result the header is not added when the doFilter
method is like following:
filte
Hi,
I am getting following messages during tomcat 4.1 startup.
What could be the cause?
Jul 7, 2005 10:28:00 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.30
Jul 7, 2005 10:28:02 AM org.apache.co
sorry all,
i did more testing and found the cause to be because the text files i
was requesting had uppercase extensions... ie. "TXT" rather than "txt".
and as expected a work-around was to add the following mime-mapping in
conf/web.xml:
TXT
text/plain
so sorry for the
This trick isn't necessary in Tomcat 5.x and servlet spec 2.4. Welcome
files as listed in the web.xml are each appended to the remote user's
request and the result is processed until it resolves to a servlet or file.
--David
Geiglein, Gary wrote:
If you create a file in the root of the cont
Hello,
I have installed java 1.5.0_04 and tomcat 5.5.9 on Fedora FC4 64 bit
machine and followed, I thought, the instructions on http://
jakarta.apache.org/tomcat/tomcat-5.5-doc/logging.html.
Yet I get:
log4j:WARN No appenders could be found for logger
(org.apache.catalina.startup.ClassLo
hi,
regarding http://:8080/manager/status/all:
wondering what causes application "error count" to increment?
for instance, say my web app is named foo. i notice if i access a bad
url like, http://:8080/foo/junk, then "error count" will
increment for my web app. but what other scenarios would
Hi,
How does the information apply to two servers having an instance of
TOMCAT running on each. The two servers are referenced by an alias and
have IIS running on them. I also have the Jakarta connector running on
both machines. The alias is a CSS device which round robins the requests
that com
phew! (relief) the results are the same...
both Tomcat version instances accessed directly via port 8080 (not
through IIS). cleared cache each time prior to requesting TXT file.
header chunk from Tomcat 4.1 when serving a TXT file:
HTTP/1.1 200 OK
ETag: W/"1706-1120587147968"
Last-Modified: T
"at java.lang.Thread.run(Thread.java:595)" was the last thing in my
catalina.out file. I refreshed several times and nothing changed. Are
there log levels in tomcat? Should I try to find this and increase the
amount of info being logged?
Thanks.
From: "Trung Nguyen" <[EMAIL PROTECTED]>
Re
ack! you are right! thanks for noticing this. actually, they are
both setup with JK connector redirecting from IIS to Tomcat (let me
know if you want to know why one is different from the other.. it's a
longer story)
at any rate, let me test again by accessing both directly without using
IIS (i
Hi there,
I use tomcat 4.1.31 and have a problem removing applications using the
manager tool. Most of the times when I click on remove, the war file or
the exploded directory are still there and sometimes even both.
Anyone experiencing the same? Any solution to this?
Next to this, for reaso
>From catalina.out, you can find the root cause for this error, It's usually
>right below this error...
-Original Message-
From: Gary Green [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 06, 2005 2:00 PM
To: tomcat-user@jakarta.apache.org
Subject: Confusing Error
I'm using tomcat versi
I'm using tomcat version 5.5.7 with jdk 1.5.0_04 on a linux system. One of
my apps is giving me the following error when I try to access it. From
catalina.out:
SEVERE: Servlet.service() for servlet default threw exception
java.lang.NullPointerException
at
org.apache.catalina.servlets.
You could write a servlet that hit all your jsp's when initialized, and
set it to load-on-startup.
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Geoffrey
Sent: Wednesday, June 29, 2005 5:46 AM
To: tomcat-user@jakarta.apache.org
Subject: Load all JSP pages on startup
If you create a file in the root of the context (any file, could be an
empty file, it just needs to show up in a directory listing) then map
your servlet to the same URL you would use to reference the file, then
add the file to the welcome-file-list and it will work.
Tomcat will not forward to a w
Why does 4.x have:
HTTP/1.1 200
Server: Microsoft-IIS/5.0
and 5.x have:
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Are you fronting 4.x with IIS, and not 5.x? That is one config difference
that you'll need to dispense with, in order to be fairly comparing the two.
Mike Curwen
>
> header chu
woohoo! my first Bugzilla!!
http://issues.apache.org/bugzilla/show_bug.cgi?id=35632
:D
woodchuck
--- Woodchuck <[EMAIL PROTECTED]> wrote:
> --- "Caldarale, Charles R" <[EMAIL PROTECTED]> wrote:
>
> > > From: Woodchuck [mailto:[EMAIL PROTECTED]
> > > Subject: RE: obscure tomcat 5.5 text fil
All -
I have installed netbeans and want to use/administer the embedded
tomcat server.
Can't seem to get past the admin login screen. I have read the docs,
edited the tomcat_users.xml file.
Any and all assistance would be appreciated.
**
Th
Hi,
I have a problem when configuring a JDBCRealm from the admin tool.
I use no digest algorithm, so I leave the text field in blank, but the
generated server.xml file includes an oughfull:
digest=""
attribute, so Tomcat throws me an exception telling me that it can not find
the required ("")
--- "Caldarale, Charles R" <[EMAIL PROTECTED]> wrote:
> > From: Woodchuck [mailto:[EMAIL PROTECTED]
> > Subject: RE: obscure tomcat 5.5 text file display bug? [Bugzilla
> candidate?]
> >
> > here is the relevant header info from Tomcat 4.1:
> >
> > HTTP/1.x 200 OK
> > Etag: W/"1706-112058714796
Indeed, thanks Jon.
> -Original Message-
> From: Woodchuck [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 06, 2005 10:15 AM
> To: Tomcat Users List
> Subject: Re: obscure tomcat 5.5 text file display bug?
> [Bugzilla candidate?]
>
>
> awesome! thanks, Jon!
>
> woodchuck
>
> ---
awesome! thanks, Jon!
woodchuck
--- Jon Wingfield <[EMAIL PROTECTED]> wrote:
> I agree; it does the job :)
> There is an equivalent for IE:
> http://www.blunck.info/iehttpheaders.html
>
> Enjoy,
>
> Jon
>
>
> Woodchuck wrote:
>
> > GB Developer,
> >
> > thanks so much for your suggestion,
Hello!
What will be the best way to implement the 'Locker' object in
clustered Tomcat environment?
The purpose of that object is to allow only one 'user' in a time to
access specific resource.
The idea is to share the same Java class across multiple boxes with
Tomcat.
Any input will be helpful!
make reloadable="true" in your
Regards
Guru
- Original Message -
From: "Felix Geller" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, July 06, 2005 3:42 PM
Subject: deploy
hi list,
i have problems with tomcat 5.5 to deploy my latest servlets. the host
is set to autoDeploy=true, but when i
Hello
How to set the HTTP-Header Cache-Control:max-age=3600 in the Response of an
image file?
Here I will describe what I did:
I implemented a Filter that added the header
response.setHeader("Cache-Control", "max-age=3600");
This works, but not in every case. The first request for an ima
hi list,
i have problems with tomcat 5.5 to deploy my latest servlets. the host
is set to autoDeploy=true, but when i update WEB-INF/web.xml the
context does not get reloaded. do i have a wrong picture of autoDeploy
or isn't that what it is supposed to do? thank you for any advice,
felix geller
-
hi Chuck,
thanks for the heads up. my Tomcat 4.1 and Tomcat 5.5 instances are
separate and each are sitting on a different machine. as well, the
actual URLs to these text files are different on each instance (so they
are not requesting the same exact URL and should not be using cache for
the sec
After reading the page:
http://logging.apache.org/log4j/docs/manual.html
I am wondering what up-front initialization I must do in order to get
things working with Tomcat 5.5.x? The documentation seems to be a bit
dated.
Thank you.
On 7/6/05, Mark <[EMAIL PROTECTED]> wrote:
> hrmmm, I missed t
Hello,
I'm running Tomcat 4.1.x and would like to get some log info about DBCP.
Does someone know how I could turn DBCP's logging on ?
Thx
/bertrand
> Having some fun with my current ISP and was wondering if any of you have UK
> tomcat recommendations?
I'm using www.nameonthe.net for JBoss hosting, and I know they do
straight Tomcat as well. I've been pretty happy with them, and the
support has been fine the couple of time I've needed to use i
hrmmm, I missed that when I read the FAQ.
Thank you.
On 7/6/05, Jon Wingfield <[EMAIL PROTECTED]> wrote:
> No. You can configure log4j on a per context basis.
> http://jakarta.apache.org/tomcat/faq/logging.html#userWebapps
>
> For example:
> http://marc.theaimsgroup.com/?l=tomcat-user&m=10833097
What is the URL
http://localhost/guru.do ?
Can you paste the jkmount directives in the httpd.conf and email it please
?
Regards
guru
- Original Message -
From: "Vijay K Anand" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Wednesday, July 06, 2005 11:25 AM
Subject: Re: 8080 b
No. You can configure log4j on a per context basis.
http://jakarta.apache.org/tomcat/faq/logging.html#userWebapps
For example:
http://marc.theaimsgroup.com/?l=tomcat-user&m=108330970225012&w=2
Mark wrote:
Yes, I know. But from what I have read, the configuration is more
global. I want to on
Yes, I know. But from what I have read, the configuration is more
global. I want to only place audits from one context in the Event
Log, not all of Tomcat's audits.
On 7/6/05, Jon Wingfield <[EMAIL PROTECTED]> wrote:
> log4j has an appender which can write to the Event Log
>
> http://logging.a
log4j has an appender which can write to the Event Log
http://logging.apache.org/log4j/docs/api/index.html
http://jakarta.apache.org/tomcat/faq/logging.html
HTH,
Jon
Mark wrote:
Is it possible for only one context to log to the Windows Event Log?
What I want is for logs for the tomcat engine
Is it possible for only one context to log to the Windows Event Log?
What I want is for logs for the tomcat engine to be placed into a flat
file, and my context's logs to go into the Event Log.
thank you.
-
To unsubscribe, e-ma
tomcat runs on Apache
The error is page cannot be dispalyed
Thanks for the replya
regards
Vijay
Gurumoorthy wrote:
what is the error you getting ... ?
Are you using apache as a front
Regards
Guru
- Original Message - From: "Vijay K Anand" <[EMAIL PROTECTED]>
To:
Sent: Wednesday
what is the error you getting ... ?
Are you using apache as a front
Regards
Guru
- Original Message -
From: "Vijay K Anand" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, July 06, 2005 9:47 AM
Subject: 8080 but not in 80
Hi
I have a struts application deployed in tomcat , It is ab
Lars Nielsen Lind wrote:
When the users are using the system (FileUpload) from outside the company it
all works fine, and the log shows that ContentType is set to
application/octet-stream, and the files are uploaded to the server.
When the users are using the system (FileUpload) from pc's ins
Hi
I have a struts application deployed in tomcat , It is able server well
from port 8080 but not from port 80 . Pages with *.jsp gets serverd but
not *.do through 8080 . Any help brothers?
-
To unsubscribe, e-mail: [EMA
Hi.
We have an Intranet we access via normal HTTP and HTTPS using the Internet.
When the users are using the system (FileUpload) from outside the company it
all works fine, and the log shows that ContentType is set to
application/octet-stream, and the files are uploaded to the server.
On Wednesday 06 July 2005 08:25, Rajasekar wrote:
> Hello guys,
> Could you please give me the steps to making mod_jk for tomcat?
> Regards
> Raj
>
mod_jk is an apache module. I am running apache2 and tomcat4 on linux and I
downloaded the binary module from
http://www.apache.org/dist/jakar
I agree; it does the job :)
There is an equivalent for IE:
http://www.blunck.info/iehttpheaders.html
Enjoy,
Jon
Woodchuck wrote:
GB Developer,
thanks so much for your suggestion, Live HTTP Headers is awesome!
and my hunch was correct. the problem is Tomcat 5.5 does not produce
any Content
> From: Gal Robert [mailto:[EMAIL PROTECTED]
> Often happens, that we must correct a little error in business logic.
> In these cases we usually patch a class file, and replace it in the
> application, then redeploy it.
> From your (and other) responses it seems, there's no correct way to
> do s
If your non-web application is to be only accessed by web apps why would not
you run it in the tomcat's JVM (just place non-web application in the
${catalina.base}/shared/classes or as a jar file into
${catalina.base}/shared/classes). In this scenario you eliminate the need for
maintaining the
Hello guys,
Could you please give me the steps to making mod_jk for tomcat?
Regards
Raj
On 7/5/05, Alan Chandler <[EMAIL PROTECTED]> wrote:
>
> ganesan malairaja writes:
>
> > hi guys ..
> >
> > i am confused now.. i need help undeerstanding apache and tomcat ..
> >
> > what purpose e
46 matches
Mail list logo