DO NOT REPLY [Bug 52261] New: due to org.apache.jasper.compiler.TldLocationsCache.tldScanJar server throws java.lang.OutOfMemoryError: requested 33554440 bytes for Chunk::new. Out of swap

2011-11-29 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=52261

 Bug #: 52261
   Summary: due to
org.apache.jasper.compiler.TldLocationsCache.tldScanJa
r server throws  java.lang.OutOfMemoryError: requested
33554440 bytes for Chunk::new. Out of swap
   Product: Tomcat 7
   Version: 7.0.16
  Platform: PC
OS/Version: Windows Server 2003
Status: NEW
  Severity: blocker
  Priority: P2
 Component: Jasper
AssignedTo: dev@tomcat.apache.org
ReportedBy: hema...@gmail.com
Classification: Unclassified


When we restart server it goes outofmemory 

java.lang.OutOfMemoryError: requested 33554440 bytes for Chunk::new. Out of
swap

after going through the hs_err_pidX.log file 
it shows follwing line 

++
Current CompileTask:
C2:7248  !  
org.apache.jasper.compiler.TldLocationsCache.tldScanJar(Ljava/net/JarURLConnection;)V
(223 bytes)


memory  status:

Other Threads:
  0x6b9d0c00 VMThread [stack: 0x6bbb,0x6bc0] [id=3400]
  0x6bb08400 WatcherThread [stack: 0x6d44,0x6d49] [id=3672]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 PSYoungGen  total 398016K, used 48470K [0x4da8, 0x6aa3,
0x6add)
  eden space 326464K, 10% used [0x4da8,0x4fc89488,0x6195)
  from space 71552K, 19% used [0x6645,0x6719c5a0,0x6aa3)
  to   space 74176K, 0% used [0x6195,0x6195,0x661c)
 PSOldGentotal 502208K, used 400157K [0x133d, 0x31e4,
0x4da8)
  object space 502208K, 79% used [0x133d,0x2ba976a8,0x31e4)
 PSPermGen   total 256000K, used 124109K [0x039d, 0x133d, 0x

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 52261] due to org.apache.jasper.compiler.TldLocationsCache.tldScanJar server throws java.lang.OutOfMemoryError: requested 33554440 bytes for Chunk::new. Out of swap

2011-11-29 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=52261

--- Comment #1 from hemant jaiswal  2011-11-29 08:43:52 UTC 
---
Current CompileTask:
C2:7248  !  
org.apache.jasper.compiler.TldLocationsCache.tldScanJar(Ljava/net/JarURLConnection;)V
(223 bytes)

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1207798 - /tomcat/trunk/build.properties.default

2011-11-29 Thread mturk
Author: mturk
Date: Tue Nov 29 09:07:27 2011
New Revision: 1207798

URL: http://svn.apache.org/viewvc?rev=1207798&view=rev
Log:
Update Daemon to the latest release

Modified:
tomcat/trunk/build.properties.default

Modified: tomcat/trunk/build.properties.default
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/build.properties.default?rev=1207798&r1=1207797&r2=1207798&view=diff
==
--- tomcat/trunk/build.properties.default (original)
+++ tomcat/trunk/build.properties.default Tue Nov 29 09:07:27 2011
@@ -161,7 +161,7 @@ nsis.nsisdl.dll=${nsis.home}/Plugins/NSI
 nsis.loc=${base-sf.loc}/nsis/nsis-2.46.zip
 
 # - Commons Daemon, version 1.0-Alpha or later -
-commons-daemon.version=1.0.7
+commons-daemon.version=1.0.8
 commons-daemon.home=${base.path}/commons-daemon-${commons-daemon.version}
 
commons-daemon.jar=${commons-daemon.home}/commons-daemon-${commons-daemon.version}.jar
 commons-daemon.native.win.home=${commons-daemon.home}/windows



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1207799 - /tomcat/tc7.0.x/trunk/build.properties.default

2011-11-29 Thread mturk
Author: mturk
Date: Tue Nov 29 09:07:57 2011
New Revision: 1207799

URL: http://svn.apache.org/viewvc?rev=1207799&view=rev
Log:
Update Daemon to the latest release

Modified:
tomcat/tc7.0.x/trunk/build.properties.default

Modified: tomcat/tc7.0.x/trunk/build.properties.default
URL: 
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/build.properties.default?rev=1207799&r1=1207798&r2=1207799&view=diff
==
--- tomcat/tc7.0.x/trunk/build.properties.default (original)
+++ tomcat/tc7.0.x/trunk/build.properties.default Tue Nov 29 09:07:57 2011
@@ -161,7 +161,7 @@ nsis.nsisdl.dll=${nsis.home}/Plugins/NSI
 nsis.loc=${base-sf.loc}/nsis/nsis-2.46.zip
 
 # - Commons Daemon, version 1.0-Alpha or later -
-commons-daemon.version=1.0.7
+commons-daemon.version=1.0.8
 commons-daemon.home=${base.path}/commons-daemon-${commons-daemon.version}
 
commons-daemon.jar=${commons-daemon.home}/commons-daemon-${commons-daemon.version}.jar
 commons-daemon.native.win.home=${commons-daemon.home}/windows



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1207800 - /tomcat/tc6.0.x/trunk/STATUS.txt

2011-11-29 Thread mturk
Author: mturk
Date: Tue Nov 29 09:09:33 2011
New Revision: 1207800

URL: http://svn.apache.org/viewvc?rev=1207800&view=rev
Log:
Propose to update Daemon to the latest release

Modified:
tomcat/tc6.0.x/trunk/STATUS.txt

Modified: tomcat/tc6.0.x/trunk/STATUS.txt
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/STATUS.txt?rev=1207800&r1=1207799&r2=1207800&view=diff
==
--- tomcat/tc6.0.x/trunk/STATUS.txt (original)
+++ tomcat/tc6.0.x/trunk/STATUS.txt Tue Nov 29 09:09:33 2011
@@ -138,6 +138,10 @@ PATCHES PROPOSED TO BACKPORT:
   +1: kkolinko
   -1:
 
+* Update Commons Daemon to 1.0.8
+  Change is trivial so no patch provided
+  +1: mturk
+  -1:
 
 PATCHES/ISSUES THAT ARE STALLED
 



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Tomcat 7.0.23 startup freezes at "INFO: Deploying web application directory ..."

