cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan Kudryavtsev <kudryavtsev...@bw-sw.com>
Subject CloudStack 4.10 Ubuntu on 16.04 is broken
Date Tue, 31 Oct 2017 10:34:19 GMT
Hi, Devs.

ACS 4.10 run on ubuntu 16.04 fails with

окт 31 17:20:07 cs2-head1 jsvc.exec[12114]: окт 31, 2017 5:20:07 PM
org.apache.catalina.startup.ClassLoaderFactory validateFile
                                               WARNING: Problem with
directory [/usr/share/cloudstack-mysql-ha/lib], exists: [false],
isDirectory: [false], canRead: [fal
окт 31 17:20:07 cs2-head1 jsvc.exec[12114]: окт 31, 2017 5:20:07 PM
org.apache.tomcat.util.digester.Digester startElement
                                               SEVERE: Begin event threw
exception

 java.lang.ClassNotFoundException:
org.apache.catalina.mbeans.ServerLifecycleListener
                                                       at
java.net.URLClassLoader.findClass(URLClassLoader.java:381)
                                                       at
java.lang.ClassLoader.loadClass(ClassLoader.java:424)
                                                       at
java.lang.ClassLoader.loadClass(ClassLoader.java:357)
                                                       at
org.apache.tomcat.util.digester.ObjectCreateRule.begin(ObjectCreateRule.java:144)
                                                       at
org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1282)
                                                       at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:509)
                                                       at
com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.jav
                                                       at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScan
                                                       at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFr
окт 31 17:20:07 cs2-head1 jsvc.exec[12114]: gmentScannerImpl.java:2784)
                                                       at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:602)
                                                       at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerI
                                                       at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:841)
                                                       at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:770)
                                                       at
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
                                                       at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)
                                                       at
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:643)
                                                       at
org.apache.tomcat.util.digester.Digester.parse(Digester.java:1555)
                                                       at
org.apache.catalina.startup.Catalina.load(Catalina.java:616)
                                                       at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                                                       at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
окт 31 17:20:07 cs2-head1 jsvc.exec[12114]: ava:62)
                                                       at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                                                       at
java.lang.reflect.Method.invoke(Method.java:498)
                                                       at
org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:253)


with default settings (no extra configuration, just setup). It seems that
mysql-ha connector either activated by default and missing in the
repository of 4.10.

I downloaded package

http://packages.shapeblue.com.s3-eu-west-1.amazonaws.com/cloudstack/upstream/centos7/4.10/cloudstack-mysql-ha-4.10.0.0-shapeblue0.el7.centos.x86_64.rpm

from Shapeblue repository, converted it with Alien and deployed with little
manual fixes. It started to work after.

Also, keep in mind

cloudstack-setup-management --tomcat7

is required.

Just FYI


-- 
With best regards, Ivan Kudryavtsev
Bitworks Software, Ltd.
Cell: +7-923-414-1515
WWW: http://bitworks.software/ <http://bw-sw.com/>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message