Hi,

I was trying to fix "ES 1.2.0 Pack randomly hangs on server start up".[01]

While tying to fix above issue, I compared debug logs and observed that
server caused to hang-up when
"org.wso2.carbon.tomcat.ext.servlet.DelegationServlet" is not activated.

Compared debug logs are as bellow.

------------------------------- Log snippet when server continued to start
sucesfully---------------

TID: [0] [ES] [2014-07-06 16:50:09,297] DEBUG
{org.apache.axiom.om.util.StAXUtils} -  XMLStreamReader is
org.apache.axiom.util.stax.dialect.SJSXPStreamReaderWrapper
{org.apache.axiom.om.util.StAXUtils}
TID: [0] [ES] [2014-07-06 16:50:09,302] DEBUG
{org.wso2.carbon.user.mgt.permission.ManagementPermissionsAdder} -  Adding
permissions in bundleorg.wso2.carbon.webapp.mgt
{org.wso2.carbon.user.mgt.permission.ManagementPermissionsAdder}
TID: [0] [ES] [2014-07-06 16:50:09,302] DEBUG
{org.apache.axiom.om.util.StAXUtils} -  XMLStreamReader is
org.apache.axiom.util.stax.dialect.SJSXPStreamReaderWrapper
{org.apache.axiom.om.util.StAXUtils}
TID: [0] [ES] [2014-07-06 16:50:09,307] DEBUG
{org.wso2.jaggery.scxml.internal.RealmServiceComponent} -  Obtained realm
service. {org.wso2.jaggery.scxml.internal.RealmServiceComponent}
TID: [0] [ES] [2014-07-06 16:50:09,311] DEBUG
{org.wso2.carbon.policy.internal.Activator} -  ********* Security secpolicy
**** {org.wso2.carbon.policy.internal.Activator}
*TID: [0] [ES] [2014-07-06 16:50:11,974] DEBUG
{org.wso2.carbon.tomcat.ext.servlet.DelegationServlet} -  within the init
method of DelegationServlet
{org.wso2.carbon.tomcat.ext.servlet.DelegationServlet}*
TID: [0] [ES] [2014-07-06 16:50:12,164] DEBUG
{org.wso2.carbon.core.init.CarbonServerManager} -  Starting Carbon
initialization... {org.wso2.carbon.core.init.CarbonServerManager}
TID: [0] [ES] [2014-07-06 16:50:12,168] DEBUG
{org.apache.axiom.om.util.StAXUtils} -  XMLStreamReader is
org.apache.axiom.util.stax.dialect.SJSXPStreamReaderWrapper
{org.apache.axiom.om.util.StAXUtils}
.....

------------------------------- Logs snippet when server randomly hang-up
---------------

TID: [0] [ES] [2014-07-06 16:41:40,772] DEBUG
{org.apache.axiom.om.util.StAXUtils} -  XMLStreamReader is
org.apache.axiom.util.stax.dialect.SJSXPStreamReaderWrapper
{org.apache.axiom.om.util.StAXUtils}
TID: [0] [ES] [2014-07-06 16:41:40,775] DEBUG
{org.wso2.jaggery.scxml.internal.RealmServiceComponent} -  Obtained realm
service. {org.wso2.jaggery.scxml.internal.RealmServiceComponent}
TID: [0] [ES] [2014-07-06 16:41:40,779] DEBUG
{org.wso2.carbon.policy.internal.Activator} -  ********* Security secpolicy
**** {org.wso2.carbon.policy.internal.Activator}
TID: [0] [ES] [2014-07-06 16:42:07,983] DEBUG
{org.wso2.carbon.caching.impl.CacheCleanupTask} -  Cache expiry scheduler
running... {org.wso2.carbon.caching.impl.CacheCleanupTask}
TID: [0] [ES] [2014-07-06 16:42:07,984] DEBUG
{org.wso2.carbon.caching.impl.CacheImpl} -  Cache:Claim.Cache,
entry:Invalidate.Cache.Key, lastAccessed: Sun Jul 06 16:41:39 IST 2014,
lastModified: Sun Jul 06 16:41:39 IST 2014
{org.wso2.carbon.caching.impl.CacheImpl}
TID: [0] [ES] [2014-07-06 16:42:07,985] DEBUG
{org.wso2.carbon.caching.impl.CacheImpl} -  Cache:PERMISSION_CACHE,
entry:org.wso2.carbon.user.core.authorization.PermissionTreeCacheKey@675471,
lastAccessed: Sun Jul 06 16:41:40 IST 2014, lastModified: Sun Jul 06
16:41:39 IST 2014 {org.wso2.carbon.caching.impl.CacheImpl}
TID: [0] [ES] [2014-07-06 16:42:07,985] DEBUG
{org.wso2.carbon.caching.impl.CacheImpl} -  Cache:REG_PATH_CACHE,
entry:org.wso2.carbon.registry.core.caching.RegistryCacheKey@89615645,
lastAccessed: Sun Jul 06 16:41:40 IST 2014, lastModified: Sun Jul 06
16:41:40 IST 2014 {org.wso2.carbon.caching.impl.CacheImpl}
TID: [0] [ES] [2014-07-06 16:42:07,985] DEBUG
{org.wso2.carbon.caching.impl.CacheImpl} -  Cache:REG_PATH_CACHE,
entry:org.wso2.carbon.registry.core.caching.RegistryCacheKey@18e25946,
lastAccessed: Sun Jul 06 16:41:40 IST 2014, lastModified: Sun Jul 06
16:41:40 IST 2014 {org.wso2.carbon.caching.impl.CacheImpl}
....

Above issue is observed in Carbon 4.3.0.

According to the observations, this severer hang-up is caused when
*org.wso2.carbon.tomcat.ext.servlet.DelegationServlet.init()
*is not executed. (i.e org.wso2.carbon.tomcat.ext is not active)

[01] https://wso2.org/jira/browse/STORE-451

-- 
*Ayesha Dissanayaka*
Software Engineer,
WSO2, Inc : http://wso2.com
<http://www.google.com/url?q=http%3A%2F%2Fwso2.com&sa=D&sntz=1&usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg>
20, Palmgrove Avenue, Colombo 3
E-Mail: [email protected] <[email protected]>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to