2011-11-29 Thread ~ ~
Nuances:
- no errors are displayed in logs
- tomcat process can't be shutted down with shutdown.sh script
- http request on 80 port wait forever
- it's a multi host configuration
- the same setup works well on all previous build, including 7.0.22
- when lib/*.jar files of tomcat-7.0.23 are replaced with lib/*.jar files of
tomcat-7.0.23 - everything works just fine

thank you!

p.s. i think it's an issue of tomcat-7.0.23 not a bug of my app.
but some developer markt  keeps closing my bug report,
saying it's a support question, not a bug of tomcat-7.0.23

fill free to contact for details: a19...@mail.ru

svn commit: r1207806 - /tomcat/tc6.0.x/trunk/build.properties.default

2011-11-29 Thread jfclere
Author: jfclere
Date: Tue Nov 29 09:44:52 2011
New Revision: 1207806

URL: http://svn.apache.org/viewvc?rev=1207806&view=rev
Log:
Rollback release information.

Modified:
tomcat/tc6.0.x/trunk/build.properties.default

Modified: tomcat/tc6.0.x/trunk/build.properties.default
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/build.properties.default?rev=1207806&r1=1207805&r2=1207806&view=diff
==
--- tomcat/tc6.0.x/trunk/build.properties.default (original)
+++ tomcat/tc6.0.x/trunk/build.properties.default Tue Nov 29 09:44:52 2011
@@ -27,10 +27,9 @@
 # - Version Control Flags -
 version.major=6
 version.minor=0
-version.build=35
+version.build=0
 version.patch=0
 version.suffix=-dev
-version=6.0.35
 
 # - Default Base Path for Dependent Packages -
 # Please note this path must be absolute, not relative,



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: Tomcat 7.0.23 startup freezes at "INFO: Deploying web application directory ..."

2011-11-29 Thread Francis Galiegue
On Tue, Nov 29, 2011 at 10:19, ~ ~  wrote:
> Nuances:
> - no errors are displayed in logs
> - tomcat process can't be shutted down with shutdown.sh script
> - http request on 80 port wait forever
> - it's a multi host configuration
> - the same setup works well on all previous build, including 7.0.22
> - when lib/*.jar files of tomcat-7.0.23 are replaced with lib/*.jar files of
> tomcat-7.0.23 - everything works just fine
>

Try and add this option to the JVM:
-Djava.security.egd=file:/dev/./urandom (note: the extra dot is
NECESSARY).

-- 
Francis Galiegue, fgalie...@gmail.com
"It seems obvious [...] that at least some 'business intelligence'
tools invest so much intelligence on the business side that they have
nothing left for generating SQL queries" (Stéphane Faroult, in "The
Art of SQL", ISBN 0-596-00894-5)

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: Tomcat 7.0.23 startup freezes at "INFO: Deploying web application directory ..."

2011-11-29 Thread Pid
On 29/11/2011 09:19, ~ ~ wrote:
> Nuances:
> - no errors are displayed in logs
> - tomcat process can't be shutted down with shutdown.sh script
> - http request on 80 port wait forever
> - it's a multi host configuration
> - the same setup works well on all previous build, including 7.0.22
> - when lib/*.jar files of tomcat-7.0.23 are replaced with lib/*.jar files of
> tomcat-7.0.23 - everything works just fine
> 
> thank you!

Please don't cross post to both lists.

If you have modified your server.xml, please remove any passwords, ip
addresses & usernames and post it inline here.


p

> p.s. i think it's an issue of tomcat-7.0.23 not a bug of my app.
> but some developer markt  keeps closing my bug report,
> saying it's a support question, not a bug of tomcat-7.0.23
> 
> fill free to contact for details: a19...@mail.ru


-- 

[key:62590808]



signature.asc
Description: OpenPGP digital signature


svn commit: r1207840 - /tomcat/tc6.0.x/trunk/STATUS.txt

2011-11-29 Thread jfclere
Author: jfclere
Date: Tue Nov 29 11:57:11 2011
New Revision: 1207840

URL: http://svn.apache.org/viewvc?rev=1207840&view=rev
Log:
Arrange the maven patch proposal = fix the problems :D

Modified:
tomcat/tc6.0.x/trunk/STATUS.txt

Modified: tomcat/tc6.0.x/trunk/STATUS.txt
URL: 
http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/STATUS.txt?rev=1207840&r1=1207839&r2=1207840&view=diff
==
--- tomcat/tc6.0.x/trunk/STATUS.txt (original)
+++ tomcat/tc6.0.x/trunk/STATUS.txt Tue Nov 29 11:57:11 2011
@@ -31,20 +31,6 @@ PATCHES ACCEPTED TO BACKPORT:
 PATCHES PROPOSED TO BACKPORT:
   [ New proposals should be added at the end of the list ]
 
-* Fix the maven stuff for the maven repo.
-  Before it does't find tomcat-juli.jar and the remoteRepository seems broken .
-  http://people.apache.org/~jfclere/patches/maven.patch.100711
-  +1: jfclere
-  -1: fhanik - easier to pass in the root path (lib/bin) to the macro instead 
of hacking around it
-   if we remove the SCP auto feature, then there should be 
something to replace it with
-   (http://ant.apache.org/manual/OptionalTasks/scp.html)
-  +1: kkolinko: +1 for the updated patch (maven.patch.100711)
-  I still think that it is not so good to remove the old code of 
,
-  because it ignores ${maven.repo.url} parameter provided by 
deploy-snapshot,
-  deploy-staging and deploy-release targets. Maybe leave old code as a 
comment
-  and fix it later if needed? I think that actually nobody besides the 
release manager
-  uses this, so I am letting this pass.
-
 * Add StuckThreadDetectionValve
   
https://github.com/sylvainlaurent/tomcat60/commit/252334f958877221ecb2dc64ee0fd12bb77e360b
   +1: slaurent
@@ -143,6 +129,12 @@ PATCHES PROPOSED TO BACKPORT:
   +1: mturk
   -1:
 
+* Fix the maven stuff for the maven repo.
+  Before it does't find tomcat-juli.jar and the wagon-ssh was a broken old 
version.
+  http://people.apache.org/~jfclere/patches/maven.patch.29
+  +1: jfclere
+  -1: 
+
 PATCHES/ISSUES THAT ARE STALLED
 
 * Backport JSP unloading patch (BZ48358).



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 52259] synchonization issues and dead lock if no realm is presented in configuration

2011-11-29 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=52259

John  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|INVALID |
Summary|no webapps are deployed on  |synchonization issues and
   |startup of tomcat-7.0.23|dead lock if no realm is
   ||presented in configuration

--- Comment #5 from John  2011-11-29 11:57:13 UTC ---
details to reproduce:
http://www.mail-archive.com/users@tomcat.apache.org/msg94585.html

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 52124] Tomcat Maven metadata only includes the latest release

2011-11-29 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=52124

--- Comment #1 from jfclere  2011-11-29 12:10:52 UTC ---
See INFRA-4162

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1207850 - /tomcat/tc7.0.x/trunk/modules/

2011-11-29 Thread fhanik
Author: fhanik
Date: Tue Nov 29 12:52:05 2011
New Revision: 1207850

URL: http://svn.apache.org/viewvc?rev=1207850&view=rev
Log:
attempting to set externals

Modified:
tomcat/tc7.0.x/trunk/modules/   (props changed)

Propchange: tomcat/tc7.0.x/trunk/modules/
--
--- svn:externals (original)
+++ svn:externals Tue Nov 29 12:52:05 2011
@@ -1 +1 @@
-^/tomcat/trunk/modules/jdbc-pool@1201562 jdbc-pool
+^/tomcat/trunk/modules/jdbc-pool@1207712 modules/jdbc-pool



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1207852 - in /tomcat/trunk/modules/jdbc-pool: ./ doc/changelog.xml

2011-11-29 Thread fhanik
Author: fhanik
Date: Tue Nov 29 12:56:02 2011
New Revision: 1207852

URL: http://svn.apache.org/viewvc?rev=1207852&view=rev
Log:
update propset, try 2

Modified:
tomcat/trunk/modules/jdbc-pool/   (props changed)
tomcat/trunk/modules/jdbc-pool/doc/changelog.xml

Propchange: tomcat/trunk/modules/jdbc-pool/
--
--- svn:externals (added)
+++ svn:externals Tue Nov 29 12:56:02 2011
@@ -0,0 +1 @@
+^/tomcat/trunk/modules/jdbc-pool@1207712 jdbc-pool

Modified: tomcat/trunk/modules/jdbc-pool/doc/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/modules/jdbc-pool/doc/changelog.xml?rev=1207852&r1=1207851&r2=1207852&view=diff
==
--- tomcat/trunk/modules/jdbc-pool/doc/changelog.xml (original)
+++ tomcat/trunk/modules/jdbc-pool/doc/changelog.xml Tue Nov 29 12:56:02 2011
@@ -31,6 +31,7 @@
 
   
 
+  1207712 Pool cleaner should be a global thread, not 
spawn one thread per connection pool. (fhanik) 
   1073531 50805 Only initialize connections 
once when async (fhanik)
   1076380 50857 Correctly handle timeouts when 
the pool is busy when async (fhanik)
   Added QueryTimeoutInterceptor to be able to configure timeouts on 
running queries automatically.



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: svn commit: r1207852 - in /tomcat/trunk/modules/jdbc-pool: ./ doc/changelog.xml

2011-11-29 Thread Filip Hanik Mailing Lists
I can't for the life of me seem to get this right, do you have the right 
command?

Filip

- Original Message -
From: fha...@apache.org
To: dev@tomcat.apache.org
Sent: Tuesday, November 29, 2011 5:56:03 AM
Subject: svn commit: r1207852 - in /tomcat/trunk/modules/jdbc-pool: ./ 
doc/changelog.xml

Author: fhanik
Date: Tue Nov 29 12:56:02 2011
New Revision: 1207852

URL: http://svn.apache.org/viewvc?rev=1207852&view=rev
Log:
update propset, try 2

Modified:
tomcat/trunk/modules/jdbc-pool/   (props changed)
tomcat/trunk/modules/jdbc-pool/doc/changelog.xml

Propchange: tomcat/trunk/modules/jdbc-pool/
--
--- svn:externals (added)
+++ svn:externals Tue Nov 29 12:56:02 2011
@@ -0,0 +1 @@
+^/tomcat/trunk/modules/jdbc-pool@1207712 jdbc-pool

Modified: tomcat/trunk/modules/jdbc-pool/doc/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/modules/jdbc-pool/doc/changelog.xml?rev=1207852&r1=1207851&r2=1207852&view=diff
==
--- tomcat/trunk/modules/jdbc-pool/doc/changelog.xml (original)
+++ tomcat/trunk/modules/jdbc-pool/doc/changelog.xml Tue Nov 29 12:56:02 2011
@@ -31,6 +31,7 @@
 
   
 
+  1207712 Pool cleaner should be a global thread, not 
spawn one thread per connection pool. (fhanik) 
   1073531 50805 Only initialize connections 
once when async (fhanik)
   1076380 50857 Correctly handle timeouts when 
the pool is busy when async (fhanik)
   Added QueryTimeoutInterceptor to be able to configure timeouts on 
running queries automatically.



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



buildbot failure in ASF Buildbot on tomcat-7-trunk

2011-11-29 Thread buildbot
The Buildbot has detected a new failure on builder tomcat-7-trunk while 
building ASF Buildbot.
Full details are available at:
 http://ci.apache.org/builders/tomcat-7-trunk/builds/229

Buildbot URL: http://ci.apache.org/

Buildslave for this Build: bb-vm_ubuntu

Build Reason: scheduler
Build Source Stamp: [branch tomcat/tc7.0.x/trunk] 1207850
Blamelist: fhanik

BUILD FAILED: failed compile

sincerely,
 -The Buildbot





svn commit: r1207856 - /tomcat/tc7.0.x/trunk/modules/

2011-11-29 Thread fhanik
Author: fhanik
Date: Tue Nov 29 13:00:18 2011
New Revision: 1207856

URL: http://svn.apache.org/viewvc?rev=1207856&view=rev
Log:
maybe this time

Modified:
tomcat/tc7.0.x/trunk/modules/   (props changed)

Propchange: tomcat/tc7.0.x/trunk/modules/
--
--- svn:externals (original)
+++ svn:externals Tue Nov 29 13:00:18 2011
@@ -1 +1 @@
-^/tomcat/trunk/modules/jdbc-pool@1207712 modules/jdbc-pool
+^/tomcat/trunk/modules/jdbc-pool@1207712 jdbc-pool



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: svn commit: r1207856 - /tomcat/tc7.0.x/trunk/modules/

2011-11-29 Thread Filip Hanik Mailing Lists
svn propset svn:externals '^/tomcat/trunk/modules/jdbc-pool@1207712 jdbc-pool' 
modules

does that seem right?

- Original Message -
From: fha...@apache.org
To: dev@tomcat.apache.org
Sent: Tuesday, November 29, 2011 6:00:19 AM
Subject: svn commit: r1207856 - /tomcat/tc7.0.x/trunk/modules/

Author: fhanik
Date: Tue Nov 29 13:00:18 2011
New Revision: 1207856

URL: http://svn.apache.org/viewvc?rev=1207856&view=rev
Log:
maybe this time

Modified:
tomcat/tc7.0.x/trunk/modules/   (props changed)

Propchange: tomcat/tc7.0.x/trunk/modules/
--
--- svn:externals (original)
+++ svn:externals Tue Nov 29 13:00:18 2011
@@ -1 +1 @@
-^/tomcat/trunk/modules/jdbc-pool@1207712 modules/jdbc-pool
+^/tomcat/trunk/modules/jdbc-pool@1207712 jdbc-pool



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



buildbot success in ASF Buildbot on tomcat-7-trunk

2011-11-29 Thread buildbot
The Buildbot has detected a restored build on builder tomcat-7-trunk while 
building ASF Buildbot.
Full details are available at:
 http://ci.apache.org/builders/tomcat-7-trunk/builds/230

Buildbot URL: http://ci.apache.org/

Buildslave for this Build: bb-vm_ubuntu

Build Reason: scheduler
Build Source Stamp: [branch tomcat/tc7.0.x/trunk] 1207856
Blamelist: fhanik

Build succeeded!

sincerely,
 -The Buildbot





Re: [VOTE] Release build 6.0.35

2011-11-29 Thread Yoav Shapira
On Mon, Nov 28, 2011 at 6:30 AM, jean-frederic clere  wrote:
> The candidates binaries are available here:
> http://people.apache.org/~jfclere/tomcat-6/v6.0.35/
>
> According to the release process, the 6.0.35 build corresponding to the
> tag TOMCAT_6_0_35 is:
> [ ] Broken
> [ ] Alpha
> [ ] Beta
> [ X ] Stable

Stable, no major issues found, home-brewed app testing, no TCK run.

Yoav

>
> Cheers
>
> Jean-Frederic
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: dev-h...@tomcat.apache.org
>
>

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: svn commit: r1207856 - /tomcat/tc7.0.x/trunk/modules/

2011-11-29 Thread Konstantin Kolinko
2011/11/29 Filip Hanik Mailing Lists :
> svn propset svn:externals '^/tomcat/trunk/modules/jdbc-pool@1207712 
> jdbc-pool' modules
>
> does that seem right?

Yes.

If there were several externals there it would be easier to use a file
to pass the value:

cd tc7.0.x\trunk
svn propget svn:externals modules --strict >file.txt

Without --strict option above it adds an extra empty line at the end
of the file.
Edit the file and

svn propset svn:externals --file file.txt modules


To test it before committing:

svn up

That is if you do not have a GUI SVN client

Best regards,
Konstantin Kolinko


>
> - Original Message -
> From: fha...@apache.org
> To: dev@tomcat.apache.org
> Sent: Tuesday, November 29, 2011 6:00:19 AM
> Subject: svn commit: r1207856 - /tomcat/tc7.0.x/trunk/modules/
>
> Author: fhanik
> Date: Tue Nov 29 13:00:18 2011
> New Revision: 1207856
>
> URL: http://svn.apache.org/viewvc?rev=1207856&view=rev
> Log:
> maybe this time
>
> Modified:
>    tomcat/tc7.0.x/trunk/modules/   (props changed)
>
> Propchange: tomcat/tc7.0.x/trunk/modules/
> --
> --- svn:externals (original)
> +++ svn:externals Tue Nov 29 13:00:18 2011
> @@ -1 +1 @@
> -^/tomcat/trunk/modules/jdbc-pool@1207712 modules/jdbc-pool
> +^/tomcat/trunk/modules/jdbc-pool@1207712 jdbc-pool
>
>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: dev-h...@tomcat.apache.org
>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: dev-h...@tomcat.apache.org
>

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 52261] due to org.apache.jasper.compiler.TldLocationsCache.tldScanJar server throws java.lang.OutOfMemoryError: requested 33554440 bytes for Chunk::new. Out of swap

2011-11-29 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=52261

Pid  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID

--- Comment #2 from Pid  2011-11-29 14:38:15 UTC ---
Please join the Tomcat Users Mailing list and describe your problem there.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 52261] due to org.apache.jasper.compiler.TldLocationsCache.tldScanJar server throws java.lang.OutOfMemoryError: requested 33554440 bytes for Chunk::new. Out of swap

2011-11-29 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=52261

--- Comment #3 from hemant jaiswal  2011-11-29 14:54:38 UTC 
---
can you please tell me the mailid for subscription

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 52261] due to org.apache.jasper.compiler.TldLocationsCache.tldScanJar server throws java.lang.OutOfMemoryError: requested 33554440 bytes for Chunk::new. Out of swap

2011-11-29 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=52261

--- Comment #4 from Pid  2011-11-29 15:12:33 UTC ---
http://tomcat.apache.org/lists.html

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Re: [VOTE] Release build 6.0.35

2011-11-29 Thread Filip Hanik Mailing Lists
[X] Stable

Filip

- Original Message -
From: "jean-frederic clere" 
To: dev@tomcat.apache.org
Sent: Monday, November 28, 2011 4:30:37 AM
Subject: [VOTE] Release build 6.0.35

The candidates binaries are available here:
http://people.apache.org/~jfclere/tomcat-6/v6.0.35/

According to the release process, the 6.0.35 build corresponding to the
tag TOMCAT_6_0_35 is:
[ ] Broken
[ ] Alpha
[ ] Beta
[ ] Stable

Cheers

Jean-Frederic

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1207907 - /tomcat/maven-plugin/trunk/pom.xml

2011-11-29 Thread olamy
Author: olamy
Date: Tue Nov 29 15:26:38 2011
New Revision: 1207907

URL: http://svn.apache.org/viewvc?rev=1207907&view=rev
Log:
upgrade to tomcat 7.0.23

Modified:
tomcat/maven-plugin/trunk/pom.xml

Modified: tomcat/maven-plugin/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/pom.xml?rev=1207907&r1=1207906&r2=1207907&view=diff
==
--- tomcat/maven-plugin/trunk/pom.xml (original)
+++ tomcat/maven-plugin/trunk/pom.xml Tue Nov 29 15:26:38 2011
@@ -66,7 +66,7 @@
 2001
 
 2008
-7.0.22
+7.0.23
   
 
   



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1207930 - /tomcat/maven-plugin/trunk/pom.xml

2011-11-29 Thread olamy
Author: olamy
Date: Tue Nov 29 15:47:02 2011
New Revision: 1207930

URL: http://svn.apache.org/viewvc?rev=1207930&view=rev
Log:
use rat plugin 0.8

Modified:
tomcat/maven-plugin/trunk/pom.xml

Modified: tomcat/maven-plugin/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/pom.xml?rev=1207930&r1=1207929&r2=1207930&view=diff
==
--- tomcat/maven-plugin/trunk/pom.xml (original)
+++ tomcat/maven-plugin/trunk/pom.xml Tue Nov 29 15:47:02 2011
@@ -559,7 +559,7 @@
 
   org.apache.rat
   apache-rat-plugin
-  0.7
+  0.8
   
 
   .gitignore



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



Tomcat Maven Integration

2011-11-29 Thread Jörg Henke
Hi there,

just a question as I'm not familiar with tomcat developement and maven 
integration; I think this is a developement topic to be discussed or at least 
to be thought of.

Is it possible to make tomcat use its own maven repository inside? This would 
mean if I generate a war file to be deployed, I don't package the needed libs 
referenced in maven, for tomcat should provide them.

Then tomcat is to look into the war file, check the pom.xml and get the libs 
from maven repository itself to make sure that the web application can use the 
needed libs.

There might be conflicts between two releases of a lib; this must be handled by 
such a tomcat maven plugin. As the war defines the release version in its maven 
config file, tomcat is to be able to use the specified one instead of only 
looking for the right package.

The benefit would be smaller war files and only one lib for many projects.

So here again my question: is it possible to do it this way or, if not, is 
this "feature" to be implemented (at least as a module for tomcat)?

Thanks for any reply

Jörg Henke

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



[GUMP@vmgump]: Project tomcat-trunk-test (in module tomcat-trunk) failed

2011-11-29 Thread Bill Barker
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at gene...@gump.apache.org.

Project tomcat-trunk-test has an issue affecting its community integration.
This issue affects 1 projects.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- tomcat-trunk-test :  Tomcat 8.x, a web server implementing Java Servlet 
3.1,
...


Full details are available at:

http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-test/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Dependency on tomcat-trunk-dbcp exists, no need to add for property 
tomcat-dbcp-src.jar.
 -DEBUG- Dependency on commons-daemon exists, no need to add for property 
commons-daemon.native.src.tgz.
 -DEBUG- Dependency on commons-daemon exists, no need to add for property 
tomcat-native.tar.gz.
 -DEBUG- Dependency on tomcat-trunk-dbcp exists, no need to add for property 
tomcat-dbcp.home.
 -INFO- Failed with reason build failed
 -INFO- Project Reports in: 
/srv/gump/public/workspace/tomcat-trunk/output/build/logs



The following work was performed:
http://vmgump.apache.org/gump/public/tomcat-trunk/tomcat-trunk-test/gump_work/build_tomcat-trunk_tomcat-trunk-test.html
Work Name: build_tomcat-trunk_tomcat-trunk-test (Type: Build)
Work ended in a state of : Failed
Elapsed: 17 mins 26 secs
Command Line: /usr/lib/jvm/java-6-openjdk/bin/java -Djava.awt.headless=true 
-Dbuild.sysclasspath=only org.apache.tools.ant.Main 
-Dgump.merge=/srv/gump/public/gump/work/merge.xml 
-Djunit.jar=/srv/gump/public/workspace/junit/dist/junit-29112011.jar 
-Dcommons-daemon.native.src.tgz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-29112011-native-src.tar.gz
 
-Dtomcat-native.tar.gz=/srv/gump/public/workspace/apache-commons/daemon/dist/bin/commons-daemon-29112011-native-src.tar.gz
 -Dexamples.sources.skip=true 
-Dtomcat-dbcp.home=/srv/gump/public/workspace/tomcat-trunk/tomcat-deps 
-Djdt.jar=/srv/gump/packages/eclipse/plugins/org.eclipse.jdt.core_3.4.2/jdtcore.jar
 
-Dcommons-daemon.jar=/srv/gump/public/workspace/apache-commons/daemon/dist/commons-daemon-29112011.jar
 
-Dtomcat-dbcp-src.jar=/srv/gump/public/workspace/tomcat-trunk/tomcat-deps/tomcat-dbcp-src.jar
 -Dcommons-pool.home=/srv/gump/public/workspace/commons-pool-1.x 
-Dcommons-dbcp.home=/srv/gump/public/worksp
 ace/commons-dbcp-1.x 
-Dtomcat-dbcp.jar=/srv/gump/public/workspace/tomcat-trunk/tomcat-deps/tomcat-dbcp-29112011.jar
 test 
[Working Directory: /srv/gump/public/workspace/tomcat-trunk]
CLASSPATH: 
/usr/lib/jvm/java-6-openjdk/lib/tools.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/webapps/examples/WEB-INF/classes:/srv/gump/public/workspace/tomcat-trunk/output/testclasses:/srv/gump/public/workspace/ant/dist/lib/ant.jar:/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/srv/gump/public/workspace/ant/dist/lib/ant-junit.jar:/srv/gump/public/workspace/ant/dist/lib/ant-swing.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/srv/gump/public/workspace/ant/dist/lib/ant-apache-xalan2.jar:/srv/gump/public/workspace/xml-commons/java/build/resolver.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/bin/bootstrap.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/bin/tomcat-juli.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/annotations-api.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/servlet-api.jar:/srv/gump/public/workspace/tomcat-trunk/outp
 
ut/build/lib/jsp-api.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/el-api.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/catalina.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/catalina-ant.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/tomcat-coyote.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/jasper.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/jasper-el.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/catalina-tribes.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/catalina-ha.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/tomcat-api.jar:/srv/gump/public/workspace/tomcat-trunk/output/build/lib/tomcat-util.jar:/srv/gump/packages/javamail-1.4/mail.jar:/srv/gump/packages/javamail-1.4/lib/mailapi.jar:/srv/gump/packages/jaf-1.1ea/activation.jar:/srv/gump/packages/eclipse/plugins/org.eclipse.jdt.core_3.4.2/jdtcore.jar:/srv/gump/public/workspace/tomcat-tr
 
unk/tomcat-deps/tomcat-dbcp-29112011.jar:/srv/gump/public/workspace/apache-commons/daemon/dist/commons-daemon-29112011.jar:/srv/gump/public/workspace/junit/dist/junit-29112011.jar

Re: Tomcat Maven Integration

2011-11-29 Thread Mark Thomas
On 29/11/2011 15:57, Jörg Henke wrote:
> Hi there,
> 
> just a question as I'm not familiar with tomcat developement and maven 
> integration; I think this is a developement topic to be discussed or at least 
> to be thought of.
> 
> Is it possible to make tomcat use its own maven repository inside? This would 
> mean if I generate a war file to be deployed, I don't package the needed libs 
> referenced in maven, for tomcat should provide them.
> 
> Then tomcat is to look into the war file, check the pom.xml and get the libs 
> from maven repository itself to make sure that the web application can use 
> the 
> needed libs.
> 
> There might be conflicts between two releases of a lib; this must be handled 
> by 
> such a tomcat maven plugin. As the war defines the release version in its 
> maven 
> config file, tomcat is to be able to use the specified one instead of only 
> looking for the right package.
> 
> The benefit would be smaller war files and only one lib for many projects.
> 
> So here again my question: is it possible to do it this way or, if not, is 
> this "feature" to be implemented (at least as a module for tomcat)?

There is currently no such feature.

There are currently no plans to implement such a feature.

Dependency resolution is a non-trivial problem that Maven has already
solved and I'd rather not see all that functionality copied into Tomcat.

Shared JARs are notoriously problematic. Much better to have one JAR per
webapp. The memory savings are rarely worth the hassle (although you can
configure Tomcat with a shared classloader if you wish).

In terms of reducing JWAR size, while Tomcat can't resolve dependencies,
you could use [1] to pick up JARs from a local repository (which could
result in shared JARs on disk but not in memory) rather than packaging
them per application. The dependency resolution could still be done at
build time with the build tool configuring [1] rather than adding JARs
to WEB-INf/lib. This

Mark

[1]
http://tomcat.apache.org/tomcat-7.0-doc/config/loader.html#VirtualWebappLoader_Implementation

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1208026 - /tomcat/trunk/modules/jdbc-pool/

2011-11-29 Thread markt
Author: markt
Date: Tue Nov 29 19:07:19 2011
New Revision: 1208026

URL: http://svn.apache.org/viewvc?rev=1208026&view=rev
Log:
Remove unnecessary external from trunk for jdbc-pool

Modified:
tomcat/trunk/modules/jdbc-pool/   (props changed)

Propchange: tomcat/trunk/modules/jdbc-pool/
('svn:externals' removed)



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



DO NOT REPLY [Bug 52259] synchonization issues and dead lock if no realm is presented in configuration

2011-11-29 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=52259

--- Comment #6 from Mark Thomas  2011-11-29 19:10:23 UTC ---
Good to see that the users mailing list has done its job and we now have a
valid bug report. Thanks are due to Michael Zampani who took the time to do
some investigation and provided the necessary steps to reproduce the issue as
well as a potential work-around.

This appears to be a regression caused by the new threaded deployment (bug
46264).

The syncs in ContainerBase all need to be reviewed as there may be other
potential deadlock triggers.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1208045 - /tomcat/trunk/modules/jdbc-pool/doc/jdbc-pool.xml

2011-11-29 Thread markt
Author: markt
Date: Tue Nov 29 19:47:21 2011
New Revision: 1208045

URL: http://svn.apache.org/viewvc?rev=1208045&view=rev
Log:
Remove trailing whitespace

Modified:
tomcat/trunk/modules/jdbc-pool/doc/jdbc-pool.xml

Modified: tomcat/trunk/modules/jdbc-pool/doc/jdbc-pool.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/modules/jdbc-pool/doc/jdbc-pool.xml?rev=1208045&r1=1208044&r2=1208045&view=diff
==
--- tomcat/trunk/modules/jdbc-pool/doc/jdbc-pool.xml (original)
+++ tomcat/trunk/modules/jdbc-pool/doc/jdbc-pool.xml Tue Nov 29 19:47:21 2011
@@ -818,7 +818,7 @@
   
 
 
-  The system is structured for a Maven build, but does generate release 
artifacts. Just the library itself.
+  The system is structured for a Maven build, but does generate release 
artifacts. Just the library itself.
 
   
 



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1208046 - in /tomcat/trunk/java/org/apache/catalina/core: ContainerBase.java StandardContext.java

2011-11-29 Thread markt
Author: markt
Date: Tue Nov 29 19:48:04 2011
New Revision: 1208046

URL: http://svn.apache.org/viewvc?rev=1208046&view=rev
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=52259
Regression caused by bug 46264. Prevent deadlock if no Realm is
configured.

Modified:
tomcat/trunk/java/org/apache/catalina/core/ContainerBase.java
tomcat/trunk/java/org/apache/catalina/core/StandardContext.java

Modified: tomcat/trunk/java/org/apache/catalina/core/ContainerBase.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/core/ContainerBase.java?rev=1208046&r1=1208045&r2=1208046&view=diff
==
--- tomcat/trunk/java/org/apache/catalina/core/ContainerBase.java (original)
+++ tomcat/trunk/java/org/apache/catalina/core/ContainerBase.java Tue Nov 29 
19:48:04 2011
@@ -33,6 +33,9 @@ import java.util.concurrent.Future;
 import java.util.concurrent.LinkedBlockingQueue;
 import java.util.concurrent.ThreadPoolExecutor;
 import java.util.concurrent.TimeUnit;
+import java.util.concurrent.locks.Lock;
+import java.util.concurrent.locks.ReadWriteLock;
+import java.util.concurrent.locks.ReentrantReadWriteLock;
 
 import javax.management.ObjectName;
 import javax.naming.directory.DirContext;
@@ -234,10 +237,15 @@ public abstract class ContainerBase exte
 /**
  * The Realm with which this Container is associated.
  */
