Hi All,
I guess i did not explained it properly. Let me try once again in simple
way. Forget about what i wrote before.
my Webapps dir have one application called app and has following dir
structure
webapps/app/audio/download/
above dir contacins html pages which are being generated by tomcat wh
Anybody got the patch for the tomcat 6.0.18 version of jsvc that lets it
log to syslog?
I found a couple patches, but they were all either for non-current
versions of jsvc or the patches were formatted all wrong on the web.
Thanx,
-Tony
---
Manager, IT Operations
Format D
Dave Cherkassky wrote:
> Chris,
>
> Your interpretation is correct. I am not having any troubles with headers.
There is method to my madness ;)
You need to read the bug and associated svn commits in detail.
> So I think that this line of investigation is a dead end.
Long story short.
Old erro
Hi,
I wanted to send a application message like "Application specific GUID" to
the accesslogs, the GUID is generated by our system and it is not general or
available in the request or the response So i was wondering if there is
any way where we can send that message to the logger which will add
Dear User Group:
I cannot get IIS 6 to use the Tomcat connector to redirect requests. I
followed the directions in
http://tomcat.apache.org/connectors-doc/webserver_howto/iis.html configuring
the registry by hand. This should be a relatively simple task but I am
obviously overlooking somethi
Chris,
Your interpretation is correct. I am not having any troubles with headers.
So I think that this line of investigation is a dead end.
Thanks,
--
Dave Cherkassky
VP of Software Development
DJiNN Software Inc.
416.504.1354
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dmitry,
On 5/1/2009 4:18 PM, Dmitry Beransky wrote:
> Hence, I'm asking here for help
> diagnosing the problem, but if everyone else is as stumped as I am
> then, sure, the next (reluctant) step would be to upgrade Tomcat in
> hope that it will go awa
Hassan Schroeder wrote:
> On Fri, May 1, 2009 at 12:57 PM, Glen Goodwin wrote:
>> So this implies that 5.5.27 has this fixed and 6.0.18 does not. I'll make a
>> note of that.
>
> ripple:/tmp$ curl -s -o nul: -H "Pragma: no-cache" -H "Cache-Control:
> no-cache" -w "Bytes Uncompressed ... %{size_do
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mark,
On 5/1/2009 4:21 PM, Mark Thomas wrote:
> As I replied a couple of days ago. This is almost certainly a known
> Tomcat issue.
>
> http://markmail.org/message/dmsf24ppd2nopvnz
My interpretation of the OP was that the exception ("getOutputStream
On Fri, May 1, 2009 at 12:57 PM, Glen Goodwin wrote:
> So this implies that 5.5.27 has this fixed and 6.0.18 does not. I'll make a
> note of that.
ripple:/tmp$ curl -s -o nul: -H "Pragma: no-cache" -H "Cache-Control:
no-cache" -w "Bytes Uncompressed ... %{size_download}\n"
http://localhost:8080/j
Folks,
As I replied a couple of days ago. This is almost certainly a known
Tomcat issue.
http://markmail.org/message/dmsf24ppd2nopvnz
Mark
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands
> If you suspect a bug in Tomcat, wouldn't upgrading to a version of
> Tomcat where that bug had potentially been fixed be a good strategy?
True, but the problem is that I don't have enough data to make a
decision. For all I know, there might be something really bad in our
code that's triggering
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dave,
On 4/29/2009 10:41 PM, Dave Cherkassky wrote:
> 1) I agree with you for includes and forwards, but for errors? I would
> have thought that the definition of "error" is that something went
> wrong, and Tomcat should start from scratch and just r
So this implies that 5.5.27 has this fixed and 6.0.18 does not. I'll make a
note of that.
Thanks,
Glen
-Original Message-
From: George Sexton [mailto:geor...@mhsoftware.com]
Sent: Friday, May 01, 2009 2:45 PM
To: Tomcat Users List
Subject: Re: GZIP Comrpession Problem
FYI, I tested th
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Xie,
On 4/30/2009 4:07 PM, Xie Xiaodong wrote:
> You can find log file in the directory: /logs,
> and you could have your own log4j.xml file (if you use log4j do your logging
> job) specifying the location you want your log find at.
It's more complic
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Nohacks,
On 4/30/2009 4:18 PM, nohacks wrote:
> You can see from my logs that apache returns a 200 for my login page then
> returns a 404 from
>
> It seems to be an issue now and then. It works for a while then it tosses a
> 404. Maybe after a timeou
FYI, I tested this on 5.5.27 using the HTTP 1.1 connector and a 77K
javascript file and I got 77K uncompressed, and 26K compressed.
Glen Goodwin wrote:
I have determined that any file larger than 48k is not getting compressed
regardless of mime type. I will be submitting this as a bug.
BUG TI
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dmitry,
On 5/1/2009 12:37 PM, Dmitry Beransky wrote:
>> Upgrade that Tomcat, it is *years* old - 5.5.27 is the latest.
>> See if it still does it then.
>
> Unfortunately, the pesky reality is that I would not be permitted to
> do such an upgrade to o
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Gregor,
On 4/30/2009 11:43 AM, Gregor Schneider wrote:
>
>
Oh, one more thing: couldn't you just turn off XML validation and
completely remove log4j.dtd? Are you sure it's even being used? You
might be getting all hot and bothered over nothing ;)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Gregor,
On 4/30/2009 11:43 AM, Gregor Schneider wrote:
>
>
Is there a PUBLIC definition, too? IIRC, most XML parsers can use the
PUBLIC part to look up the DTD in their cache, as Peter suggests. I have
no idea how to prime the cache, though.
> Bec
I have determined that any file larger than 48k is not getting compressed
regardless of mime type. I will be submitting this as a bug.
BUG TITLE
Tomcat Compression limited to 48K
CONFIGURATION
Windows XP (SP3)
Apache Tomcat 6.0.18
Java 1.6.0_13-b03
SPECIAL TOMCAT SETTINGS
Set on the Connecto
Christopher Schultz wrote:
> Pid,
>
> On 4/29/2009 4:48 AM, Pid wrote:
>> Step 1. Download latest Tomcat source from tomcat.apache.org.
>
> Technically speaking, you don't have to get the source. A binary package
> will work, too. You just need to have the correct JAR files in your
> CLASSPATH in
Chris, This is a good point. What I am discovering is that while I was
calling a terminate method on the Thread in the
ContextListener.contextDestroyed() method, my thread lives for quite
while, because it is sleeping and does not wake up to test the terminate
flag for several minutes. My sol
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Rahman,
On 5/1/2009 9:24 AM, Rahman Akhlaqur wrote:
> The SSL is terminated at the load balancers, so the request is then a
> http request on port 8443 to our apache webserver (we use this to
> resolve multiple hostnames to just a few virtual hosts) w
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Glen,
On 4/29/2009 4:21 PM, Glen R. Goodwin wrote:
> The question is this: Is there any reason why some .js files are getting
> gzip compression and some are not?
>
> I have checked to make sure the mime type is correct. I have verified the
> proble
On Fri, May 1, 2009 at 6:25 PM, Pid wrote:
> Leon Rosenberg wrote:
>> On Fri, May 1, 2009 at 6:01 PM, Christopher Schultz
>> wrote:
>>> -BEGIN PGP SIGNED MESSAGE-
>>> Hash: SHA1
>>>
>>
>>> Amusingly enough, the way Tomcat serves static content as quickly as
>>> httpd does is by... using t
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dfobox,
On 4/29/2009 2:12 PM, dfobox wrote:
> I got mochahost Tomcat plan and moving website to remote server. My
> server ran Tomcat 4.0.4-50 and now website has to work under 5.5.26.
> What should be done to make this process smooth?
My best advic
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Pid,
On 4/29/2009 9:55 AM, Pid wrote:
> S Arvind wrote:
>> Is there any good settings for GC for tomcat running in server with 4GB and
>> Quad Core processor. I bascially need GC parameter for RESOURCE HUNGRY WEB
>> APPLICATION
>
> Why not try fixing
> Upgrade that Tomcat, it is *years* old - 5.5.27 is the latest.
> See if it still does it then.
Unfortunately, the pesky reality is that I would not be permitted to
do such an upgrade to our entire infrastructure until I can show that
all other options have been exhausted.
--
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Pid,
On 4/29/2009 4:48 AM, Pid wrote:
> Step 1. Download latest Tomcat source from tomcat.apache.org.
Technically speaking, you don't have to get the source. A binary package
will work, too. You just need to have the correct JAR files in your
CLASSPA
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David,
On 4/28/2009 10:52 PM, David.Meldrum wrote:
> I need a background task which I implemented as a thread that I stated
> in the ContextListerner.
[snip]
> The problem I noticed is that while I only call
> the BackGroundThread.*start()* method o
Dmitry Beransky wrote:
> Hi,
>
> We have the strangest problem started happening to us a few weeks ago
> (after several years of running pretty much the same configuration).
>
> 1. The problem is only happening in the production environment. We
> cannot reproduce it on staging, which as far as w
Leon Rosenberg wrote:
> On Fri, May 1, 2009 at 6:01 PM, Christopher Schultz
> wrote:
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>>
>
>> Amusingly enough, the way Tomcat serves static content as quickly as
>> httpd does is by... using the same code used by httpd.
>>
>
> no. unless you as
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Leon,
On 5/1/2009 12:14 PM, Leon Rosenberg wrote:
> On Fri, May 1, 2009 at 6:01 PM, Christopher Schultz
> wrote:
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>>
>
>> Amusingly enough, the way Tomcat serves static content as quickly as
>> http
Hi,
We have the strangest problem started happening to us a few weeks ago
(after several years of running pretty much the same configuration).
1. The problem is only happening in the production environment. We
cannot reproduce it on staging, which as far as we can tell is
configured identically
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ravi,
Some things aren't adding up:
> http://www.mysiste.com/audio/abc.html (anyone/guests can see this page)
> http://www.mysiste.com/audio/app/download/abc.html (only logged in user can
> see this page)
...and...
> the root of my site reside in a
On Fri, May 1, 2009 at 6:01 PM, Christopher Schultz
wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
>
> Amusingly enough, the way Tomcat serves static content as quickly as
> httpd does is by... using the same code used by httpd.
>
no. unless you assume that http runs an embedded java
The post below from Daniel Steel helped me migrate from Tomcat 4 to Tomcat 6
Thanks,
Jayadevan Atta
Java Developer
-
if we configure the url / db access as JNDI resource in the context files,
then the \
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Leon,
On 4/30/2009 6:32 PM, Leon Rosenberg wrote:
> On Thu, Apr 30, 2009 at 9:58 PM, Christopher Schultz
>>> If you need to serve static content (js, css etc) along with dynamic
>>> content, you let tomcat handle it, it serves static content faster
>>
I think the first piece of information needed is what the OP means by
".. it does not work!" Are there any logs or stacktraces to clarify
what that means? Also it might be helpful to know what x.jar has in it
w/ regard to packages and classes. Essentially I don't think anyone can
help until more
Thanks. any suggestions for such a tool for:
-vista
-rhel?
Filip Hanik - Dev Lists wrote:
>
> acceptCount controls a TCP stack parameter for a backlog.
> The only way to monitor the backlog, would be to use tools for your
> operating system that let you introspect the TCP information the stack
Umm, are you uploading war files directly to the webapps directory?
p
Peter Crowther wrote:
> Tomcat version?
> Java version?
> OS?
>
>> -Original Message-
>> From: david owens [mailto:ym...@yahoo.com]
>> Sent: 01 May 2009 15:52
>> To: users@tomcat.apache.org
>> Subject: hot-deploy pro
Hi,
Are there any conflict between your jar and those jars used by Tomcat?
2009/4/30
> Hi,
>
> I am deploying an axis2 web service with Tomcat v6.0.
>
> The web service required a third-part jar file, say x.jar
> I can make the work service working with Axis2 standalone server by putting
>
FYI, we've been using AJP (Apache 2.2.11, tomcat 6.0.18) for a while now, and
we've had issues with 503s as well. We think we've narrowed them down to
timeouts on our firewall between the Apache and Tomcat hosts. So we added
'keepalive' to the ProxyPass directives - and we're now monitoring to s
On Tue, Apr 21, 2009 at 6:49 PM, Christopher Schultz <
ch...@christopherschultz.net> wrote:
> >
> > Is there a preferred alternative to connecting Apache and Tomcat? Or is
> > mod_proxy the best?
>
> mod_proxy_ajp is included in httpd, and there have been /lots/ of
> improvements since 2.2.2. Sinc
Tomcat version?
Java version?
OS?
> -Original Message-
> From: david owens [mailto:ym...@yahoo.com]
> Sent: 01 May 2009 15:52
> To: users@tomcat.apache.org
> Subject: hot-deploy problems
>
>
> I hope you folks are not sick to death of this question, but
> I have still not found a satisfact
I hope you folks are not sick to death of this question, but
I have still not found a satisfactory answer.
I used to hot-deploy war files with no problems, and about
half the time I get "ZipException: error in opening zip
file", or "Illegal access: this web application
instance has been stopped a
means the data doesn't fit in the AJP package.
You can configure the size of the AJP package, has to be configured on
both httpd and tomcat.
look for max_packet_size in
http://tomcat.apache.org/connectors-doc/reference/workers.html
and look for |packetSize in
http://tomcat.apache.org/tomcat
Also, can you upgrade to the latest version of Tomcat (5.5.27) and
Apache HTTPD?
p
Pid wrote:
> Do not reply to all. Just to the list please.
>
> OK. So you're doing the following:
>
> ssl-> LB:8443 http-> HTTPD:8443 http-> Tomcat:8443 https?-> ContentSrv
>
> What are the content servers, v
Rahman Akhlaqur wrote:
Hi P
The SSL is terminated at the load balancers, so the request is then a http
request on port 8443 to our apache webserver (we use this to resolve multiple
hostnames to just a few virtual hosts) which then just proxys the http request
to Tomcat. At which point we want
Do not reply to all. Just to the list please.
OK. So you're doing the following:
ssl-> LB:8443 http-> HTTPD:8443 http-> Tomcat:8443 https?-> ContentSrv
What are the content servers, virtual hosts in Tomcat?
Or do you have some kind of proxy application running inside Tomcat?
If you are *not* u
Glen Goodwin wrote:
> Anyone else have any useful thoughts on this before I start putting together
> a bug report?
Can you determine at what file size the connector no longer compresses
the files? (A JS file stuffed with a comment full of lorem ipsum would
do for testing)
Ideally counted down to
Hi P
The SSL is terminated at the load balancers, so the request is then a http
request on port 8443 to our apache webserver (we use this to resolve multiple
hostnames to just a few virtual hosts) which then just proxys the http request
to Tomcat. At which point we want the request to be passe
Anyone else have any useful thoughts on this before I start putting together
a bug report?
Glen
-Original Message-
Subject: GZIP Comrpession Problem
Using Tomcat 6.0.18 I have configured GZIP compression by adding the
following lines to my connector.
compression="force"
compressab
Gregor Schneider wrote:
since there's no such such as $CATALINA_HOME/common in
Tomcat 6.
You could always create one..
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@to
Whish I could have made it to London, however, since I'm packed here
like never b4 and - most important - my wife is due with our first kid
within the next couple of weeks, I earned a few vetoes :(
And concerning why it's quiet on the list:
In most European countries today is labour-day meaning a
Thing is, that we have multiple boxes (Debian) running with multiple
hosters, so every layout of those boxes is different (i.e. one has
Tomcat in /var/lib, the other one in /usr/local, next one in
/home/apps/tomcat).
Since *some* of our servlets (i.e. our own SSO-mechanism) are runnung
in all boxe
On 01.05.2009, at 10:20, Mark Thomas wrote:
Marcel Stör wrote:
All I need for an embedded Tomcat (I'm working with 6.x) are a few
Tomcat JARs in my classpath, correct?
It depends what functionality you want - you'll probably need most
of them.
I'm asking because I'm seeing a strange beh
Marcel Stör wrote:
> All I need for an embedded Tomcat (I'm working with 6.x) are a few
> Tomcat JARs in my classpath, correct?
It depends what functionality you want - you'll probably need most of them.
> I'm asking because I'm seeing a strange behavior here. Access to
> Servlets deployed in the
59 matches
Mail list logo