Dear Christopher,
Thank you for your reply.
>> Tomcat is version 6.0
>
> 6.0.what? We're just dying to know.
Sorry, it's 6.0.29 .
(Though at my level, the third digit may be of minor importance :)
> http://localhost:8080/tom ->path/to/tomcat/webapps/tom
>> http://localhost:80/tom/
On 1/6/11 7:33 PM, Ziggy wrote:
> I have gone through all the mbeans by using Jconsole but i cant find the one
> i need that tells me that the application is active and running.
You want Catalina:type=WebModule or Catalina:type=Manager depending on
what your requirements are.
I'm pretty sure I've
> From: Mohit Anchlia [mailto:mohitanch...@gmail.com]
> Subject: Simple Question about reading http transmission using mod_jk
> does it just sends the handle to the stream and then tomcat
> reads from it. It's little confusing.
Think about it: the connection between httpd and Tomcat is a comm l
- Original Message (edited)
From: André Warnier
To: Tomcat Users List
Sent: Thu, January 6, 2011 12:43:32 PM
Subject: Re: Accessing context information remotely - Context.getAvailable()
etc.
You may also want to have a look at
http://code.google.com/p/jmxsh/
- Original Message (edi
We are using mod_jk. My question is when apache receives a request
with http payload does it first read the entire payload and then
transfers it to tomcat or does it just sends the handle to the stream
and then tomcat reads from it. It's little confusing.
--
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ziggy,
On 1/6/2011 2:33 PM, Ziggy wrote:
> I am writing an external java application that reads this values
> periodically. This will be launched from a unix cron job. Its just a simple
> tools that periodically checks that the application is availabl
06.01.2011 22:12, Christopher Schultz:
> Is there an emoticon for smacking yourself in the forehead?
There doesn't seem to be a "standard" one, though googling for "facepalm
smiley" or "facepalm emoticon" lists quite a few.
Nevertheless, I *really* like that non-emoticon one
http://www.thefacepal
Got it, thanks
> Date: Thu, 6 Jan 2011 16:34:40 -0500
> From: ch...@christopherschultz.net
> To: users@tomcat.apache.org
> Subject: Re: How to disable chunked encoding for the Http11NioProtocol
> connector.
>
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Ilya,
>
> On 1/6/2011 4:17 PM,
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ilya,
On 1/6/2011 4:17 PM, ilya goberman wrote:
> OK. All I wanted to say is that disabling keepAlive across the board
> is not necessary.
Nobody is suggesting that.
> If keepAlive can be applies to a single response
> (and to be honest I am not sur
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Gabor,
On 1/6/2011 2:38 PM, gabor wrote:
> Tomcat is version 6.0, but it is highly experimental under my hands ;-)
6.0.what? We're just dying to know.
>> You have configured* the proxy to expect Tomcat to have either tom.war
>> or a directory deploy
OK. All I wanted to say is that disabling keepAlive across the board is not
necessary. If keepAlive can be applies to a single response (and to be honest I
am not sure it is possible), it is fine.
I was under impressing that the only way to disable keep alive is globally via:
maxKeepAliveReque
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 1/6/2011 4:02 PM, Caldarale, Charles R wrote:
>> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
>> Subject: Trouble configuring the manager :(
>
>> SEVERE: Cannot find message associated with key jaasRealm.unexpectedError
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ilya,
On 1/6/2011 12:27 PM, ilya goberman wrote:
> I think what was suggested before is to control this behavior by
> setting "keepAlive" setting. I would not think this is the right
> way.
Er, what's the difference between using "keepAlive setting"
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Subject: Trouble configuring the manager :(
> SEVERE: Cannot find message associated with key jaasRealm.unexpectedError
Note the unexpected realm name.
> What am I missing, here?
A declaration, probably. You likely want it u
Andre,
Thank you for your detailed description!
It cleared up a lot.
Just let me ask one more question.
A simple proxy_pass results in the following mapping (correct?)
http://hostname:8080/tom/app
| proxy_pass to
| 127.0.0.1:8080/tom/app
|
(tomcat_dir)/webapps/tom/app
Is there a wa
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
All,
This is my first time trying to configure the manager webapp.
Tomcat 6.0.29 on Linux
Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
Java HotSpot(TM) Server VM (build 17.1-b03, mixed mode)
I'm using CATALINA_BASE to run Tomcat from a diffe
Mark Eggers wrote:
A quick google turns up at least two command line JMX clients:
http://www.cyclopsgroup.org/projects/jmxterm/
http://www.jmanage.org/
You may also want to have a look at
http://code.google.com/p/jmxsh/
-
T
Please see my previous response re: open source tools. :)
As i mentioned earlier, the project that i need to deploy this tool will not
allow any open source tool without it being approved which involves a long
security vetting process.
I appreciate that there are hundreds of tools out there that
- Original Message (edited)
From: Ziggy
To: Tomcat Users List
Sent: Thu, January 6, 2011 11:33:07 AM
Subject: Re: Accessing context information remotely - Context.getAvailable()
etc.
Thanks for the response.
I am writing an external java application that reads this values
periodically.
On 1/6/2011 8:14 PM, Pid wrote:
On 1/6/11 11:02 AM, Gabor Pinter wrote:
Dear list,
I have a very trivial problem.
My setup:
CentOS 5.5
nginx 0.8.53
Tomcat6
You're using the unreleased, but highly experimental and potentially
dangerous version 6.3.7!?
;)
First, thank you for your reply.
Tom
Thanks for the response.
I am writing an external java application that reads this values
periodically. This will be launched from a unix cron job. Its just a simple
tools that periodically checks that the application is available.
I have gone through all the mbeans by using Jconsole but i cant fi
- Original Message (edited)
From: Ziggy
To: Tomcat Users List
Sent: Thu, January 6, 2011 10:48:32 AM
Subject: Re: Accessing context information remotely - Context.getAvailable()
etc.
Hi,
Thanks for your response. I am aware of the activeSessions attribute under
"Catalina:type=Manager,
On 1/6/11 6:48 PM, Ziggy wrote:
> Hi,
>
> Thanks for your response. I am aware of the activeSessions attribute under
> "Catalina:type=Manager,path=/testapp,host=localhost". I am actually doing
> this programmatically and would like to know of an Mbean that would tell me
> if the application is ava
- Original Message (edited)
From: Ziggy
To: Tomcat Users List
Sent: Thu, January 6, 2011 10:07:51 AM
Subject: Accessing context information remotely - Context.getAvailable() etc.
I was looking at the code for the Tomcat Manager application to try and find
out how it is determining wheth
Well it is a little complicated but the main reasons are
- The majority of the tools i have looked at require that the "tool" run
inside Tomcat which is where my application will also be running. This is a
problem because if Tomcat itself is not available then i cant monitor
anything
- It will be
Dear Ziggy,
> I was looking at the above for the above information as i am working on a
> client tool that tries to find out this exact information. The tool i am
> using connects to Tomcat via JMX but i am not sure if i can get the same
> information via JMX. Can i access the Context class? or is
I'm not sure this is a Tomcat issue but I'll explain why I'm posting it
here shortly.
When I execute a very simple Java console web service client I get the
following:
Exception in thread "main" javax.xml.ws.WebServiceException: No
Content-type in the header!
The web service is deployed to To
Hi,
Thanks for your response. I am aware of the activeSessions attribute under
"Catalina:type=Manager,path=/testapp,host=localhost". I am actually doing
this programmatically and would like to know of an Mbean that would tell me
if the application is available. The activeSessions attribute can som
On 1/6/11 6:07 PM, Ziggy wrote:
> I was looking at the code for the Tomcat Manager application to try and find
> out how it is determining whether a webapp/context is running and how many
> sesions are active. Looking at the code i think it uses these two methods
>
> Context.getAvailalbe() //check
I was looking at the code for the Tomcat Manager application to try and find
out how it is determining whether a webapp/context is running and how many
sesions are active. Looking at the code i think it uses these two methods
Context.getAvailalbe() //check if available
Context.getManager().findSes
I think what was suggested before is to control this behavior by setting
"keepAlive" setting. I would not think this is the right way.
I would still want to preserve "keepAlive" functiojnality for all other
requests except "long running comet response". So if it is request for a web
page, usin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Kobi,
On 1/6/2011 12:14 PM, Kobi Biton wrote:
> -Tomcat 6.0.22
Great. Any opportunities to upgrade? Your version was never released and
is over a year old.
> - yes they are load balanced simple Round Robin Linux LVS , (LB
> distributes the requests
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
On 1/5/2011 5:13 PM, André Warnier wrote:
> 4.3 Message Body
> ...
> Transfer-Encoding is a property of the message, not of the
> entity, and thus MAY be added or removed by any application along the
> request/response chain.
Maybe the OP shou
Hi Christopher thanks for the reply.
-Tomcat 6.0.22
- yes they are load balanced simple Round Robin Linux LVS , (LB
distributes the requests evenly)
- All the servers (But 1) had the following thread pool confguration
prior the change:
MaxThreads=1000 , minSpareThread=25,maxSpateThreads=75
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ilya,
On 1/5/2011 4:29 PM, ilya goberman wrote:
> I was thinking more about it. What if Tomcat disables chunked
> encoding if response contains "Connection: close" header.
I think that's what Mark has suggested several times, now:
On 1/5/2011 12:54
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Kobi,
On 1/6/2011 11:26 AM, Kobi Biton wrote:
> Recently I have exposed my tomcat 6
6.what?
> instances via JMX for monitoring I noticed that 1 of the servers is
> using twice the bust thread count then all others
Are they load-balanced in any way?
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Josh,
On 1/6/2011 7:56 AM, Josh Gooding wrote:
> thank you thank you thank you! I cannot thank you all enough!
Beer is always acceptable, though sometimes tough to ship.
- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (MingW32)
Comme
Hello Experts,
Recently I have exposed my tomcat 6 instances via JMX for monitoring I
noticed that 1 of the servers is using twice the bust thread count then
all others , then I noticed a configuration diff the server had 300 as
maxThreads while all other had 1000 as MaxThreads After changing it
sol myr wrote:
Thanks :)
You're correct about blocking inputStreams, but I actually need Tomcat to write
a multipart *response*, on an OutputStream (the reading side is on the client,
and our client-side programmers will manage it without blocking).
I wondered whether I'll have to hand-code it
On 1/6/11 12:44 PM, Ziggy wrote:
> Hi,
>
> I am using JMX to connect to a Tomcat instance and looking at attributes for
> a jdbc datasource as shown below.
>
> MBeanServerConnection conn = jmxc.getMBeanServerConnection();
> ObjectName on = new
> ObjectName("Catalina:type=DataSource,path=/appdb,ho
Thanks :)
You're correct about blocking inputStreams, but I actually need Tomcat to write
a multipart *response*, on an OutputStream (the reading side is on the client,
and our client-side programmers will manage it without blocking).
I wondered whether I'll have to hand-code it (manually output
Someone here was passing it to tomcat on the startup along with a bunch of
other jvm parameters, probably in hopes of trying increase the performance.
On Thu, Jan 6, 2011 at 3:02 AM, Pid wrote:
> On 1/5/11 8:44 PM, Joe Greenawalt wrote:
> > So i went to the appservers and sure enough it was ther
thank you thank you thank you! I cannot thank you all enough!
On Wed, Jan 5, 2011 at 9:53 PM, Caldarale, Charles R <
chuck.caldar...@unisys.com> wrote:
> > From: Josh Gooding [mailto:josh.good...@gmail.com]
> > Subject: Re: Quick Questions on some Tomcat settings
>
> > I have:
> >
> > and a d
Hi,
I am using JMX to connect to a Tomcat instance and looking at attributes for
a jdbc datasource as shown below.
MBeanServerConnection conn = jmxc.getMBeanServerConnection();
ObjectName on = new
ObjectName("Catalina:type=DataSource,path=/appdb,host=localhost,class=javax.sql.DataSource,name=\"jd
Gabor Pinter wrote:
Dear list,
I have a very trivial problem.
My setup:
CentOS 5.5
nginx 0.8.53
Tomcat6
net ---> nginx:80 (proxy_pass) ---> tomcat:8080
Proxy redirect is triggered by prefix "/tom/"
myhost:80/tom/ ---> 127.0.0.1:8080/tom/
Now here is my question.
How can I let Tomcat know
On 1/6/11 11:02 AM, Gabor Pinter wrote:
> Dear list,
>
> I have a very trivial problem.
>
> My setup:
> CentOS 5.5
> nginx 0.8.53
> Tomcat6
You're using the unreleased, but highly experimental and potentially
dangerous version 6.3.7!?
;)
> net ---> nginx:80 (proxy_pass) ---> tomcat:8080
>
>
Dear list,
I have a very trivial problem.
My setup:
CentOS 5.5
nginx 0.8.53
Tomcat6
net ---> nginx:80 (proxy_pass) ---> tomcat:8080
Proxy redirect is triggered by prefix "/tom/"
myhost:80/tom/ ---> 127.0.0.1:8080/tom/
Now here is my question.
How can I let Tomcat know about this "/tom/" pr
On 1/5/11 8:44 PM, Joe Greenawalt wrote:
> So i went to the appservers and sure enough it was there *
> -Xverify:none*,
Out of interest in which config file was this set?
It's not an attribute set as standard by Tomcat.
p
0x62590808.asc
Description: application/pgp-keys
signature.asc
Descri
48 matches
Mail list logo