incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rohit Yadav (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CLOUDSTACK-1030) Failed to start management server due to com.cloud.utils.exception.CloudRuntimeException: Unable to find class: org.apache.cloudstack.discovery.ApiDiscoveryServiceImpl
Date Tue, 22 Jan 2013 18:30:13 GMT

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-1030?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rohit Yadav resolved CLOUDSTACK-1030.
-------------------------------------

    Resolution: Invalid
      Assignee: Rohit Yadav

Works for me, try again using latest build and reopen if that fails for you.

Also, it can be due to an incorrect jenkins build conf, mvn clean install -Dnonoss -P developer
should be run. mvn install can have issues.

INFO  [utils.component.ComponentLocator] (main:) Instantiating PluggableService: ApiRateLimitService
INFO  [utils.component.ComponentLocator] (main:) Instantiating PluggableService: ApiDiscoveryService
INFO  [cloudstack.discovery.ApiDiscoveryServiceImpl] (main:) Api Discovery Service: Annotation,
docstrings, api relation graph processed in 1248.754 ms
                
> Failed to start management server due to com.cloud.utils.exception.CloudRuntimeException:
Unable to find class: org.apache.cloudstack.discovery.ApiDiscoveryServiceImpl
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-1030
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1030
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server
>    Affects Versions: 4.1.0
>         Environment: Fresh Install using latest ASF master build : CloudStack-non-OSS-40-rhel6.3.tar.gz
>            Reporter: Sanjeev N
>            Assignee: Rohit Yadav
>            Priority: Blocker
>         Attachments: management-server.rar
>
>
> Failed to start management server with latest ASF build. Found following exception in
management server log file during cloud-setup-management :
> 2013-01-22 11:02:38,993 ERROR [utils.component.ComponentLocator] (main:null) Unable to
load configuration for management-server from components.xml
> com.cloud.utils.exception.CloudRuntimeException: Unable to find class: org.apache.cloudstack.discovery.ApiDiscoveryServiceImpl
>         at com.cloud.utils.component.ComponentLocator$XmlHandler.fillInfo(ComponentLocator.java:1028)
>         at com.cloud.utils.component.ComponentLocator$XmlHandler.startElement(ComponentLocator.java:1119)
>         at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
>         at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
>         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown
Source)
>         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
>         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
>         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
>         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
>         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
>         at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
>         at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
>         at javax.xml.parsers.SAXParser.parse(SAXParser.java:328)
>         at com.cloud.utils.component.ComponentLocator.parse2(ComponentLocator.java:178)
>         at com.cloud.utils.component.ComponentLocator.parse(ComponentLocator.java:265)
>         at com.cloud.utils.component.ComponentLocator.getLocatorInternal(ComponentLocator.java:867)
>         at com.cloud.utils.component.ComponentLocator.getLocator(ComponentLocator.java:905)
>         at com.cloud.servlet.CloudStartupServlet.init(CloudStartupServlet.java:48)
>         at javax.servlet.GenericServlet.init(GenericServlet.java:212)
>         at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)
>         at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)
>         at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4187)
>         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4496)
>         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
>         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
>         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
>         at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041)
>         at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964)
>         at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
>         at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
>         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
>         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
>         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
>         at org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
>         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
>         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
>         at org.apache.catalina.core.StandardService.start(StandardService.java:516)
>         at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
>         at org.apache.catalina.startup.Catalina.start(Catalina.java:593)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:616)
>         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
>         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
> Looks like cloud-plugin-api-discovery.jar is missing from build packaging.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message