Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.5 debian package should require java 7 #1192

Closed
arthurzenika opened this issue Apr 27, 2015 · 8 comments
Closed

2.5 debian package should require java 7 #1192

arthurzenika opened this issue Apr 27, 2015 · 8 comments
Labels
Milestone

Comments

@arthurzenika
Copy link

Install from http://dl.bintray.com/rundeck/rundeck-deb/rundeck-2.5.0-1-GA.deb

root@vagrant-debian-wheezy:~# /etc/init.d/rundeckd 
Usage: /etc/init.d/rundeckd {start|stop|restart|condrestart|status}
root@vagrant-debian-wheezy:~# /etc/init.d/rundeckd start
[ ok ing rundeckd: .

root@vagrant-debian-wheezy:~# /etc/init.d/rundeckd stop
Stopping rundeckd: /sbin/start-stop-daemon: warning: failed to kill 7473: No such process

root@vagrant-debian-wheezy:~# /etc/init.d/rundeckd status
[FAIL] rundeckd is not running ... failed!

@gschueler
Copy link
Member

is there any info in the /var/log/rundeck/service.log file?

@arthurzenika
Copy link
Author

# cat /var/log/rundeck/service.log 
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/dtolabs/rundeck/RunServer : Unsupported mjor.minor version 51.0
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:643)
        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:323)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
Could not find the main class: com.dtolabs.rundeck.RunServer. Program will exit.

@gschueler
Copy link
Member

Rundeck 2.5.0 requires Java 7

@arthurzenika
Copy link
Author

could this be displayed as a error message in start ?

could this be enforced in the debian package's dependencies ?

@gschueler
Copy link
Member

yes, there should be a change to the dependencies, marking this as a bug

@gschueler gschueler added the bug label Apr 27, 2015
@gschueler gschueler added this to the 2.5.1 milestone Apr 27, 2015
@gschueler gschueler changed the title debian package startup failing on wheezy 2.5 debian package should require java 7 Apr 27, 2015
@sreekanthsnair
Copy link

I'm facing the same issue, my JAVA_HOME is set correct and shows /usr/lib/jvm/java-7-openjdk-amd64 any other possibility ?

gschueler added a commit that referenced this issue May 13, 2015
@gschueler
Copy link
Member

@sreekanthsnair if you are seeing the "UnsupportedClassVersionError" message, you are still using java 6 somehow. double check your rundeck install settings, e.g. in /etc/rundeck/profile

@sreekanthsnair
Copy link

echo $JAVA_HOME pointing to java 7 only, let e check the profile setting, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants