Hi,

There was an above issue with WebappAdmin Service in AS 5.0.1. But as
kishanthan said , I checked it with AS 5.0.2. It seems ok now.

thanks
harsha thirimanna

On Tue, Jan 29, 2013 at 4:49 PM, Harsha Thirimanna <[email protected]> wrote:

> Ok , I will check it.
> thanks
>
>
> On Tue, Jan 29, 2013 at 10:25 AM, Kishanthan Thangarajah <
> [email protected]> wrote:
>
>> This was fixed [1]. But i think the fix is not available with 4.0.2 but
>> with 4.0.5. Can you check with AS 5.0.2 pack?
>>
>> Kishanthan.
>> [1] https://wso2.org/jira/browse/WSAS-1105
>>
>>
>> On Mon, Jan 28, 2013 at 5:07 PM, Harsha Thirimanna <[email protected]>wrote:
>>
>>> Hi
>>>
>>> org.wso2.carbon.webapp.mgt_4.0.2
>>>
>>> wso2as-5.0.1
>>>
>>> thanks
>>> harsha thirimanna
>>>
>>>
>>> On Mon, Jan 28, 2013 at 4:56 PM, Supun Malinga <[email protected]> wrote:
>>>
>>>> Hi Harsha,
>>>>
>>>> Whats the version of webapp-mgt component/AS you are using?.
>>>> Please specify more info on the deployment setup..
>>>>
>>>> thanks,
>>>>
>>>>
>>>> On Mon, Jan 28, 2013 at 4:46 PM, Harsha Thirimanna <[email protected]>wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> In AppFactory , we deploy the Web Application that created from
>>>>> AppFactory to the Carbon Server in Development/Test/Production stages.
>>>>> After the deployement, we use the 'WebappAdmin'  service to get the
>>>>> meta data about the web application. It works perfectly.
>>>>>
>>>>> But if the Development/Test/Production servers  are in idle for more
>>>>> than around 1 hour, then  the WebappAdmin service always gives faulty
>>>>> status  to the web application.
>>>>>
>>>>> It doesn't give the correct status. If the Development/Test/Production
>>>>> servers restarted , it works then.
>>>>>
>>>>> This is the exception I got
>>>>>
>>>>>
>>>>> [2013-01-28 15:39:04,598] ERROR
>>>>> {org.wso2.carbon.webapp.mgt.AbstractWebappDeployer} -  Error occurred
>>>>> during cleaning up webapps
>>>>> org.wso2.carbon.CarbonException: Cannot lazy unload webapp
>>>>> StandardEngine[Catalina].StandardHost[localhost].StandardContext[/t/app2/webapps/app2-SNAPSHOT]
>>>>>     at
>>>>> org.wso2.carbon.webapp.mgt.WebApplication.lazyUnload(WebApplication.java:245)
>>>>>     at
>>>>> org.wso2.carbon.webapp.mgt.WebApplication.lazyUnload(WebApplication.java:224)
>>>>>     at
>>>>> org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer.lazyUnload(TomcatGenericWebappsDeployer.java:344)
>>>>>     at
>>>>> org.wso2.carbon.webapp.mgt.AbstractWebappDeployer.cleanup(AbstractWebappDeployer.java:171)
>>>>>     at
>>>>> org.apache.axis2.deployment.DeploymentEngine.cleanup(DeploymentEngine.java:1386)
>>>>>     at
>>>>> org.wso2.carbon.core.multitenancy.TenantAxisConfigurator.cleanup(TenantAxisConfigurator.java:508)
>>>>>     at
>>>>> org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.terminateTenantConfigContext(TenantAxisUtils.java:438)
>>>>>     at
>>>>> org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.cleanupTenants(TenantAxisUtils.java:397)
>>>>>     at
>>>>> org.wso2.carbon.core.multitenancy.MultitenantServerManager$TenantCleanupTask.run(MultitenantServerManager.java:73)
>>>>>     at
>>>>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
>>>>>     at
>>>>> java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
>>>>>     at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
>>>>>     at
>>>>> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
>>>>>     at
>>>>> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
>>>>>     at
>>>>> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
>>>>>     at
>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>>>>>     at
>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>>>>>     at java.lang.Thread.run(Thread.java:662)
>>>>> Caused by: org.apache.catalina.LifecycleException: Failed to stop
>>>>> component
>>>>> [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/t/app2/webapps/app2-SNAPSHOT]]
>>>>>     at
>>>>> org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:236)
>>>>>     at
>>>>> org.wso2.carbon.webapp.mgt.WebApplication.lazyUnload(WebApplication.java:233)
>>>>>     ... 17 more
>>>>> Caused by: org.apache.catalina.LifecycleException: Failed to stop
>>>>> component
>>>>> [org.wso2.carbon.webapp.mgt.CarbonTomcatSessionManager[/t/app2/webapps/app2-SNAPSHOT]]
>>>>>     at
>>>>> org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:236)
>>>>>     at
>>>>> org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5473)
>>>>>     at
>>>>> org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
>>>>>     ... 18 more
>>>>> Caused by: java.lang.SecurityException: Illegal access attempt by
>>>>> tenant[-1] to sessions owned by tenant[2]
>>>>>     at
>>>>> org.wso2.carbon.webapp.mgt.CarbonTomcatSessionManager.checkAccess(CarbonTomcatSessionManager.java:126)
>>>>>     at
>>>>> org.wso2.carbon.webapp.mgt.CarbonTomcatSessionManager.findSessions(CarbonTomcatSessionManager.java:78)
>>>>>     at
>>>>> org.apache.catalina.session.StandardManager.stopInternal(StandardManager.java:525)
>>>>>     at
>>>>> org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
>>>>>     ... 20 more
>>>>> [2013-01-28 15:39:04,602] ERROR
>>>>> {org.apache.axis2.deployment.DeploymentEngine} -  Error occurred while
>>>>> cleaning up deployer
>>>>> org.apache.axis2.deployment.DeploymentException: Error occurred during
>>>>> cleaning up webapps
>>>>>     at
>>>>> org.wso2.carbon.webapp.mgt.AbstractWebappDeployer.cleanup(AbstractWebappDeployer.java:175)
>>>>>     at
>>>>> org.apache.axis2.deployment.DeploymentEngine.cleanup(DeploymentEngine.java:1386)
>>>>>     at
>>>>> org.wso2.carbon.core.multitenancy.TenantAxisConfigurator.cleanup(TenantAxisConfigurator.java:508)
>>>>>     at
>>>>> org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.terminateTenantConfigContext(TenantAxisUtils.java:438)
>>>>>     at
>>>>> org.wso2.carbon.core.multitenancy.utils.TenantAxisUtils.cleanupTenants(TenantAxisUtils.java:397)
>>>>>     at
>>>>> org.wso2.carbon.core.multitenancy.MultitenantServerManager$TenantCleanupTask.run(MultitenantServerManager.java:73)
>>>>>     at
>>>>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
>>>>>     at
>>>>> java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
>>>>>     at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
>>>>>     at
>>>>> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
>>>>>     at
>>>>> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
>>>>>     at
>>>>> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
>>>>>     at
>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>>>>>     at
>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>>>>>     at java.lang.Thread.run(Thread.java:662)
>>>>> Caused by: org.wso2.carbon.CarbonException: Cannot lazy unload webapp
>>>>> StandardEngine[Catalina].StandardHost[localhost].StandardContext[/t/app2/webapps/app2-SNAPSHOT]
>>>>>     at
>>>>> org.wso2.carbon.webapp.mgt.WebApplication.lazyUnload(WebApplication.java:245)
>>>>>     at
>>>>> org.wso2.carbon.webapp.mgt.WebApplication.lazyUnload(WebApplication.java:224)
>>>>>     at
>>>>> org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer.lazyUnload(TomcatGenericWebappsDeployer.java:344)
>>>>>     at
>>>>> org.wso2.carbon.webapp.mgt.AbstractWebappDeployer.cleanup(AbstractWebappDeployer.java:171)
>>>>>     ... 14 more
>>>>> Caused by: org.apache.catalina.LifecycleException: Failed to stop
>>>>> component
>>>>> [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/t/app2/webapps/app2-SNAPSHOT]]
>>>>>     at
>>>>> org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:236)
>>>>>     at
>>>>> org.wso2.carbon.webapp.mgt.WebApplication.lazyUnload(WebApplication.java:233)
>>>>>     ... 17 more
>>>>> Caused by: org.apache.catalina.LifecycleException: Failed to stop
>>>>> component
>>>>> [org.wso2.carbon.webapp.mgt.CarbonTomcatSessionManager[/t/app2/webapps/app2-SNAPSHOT]]
>>>>>     at
>>>>> org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:236)
>>>>>     at
>>>>> org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5473)
>>>>>     at
>>>>> org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
>>>>>     ... 18 more
>>>>> Caused by: java.lang.SecurityException: Illegal access attempt by
>>>>> tenant[-1] to sessions owned by tenant[2]
>>>>>     at
>>>>> org.wso2.carbon.webapp.mgt.CarbonTomcatSessionManager.checkAccess(CarbonTomcatSessionManager.java:126)
>>>>>     at
>>>>> org.wso2.carbon.webapp.mgt.CarbonTomcatSessionManager.findSessions(CarbonTomcatSessionManager.java:78)
>>>>>     at
>>>>> org.apache.catalina.session.StandardManager.stopInternal(StandardManager.java:525)
>>>>>     at
>>>>> org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
>>>>>     ... 20 more
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Dev mailing list
>>>>> [email protected]
>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Supun Malinga,
>>>>
>>>> Software Engineer,
>>>> WSO2 Inc.
>>>> http://wso2.com
>>>> http://wso2.org
>>>> email - [email protected] <[email protected]>
>>>> mobile - 071 56 91 321
>>>>
>>>
>>>
>>
>>
>> --
>> *Kishanthan Thangarajah*
>> Software Engineer,
>> Development Technologies Team,
>> WSO2, Inc.
>> lean.enterprise.middleware
>>
>> Mobile - +94773426635
>> Blog - *http://kishanthan.wordpress.com*
>> Twitter - *http://twitter.com/kishanthan*
>>
>
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to