You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "shweta agarwal (JIRA)" <ji...@apache.org> on 2014/07/16 13:43:04 UTC
[jira] [Created] (CLOUDSTACK-7117) on restarting MS getting tomcat
error http 404
shweta agarwal created CLOUDSTACK-7117:
------------------------------------------
Summary: on restarting MS getting tomcat error http 404
Key: CLOUDSTACK-7117
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7117
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: Management Server
Affects Versions: 4.5.0
Reporter: shweta agarwal
Priority: Blocker
Fix For: 4.5.0
Repro steps :
Created a advance zone with KVM host
when system vms are up restart the MS
Bug:
On accessing MS http://10.147.40.27:8080/client getting error
HTTP Status 404 -
type Status report
message
description The requested resource () is not available.
catalina .out shows :
Jul 16, 2014 7:32:19 AM org.apache.axis2.deployment.ServiceDeployer deploy
INFO: Deploying Web service: cloud-ec2.aar - file:/usr/share/cloudstack-management/webapps7080/awsapi/WEB-INF/services/cloud-ec2.aar
Jul 16, 2014 7:32:19 AM org.apache.axis2.util.OnDemandLogger warn
WARNING: No transportReceiver for org.apache.axis2.transport.http.AxisServletListener found. An instance for HTTP will be configured automatically. Please update your axis2.xml file!
Jul 16, 2014 7:32:19 AM org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor <init>
INFO: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
Jul 16, 2014 7:32:19 AM org.apache.coyote.http11.Http11NioProtocol start
INFO: Starting Coyote HTTP/1.1 on http-7080
Jul 16, 2014 7:32:19 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 22385 ms
Jul 16, 2014 7:32:21 AM org.apache.catalina.loader.WebappClassLoader loadClass
INFO: Illegal access: this web application instance has been stopped already. Could not load org.apache.cloudstack.managed.context.ManagedContextTimerTask$1. The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
java.lang.IllegalStateException
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1370)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1329)
at org.apache.cloudstack.managed.context.ManagedContextTimerTask.run(ManagedContextTimerTask.java:27)
at java.util.TimerThread.mainLoop(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)
Exception in thread "Timer-2" java.lang.NoClassDefFoundError: org/apache/cloudstack/managed/context/ManagedContextTimerTask$1
at org.apache.cloudstack.managed.context.ManagedContextTimerTask.run(ManagedContextTimerTask.java:27)
at java.util.TimerThread.mainLoop(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)
Caused by: java.lang.ClassNotFoundException: org.apache.cloudstack.managed.context.ManagedContextTimerTask$1
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1484)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1329)
... 3 more
Note :
When I did Restart MS without adding zone , MS worked fine and i didn't hit this error . Its only after adding zone and restarting MS I am hitting error.
--
This message was sent by Atlassian JIRA
(v6.2#6252)