Are you using the latest system-VM template? The one with Java 7.
On Tue, Mar 11, 2014 at 12:31 PM, Alena Prokharchyk < alena.prokharc...@citrix.com> wrote: > Does anybody see the same behavior and knows how to fix it? > > > * installed latest master CS, re-deployed DB > * After MS started up, system vms were created > * Agents inside SSVM/CPVM failed to start with this error: > > > + java -Djavax.net.ssl.trustStore=./certs/realhostip.keystore > -Dlog.home=/var/log/cloud/ -mx396m -cp > ./:./conf:activation-1.1.jar:antisamy-1.4.3.jar:aopalliance-1.0.jar:apache-log4j-extras-1.1.jar:aspectjweaver-1.7.0.jar:aws-java-sdk-1.3.22.jar:batik-css-1.7.jar:batik-ext-1.7.jar:batik-util-1.7.jar:bcprov-jdk16-1.46.jar:bsh-core-2.0b4.jar:cglib-nodep-2.2.2.jar:cloud-agent-4.4.0-SNAPSHOT.jar:cloud-api-4.4.0-SNAPSHOT.jar:cloud-console-proxy-4.4.0-SNAPSHOT.jar:cloud-core-4.4.0-SNAPSHOT.jar:cloud-engine-api-4.4.0-SNAPSHOT.jar:cloud-engine-components-api-4.4.0-SNAPSHOT.jar:cloud-engine-schema-4.4.0-SNAPSHOT.jar:cloud-framework-cluster-4.4.0-SNAPSHOT.jar:cloud-framework-config-4.4.0-SNAPSHOT.jar:cloud-framework-db-4.4.0-SNAPSHOT.jar:cloud-framework-events-4.4.0-SNAPSHOT.jar:cloud-framework-ipc-4.4.0-SNAPSHOT.jar:cloud-framework-jobs-4.4.0-SNAPSHOT.jar:cloud-framework-managed-context-4.4.0-SNAPSHOT.jar:cloud-framework-rest-4.4.0-SNAPSHOT.jar:cloud-framework-security-4.4.0-SNAPSHOT.jar:cloud-secondary-storage-4.4.0-SNAPSHOT.jar:cloud-server-4.4.0-SNAPSHOT.jar:cloud-utils-4.4.0-SNAPSHOT.jar:cloudstack-service-console-proxy-rdpclient-4.4.0-SNAPSHOT.jar:commons-beanutils-core-1.7.0.jar:commons-codec-1.6.jar:commons-collections-3.2.jar:commons-configuration-1.8.jar:commons-daemon-1.0.10.jar:commons-dbcp-1.4.jar:commons-fileupload-1.2.jar:commons-httpclient-3.1.jar:commons-io-1.4.jar:commons-lang-2.6.jar:commons-logging-1.1.1.jar:commons-net-3.3.jar:commons-pool-1.6.jar:cxf-bundle-jaxrs-2.7.0.jar:dom4j-1.6.1.jar:ehcache-core-2.6.6.jar:ejb-api-3.0.jar:esapi-2.0.1.jar:geronimo-javamail_1.4_spec-1.7.1.jar:geronimo-servlet_3.0_spec-1.0.jar:gson-1.7.1.jar:guava-14.0-rc1.jar:httpclient-4.2.1.jar:httpcore-4.2.1.jar:jackson-annotations-2.1.1.jar:jackson-core-2.1.1.jar:jackson-core-asl-1.8.9.jar:jackson-databind-2.1.1.jar:jackson-jaxrs-json-provider-2.1.1.jar:jackson-mapper-asl-1.8.9.jar:jackson-module-jaxb-annotations-2.1.1.jar:jasypt-1.9.0.jar:java-ipv6-0.10.jar:javassist-3.12.1.GA.jar:javassist-3.18.1-GA.jar:javax.inject-1.jar:javax.persistence-2.0.0.jar:javax.ws.rs-api-2.0-m10.jar:jaxen-1.1-beta-8.jar:jdom-1.0.jar:jetty-continuation-8.1.7.v20120910.jar:jetty-http-8.1.7.v20120910.jar:jetty-io-8.1.7.v20120910.jar:jetty-security-8.1.7.v20120910.jar:jetty-util-8.1.7.v20120910.jar:jsch-0.1.42.jar:jstl-1.2.jar:log4j-1.2.16.jar:mail-1.4.jar:nekohtml-1.9.12.jar:objenesis-2.1.jar:powermock-core-1.5.3.jar:powermock-module-junit4-1.5.3.jar:powermock-module-junit4-common-1.5.3.jar:powermock-reflect-1.5.3.jar:reflections-0.9.8.jar:slf4j-api-1.7.5.jar:slf4j-log4j12-1.7.5.jar:spring-aop-3.2.4.RELEASE.jar:spring-beans-3.2.4.RELEASE.jar:spring-context-3.2.4.RELEASE.jar:spring-core-3.2.4.RELEASE.jar:spring-expression-3.2.4.RELEASE.jar:spring-web-3.2.4.RELEASE.jar:stax2-api-3.1.1.jar:tomcat-embed-core-7.0.30.jar:trilead-ssh2-build213-svnkit-1.3-patch.jar:woodstox-core-asl-4.1.4.jar:wsdl4j-1.4.jar:xalan-2.7.0.jar:xercesImpl-2.6.2.jar:xmlschema-core-2.0.3.jar:xom-1.1.jar:xpp3_min-1.1.4c.jar:xstream-1.3.1.jar > com.cloud.agent.AgentShell root=UUID debian-installer=en_US console=hvc0 > template=domP type=secstorage host=10.214.4.100 port=8250 name=s-1-VM > zone=1 pod=1 guid=s-1-VM > resource=org.apache.cloudstack.storage.resource.NfsSecondaryStorageResource > instance=SecStorage sslcopy=false role=templateProcessor mtu=1500 > eth2ip=10.223.153.10 eth2mask=255.255.255.128 gateway=10.223.153.1 > public.network.device=eth2 eth0ip=169.254.1.31 eth0mask=255.255.0.0 > eth1ip=10.223.73.34 eth1mask=255.255.255.128 > mgmtcidr=10.214.4.0/23localgw=10.223.73.1 private.network.device=eth1 > eth3ip=10.223.73.32 > eth3mask=255.255.255.128 storageip=10.223.73.32 > storagenetmask=255.255.255.128 storagegateway=10.223.73.1 > internaldns1=10.223.110.253 dns1=72.52.126.11 dns2=72.52.126.12 > Exception in thread "main" java.lang.UnsupportedClassVersionError: > com/cloud/agent/AgentShell : Unsupported major.minor version 51.0 > at java.lang.ClassLoader.defineClass1(Native Method) > at java.lang.ClassLoader.defineClass(ClassLoader.java:634) > at > java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) > at java.net.URLClassLoader.defineClass(URLClassLoader.java:277) > at java.net.URLClassLoader.access$000(URLClassLoader.java:73) > at java.net.URLClassLoader$1.run(URLClassLoader.java:212) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:205) > at java.lang.ClassLoader.loadClass(ClassLoader.java:321) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294) > at java.lang.ClassLoader.loadClass(ClassLoader.java:266) > Could not find the main class: com.cloud.agent.AgentShell. Program will > exit. > -- *Mike Tutkowski* *Senior CloudStack Developer, SolidFire Inc.* e: mike.tutkow...@solidfire.com o: 303.746.7302 Advancing the way the world uses the cloud<http://solidfire.com/solution/overview/?video=play> *(tm)*