Hi,
While calling the method destory() on the StandardContext directly, it
seems that the method destoryInternal() is called twice in the
LifecycleMBeanBase, the two stacktraces are below :
a. LifecycleMBeanBase.unregister(ObjectName) line: 191
LifecycleMBeanBase.destroyInternal()
I've further traced the root cause of my problems with threads sitting on
socket read, never timing out, never throwing an exception and sometimes
causing application deadlock (depending on where the socket read occurs)
down to the network. By comparing the output of lsof -i :1521 | grep
on
> From: Pid [mailto:p...@pidster.com]
> Subject: Re: deploying as ROOT application
> On 26/10/2010 20:31, Aggarwal, Ajay wrote:
> > Where is the official Tomcat documentation on how to make your
> > application a ROOT application? I am using Tomcat 6.0 and can't seem to
> > locate the section on
On 26/10/2010 20:31, Aggarwal, Ajay wrote:
> Where is the official Tomcat documentation on how to make your
> application a ROOT application? I am using Tomcat 6.0 and can't seem to
> locate the section on deploying as ROOT application.
Call it ROOT.war, or name the directory 'ROOT'.
http://tomc
No, there is no Apache in my situation. I guess I will begin playing
with ROOT application.
-Original Message-
From: Maximilian Stocker [mailto:m...@talentoyster.com]
Sent: Tuesday, October 26, 2010 4:20 PM
To: 'Tomcat Users List'
Subject: RE: Re: deploying as ROOT application
Are you f
On Tue, Oct 26, 2010 at 1:12 PM, Aggarwal, Ajay
wrote:
> In that case, you are right, making my application as ROOT is a better
> alternative. Just that I haven't been able to locate official Tomcat
> documentation on deploying as ROOT application. And I didn't want to enter an
> un-supported
Are you fronting tomcat with something else? Like Apache httpd?
I wouldn't classify deploying a ROOT application as experimental either way...
-Original Message-
From: Aggarwal, Ajay [mailto:ajay.aggar...@stratus.com]
Sent: Tuesday, October 26, 2010 4:13 PM
To: Tomcat Users List
Subject:
Well, I was assuming these filters are global to Tomcat instance and not
specific to an application. I haven't looked at available implementations of
these filters yet. Based on your response I take it that my assumption is wrong.
In that case, you are right, making my application as ROOT is a b
On 10/26/2010 08:36 PM, Marc Wilmots wrote:
1200> 1000, thus your theory is probably right.
:)
However, I'm just
wondering... I read that when Tomcat reaches the max number of connections,
just rejects new connections (I'm omitting the backlog on purpose).
So, I can understand that my Tomc
On Tue, Oct 26, 2010 at 12:52 PM, Aggarwal, Ajay
wrote:
> But now I am thinking that perhaps URL rewriting can help me here.
> Perhaps I can still deploy my application as "myapp" and use URL
> rewriting filters to do following mapping:
>
> /foo --> /myapp/foo
> /bar --> /myapp/bar
> /sample1.
I've seen lots of people asking this or similar questions, but I can't
seem to get a working solution.
I'm running Tomcat 4.1.40 on java 1.6.0_20-b02 on Solaris 10 and getting
these type messages in catalina.out
[org.apache.commons.digester.Digester] : addRuleSet() with no
namespace URI
Perhaps I can discuss my needs here with other forum members. The only
reason I thought my app needs to be a ROOT application is because I need
to serve following contexts from my application:
/foo/*
/bar/*
/sample1.html
But now I am thinking that perhaps URL rewriting can help me here.
Per
On 26/10/10 20:31, Aggarwal, Ajay wrote:
Where is the official Tomcat documentation on how to make your
application a ROOT application? I am using Tomcat 6.0 and can't seem to
locate the section on deploying as ROOT application.
-Ajay
Put your application in the webapps/ROOT folder '
Where is the official Tomcat documentation on how to make your
application a ROOT application? I am using Tomcat 6.0 and can't seem to
locate the section on deploying as ROOT application.
-Ajay
Ok, thanks, Chuck!
-Original Message-
From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com]
Sent: Tuesday, October 26, 2010 1:42 PM
To: Tomcat Users List
Subject: RE: Tomcat manager
> From: Propes, Barry L [mailto:barry.l.pro...@citi.com]
> Subject: RE: Tomcat manager
> Ok, so i
> From: Propes, Barry L [mailto:barry.l.pro...@citi.com]
> Subject: RE: Tomcat manager
> Ok, so it ( webapps/manager/META-INF/context.xml) doesn't
> necessarily get copied out to the Catalina folder then?
Correct. The rules for when Tomcat chooses to copy the element have
changed over time;
Ok, so it ( webapps/manager/META-INF/context.xml) doesn't necessarily get
copied out to the Catalina folder then? Is that correct?
I mean, upon stopping the Tomcat service, and restarting it? Am I understanding
that correctly?
I hope I'm understanding you correctly.
Thanks, Chuck.
-Origin
2010/10/26 Mladen Turk
> On 10/26/2010 02:47 PM, Marc Wilmots wrote:
>
>> Hi Experts,
>>
>> I have the following setup:
>>
>> Apache1
>> / \
>> Apache2 Apache3
>>\ /
>>Tomcat1
>>
>> All Apaches are versio
> From: Propes, Barry L [mailto:barry.l.pro...@citi.com]
> Subject: Tomcat manager
> In trying to overwrite the current setting to allow for
> the filter, do I need to delete the manager.xml file in
> Tomcat\conf\Catalina\localhost ?
Yes.
> Doing so doesn't allow the manager.xml file to be re
Hello all, running Tomcat 6.0.26 on jdk1.6.0_18 on a Win XP Pro box.
I think I'd asked before, but can't find reference to a fix here.
Issue is I'm trying to alter the context.xml file within the manager webapp
folder, for an IP restriction with the RemoteAddrValve, like so.
In webapps/manager/
On 26/10/2010 18:28, Aron K. wrote:
> Hi,
>
> Firefox ist RFC 5746 compliant. (http://www.ssltls.de/)
> Tomcat 6.0.29 uses JRE 1.6.22, also RFC 5746 compliant.
>
> Renegotiation should occur, as the browser initially doesn't send the
> client certificate, then the user is supposed to choose a cli
Hi,
Firefox ist RFC 5746 compliant. (http://www.ssltls.de/)
Tomcat 6.0.29 uses JRE 1.6.22, also RFC 5746 compliant.
Renegotiation should occur, as the browser initially doesn't send the
client certificate, then the user is supposed to choose a client cert.
and then the browser should renegotia
On 10/26/2010 02:47 PM, Marc Wilmots wrote:
Hi Experts,
I have the following setup:
Apache1
/ \
Apache2 Apache3
\ /
Tomcat1
All Apaches are version 2.2.3 (RedHat)
Apache2 and Apache3 loadbalance Tom
Hi again.
I checked out the executor element, although, I can't find a lot of
information about it.
Would you mind explaining why using the executor element would fix the
problem I am having?
Thanks
2010/10/26 Pid
> On 26/10/2010 13:47, Marc Wilmots wrote:
> > Hi Experts,
> >
> > I have the fo
Pretty nice, it's works great for me..!
ProxyRequests On
ProxyPreserveHost On
BalancerMember ajp://localhost:8080 route=tomcat-producao
ProxyPass /blog !
ProxyPass /media !
ProxyPass balancer://cloud/ stickysession=JSESSIONID
-Mensagem original-
De: Pid [mailto:p...@pidster.com]
In the post before I sed why accept() returns null, so i was
investigating in tomcat and jdk_1.6 source code,
and I found that the method accept in ServerSocketChannel.java can
return null in case of non-blocking socket e no connection available.
Should this be tested?
and why ask for session rep
2010/10/26 Pid
> On 26/10/2010 13:47, Marc Wilmots wrote:
> > Hi Experts,
> >
> > I have the following setup:
> >
> > Apache1
> > / \
> > Apache2 Apache3
> > \ /
> > Tomcat1
>
> That's an interesting setup. What does it achieve?
>
> Apache1 is a
On 26/10/2010 10:19, Antonio Petrelli wrote:
> 2010/10/26 Chandra Shekar Bairi :
>> Hi Borut,
>> Nothing though. But my company is not sure if we can use this for
>> free. They are assuming that we should purchase the tomcat web server.
>> Hence I want to get this clarified.
>
> heh, there are sti
On 26/10/2010 13:47, Marc Wilmots wrote:
> Hi Experts,
>
> I have the following setup:
>
> Apache1
> / \
> Apache2 Apache3
> \ /
> Tomcat1
That's an interesting setup. What does it achieve?
> All Apaches are version 2.2.3 (RedHat)
Time for
On 26/10/2010 14:14, Luiz Fabiano T.I CTO (Tempo Filmes) wrote:
> Dear PiD
>
> It's doesn't works for me, when I try to lauch apache2 the deamon
> sends it for me: "ProxyPass URL must be absolute!", I've tried to put full
> path, with and without domain, anyway nothing good happened, I still
Dear PiD
It's doesn't works for me, when I try to lauch apache2 the deamon
sends it for me: "ProxyPass URL must be absolute!", I've tried to put full
path, with and without domain, anyway nothing good happened, I still with
the problem and I will waiting for more help from you and the comm
It's not too late to register! (and a number of the events are free)
A summary of Tomcat content is on the Tomcat blog [1] and full details
can be found on the ApacheCon site [2].
Hope to see you there.
Mark
[1] https://blogs.apache.org/tomcat/entry/tomcat_at_apachecon_north_america
[2] http://
Hi Experts,
I have the following setup:
Apache1
/ \
Apache2 Apache3
\ /
Tomcat1
All Apaches are version 2.2.3 (RedHat)
Apache2 and Apache3 loadbalance Tomcat1 (6.0.18) with mod_jk (2.2.28).
In idle state
Hi Richard,
Comments below,
Regards,
Brett
From: Richard da Silva [mailto:roman_s...@yahoo.com]
Sent: 26 October 2010 13:30
To: Tomcat Users List; Brett Delle Grazie; crypto@gmail.com
Cc: darryl.le...@unsw.edu.au
Subject: RE: SSL Certificate : Unable to configure Tomcat "server
Dear Sal and Brett,
thank you for pointing this out to me.
I changed the definition of the SSLEngine to "off".
But, still, the error persists.
I am unable to copy the error messages, and paste them here, because, as I
mentioned in my earlier post, there is NO error message. Whenever I try t
On 10/26/2010 04:08 AM, Richard da Silva wrote:
Thanks for your response, Darryl
But, the certificate is not the problem. The Tomcat Configuration is the issue
(server.xml)
Richard da Silva
Richard,
Are you sure that the certificate isn't also the problem?
As Brett has previously menti
On 26/10/2010 12:47, Luiz Fabiano T.I CTO (Tempo Filmes) wrote:
> Hi folks,
>
> I'm trying to use Apche and Tocamt 5.5 together, I want to
> answer request in http://mydomain.com/ in tomcat with my ROOT/.do but when
> I use /blog for example, I want to answer this request by Apac
Hi folks,
All that follows is being developed/tested in Tomcat 5.5.29
I'm scratching my head a little here. I wrote a custom http servlet
request wrapper (code below) to allow me to manipulate some of the
parameters for a given request. I was forced down this path to
continue using some third p
Hi folks,
I'm trying to use Apche and Tocamt 5.5 together, I want to
answer request in http://mydomain.com/ in tomcat with my ROOT/.do but when
I use /blog for example, I want to answer this request by Apache, I got a
wordpress blog there, which only be able to answer on port 80,
Hi folks,
All that follows is being developed/tested in Tomcat 5.5.29
I'm scratching my head a little here. I wrote a custom http servlet request
wrapper (code below) to allow me to manipulate some of the parameters for a
given request. I was forced down this path to continue using some third
p
Hi there,
sorry for the late in give you news.
First I would like to thank, Pid, Mark, Charles and Christopher for the
responses.
I've solved my problem using valve ( Thanks Mark :) ), I extended the BaseValve
and its working perfectly (is in production right now).
I didn't know of Valve exis
Pid wrote:
On 26/10/2010 00:05, Hannaoui, Mo wrote:
...
worker.template.ping_mode=A
worker.template.reply_timeout=3
worker.template.socket_connect_timeout=1
worker.template.socket_timeout=10
worker.template.connection_pool_timeout=600
I can't get to the jk docs docs at the moment,
Hi Richard,
In your Server_modified.xml up the top you've got AprListener configured
with SSLEngine=on.
This means Tomcat expects the APR type of SSL configuration on a
Connector. (see Tomcat SSL Howto for details)
http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html
In short - your
2010/10/26 Chandra Shekar Bairi :
> Hi Borut,
> Nothing though. But my company is not sure if we can use this for
> free. They are assuming that we should purchase the tomcat web server.
> Hence I want to get this clarified.
heh, there are still people thinking that really free software cannot exi
Hi Borut,
Nothing though. But my company is not sure if we can use this for
free. They are assuming that we should purchase the tomcat web server.
Hence I want to get this clarified.
Thanks
On Tue, Oct 26, 2010 at 11:52 AM, Borut Hadžialić
wrote:
> Hi,
>
> what would stop you from using Tomcat t
On Tuesday 26 October 2010 08:24:53 Richard da Silva wrote:
> (a) Exists in certificate store 'cacerts' (bad idea btw).
>
> Yes it does exist.
>
> But, I took your advice, and created a separate keystore. Then imported the
> certificate there
Did you create a new private key and request a new ce
Hi,
what would stop you from using Tomcat to host your application in production?
Apache Tomcat is licensed under Apache 2.0 license meaning you can
(practically) do whatever you want with it. And its being successfully
used in production for many years in large number of installations.
Take a l
Dear friends,
I have developed a small web application using the Tomcat web server
for my company. We are planning to purchase a web server very soon.
Can we host this web application in our company before we purchase a
different web server. This does not serve any business purpose. The
web applic
Thanks for your response, Darryl
But, the certificate is not the problem. The Tomcat Configuration is the issue
(server.xml)
Richard da Silva
--- On Tue, 10/26/10, Darryl Lewis wrote:
From: Darryl Lewis
Subject: RE: SSL Certificate : Unable to configure Tomcat "server.xml"
To: "Tomcat User
Apologies, I came across this problem late last night and was probably
too asleep to spot the solution, a quick recheck this morning after
posting revealed
forwardURICompat and forwardURIEscaped, the former was turned on.
Problem solved,
Thanks
John
On 26/10/2010 08:23, John Lister wrote:
Hi
Here are my notes on importing a SSL certificate in case that is the problem. I
had a lot of issues and errors when I first tried.
(these were compiled from suggestions on this list)
Importing SSL certificates
RootAddTrustExternalCARoot.crt
Intermediate CA UTN
Hi, I'm using mod_jk to interface to apache to tomcat and I've come
across a small problem, it looks like apache (or maybe mod_jk) is
decoding the url presented to apache before passing it onto tomcat. This
is causing problems with my app (using Jersey) which complains that the
decoded urls are
- I believe the socket_timeout was at the recommendation of a document
or a post that I read.
- No application errors to suggest that the problem source is the
application.
-mo
-Original Message-
From: Pid [mailto:p...@pidster.com]
Sent: Monday, October 25, 2010 11:37 PM
To: Tomcat User
53 matches
Mail list logo