Author: rwatler Date: Wed Oct 21 17:33:36 2009 New Revision: 828115 URL: http://svn.apache.org/viewvc?rev=828115&view=rev Log: concurrent site view access and update deadlock patch
Modified: portals/jetspeed-2/portal/branches/JETSPEED-2.1.3-POSTRELEASE/components/portal-site/src/java/org/apache/jetspeed/portalsite/impl/PortalSiteSessionContextImpl.java Modified: portals/jetspeed-2/portal/branches/JETSPEED-2.1.3-POSTRELEASE/components/portal-site/src/java/org/apache/jetspeed/portalsite/impl/PortalSiteSessionContextImpl.java URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/branches/JETSPEED-2.1.3-POSTRELEASE/components/portal-site/src/java/org/apache/jetspeed/portalsite/impl/PortalSiteSessionContextImpl.java?rev=828115&r1=828114&r2=828115&view=diff ============================================================================== --- portals/jetspeed-2/portal/branches/JETSPEED-2.1.3-POSTRELEASE/components/portal-site/src/java/org/apache/jetspeed/portalsite/impl/PortalSiteSessionContextImpl.java (original) +++ portals/jetspeed-2/portal/branches/JETSPEED-2.1.3-POSTRELEASE/components/portal-site/src/java/org/apache/jetspeed/portalsite/impl/PortalSiteSessionContextImpl.java Wed Oct 21 17:33:36 2009 @@ -850,10 +850,11 @@ synchronized (this) { view = siteView; - createView = ((view = null) && (pageManager != null) && (profileLocators != null)); + createView = ((view == null) && (pageManager != null) && (profileLocators != null)); } // create new site view if necessary + boolean viewCreated = false; if (createView) { // create site view outside of synchronized state; this is --------------------------------------------------------------------- To unsubscribe, e-mail: jetspeed-dev-unsubscr...@portals.apache.org For additional commands, e-mail: jetspeed-dev-h...@portals.apache.org