Hello,
I run several webapps under one instance of tomcat (7.0.21 currently, fwiw),
and each webapp uses JDK logging and needs to log to its own separate log
file. I accomplish this by placing logging.properties in WEB-INF/classes,
and an example of how it's set up is:
handlers = org.apache.juli
Hi Chuck,
I tried it and it is working.
As I understood this is the recommended way to do this, correct?
Thank you very much.
Regards
Violeta
2011/10/11 Caldarale, Charles R
> > From: Violeta Georgieva [mailto:miles...@gmail.com]
> > Subject: Re: Fwd: SessionListener.sessionDestroyed is not ca
Christopher Schultz schrieb:
>-BEGIN PGP SIGNED MESSAGE-
>Hash: SHA1
>
>Pid,
>
>On 10/10/2011 2:28 PM, Pid wrote:
>> On 10/10/2011 10:30, sasc sasc wrote:
>>> +1 for this enhancement. With configurable number of threads
>>> (default: Runtime.getRuntime().availableProcessors())
>>
>> Su
> From: Violeta Georgieva [mailto:miles...@gmail.com]
> Subject: Re: Fwd: SessionListener.sessionDestroyed is not called when
> stopping web application
> I can confirm that in all three scenarios sessionDestroyed method
> is not invoked and session.expire(false) is invoked.
This may be becaus
There is no cluster, just one instance of Tomcat
The scenarios are reproducible on Tomcat 6.0.32 and Tomcat 6.0.33
2011/10/11 Pid
> On 11/10/2011 06:24, Violeta Georgieva wrote:
> > Hi Chris,
> >
> > I tried:
> > - stopping application
> > - undeploying application
> > - stopping Tomcat
> >
> >
On 10/10/2011 21:42, Palmer, Anthony wrote:
> Here is a response that I just received. What do you think?
I think you should go with Mark's suggestion, which was:
"Atlassian will disagree with this view but my recommendation would be
to install the latest Tomcat 6.0.x release along with the lates
On 11/10/2011 06:24, Violeta Georgieva wrote:
> Hi Chris,
>
> I tried:
> - stopping application
> - undeploying application
> - stopping Tomcat
>
> I can confirm that in all three scenarios sessionDestroyed method is not
> invoked and session.expire(false) is invoked.
Is your application deploye
Hi Chris,
I tried:
- stopping application
- undeploying application
- stopping Tomcat
I can confirm that in all three scenarios sessionDestroyed method is not
invoked and session.expire(false) is invoked.
Thanks
Violeta
2011/10/10 Christopher Schultz
> -BEGIN PGP SIGNED MESSAGE-
> Has
On 10 Oct 2011, at 23:36, Christopher Schultz
wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Pid,
>
> On 10/10/2011 2:28 PM, Pid wrote:
>> On 10/10/2011 10:30, sasc sasc wrote:
>>> +1 for this enhancement. With configurable number of threads
>>> (default: Runtime.getRuntime().availa
Here is a response that I just received. What do you think?
-Original Message-
From: Christopher Schultz [mailto:ch...@christopherschultz.net]
Sent: Monday, October 10, 2011 4:38 PM
To: Tomcat Users List
Subject: EXTERNAL: Re: install of Tomcat 6.0.33
-BEGIN PGP SIGNED MESSAGE-
H
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Pid,
On 10/10/2011 2:23 PM, Pid wrote:
> On 10/10/2011 18:51, Peter Lavin wrote:
>> Hi Filippo, tks for your reply.
>>
>> I'm not actually specifying any ClassLoader, perhaps I should?
>> How should I specify a ClassLoader to use when dynamically
>>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Anthony,
On 10/10/2011 3:00 PM, Palmer, Anthony wrote:
> [...] most of the problems found tell us the same thing of how to
> fix them which is to go to the next upgrade/update of Apache.
So, you should upgrade to the latest version of Apache Tomcat (
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Pid,
On 10/10/2011 2:28 PM, Pid wrote:
> On 10/10/2011 10:30, sasc sasc wrote:
>> +1 for this enhancement. With configurable number of threads
>> (default: Runtime.getRuntime().availableProcessors())
>
> Such a change might prove unwelcome for people
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Rainer,
On 10/10/2011 2:16 PM, Rainer Jung wrote:
> I think the goal is interesting, but not with a trivial
> implementation. So e.g. it would not be OK to serve the root
> context instead of /myapp only because the root context is already
> deployed
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Violeta,
On 10/10/2011 3:59 PM, Violeta Georgieva wrote:
> But when StandardManager.doUnload() is invoked, in its
> implementation * session.expire(false)* is called where the "false"
> is actually the flag that indicates whether to notify the listene
Ciao Peter,
sorry for my first answer full of typos, I answered with my android device
while travelling...
First of all, are you sure is there any issue of classpath? I mean, the jar
with the missed classese/interfaces extended/implemented by the class you
are loading dynamically is availablle?
The
Hi,
I have a web application that uses HttpSessionListener's methods for session
creation and destruction notifications.
When I request my web application I receive sessionCreated, when I
invalidate the session from the code I receive sessionDestroyed.
Unfortunately when I stop the web applicatio
On 10/10/2011 09:18, Igor Cicimov wrote:
> Is there anything in the log files? Do you have enough threads in the thread
> pool? I would also ask the DBA's to give me the list of the longest running
> queries.
+1
"the server is slow" doesn't really mean much, without more detail.
What is slow, th
The version of Apache that is shown in JIRA is Apache Tomcat/6.0.20, I was told
that this update was needed from foundstone after a recent scan was done. This
is a 32-bit VM. Here are some the vulnarabilites that we found, but most of the
problems found tell us the same thing of how to fix them
On 10/10/2011 19:16, Rainer Jung wrote:
> On 10.10.2011 19:35, Felix Schumacher wrote:
>> Am Montag, den 10.10.2011, 11:30 +0200 schrieb sasc sasc:
>>> +1 for this enhancement. With configurable number of threads (default:
>>> Runtime.getRuntime().availableProcessors())
>>>
>>> I would also like to
On 09/10/2011 03:24, ganu MailList wrote:
> In windows, How to let the tomcat write the catalina log to the log file, I
> find that in the linux ,the log will be saved to the log file ,
> but in the window 7, the log is print to the console. how to set ?
Install it as a service, configure the S
On 10/10/2011 19:16, Rainer Jung wrote:
> On 10.10.2011 19:35, Felix Schumacher wrote:
>> Am Montag, den 10.10.2011, 11:30 +0200 schrieb sasc sasc:
>>> +1 for this enhancement. With configurable number of threads (default:
>>> Runtime.getRuntime().availableProcessors())
>>>
>>> I would also like to
On 10/10/2011 10:30, sasc sasc wrote:
> +1 for this enhancement. With configurable number of threads (default:
> Runtime.getRuntime().availableProcessors())
Such a change might prove unwelcome for people who've got (however
fragile) configurations which rely on apps starting in a specific order.
On 10/10/2011 18:51, Peter Lavin wrote:
> Hi Filippo, tks for your reply.
>
> I'm not actually specifying any ClassLoader, perhaps I should? How
> should I specify a ClassLoader to use when dynamically loading a class?
You can pass one into the Constructor of your own classloader:
public Custom
On 10.10.2011 19:35, Felix Schumacher wrote:
> Am Montag, den 10.10.2011, 11:30 +0200 schrieb sasc sasc:
>> +1 for this enhancement. With configurable number of threads (default:
>> Runtime.getRuntime().availableProcessors())
>>
>> I would also like to expand/add to this request: Making contexts av
Hi Filippo, tks for your reply.
I'm not actually specifying any ClassLoader, perhaps I should? How
should I specify a ClassLoader to use when dynamically loading a class?
Peter
Filippo Machi wrote:
Ciao Piter,
usually class loaders are arranged unto a hierarchy, who's the parente
classlo
Ciao Piter,
usually class loaders are arranged unto a hierarchy, who's the parente
classloader of the one you're using to define the class fronte the byte
array? It should've be the classloader whose scope us your webapp..
Hth
Fil
Il giorno 10/ott/2011 19.27, "Peter Lavin" ha scritto:
>
> Dear Us
Am Montag, den 10.10.2011, 11:30 +0200 schrieb sasc sasc:
> +1 for this enhancement. With configurable number of threads (default:
> Runtime.getRuntime().availableProcessors())
>
> I would also like to expand/add to this request: Making contexts available
> for request processing continuously as t
On 10/10/2011 18:30, Felix Schumacher wrote:
> Hi,
> Am Montag, den 10.10.2011, 10:17 +0200 schrieb Alexander Knöller:
>> Hi Mark.
>>
>> I'd like to give it a try.
>> If I can't find time to do it I'll send an email.
> I also took interest in it and have parallel starting of contexts
> implemented.
Hi,
Am Montag, den 10.10.2011, 10:17 +0200 schrieb Alexander Knöller:
> Hi Mark.
>
> I'd like to give it a try.
> If I can't find time to do it I'll send an email.
I also took interest in it and have parallel starting of contexts
implemented. But for stopping I couldn't find a central point to
imp
Dear Users,
I am running web-services (developed in CXF) in a Tomcat 7.0.14 server,
Java version "1.6.0_17", OS, Linux 2.6.18-238.9.1.el5 #1 SMP
Tue Apr 12 18:10:13 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux
Part of my service code takes a byte array and defines a class using its
contents whi
The version of Apache that is shown is JIRA is Apache Tomcat/6.0.20, I was told
that this update was needed from foundstone after a recent scan was done. This
is a 32-bit VM. Here are some the vulnarabilites that we found, but most of the
problems found tell us the same thing of how to fix them
George Sexton
MH Software, Inc.
303 438-9585
www.mhsoftware.com
> -Original Message-
> From: Bill Wang [mailto:bw57...@gmail.com]
> Sent: Sunday, October 09, 2011 10:02 PM
> To: Tomcat Users List
> Subject: Re: two questions about the session timeout in tomcat
>
> Hi Chris, Pid & Gerog
On 10/10/2011 15:18, Palmer, Anthony wrote:
> Hello, I am looking for documentation on doing a patch install.
There is no documentation since the ASF does not release patches. Each
release of Apache Tomcat is a full release. There is no mechanism to
patch an older release to a newer one.
There ar
Hello,
I am looking for documentation on doing a patch install. I am really new to
doing this type of work so I could really use some help on how to do this. I am
currently running JIRA 4.2.2 which apache was bundled with and was told that
this update was needed. Since there is no .exe file run
Windows IP Firewall (WIPFW) is an open source project that claims to give
similar features to iptables, but I've not used it.
On 11/10/11 1:04 AM, "Léa Massiot" wrote:
>
>Thank you all for your answers.
>
>@Mark
>Yes indeed fundamentally three operations...
>1. I guess you can only have one ROO
Hi Léa
Here are some links I've used to setup tomcat and apache together
http://tomcat.apache.org/connectors-doc/reference/apache.html
http://tomcat.apache.org/connectors-doc/webserver_howto/apache.html
http://sysadminlinux.com/cms/en/node/32 (although it's for linux most
should be good for win
On Mon, Oct 10, 2011 at 16:04, Léa Massiot wrote:
[...]
>
> I'm interested in Francis' proposal... please can you give me more details?
> Thanks!
I will but in private, this is getting offtopic ;)
--
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945 552
Thank you all for your answers.
@Mark
Yes indeed fundamentally three operations...
1. I guess you can only have one ROOT WebApp not several...
It's not ok for me, I have several WebApps I want to treat that way.
@Francis
Francis wrote:
> Apache and configure a vhost with proxying
That looks pr
On Mon, Oct 10, 2011 at 14:01, Mark Thomas wrote:
[...]
>>
>> C (and C++ and many others) has seteuid() and fork(), Java doesn't.
>> Apache starts as root, binds to port 80 (therefore opens an fd on it),
>> then forks. The fd is inherited by the child, which calls seteuid().
>> Then the parent exi
On 10/10/2011 12:59, Francis GALIEGUE wrote:
> On Mon, Oct 10, 2011 at 13:50, Darryl Lewis wrote:
>> Something I've always wondered about, but never figured out, is how does
>> apache run as 'apache user' or 'nobody' and work on a port below 1024, but
>> Tomcat can't?
>> Anyone got a simple explan
Simplified explanation:
Apache httpd starts as user root. Binds port 80 and than drops privileges by
setuid("apache") or setuid("nobody").
In java you can't easily drop privileges. So if you start as root in Java you
can't easily change user. Of course you can call native code to do this. And
t
On Mon, Oct 10, 2011 at 13:50, Darryl Lewis wrote:
> Something I've always wondered about, but never figured out, is how does
> apache run as 'apache user' or 'nobody' and work on a port below 1024, but
> Tomcat can't?
> Anyone got a simple explanation?
>
C (and C++ and many others) has seteuid()
Something I've always wondered about, but never figured out, is how does
apache run as 'apache user' or 'nobody' and work on a port below 1024, but
Tomcat can't?
Anyone got a simple explanation?
On 10/10/11 9:53 PM, "Mark Thomas" wrote:
>On 10/10/2011 09:56, Léa Massiot wrote:
>>
>> Hello,
>>
> In windows, How to let the tomcat write the catalina log to the log file
I was going to suggest setting the CATALINA_OUT environment variable,
but it looks like that's only supported in catalina.sh for Unix hosts.
If you're starting via startup.bat/catalina.bat, you could edit
catalina.bat to r
On 10/10/2011 09:56, Léa Massiot wrote:
>
> Hello,
>
> Thank you for reading my post. Here is my question:
>
> - Presently, to access my WebApp first page, I have to type in the following
> URL in a browser:
> http://hostname-or-ip:8080/my-webapp/
> - Instead, I wish I could type in a URL such a
[...]
>
> What I use:
> -A PREROUTING -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 8080
>
You're forgetting "-t nat" before -A. REDIRECT is a target only valid
from the nat table.
--
Francis Galiegue
ONE2TEAM
Ingénieur système
Mob : +33 (0) 683 877 875
Tel : +33 (0) 178 945 552
f...@one2team
> You can also do it with iptables, converting any port 80 request to 8080.
> The user types in http://mywebapp but gets redirected to
> http://hostname:8080
+1
What I use:
-A PREROUTING -p tcp -m tcp --dport 80 -j REDIRECT --to-ports 8080
M
-
You can also do it with iptables, converting any port 80 request to 8080.
The user types in http://mywebapp but gets redirected to
http://hostname:8080
On 10/10/11 8:01 PM, "Francis GALIEGUE" wrote:
>On Mon, Oct 10, 2011 at 10:56, Léa Massiot wrote:
>>
>> Hello,
>>
>> Thank you for reading my
+1 for this enhancement. With configurable number of threads (default:
Runtime.getRuntime().availableProcessors())
I would also like to expand/add to this request: Making contexts available
for request processing continuously as they are started. This in combination
with parallel startup, would si
On Mon, Oct 10, 2011 at 10:56, Léa Massiot wrote:
>
> Hello,
>
> Thank you for reading my post. Here is my question:
>
> - Presently, to access my WebApp first page, I have to type in the following
> URL in a browser:
> http://hostname-or-ip:8080/my-webapp/
> - Instead, I wish I could type in a UR
Hello,
Thank you for reading my post. Here is my question:
- Presently, to access my WebApp first page, I have to type in the following
URL in a browser:
http://hostname-or-ip:8080/my-webapp/
- Instead, I wish I could type in a URL such as:
http://my-webapp/
Is it possible?
How?
And by the way,
Ah yes, I would also take a thread dump when the server is stuck just in
case the developers are wrong ;)
On Oct 10, 2011 7:18 PM, "Igor Cicimov" wrote:
Is there anything in the log files? Do you have enough threads in the thread
pool? I would also ask the DBA's to give me the list of the longest running
queries.
On Oct 10, 2011 3:02 PM, "Bill Wang" wrote:
> Hi Chris, Pid & Geroge,
>
> Thanks to everyone who replied my mail. I try to answer your
Hi Mark.
I'd like to give it a try.
If I can't find time to do it I'll send an email.
Regards
Alex
Am 09.10.2011 um 18:32 schrieb Mark Thomas:
> On 09/10/2011 13:55, Alexander Knöller wrote:
>> Hello mailing list.
>>
>> We use a single tomcat instance (soon switching from 5.5.23 to 7.x) with 2
55 matches
Mail list logo