Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8EEBB18660 for ; Fri, 12 Jun 2015 10:23:03 +0000 (UTC) Received: (qmail 4449 invoked by uid 500); 12 Jun 2015 10:23:01 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 4424 invoked by uid 500); 12 Jun 2015 10:23:01 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 4414 invoked by uid 500); 12 Jun 2015 10:23:01 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 4411 invoked by uid 99); 12 Jun 2015 10:23:01 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Jun 2015 10:23:01 +0000 Date: Fri, 12 Jun 2015 10:23:01 +0000 (UTC) From: "shashikanth (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-7117) on restarting MS getting tomcat error http 404 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-7117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14583213#comment-14583213 ] shashikanth commented on CLOUDSTACK-7117: ----------------------------------------- What is the solution steps followed to resolve the issue > 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 > Assignee: Damodar Reddy T > Priority: Blocker > Fix For: 4.5.0 > > Attachments: log.tar.gz > > > 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 > 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.3.4#6332)