-protected Realm realm = null;
+private volatile Realm realm = null;
 
 
 /**
+ * Lock used to control access to the Realm.
+ */
+private ReadWriteLock realmLock = new ReentrantReadWriteLock();
+
+/**
  * The resources DirContext object with which this Container is associated.
  */
 protected DirContext resources = null;
@@ -695,11 +703,17 @@ public abstract class ContainerBase exte
 @Override
 public Realm getRealm() {
 
-if (realm != null)
-return (realm);
-if (parent != null)
-return (parent.getRealm());
-return (null);
+Lock l = realmLock.readLock();
+try {
+l.lock();
+if (realm != null)
+return (realm);
+if (parent != null)
+return (parent.getRealm());
+return (null);
+} finally {
+l.unlock();
+}
 
 }
 
@@ -710,38 +724,46 @@ public abstract class ContainerBase exte
  * @param realm The newly associated Realm
  */
 @Override
-public synchronized void setRealm(Realm realm) {
+public void setRealm(Realm realm) {
 
-// Change components if necessary
-Realm oldRealm = this.realm;
-if (oldRealm == realm)
-return;
-this.realm = realm;
+Lock l = realmLock.writeLock();
 
-// Stop the old component if necessary
-if (getState().isAvailable() && (oldRealm != null) &&
-(oldRealm instanceof Lifecycle)) {
-try {
-((Lifecycle) oldRealm).stop();
-} catch (LifecycleException e) {
-log.error("ContainerBase.setRealm: stop: ", e);
+try {
+l.lock();
+
+// Change components if necessary
+Realm oldRealm = realm;
+if (oldRealm == realm)
+return;
+this.realm = realm;
+
+// Stop the old component if necessary
+if (getState().isAvailable() && (oldRealm != null) &&
+(oldRealm instanceof Lifecycle)) {
+try {
+((Lifecycle) oldRealm).stop();
+} catch (LifecycleException e) {
+log.error("ContainerBase.setRealm: stop: ", e);
+}
 }
-}
 
-// Start the new component if necessary
-if (realm != null)
-realm.setContainer(this);
-if (getState().isAvailable() && (realm != null) &&
-(realm instanceof Lifecycle)) {
-try {
-((Lifecycle) realm).start();
-} catch (LifecycleException e) {
-log.error("ContainerBase.setRealm: start: ", e);
+// Start the new component if necessary
+if (realm != null)
+realm.setContainer(this);
+if (getState().isAvailable() && (realm != null) &&
+(realm instanceof Lifecycle)) {
+try {
+((Lifecycle) realm).start();
+} catch (LifecycleException e) {
+log.error("ContainerBase.setRealm: start: ", e);
+}
 }
-}
 
-// Report this property change to interested listeners
-support.firePropertyChange("realm", oldRealm, this.realm);
+// Report this property change to interested listeners
+support.firePropertyChange("realm", oldRealm, this.realm);
+} finally {
+l.unlock();
+}
 

svn commit: r1208049 - in /tomcat/tc7.0.x/trunk: ./ java/org/apache/catalina/core/ContainerBase.java java/org/apache/catalina/core/StandardContext.java webapps/docs/changelog.xml

2011-11-29 Thread markt
Author: markt
Date: Tue Nov 29 19:59:09 2011
New Revision: 1208049

URL: http://svn.apache.org/viewvc?rev=1208049&view=rev
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=52259
Regression caused by bug 46264. Prevent deadlock if no Realm is
configured.

Modified:
tomcat/tc7.0.x/trunk/   (props changed)
tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/ContainerBase.java
tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/StandardContext.java
tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml

Propchange: tomcat/tc7.0.x/trunk/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Tue Nov 29 19:59:09 2011
@@ -1 +1 @@
-/tomcat/trunk:1156115,1156171,1156276,1156304,1156519,1156530,1156602,1157015,1157018,1157151,1157198,1157204,1157810,1157832,1157834,1157847,1157908,1157939,1158155,1158160,1158176,1158195,1158198-1158199,1158227,1158331,1158334-1158335,1158426,1160347,1160592,1160611,1160619,1160626,1160639,1160652,1160720-1160721,1160772,1160774,1160776,1161303,1161310,1161322,1161339,1161486,1161540,1161549,1161584,1162082,1162149,1162169,1162721,1162769,1162836,1162932,1163630,1164419,1164438,1164469,1164480,1164567,1165234,1165247-1165248,1165253,1165273,1165282,1165309,1165331,1165338,1165347,1165360-1165361,1165367-1165368,1165602,1165608,1165677,1165693,1165721,1165723,1165728,1165730,1165738,1165746,1165765,1165777,1165918,1165921,1166077,1166150-1166151,1166290,1166366,1166620,1166686,1166693,1166752,1166757,1167368,1167394,1169447,1170647,1171692,1172233-1172234,1172236,1172269,1172278,1172282,1172556,1172610,1172664,1172689,1172711,1173020-1173021,1173082,1173088,1173090,1173096
 
,1173241,1173256,1173288,117,1173342,1173461,1173614,1173630,1173659,1173722,1174061,1174239,1174322,1174325,1174329-1174330,1174337-1174339,1174343,1174353,1174799,1174882,1174884,1174983,1175155,1175158,1175167,1175182,1175190,1175201,1175272,1175275,1175283,1175582,1175589-1175590,1175594,1175602,1175613,1175633,1175690,1175713,1175798,1175889,1175896,1175907,1176584,1176590,1176799,1177050,1177060,1177125,1177152,1177160,1177245,1177850,1177862,1177978,1178209,1178228,1178233,1178449,1178542,1178681,1178684,1178721,1179268,1179274,1180261,1180865,1180891,1180894,1180907,1181028,1181123,1181125,1181136,1181291,1181743,1182796,1183078,1183105,1183142,1183328,1183339-1183340,1183492-1183494,1183605,1184917,1184919,1185018,1185020,1185200,1185588,1185626,1185756,1185758,1186011,1186042-1186045,1186104,1186123,1186137,1186153,1186254,1186257,1186377-1186379,1186479-1186480,1186712,1186743,1186750,1186763,1186890-1186892,1186894,1186949,1187018,1187027-1187028,1187381,1187
 
753,1187755,1187775,1187801,1187806,1187809,1187827,1188301,1188303-1188305,1188399,1188822,1188930-1188931,1189116,1189129,1189183,1189240,1189256,1189386,1189413-1189414,1189477,1189685,1189805,1189857,1189864,1189882,1190034,1190185,1190279,1190339,1190371,1190388-1190389,1190474,1190481,1194915,1195222-1195223,1195531,1195899,1195905,1195943,1195949,1195953,1195955,1195965,1195968,1196175,1196212,1196223,1196304-1196305,1196735,1196825,1196827,1197158,1197261,1197263,1197299-1197300,1197305,1197339-1197340,1197343,1197382,1197386-1197387,1197480,1197578,1198497,1198528,1198552,1198602,1198604,1198607,1198622,1198640,1198696,1198707,1199418,1199432,1199436,1199513,1199529,1199980,116,1200056,1200089,1200106-1200107,1200263,1200316,1200320,1200398-1200399,1200445-1200446,1200555,1200627,1200696,1200725,1200937,1200941,1201069,1201087,1201180,1201235-1201237,1201508,1201521,1201542,1201545-1201546,1201548,1201555-1201556,1201568,1201576,1201608,1201921-1201922,1201931,1
 
202035,1202039,1202271,1202565,1202578,1202705,1202828,1202860,1203047-1203052,1203078,1203091,1203253,1203278,1204182,1204856,1204867,1204936,1204938,1204982,1205033,1205065,1205082,1205097,1205112,1206200,1207692
+/tomcat/trunk:1156115,1156171,1156276,1156304,1156519,1156530,1156602,1157015,1157018,1157151,1157198,1157204,1157810,1157832,1157834,1157847,1157908,1157939,1158155,1158160,1158176,1158195,1158198-1158199,1158227,1158331,1158334-1158335,1158426,1160347,1160592,1160611,1160619,1160626,1160639,1160652,1160720-1160721,1160772,1160774,1160776,1161303,1161310,1161322,1161339,1161486,1161540,1161549,1161584,1162082,1162149,1162169,1162721,1162769,1162836,1162932,1163630,1164419,1164438,1164469,1164480,1164567,1165234,1165247-1165248,1165253,1165273,1165282,1165309,1165331,1165338,1165347,1165360-1165361,1165367-1165368,1165602,1165608,1165677,1165693,1165721,1165723,1165728,1165730,1165738,1165746,1165765,1165777,1165918,1165921,1166077,1166150-1166151,1166290,1166366,1166620,1166686,1166693,1166752,1166757,1167368,1167394,1169447,1170647,1171692,1172233-1172234,1172236,1172269,1172278,1172282,1172556,1172610,1172664,1172689,1172711,1173020-1173021,1173082,1173088,1173090,1173096
 
,1173241,1173256,1173288,117,1173342,1173461,1173614,1173630,1173659,1173722,1174061,11742

DO NOT REPLY [Bug 52259] synchonization issues and dead lock if no realm is presented in configuration

2011-11-29 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=52259

Mark Thomas  changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||FIXED

--- Comment #7 from Mark Thomas  2011-11-29 19:59:28 UTC ---
Fixed in trunk and 7.0.x and will be included in 7.0.24 onwards.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1208073 - /tomcat/trunk/java/org/apache/catalina/core/ContainerBase.java

2011-11-29 Thread markt
Author: markt
Date: Tue Nov 29 21:20:21 2011
New Revision: 1208073

URL: http://svn.apache.org/viewvc?rev=1208073&view=rev
Log:
Fix copy paste error in BZ 52259 fix

Modified:
tomcat/trunk/java/org/apache/catalina/core/ContainerBase.java

Modified: tomcat/trunk/java/org/apache/catalina/core/ContainerBase.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/core/ContainerBase.java?rev=1208073&r1=1208072&r2=1208073&view=diff
==
--- tomcat/trunk/java/org/apache/catalina/core/ContainerBase.java (original)
+++ tomcat/trunk/java/org/apache/catalina/core/ContainerBase.java Tue Nov 29 
21:20:21 2011
@@ -732,7 +732,7 @@ public abstract class ContainerBase exte
 l.lock();
 
 // Change components if necessary
-Realm oldRealm = realm;
+Realm oldRealm = this.realm;
 if (oldRealm == realm)
 return;
 this.realm = realm;



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1208076 - in /tomcat/tc7.0.x/trunk: ./ java/org/apache/catalina/core/ContainerBase.java

2011-11-29 Thread markt
Author: markt
Date: Tue Nov 29 21:23:12 2011
New Revision: 1208076

URL: http://svn.apache.org/viewvc?rev=1208076&view=rev
Log:
Fix copy paste error in BZ 52259 fix

Modified:
tomcat/tc7.0.x/trunk/   (props changed)
tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/ContainerBase.java

Propchange: tomcat/tc7.0.x/trunk/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Tue Nov 29 21:23:12 2011
@@ -1 +1 @@
-/tomcat/trunk:1156115,1156171,1156276,1156304,1156519,1156530,1156602,1157015,1157018,1157151,1157198,1157204,1157810,1157832,1157834,1157847,1157908,1157939,1158155,1158160,1158176,1158195,1158198-1158199,1158227,1158331,1158334-1158335,1158426,1160347,1160592,1160611,1160619,1160626,1160639,1160652,1160720-1160721,1160772,1160774,1160776,1161303,1161310,1161322,1161339,1161486,1161540,1161549,1161584,1162082,1162149,1162169,1162721,1162769,1162836,1162932,1163630,1164419,1164438,1164469,1164480,1164567,1165234,1165247-1165248,1165253,1165273,1165282,1165309,1165331,1165338,1165347,1165360-1165361,1165367-1165368,1165602,1165608,1165677,1165693,1165721,1165723,1165728,1165730,1165738,1165746,1165765,1165777,1165918,1165921,1166077,1166150-1166151,1166290,1166366,1166620,1166686,1166693,1166752,1166757,1167368,1167394,1169447,1170647,1171692,1172233-1172234,1172236,1172269,1172278,1172282,1172556,1172610,1172664,1172689,1172711,1173020-1173021,1173082,1173088,1173090,1173096
 
,1173241,1173256,1173288,117,1173342,1173461,1173614,1173630,1173659,1173722,1174061,1174239,1174322,1174325,1174329-1174330,1174337-1174339,1174343,1174353,1174799,1174882,1174884,1174983,1175155,1175158,1175167,1175182,1175190,1175201,1175272,1175275,1175283,1175582,1175589-1175590,1175594,1175602,1175613,1175633,1175690,1175713,1175798,1175889,1175896,1175907,1176584,1176590,1176799,1177050,1177060,1177125,1177152,1177160,1177245,1177850,1177862,1177978,1178209,1178228,1178233,1178449,1178542,1178681,1178684,1178721,1179268,1179274,1180261,1180865,1180891,1180894,1180907,1181028,1181123,1181125,1181136,1181291,1181743,1182796,1183078,1183105,1183142,1183328,1183339-1183340,1183492-1183494,1183605,1184917,1184919,1185018,1185020,1185200,1185588,1185626,1185756,1185758,1186011,1186042-1186045,1186104,1186123,1186137,1186153,1186254,1186257,1186377-1186379,1186479-1186480,1186712,1186743,1186750,1186763,1186890-1186892,1186894,1186949,1187018,1187027-1187028,1187381,1187
 
753,1187755,1187775,1187801,1187806,1187809,1187827,1188301,1188303-1188305,1188399,1188822,1188930-1188931,1189116,1189129,1189183,1189240,1189256,1189386,1189413-1189414,1189477,1189685,1189805,1189857,1189864,1189882,1190034,1190185,1190279,1190339,1190371,1190388-1190389,1190474,1190481,1194915,1195222-1195223,1195531,1195899,1195905,1195943,1195949,1195953,1195955,1195965,1195968,1196175,1196212,1196223,1196304-1196305,1196735,1196825,1196827,1197158,1197261,1197263,1197299-1197300,1197305,1197339-1197340,1197343,1197382,1197386-1197387,1197480,1197578,1198497,1198528,1198552,1198602,1198604,1198607,1198622,1198640,1198696,1198707,1199418,1199432,1199436,1199513,1199529,1199980,116,1200056,1200089,1200106-1200107,1200263,1200316,1200320,1200398-1200399,1200445-1200446,1200555,1200627,1200696,1200725,1200937,1200941,1201069,1201087,1201180,1201235-1201237,1201508,1201521,1201542,1201545-1201546,1201548,1201555-1201556,1201568,1201576,1201608,1201921-1201922,1201931,1
 
202035,1202039,1202271,1202565,1202578,1202705,1202828,1202860,1203047-1203052,1203078,1203091,1203253,1203278,1204182,1204856,1204867,1204936,1204938,1204982,1205033,1205065,1205082,1205097,1205112,1206200,1207692,1208046
+/tomcat/trunk:1156115,1156171,1156276,1156304,1156519,1156530,1156602,1157015,1157018,1157151,1157198,1157204,1157810,1157832,1157834,1157847,1157908,1157939,1158155,1158160,1158176,1158195,1158198-1158199,1158227,1158331,1158334-1158335,1158426,1160347,1160592,1160611,1160619,1160626,1160639,1160652,1160720-1160721,1160772,1160774,1160776,1161303,1161310,1161322,1161339,1161486,1161540,1161549,1161584,1162082,1162149,1162169,1162721,1162769,1162836,1162932,1163630,1164419,1164438,1164469,1164480,1164567,1165234,1165247-1165248,1165253,1165273,1165282,1165309,1165331,1165338,1165347,1165360-1165361,1165367-1165368,1165602,1165608,1165677,1165693,1165721,1165723,1165728,1165730,1165738,1165746,1165765,1165777,1165918,1165921,1166077,1166150-1166151,1166290,1166366,1166620,1166686,1166693,1166752,1166757,1167368,1167394,1169447,1170647,1171692,1172233-1172234,1172236,1172269,1172278,1172282,1172556,1172610,1172664,1172689,1172711,1173020-1173021,1173082,1173088,1173090,1173096
 
,1173241,1173256,1173288,117,1173342,1173461,1173614,1173630,1173659,1173722,1174061,1174239,1174322,1174325,1174329-1174330,1174337-1174339,1174343,1174353,1174799,1174882,1174884,1174983,1175155,1175158,1175167,1175182,1175190,1175201,1175272,1175275,1175283,1175582,1175589-1175590,1175594,1175602,1175613,1

svn commit: r1208096 - in /tomcat/trunk/java/org/apache/catalina/core: ContainerBase.java StandardContext.java

2011-11-29 Thread markt
Author: markt
Date: Tue Nov 29 21:57:04 2011
New Revision: 1208096

URL: http://svn.apache.org/viewvc?rev=1208096&view=rev
Log:
Retain thread safety for ContainerBase.realm but don't try and
start/stop it multiple times

Modified:
tomcat/trunk/java/org/apache/catalina/core/ContainerBase.java
tomcat/trunk/java/org/apache/catalina/core/StandardContext.java

Modified: tomcat/trunk/java/org/apache/catalina/core/ContainerBase.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/core/ContainerBase.java?rev=1208096&r1=1208095&r2=1208096&view=diff
==
--- tomcat/trunk/java/org/apache/catalina/core/ContainerBase.java (original)
+++ tomcat/trunk/java/org/apache/catalina/core/ContainerBase.java Tue Nov 29 
21:57:04 2011
@@ -710,14 +710,23 @@ public abstract class ContainerBase exte
 return (realm);
 if (parent != null)
 return (parent.getRealm());
-return (null);
+return null;
 } finally {
 l.unlock();
 }
-
 }
 
 
+protected Realm getRealmInternal() {
+Lock l = realmLock.readLock();
+try {
+l.lock();
+return realm;
+} finally {
+l.unlock();
+}
+}
+
 /**
  * Set the Realm with which this Container is associated.
  *
@@ -1082,7 +1091,7 @@ public abstract class ContainerBase exte
 ((Lifecycle) manager).start();
 if ((cluster != null) && (cluster instanceof Lifecycle))
 ((Lifecycle) cluster).start();
-Realm realm = getRealm();
+Realm realm = getRealmInternal();
 if ((realm != null) && (realm instanceof Lifecycle))
 ((Lifecycle) realm).start();
 if ((resources != null) && (resources instanceof Lifecycle))
@@ -1169,7 +1178,7 @@ public abstract class ContainerBase exte
 if ((resources != null) && (resources instanceof Lifecycle)) {
 ((Lifecycle) resources).stop();
 }
-Realm realm = getRealm();
+Realm realm = getRealmInternal();
 if ((realm != null) && (realm instanceof Lifecycle)) {
 ((Lifecycle) realm).stop();
 }
@@ -1321,7 +1330,7 @@ public abstract class ContainerBase exte
 
log.warn(sm.getString("containerBase.backgroundProcess.manager", manager), e);
 }
 }
-Realm realm = getRealm();
+Realm realm = getRealmInternal();
 if (realm != null) {
 try {
 realm.backgroundProcess();

Modified: tomcat/trunk/java/org/apache/catalina/core/StandardContext.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/core/StandardContext.java?rev=1208096&r1=1208095&r2=1208096&view=diff
==
--- tomcat/trunk/java/org/apache/catalina/core/StandardContext.java (original)
+++ tomcat/trunk/java/org/apache/catalina/core/StandardContext.java Tue Nov 29 
21:57:04 2011
@@ -5033,7 +5033,7 @@ public class StandardContext extends Con
 
 if ((cluster != null) && (cluster instanceof Lifecycle))
 ((Lifecycle) cluster).start();
-Realm realm = getRealm();
+Realm realm = getRealmInternal();
 if ((realm != null) && (realm instanceof Lifecycle))
 ((Lifecycle) realm).start();
 if ((resources != null) && (resources instanceof Lifecycle))
@@ -5380,7 +5380,7 @@ public class StandardContext extends Con
 // Stop resources
 resourcesStop();
 
-Realm realm = getRealm();
+Realm realm = getRealmInternal();
 if ((realm != null) && (realm instanceof Lifecycle)) {
 ((Lifecycle) realm).stop();
 }
@@ -5445,7 +5445,7 @@ public class StandardContext extends Con
 if ((manager != null) && (manager instanceof Lifecycle)) {
 ((Lifecycle) manager).destroy();
 }
-Realm realm = getRealm();
+Realm realm = getRealmInternal();
 if ((realm != null) && (realm instanceof Lifecycle)) {
 ((Lifecycle) realm).destroy();
 }



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1208106 - in /tomcat/tc7.0.x/trunk: ./ java/org/apache/catalina/core/ContainerBase.java java/org/apache/catalina/core/StandardContext.java

2011-11-29 Thread markt
Author: markt
Date: Tue Nov 29 22:00:10 2011
New Revision: 1208106

URL: http://svn.apache.org/viewvc?rev=1208106&view=rev
Log:
Retain thread safety for ContainerBase.realm but don't try and start/stop it 
multiple times

Modified:
tomcat/tc7.0.x/trunk/   (props changed)
tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/ContainerBase.java
tomcat/tc7.0.x/trunk/java/org/apache/catalina/core/StandardContext.java

Propchange: tomcat/tc7.0.x/trunk/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Tue Nov 29 22:00:10 2011
@@ -1 +1 @@
-/tomcat/trunk:1156115,1156171,1156276,1156304,1156519,1156530,1156602,1157015,1157018,1157151,1157198,1157204,1157810,1157832,1157834,1157847,1157908,1157939,1158155,1158160,1158176,1158195,1158198-1158199,1158227,1158331,1158334-1158335,1158426,1160347,1160592,1160611,1160619,1160626,1160639,1160652,1160720-1160721,1160772,1160774,1160776,1161303,1161310,1161322,1161339,1161486,1161540,1161549,1161584,1162082,1162149,1162169,1162721,1162769,1162836,1162932,1163630,1164419,1164438,1164469,1164480,1164567,1165234,1165247-1165248,1165253,1165273,1165282,1165309,1165331,1165338,1165347,1165360-1165361,1165367-1165368,1165602,1165608,1165677,1165693,1165721,1165723,1165728,1165730,1165738,1165746,1165765,1165777,1165918,1165921,1166077,1166150-1166151,1166290,1166366,1166620,1166686,1166693,1166752,1166757,1167368,1167394,1169447,1170647,1171692,1172233-1172234,1172236,1172269,1172278,1172282,1172556,1172610,1172664,1172689,1172711,1173020-1173021,1173082,1173088,1173090,1173096
 
,1173241,1173256,1173288,117,1173342,1173461,1173614,1173630,1173659,1173722,1174061,1174239,1174322,1174325,1174329-1174330,1174337-1174339,1174343,1174353,1174799,1174882,1174884,1174983,1175155,1175158,1175167,1175182,1175190,1175201,1175272,1175275,1175283,1175582,1175589-1175590,1175594,1175602,1175613,1175633,1175690,1175713,1175798,1175889,1175896,1175907,1176584,1176590,1176799,1177050,1177060,1177125,1177152,1177160,1177245,1177850,1177862,1177978,1178209,1178228,1178233,1178449,1178542,1178681,1178684,1178721,1179268,1179274,1180261,1180865,1180891,1180894,1180907,1181028,1181123,1181125,1181136,1181291,1181743,1182796,1183078,1183105,1183142,1183328,1183339-1183340,1183492-1183494,1183605,1184917,1184919,1185018,1185020,1185200,1185588,1185626,1185756,1185758,1186011,1186042-1186045,1186104,1186123,1186137,1186153,1186254,1186257,1186377-1186379,1186479-1186480,1186712,1186743,1186750,1186763,1186890-1186892,1186894,1186949,1187018,1187027-1187028,1187381,1187
 
753,1187755,1187775,1187801,1187806,1187809,1187827,1188301,1188303-1188305,1188399,1188822,1188930-1188931,1189116,1189129,1189183,1189240,1189256,1189386,1189413-1189414,1189477,1189685,1189805,1189857,1189864,1189882,1190034,1190185,1190279,1190339,1190371,1190388-1190389,1190474,1190481,1194915,1195222-1195223,1195531,1195899,1195905,1195943,1195949,1195953,1195955,1195965,1195968,1196175,1196212,1196223,1196304-1196305,1196735,1196825,1196827,1197158,1197261,1197263,1197299-1197300,1197305,1197339-1197340,1197343,1197382,1197386-1197387,1197480,1197578,1198497,1198528,1198552,1198602,1198604,1198607,1198622,1198640,1198696,1198707,1199418,1199432,1199436,1199513,1199529,1199980,116,1200056,1200089,1200106-1200107,1200263,1200316,1200320,1200398-1200399,1200445-1200446,1200555,1200627,1200696,1200725,1200937,1200941,1201069,1201087,1201180,1201235-1201237,1201508,1201521,1201542,1201545-1201546,1201548,1201555-1201556,1201568,1201576,1201608,1201921-1201922,1201931,1
 
202035,1202039,1202271,1202565,1202578,1202705,1202828,1202860,1203047-1203052,1203078,1203091,1203253,1203278,1204182,1204856,1204867,1204936,1204938,1204982,1205033,1205065,1205082,1205097,1205112,1206200,1207692,1208046,1208073
+/tomcat/trunk:1156115,1156171,1156276,1156304,1156519,1156530,1156602,1157015,1157018,1157151,1157198,1157204,1157810,1157832,1157834,1157847,1157908,1157939,1158155,1158160,1158176,1158195,1158198-1158199,1158227,1158331,1158334-1158335,1158426,1160347,1160592,1160611,1160619,1160626,1160639,1160652,1160720-1160721,1160772,1160774,1160776,1161303,1161310,1161322,1161339,1161486,1161540,1161549,1161584,1162082,1162149,1162169,1162721,1162769,1162836,1162932,1163630,1164419,1164438,1164469,1164480,1164567,1165234,1165247-1165248,1165253,1165273,1165282,1165309,1165331,1165338,1165347,1165360-1165361,1165367-1165368,1165602,1165608,1165677,1165693,1165721,1165723,1165728,1165730,1165738,1165746,1165765,1165777,1165918,1165921,1166077,1166150-1166151,1166290,1166366,1166620,1166686,1166693,1166752,1166757,1167368,1167394,1169447,1170647,1171692,1172233-1172234,1172236,1172269,1172278,1172282,1172556,1172610,1172664,1172689,1172711,1173020-1173021,1173082,1173088,1173090,1173096
 
,1173241,1173256,1173288,117,1173342,1173461,1173614,1173630,1173659,1173722,1174061,1174239,1174322,1174325,1174329-1174330,1174337-1174339,1174343,1174353,1174799,11748

svn commit: r1208114 - /tomcat/trunk/java/org/apache/tomcat/util/net/AbstractEndpoint.java

2011-11-29 Thread markt
Author: markt
Date: Tue Nov 29 22:32:32 2011
New Revision: 1208114

URL: http://svn.apache.org/viewvc?rev=1208114&view=rev
Log:
Fix unlocking of the acceptor thread when a random port is used

Modified:
tomcat/trunk/java/org/apache/tomcat/util/net/AbstractEndpoint.java

Modified: tomcat/trunk/java/org/apache/tomcat/util/net/AbstractEndpoint.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/net/AbstractEndpoint.java?rev=1208114&r1=1208113&r2=1208114&view=diff
==
--- tomcat/trunk/java/org/apache/tomcat/util/net/AbstractEndpoint.java 
(original)
+++ tomcat/trunk/java/org/apache/tomcat/util/net/AbstractEndpoint.java Tue Nov 
29 22:32:32 2011
@@ -475,9 +475,9 @@ public abstract class AbstractEndpoint {
 try {
 // Need to create a connection to unlock the accept();
 if (address == null) {
-saddr = new InetSocketAddress("localhost", getPort());
+saddr = new InetSocketAddress("localhost", getLocalPort());
 } else {
-saddr = new InetSocketAddress(address,getPort());
+saddr = new InetSocketAddress(address, getLocalPort());
 }
 s = new java.net.Socket();
 int stmo = 2 * 1000;



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1208115 - in /tomcat/tc7.0.x/trunk: ./ java/org/apache/tomcat/util/net/AbstractEndpoint.java

2011-11-29 Thread markt
Author: markt
Date: Tue Nov 29 22:33:23 2011
New Revision: 1208115

URL: http://svn.apache.org/viewvc?rev=1208115&view=rev
Log:
Fix unlocking of the acceptor thread when a random port is used

Modified:
tomcat/tc7.0.x/trunk/   (props changed)
tomcat/tc7.0.x/trunk/java/org/apache/tomcat/util/net/AbstractEndpoint.java

Propchange: tomcat/tc7.0.x/trunk/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Tue Nov 29 22:33:23 2011
@@ -1 +1 @@
-/tomcat/trunk:1156115,1156171,1156276,1156304,1156519,1156530,1156602,1157015,1157018,1157151,1157198,1157204,1157810,1157832,1157834,1157847,1157908,1157939,1158155,1158160,1158176,1158195,1158198-1158199,1158227,1158331,1158334-1158335,1158426,1160347,1160592,1160611,1160619,1160626,1160639,1160652,1160720-1160721,1160772,1160774,1160776,1161303,1161310,1161322,1161339,1161486,1161540,1161549,1161584,1162082,1162149,1162169,1162721,1162769,1162836,1162932,1163630,1164419,1164438,1164469,1164480,1164567,1165234,1165247-1165248,1165253,1165273,1165282,1165309,1165331,1165338,1165347,1165360-1165361,1165367-1165368,1165602,1165608,1165677,1165693,1165721,1165723,1165728,1165730,1165738,1165746,1165765,1165777,1165918,1165921,1166077,1166150-1166151,1166290,1166366,1166620,1166686,1166693,1166752,1166757,1167368,1167394,1169447,1170647,1171692,1172233-1172234,1172236,1172269,1172278,1172282,1172556,1172610,1172664,1172689,1172711,1173020-1173021,1173082,1173088,1173090,1173096
 
,1173241,1173256,1173288,117,1173342,1173461,1173614,1173630,1173659,1173722,1174061,1174239,1174322,1174325,1174329-1174330,1174337-1174339,1174343,1174353,1174799,1174882,1174884,1174983,1175155,1175158,1175167,1175182,1175190,1175201,1175272,1175275,1175283,1175582,1175589-1175590,1175594,1175602,1175613,1175633,1175690,1175713,1175798,1175889,1175896,1175907,1176584,1176590,1176799,1177050,1177060,1177125,1177152,1177160,1177245,1177850,1177862,1177978,1178209,1178228,1178233,1178449,1178542,1178681,1178684,1178721,1179268,1179274,1180261,1180865,1180891,1180894,1180907,1181028,1181123,1181125,1181136,1181291,1181743,1182796,1183078,1183105,1183142,1183328,1183339-1183340,1183492-1183494,1183605,1184917,1184919,1185018,1185020,1185200,1185588,1185626,1185756,1185758,1186011,1186042-1186045,1186104,1186123,1186137,1186153,1186254,1186257,1186377-1186379,1186479-1186480,1186712,1186743,1186750,1186763,1186890-1186892,1186894,1186949,1187018,1187027-1187028,1187381,1187
 
753,1187755,1187775,1187801,1187806,1187809,1187827,1188301,1188303-1188305,1188399,1188822,1188930-1188931,1189116,1189129,1189183,1189240,1189256,1189386,1189413-1189414,1189477,1189685,1189805,1189857,1189864,1189882,1190034,1190185,1190279,1190339,1190371,1190388-1190389,1190474,1190481,1194915,1195222-1195223,1195531,1195899,1195905,1195943,1195949,1195953,1195955,1195965,1195968,1196175,1196212,1196223,1196304-1196305,1196735,1196825,1196827,1197158,1197261,1197263,1197299-1197300,1197305,1197339-1197340,1197343,1197382,1197386-1197387,1197480,1197578,1198497,1198528,1198552,1198602,1198604,1198607,1198622,1198640,1198696,1198707,1199418,1199432,1199436,1199513,1199529,1199980,116,1200056,1200089,1200106-1200107,1200263,1200316,1200320,1200398-1200399,1200445-1200446,1200555,1200627,1200696,1200725,1200937,1200941,1201069,1201087,1201180,1201235-1201237,1201508,1201521,1201542,1201545-1201546,1201548,1201555-1201556,1201568,1201576,1201608,1201921-1201922,1201931,1
 
202035,1202039,1202271,1202565,1202578,1202705,1202828,1202860,1203047-1203052,1203078,1203091,1203253,1203278,1204182,1204856,1204867,1204936,1204938,1204982,1205033,1205065,1205082,1205097,1205112,1206200,1207692,1208046,1208073,1208096
+/tomcat/trunk:1156115,1156171,1156276,1156304,1156519,1156530,1156602,1157015,1157018,1157151,1157198,1157204,1157810,1157832,1157834,1157847,1157908,1157939,1158155,1158160,1158176,1158195,1158198-1158199,1158227,1158331,1158334-1158335,1158426,1160347,1160592,1160611,1160619,1160626,1160639,1160652,1160720-1160721,1160772,1160774,1160776,1161303,1161310,1161322,1161339,1161486,1161540,1161549,1161584,1162082,1162149,1162169,1162721,1162769,1162836,1162932,1163630,1164419,1164438,1164469,1164480,1164567,1165234,1165247-1165248,1165253,1165273,1165282,1165309,1165331,1165338,1165347,1165360-1165361,1165367-1165368,1165602,1165608,1165677,1165693,1165721,1165723,1165728,1165730,1165738,1165746,1165765,1165777,1165918,1165921,1166077,1166150-1166151,1166290,1166366,1166620,1166686,1166693,1166752,1166757,1167368,1167394,1169447,1170647,1171692,1172233-1172234,1172236,1172269,1172278,1172282,1172556,1172610,1172664,1172689,1172711,1173020-1173021,1173082,1173088,1173090,1173096
 
,1173241,1173256,1173288,117,1173342,1173461,1173614,1173630,1173659,1173722,1174061,1174239,1174322,1174325,1174329-1174330,1174337-1174339,1174343,1174353,1174799,1174882,1174884,1174983,1175155,1175158,1175167,1175182,1175190,1175201,1175272,1175275,1175283,1

DO NOT REPLY [Bug 52263] New: static membership cluster fails to establish membership

2011-11-29 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=52263

 Bug #: 52263
   Summary: static membership cluster fails to establish
membership
   Product: Tomcat 7
   Version: 7.0.23
  Platform: PC
OS/Version: Linux
Status: NEW
  Severity: normal
  Priority: P3
 Component: Cluster
AssignedTo: dev@tomcat.apache.org
ReportedBy: lme...@vmware.com
Classification: Unclassified


Created attachment 28003
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=28003
server.xml with cluster config for node 1

I used the same cluster configuration to establish a cluster with static
membership under tomcat 6.0 and 7.0. The configuration works fine under 6.0.33,
but under 7.0.22 and 7.0.23 it appears that membership cannot be established;
on all nodes I receive the following message for my distributed webapp:

org.apache.catalina.ha.session.DeltaManager startInternal
INFO: Register manager localhost#/petcare to cluster element Engine with name
Catalina
org.apache.catalina.ha.session.DeltaManager startInternal
INFO: Starting clustering manager at localhost#/petcare
org.apache.catalina.ha.session.DeltaManager getAllClusterSessions
INFO: Manager [localhost#/petcare]: skipping state transfer. No members active
in cluster group.

There are no errors or warnings; it seems the cluster just isn't formed.

I'm attaching a server.xml for one node (others are copies with obvious
modifications).

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



buildbot success in ASF Buildbot on tomcat-trunk

2011-11-29 Thread buildbot
The Buildbot has detected a restored build on builder tomcat-trunk while 
building ASF Buildbot.
Full details are available at:
 http://ci.apache.org/builders/tomcat-trunk/builds/2558

Buildbot URL: http://ci.apache.org/

Buildslave for this Build: bb-vm_ubuntu

Build Reason: scheduler
Build Source Stamp: [branch tomcat/trunk] 1208114
Blamelist: markt

Build succeeded!

sincerely,
 -The Buildbot





DO NOT REPLY [Bug 44264] Clustering - Support for disabling multicasting and adding only static members

2011-11-29 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=44264

--- Comment #1 from Luke Meyer  2011-11-29 23:14:59 UTC ---
You can disable multicasting with channelStartOptions="3" on the Cluster
element:



Static membership is a little tricky though. See my example config on
https://issues.apache.org/bugzilla/show_bug.cgi?id=52263 (it works w/ Tomcat 6,
anyway)

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.

-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1208145 - /tomcat/trunk/test/org/apache/tomcat/util/net/TestXxxEndpoint.java

2011-11-29 Thread markt
Author: markt
Date: Tue Nov 29 23:44:03 2011
New Revision: 1208145

URL: http://svn.apache.org/viewvc?rev=1208145&view=rev
Log:
Fix failing test for APR now random ports are used by default

Modified:
tomcat/trunk/test/org/apache/tomcat/util/net/TestXxxEndpoint.java

Modified: tomcat/trunk/test/org/apache/tomcat/util/net/TestXxxEndpoint.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/tomcat/util/net/TestXxxEndpoint.java?rev=1208145&r1=1208144&r2=1208145&view=diff
==
--- tomcat/trunk/test/org/apache/tomcat/util/net/TestXxxEndpoint.java (original)
+++ tomcat/trunk/test/org/apache/tomcat/util/net/TestXxxEndpoint.java Tue Nov 
29 23:44:03 2011
@@ -118,10 +118,10 @@ public class TestXxxEndpoint extends Tom
 File appDir = new File(getBuildDirectory(), "webapps/examples");
 tomcat.addWebapp(null, "/examples", appDir.getAbsolutePath());
 
-int port = getPort();
-
 tomcat.start();
 
+int port = getPort();
+
 tomcat.getConnector().stop();
 Exception e = null;
 ServerSocket s = null;



-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org



svn commit: r1208148 - in /tomcat/tc7.0.x/trunk: ./ test/org/apache/tomcat/util/net/TestXxxEndpoint.java

2011-11-29 Thread markt
Author: markt
Date: Tue Nov 29 23:46:07 2011
New Revision: 1208148

URL: http://svn.apache.org/viewvc?rev=1208148&view=rev
Log:
Fix failing test for APR now random ports are used by default

Modified:
tomcat/tc7.0.x/trunk/   (props changed)
tomcat/tc7.0.x/trunk/test/org/apache/tomcat/util/net/TestXxxEndpoint.java

Propchange: tomcat/tc7.0.x/trunk/
--
--- svn:mergeinfo (original)
+++ svn:mergeinfo Tue Nov 29 23:46:07 2011
@@ -1 +1 @@
-/tomcat/trunk:1156115,1156171,1156276,1156304,1156519,1156530,1156602,1157015,1157018,1157151,1157198,1157204,1157810,1157832,1157834,1157847,1157908,1157939,1158155,1158160,1158176,1158195,1158198-1158199,1158227,1158331,1158334-1158335,1158426,1160347,1160592,1160611,1160619,1160626,1160639,1160652,1160720-1160721,1160772,1160774,1160776,1161303,1161310,1161322,1161339,1161486,1161540,1161549,1161584,1162082,1162149,1162169,1162721,1162769,1162836,1162932,1163630,1164419,1164438,1164469,1164480,1164567,1165234,1165247-1165248,1165253,1165273,1165282,1165309,1165331,1165338,1165347,1165360-1165361,1165367-1165368,1165602,1165608,1165677,1165693,1165721,1165723,1165728,1165730,1165738,1165746,1165765,1165777,1165918,1165921,1166077,1166150-1166151,1166290,1166366,1166620,1166686,1166693,1166752,1166757,1167368,1167394,1169447,1170647,1171692,1172233-1172234,1172236,1172269,1172278,1172282,1172556,1172610,1172664,1172689,1172711,1173020-1173021,1173082,1173088,1173090,1173096
 
,1173241,1173256,1173288,117,1173342,1173461,1173614,1173630,1173659,1173722,1174061,1174239,1174322,1174325,1174329-1174330,1174337-1174339,1174343,1174353,1174799,1174882,1174884,1174983,1175155,1175158,1175167,1175182,1175190,1175201,1175272,1175275,1175283,1175582,1175589-1175590,1175594,1175602,1175613,1175633,1175690,1175713,1175798,1175889,1175896,1175907,1176584,1176590,1176799,1177050,1177060,1177125,1177152,1177160,1177245,1177850,1177862,1177978,1178209,1178228,1178233,1178449,1178542,1178681,1178684,1178721,1179268,1179274,1180261,1180865,1180891,1180894,1180907,1181028,1181123,1181125,1181136,1181291,1181743,1182796,1183078,1183105,1183142,1183328,1183339-1183340,1183492-1183494,1183605,1184917,1184919,1185018,1185020,1185200,1185588,1185626,1185756,1185758,1186011,1186042-1186045,1186104,1186123,1186137,1186153,1186254,1186257,1186377-1186379,1186479-1186480,1186712,1186743,1186750,1186763,1186890-1186892,1186894,1186949,1187018,1187027-1187028,1187381,1187
 
753,1187755,1187775,1187801,1187806,1187809,1187827,1188301,1188303-1188305,1188399,1188822,1188930-1188931,1189116,1189129,1189183,1189240,1189256,1189386,1189413-1189414,1189477,1189685,1189805,1189857,1189864,1189882,1190034,1190185,1190279,1190339,1190371,1190388-1190389,1190474,1190481,1194915,1195222-1195223,1195531,1195899,1195905,1195943,1195949,1195953,1195955,1195965,1195968,1196175,1196212,1196223,1196304-1196305,1196735,1196825,1196827,1197158,1197261,1197263,1197299-1197300,1197305,1197339-1197340,1197343,1197382,1197386-1197387,1197480,1197578,1198497,1198528,1198552,1198602,1198604,1198607,1198622,1198640,1198696,1198707,1199418,1199432,1199436,1199513,1199529,1199980,116,1200056,1200089,1200106-1200107,1200263,1200316,1200320,1200398-1200399,1200445-1200446,1200555,1200627,1200696,1200725,1200937,1200941,1201069,1201087,1201180,1201235-1201237,1201508,1201521,1201542,1201545-1201546,1201548,1201555-1201556,1201568,1201576,1201608,1201921-1201922,1201931,1
 
202035,1202039,1202271,1202565,1202578,1202705,1202828,1202860,1203047-1203052,1203078,1203091,1203253,1203278,1204182,1204856,1204867,1204936,1204938,1204982,1205033,1205065,1205082,1205097,1205112,1206200,1207692,1208046,1208073,1208096,1208114
+/tomcat/trunk:1156115,1156171,1156276,1156304,1156519,1156530,1156602,1157015,1157018,1157151,1157198,1157204,1157810,1157832,1157834,1157847,1157908,1157939,1158155,1158160,1158176,1158195,1158198-1158199,1158227,1158331,1158334-1158335,1158426,1160347,1160592,1160611,1160619,1160626,1160639,1160652,1160720-1160721,1160772,1160774,1160776,1161303,1161310,1161322,1161339,1161486,1161540,1161549,1161584,1162082,1162149,1162169,1162721,1162769,1162836,1162932,1163630,1164419,1164438,1164469,1164480,1164567,1165234,1165247-1165248,1165253,1165273,1165282,1165309,1165331,1165338,1165347,1165360-1165361,1165367-1165368,1165602,1165608,1165677,1165693,1165721,1165723,1165728,1165730,1165738,1165746,1165765,1165777,1165918,1165921,1166077,1166150-1166151,1166290,1166366,1166620,1166686,1166693,1166752,1166757,1167368,1167394,1169447,1170647,1171692,1172233-1172234,1172236,1172269,1172278,1172282,1172556,1172610,1172664,1172689,1172711,1173020-1173021,1173082,1173088,1173090,1173096
 
,1173241,1173256,1173288,117,1173342,1173461,1173614,1173630,1173659,1173722,1174061,1174239,1174322,1174325,1174329-1174330,1174337-1174339,1174343,1174353,1174799,1174882,1174884,1174983,1175155,1175158,1175167,1175182,1175190,1175201,1175272,1175275,1175

Tomcat server crash problem

2011-11-29 Thread Tanvir Ahmed
Can any one tell me is there is a memory limit for Tomcat 5.0.27? I use 32-bit 
OS. When my tomcat use more then 2GB of memoery is is being crashed. How can i 
increase this memory limit? or please tell me why this happening? 

RE: Tomcat server crash problem

2011-11-29 Thread Caldarale, Charles R
> From: Tanvir Ahmed [mailto:tanvir_cs...@yahoo.com] 
> Subject: Tomcat server crash problem

> Can any one tell me is there is a memory limit for Tomcat 5.0.27?
 
A) This is not a topic for the developers list.

B) Your question has already been answered on the users list today.

C) Your Tomcat version has not been supported for quite some time.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


-
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org