[jira] [Commented] (CLOUDSTACK-6360) Usage server failed to start with 4.4 build

2014-09-10 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on CLOUDSTACK-6360:
-

Commit 90287cc60aca81fb9a372584936c557d446739f9 in cloudstack's branch 
refs/heads/master from rayeesn
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=90287cc ]

CLOUDSTACK-6360: adding mysql-connector to class path and it will be loaded 
while starting cloudstack-usage


> 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.3.4#6332)


[jira] [Commented] (CLOUDSTACK-6360) Usage server failed to start with 4.4 build

2014-08-08 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on CLOUDSTACK-6360:
-

Commit e77da80e01b0774951e5c2ab1b23539af002b8b4 in cloudstack's branch 
refs/heads/4.4 from [~rohit.ya...@shapeblue.com]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=e77da80 ]

CLOUDSTACK-6360: pick setJavaHome from 4.3 and master for 4.4 branch

A JAVA_HOME finder method was implemented by Rajani and got into master and 4.3
but not 4.4: https://reviews.apache.org/r/22721/

Signed-off-by: Rohit Yadav 


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


[jira] [Commented] (CLOUDSTACK-6360) Usage server failed to start with 4.4 build

2014-08-08 Thread Rohit Yadav (JIRA)

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

Rohit Yadav commented on CLOUDSTACK-6360:
-

Great, thanks. Daan, I've picked on 4.4 as well since it was already on 4.3 and 
master.

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


[jira] [Commented] (CLOUDSTACK-6360) Usage server failed to start with 4.4 build

2014-08-08 Thread Rajani Karuturi (JIRA)

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

Rajani Karuturi commented on CLOUDSTACK-6360:
-

yes. tested on centos and ubuntu (though on docker containers and not on vms. )

https://reviews.apache.org/r/22721/

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


[jira] [Commented] (CLOUDSTACK-6360) Usage server failed to start with 4.4 build

2014-08-08 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on CLOUDSTACK-6360:
-

Commit 47625af7c3c1f1eb7e092e2f52ecdebb5509cfb0 in cloudstack's branch 
refs/heads/master from [~rohit.ya...@shapeblue.com]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=47625af ]

CLOUDSTACK-6360: Fix JDK paths in ubuntu packaging init scripts, don't use 1.6

Since we've agreed to use JDK/JRE 1.7, this enforces that for Ubuntu builds
- this fix remove usage of 1.6 paths in JDK_DIR for cloud-{agent, management, 
usage}.
- adds oracle jdk 1.7 path (in case a user is using that)
- adds mysql-connector-java path to CLASSPATH for usage server
- adds libmysql-java pkg dependency (tested and available for precise and 
trusty)

Signed-off-by: Rohit Yadav 
(cherry picked from commit 96d6a2a03734ebbb9f41196d56c409d544a268ea)

Conflicts:
packaging/debian/init/cloud-usage
Adds pessimistic logic to try the hard coded paths if Rajani's logic fails


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


[jira] [Commented] (CLOUDSTACK-6360) Usage server failed to start with 4.4 build

2014-08-08 Thread Rohit Yadav (JIRA)

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

Rohit Yadav commented on CLOUDSTACK-6360:
-

[~rajanik] Rajani, your fix in 
https://issues.apache.org/jira/browse/CLOUDSTACK-6926 can be applied in 4.4 as 
well?

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


[jira] [Commented] (CLOUDSTACK-6360) Usage server failed to start with 4.4 build

2014-08-08 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on CLOUDSTACK-6360:
-

Commit 96d6a2a03734ebbb9f41196d56c409d544a268ea in cloudstack's branch 
refs/heads/4.4 from [~rohit.ya...@shapeblue.com]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=96d6a2a ]

CLOUDSTACK-6360: Fix JDK paths in ubuntu packaging init scripts, don't use 1.6

Since we've agreed to use JDK/JRE 1.7, this enforces that for Ubuntu builds
- this fix remove usage of 1.6 paths in JDK_DIR for cloud-{agent, management, 
usage}.
- adds oracle jdk 1.7 path (in case a user is using that)
- adds mysql-connector-java path to CLASSPATH for usage server
- adds libmysql-java pkg dependency (tested and available for precise and 
trusty)

Signed-off-by: Rohit Yadav 


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


[jira] [Commented] (CLOUDSTACK-6360) Usage server failed to start with 4.4 build

2014-05-27 Thread Animesh Chaturvedi (JIRA)

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

Animesh Chaturvedi commented on CLOUDSTACK-6360:


Frank can you help review and merge it in master branch

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


[jira] [Commented] (CLOUDSTACK-6360) Usage server failed to start with 4.4 build

2014-05-22 Thread Rajani Karuturi (JIRA)

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

Rajani Karuturi commented on CLOUDSTACK-6360:
-

This commit is missing in master. The same issue might come back on master.

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


[jira] [Commented] (CLOUDSTACK-6360) Usage server failed to start with 4.4 build

2014-04-08 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on CLOUDSTACK-6360:
-

Commit d672aecac9a65a3939844da7974284492ec5bc15 in cloudstack's branch 
refs/heads/4.3 from rayeesn
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=d672aec ]

CLOUDSTACK-6360: adding mysql-connector to class path and it will be loaded 
while starting cloudstack-usage


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


[jira] [Commented] (CLOUDSTACK-6360) Usage server failed to start with 4.4 build

2014-04-08 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on CLOUDSTACK-6360:
-

Commit 1ec77ec4b8de3b20b276892b37c0670879454ce1 in cloudstack's branch 
refs/heads/4.4 from rayeesn
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=1ec77ec ]

CLOUDSTACK-6360: adding mysql-connector to class path and it will be loaded 
while starting cloudstack-usage


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


[jira] [Commented] (CLOUDSTACK-6360) Usage server failed to start with 4.4 build

2014-04-08 Thread Rayees Namathponnan (JIRA)

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

Rayees Namathponnan commented on CLOUDSTACK-6360:
-

https://reviews.apache.org/r/20132/ 

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