Hi Folks,
I have been working on writing a test case for the device registration
use-case of EMM with Oracle Support.
When I built the product with the test, every thing ran well with a build
success message except
the server shutdown.
Following is the stack trace of it...
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader]
- [2015-01-06 14:03:25,696] ERROR
{org.apache.axis2.deployment.DeploymentEngine} - Error occurred while
cleaning up deployer
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader]
- org.apache.axis2.deployment.DeploymentException: Error occurred during
cleaning up webapps
............
............
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader]
- at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader]
- at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader]
- at java.lang.Thread.run(Thread.java:662)
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader]
- Caused by: org.wso2.carbon.CarbonException: Cannot lazy unload webapp
StandardEngine[Catalina].StandardHost[localhost].StandardContext[/store-admin]
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader]
- at
org.wso2.carbon.webapp.mgt.WebApplication.lazyUnload(WebApplication.java:379)
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader]
- at
org.wso2.carbon.webapp.mgt.WebApplication.lazyUnload(WebApplication.java:354)
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader]
- at
org.wso2.carbon.webapp.mgt.TomcatGenericWebappsDeployer.lazyUnload(TomcatGenericWebappsDeployer.java:379)
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader]
- at
org.wso2.carbon.webapp.mgt.AbstractWebappDeployer.cleanup(AbstractWebappDeployer.java:259)
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader]
- ... 44 more
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader]
- Caused by: org.apache.catalina.LifecycleException: Failed to stop
component
[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/store-admin]]
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader]
- at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:236)
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader]
- at
org.wso2.carbon.webapp.mgt.WebApplication.lazyUnload(WebApplication.java:365)
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader]
- ... 47 more
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader]
- Caused by: org.apache.catalina.LifecycleException: Failed to stop
component
[org.wso2.carbon.webapp.mgt.CarbonTomcatSessionManager[/store-admin]]
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader]
- at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:236)
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader]
- at
org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5474)
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader]
- at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader]
- ... 48 more
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader]
- Caused by: java.lang.SecurityException: Illegal access attempt by
tenant[-1] to sessions owned by tenant[-1234]
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader]
- at
org.wso2.carbon.webapp.mgt.CarbonTomcatSessionManager.checkAccess(CarbonTomcatSessionManager.java:126)
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader]
- at
org.wso2.carbon.webapp.mgt.CarbonTomcatSessionManager.findSessions(CarbonTomcatSessionManager.java:78)
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader]
- at
org.apache.catalina.session.StandardManager.stopInternal(StandardManager.java:525)
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader]
- at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader]
- ... 50 more
INFO [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader]
- [2015-01-06 14:03:25,734] ERROR
{org.wso2.carbon.tomcat.internal.ServerManager} - Error while stopping
tomcat
............
............
Any idea on why these errors pop up?
Appreciate your feedback on this.
Thanks.
*Dilan U. Ariyaratne*
Software Engineer
WSO2 Inc. <http://wso2.com/>
Mobile: +94775149066
lean . enterprise . middleware
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev