[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-1003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13557089#comment-13557089
 ] 

Pradeep Soundararajan commented on CLOUDSTACK-1003:
---------------------------------------------------

This is a run time exception not found during any build or package. 

I guess, it could be because of API-refactoring. There are some codes have been 
merged to master during that activity. 

I have noticed client/tomcatconf/components.xml.in has been changed recently.  
I guess, the issue could be because of that. Also, I have noticed the file 
StaticRoleBasedAPIAccessChecker.java is touched because of that refactoring.
         <adapters key="com.cloud.acl.APIAccessChecker">
-            <adapter name="StaticRoleBasedAPIAccessChecker" 
class="com.cloud.acl.StaticRoleBasedAPIAccessChecker"/>
+            <adapter name="StaticRoleBasedAPIAccessChecker" 
class="org.apache.cloudstack.acl.StaticRoleBasedAPIAccessChecker"/>

I am not sure whether the codes has been tested properly before it delivered to 
asf/master.

We should be assigning this defect to the respective developer.
                
> Failed to start management server with master build
> ---------------------------------------------------
>
>                 Key: CLOUDSTACK-1003
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1003
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: API, Install and Setup
>    Affects Versions: 4.1.0
>         Environment: Centos 6.0.3
>            Reporter: Rayees Namathponnan
>            Assignee: Pradeep Soundararajan
>            Priority: Blocker
>         Attachments: catalina.out
>
>
> Observed below error in MS log
> INFO  [cloud.server.ConfigurationServerImpl] (main:) Processing 
> updateSSLKeyStore
> INFO  [cloud.server.ConfigurationServerImpl] (main:) SSL keystore located at 
> /etc/cloud/management/cloud.keystore
> INFO  [cloud.server.ConfigurationServerImpl] (main:) Processing updateKeyPairs
> INFO  [cloud.server.ConfigurationServerImpl] (main:) Systemvm keypairs not 
> found in database. Need to store them in the database
> INFO  [cloud.server.ConfigurationServerImpl] (main:) Going to update systemvm 
> iso with generated keypairs if needed
> INFO  [utils.component.ComponentLocator] (main:) Config file found at 
> /etc/cloud/management/components.xml.  Configuring management-server
> INFO  [utils.component.ComponentLocator] (main:) Found component: 
> com.cloud.configuration.dao.ConfigurationDao in 
> com.cloud.configuration.dao.ConfigurationDaoImpl - Configuration 
> configuration server
> ERROR [utils.component.ComponentLocator] (main:) Unable to load configuration 
> for management-server from components.xml
> com.cloud.utils.exception.CloudRuntimeException: Unable to find class: 
> org.apache.cloudstack.acl.StaticRoleBasedAPIAccessChecker
>       at 
> com.cloud.utils.component.ComponentLocator$XmlHandler.fillInfo(ComponentLocator.java:1028)
>       at 
> com.cloud.utils.component.ComponentLocator$XmlHandler.startElement(ComponentLocator.java:1089)
>       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)

--
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

Reply via email to