cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rayees Namathponnan (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CLOUDSTACK-6360) Usage server failed to start with 4.4 build
Date Tue, 27 May 2014 21:21:02 GMT

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

Rayees Namathponnan resolved CLOUDSTACK-6360.
---------------------------------------------

    Resolution: Fixed

Fixed in https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=commit;h=d0c249bc9eb194b81b75865ecda56e353435eeb8


> Usage server failed to start with 4.4 build
> -------------------------------------------
>
>                 Key: CLOUDSTACK-6360
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6360
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Install and Setup
>    Affects Versions: 4.3.0, 4.4.0
>         Environment: 4.4 Build
>            Reporter: Rayees Namathponnan
>            Assignee: Rayees Namathponnan
>            Priority: Critical
>             Fix For: 4.4.0
>
>
> step 1 : Create 4.4 build and install usage server
> step 2 : start usage sever 
> Result 
> Failed to start usage server with below error 
> java.lang.UnsupportedClassVersionError: com/cloud/usage/UsageServer : 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)
>         at org.apache.commons.daemon.support.DaemonLoader.load(DaemonLoader.java:151)
> 08/04/2014 12:32:19 5982 jsvc.exec error: Cannot load daemon
> 08/04/2014 12:32:19 5980 jsvc.exec error: Service exit with a return value of 3
> cloudstack-usage.err (END)
> We already defined 4.4 support with JAVA IP, but usage server trying to start with 1.6

> we need to fix this in vi /etc/rc.d/init.d/cloudstack-usage
> # The first existing directory is used for JAVA_HOME (if JAVA_HOME is not defined in
$DEFAULT)
> JDK_DIRS="/usr/lib/jvm/java-6-openjdk /usr/lib/jvm/java-6-openjdk-i386 /usr/lib/jvm/java-6-openjdk-amd64
/usr/lib/jvm/java-6-sun /usr/lib/jvm/jre-1.6.0 /usr/lib/j2sdk1.5-sun /usr/lib/jre-openjdk"



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message