Announcement

Collapse
No announcement yet.

open-xchange on ubuntu 10.04 live server giving java error

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • open-xchange on ubuntu 10.04 live server giving java error

    Hi,

    I'm new to open-xchange server I have successfully installed open-xchange in my ubuntu 10.04 server but when I try to register my open-xchange server it gives an error.


    Please find the below error logs.


    /opt/open-xchange/sbin/registerserver -n oxserver -A oxadminmaster -P Zo5zhdt57w
    Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java :621)
    at java.security.SecureClassLoader.defineClass(Secure ClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader .java:260)
    at java.net.URLClassLoader.access$100(URLClassLoader. java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java: 195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.j ava:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:3 07)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:268)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:2 52)
    at java.lang.ClassLoader.loadClassInternal(ClassLoade r.java:320)


    /opt/open-xchange/sbin/registerfilestore -A oxadminmaster -P Zo5zhdt57w -t file:/var/opt/filestore
    Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java :621)
    at java.security.SecureClassLoader.defineClass(Secure ClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader .java:260)
    at java.net.URLClassLoader.access$100(URLClassLoader. java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java: 195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.j ava:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:3 07)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:268)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:2 52)
    at java.lang.ClassLoader.loadClassInternal(ClassLoade r.java:320)


    /opt/open-xchange/sbin/createcontext -A oxadminmaster -P Zo5zhdt57w -c 1 -u oxadmin -d "Context Admin" -g Admin -s User -p Zo5zhdt57w -L defaultcontext -e example@mydomain.com -q 1024 --access-combination-name=all
    Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java :621)
    at java.security.SecureClassLoader.defineClass(Secure ClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader .java:260)
    at java.net.URLClassLoader.access$100(URLClassLoader. java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java: 195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.j ava:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:3 07)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:268)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:2 52)
    at java.lang.ClassLoader.loadClassInternal(ClassLoade r.java:320)

  • #2
    Where did you install the packages from (/etc/apt/sources.list)?
    Which packages did you install (dpkg -l | grep open-xchange)?

    Comment


    • #3
      open-xchange on ubuntu 10.04 live server giving java error

      Yes i have installed the packages from (/etc/apt/sources.list)

      and find below output of dpkg -l | grep open-xchange


      root@sfdlabs:~# dpkg -l | grep open-xchange
      ii open-xchange 6.18.0.0-8 Open-Xchange server scripts and configuratio
      ii open-xchange-activation 1.1.1-42 Bundled version of the Java Activation Frame
      ii open-xchange-admin 6.18.0.0-9 Open Xchange Admin Daemon containing command
      ii open-xchange-admin-client 6.18.0.0-9 The Open Xchange Admin Daemon RMI client lib
      ii open-xchange-admin-doc 6.18.0.0-9 Documentation for the Open Xchange RMI clien
      ii open-xchange-admin-lib 6.18.0.0-9 The Open Xchange Admin Daemon Bundle client
      ii open-xchange-admin-plugin-hosting 6.18.0.0-7 Open Xchange Admin Hosting Plugin
      ii open-xchange-admin-plugin-hosting-client 6.18.0.0-7 The Open Xchange Admin Hosting RMI client li
      ii open-xchange-admin-plugin-hosting-doc 6.18.0.0-7 Documentation for the Open Xchange RMI clien
      ii open-xchange-admin-plugin-hosting-lib 6.18.0.0-7 The Open Xchange Admin Hosting Bundle client
      ii open-xchange-authentication-database 6.18.0.0-7 The Open-Xchange Database Authentication
      ii open-xchange-cache 6.18.0.0-7 The Open-Xchange Server Caching Bundle
      ii open-xchange-calendar 6.18.0.0-7 Calendar Module
      ii open-xchange-calendar-printing 6.18.0.0-7 Printing calendars via templating
      ii open-xchange-charset 6.18.0.0-7 charset bundle
      ii open-xchange-common 6.18.0.0-7 jar files and OSGi bundles commonly used by
      ii open-xchange-configjump-generic 6.18.0.0-7 The Open-Xchange generic ConfigJump
      ii open-xchange-configjump-generic-gui 6.18.0.0-7 The Open-Xchange generic ConfigJump GUI comp
      ii open-xchange-configread 6.18.0.0-7 The Open-Xchange Server Config Bundle
      ii open-xchange-contactcollector 6.18.0.0-7 The contact collector collects eMail address
      ii open-xchange-control 6.18.0.0-7 The Open-Xchange Server Control Bundle
      ii open-xchange-conversion 6.18.0.0-7 The Open-Xchange Conversion Bundle
      ii open-xchange-conversion-engine 6.18.0.0-7 The Open-Xchange Conversion Engine Bundle
      ii open-xchange-conversion-servlet 6.18.0.0-7 The Open-Xchange Conversion Servlet
      ii open-xchange-crypto 6.18.0.0-7 Provides cryptography services to bundles in
      ii open-xchange-data-conversion-ical4j 6.18.0.0-7 The Open-Xchange data conversion iCal4j impl
      ii open-xchange-dataretention 6.18.0.0-7 The Open-Xchange Server Data Retention Bundl
      ii open-xchange-easylogin 6.18.0.0-7 Open-Xchange Easylogin
      ii open-xchange-genconf 6.18.0.0-7 The Open-Xchange Server Generic Configuratio
      ii open-xchange-genconf-mysql 6.18.0.0-7 Stores a set of generic options in the mysql
      ii open-xchange-global 6.18.0.0-7 global bundle
      ii open-xchange-group-managerequest 6.18.0.0-7 The Open-Xchange Server Group Management Req
      ii open-xchange-gui 6.18.0.0-7 Package containing the AJAX gui
      ii open-xchange-gui-themes-default 6.18.0.0-7 Package containing the default themes
      ii open-xchange-gui-wizard-plugin 6.18.0.0-8 Open-Xchange GUI Wizard Server Plug-In.
      ii open-xchange-gui-wizard-plugin-gui 6.18.0.0-8 Open-Xchange GUI Wizard Plug-In.
      ii open-xchange-i18n 6.18.0.0-7 The Open-Xchange i18n Bundle
      ii open-xchange-imap 6.18.0.0-7 The Open-Xchange Server IMAP Bundle
      ii open-xchange-jcharset 1.3.0-80 jcharset bundle
      ii open-xchange-mailfilter 6.18.0.0-7 Open Xchange Mailfilter Plugin
      ii open-xchange-management 6.18.0.0-7 The Open-Xchange Management Bundle
      ii open-xchange-messaging 6.18.0.0-7 The Open-Xchange Messaging Bundle
      ii open-xchange-messaging-facebook 6.18.0.0-7 The Open-Xchange Messaging Facebook Bundle
      ii open-xchange-messaging-generic 6.18.0.0-7 The Open-Xchange Messaging Generic Bundle
      ii open-xchange-messaging-json 6.18.0.0-7 The Open-Xchange Messaging JSON Bundle
      ii open-xchange-messaging-rss 6.18.0.0-7 The Open-Xchange Messaging Facebook Bundle
      ii open-xchange-messaging-twitter 6.18.0.0-7 The Open-Xchange Messaging Twitter Bundle
      ii open-xchange-meta-admin 6.18.0.0-7 The Open-Xchange Meta package for User/Group
      ii open-xchange-meta-gui 6.18.0.0-7 The Open-Xchange Meta package for OX GUI
      ii open-xchange-meta-messaging 6.18.0.0-7 The Open-Xchange Meta package for Messaging
      ii open-xchange-meta-pubsub 6.18.0.0-7 The Open-Xchange Meta package for Publish an
      ii open-xchange-meta-server 6.18.0.0-7 The Open-Xchange Meta package for OX Backend
      ii open-xchange-meta-singleserver 6.18.0.0-7 The Open-Xchange Meta package for OX on a si
      ii open-xchange-monitoring 6.18.0.0-7 The Open-Xchange Monitoring Bundle
      ii open-xchange-online-help-de 6.18.0.0-8 Package containing german OX online help
      ii open-xchange-online-help-en 6.18.0.0-8 Package containing english OX online help
      ii open-xchange-online-help-fr 6.18.0.0-8 Package containing french OX online help
      ii open-xchange-passwordchange-database 6.18.0.0-7 The Open-Xchange Password Change Database Bu
      ii open-xchange-passwordchange-servlet 6.18.0.0-7 The Open-Xchange Password Change Servlet
      ii open-xchange-pop3 6.18.0.0-7 The Open-Xchange Server POP3 Bundle
      ii open-xchange-publish 6.18.0.0-7 Interfaces defining the OX publication API
      ii open-xchange-publish-basic 6.18.0.0-7 Basic OSGi based implementation of the publi
      ii open-xchange-publish-infostore-online 6.18.0.0-7 Publishes a single infostore document extern
      ii open-xchange-publish-json 6.18.0.0-7 HTTP-API Interface implementation for public
      ii open-xchange-publish-microformats 6.18.0.0-7 Publishes a set of objects in OXMF externall
      ii open-xchange-push 6.18.0.0-7 The Open-Xchange Push Bundle
      ii open-xchange-push-udp 6.18.0.0-7 The Open-Xchange Server Push UDP Bundle
      ii open-xchange-report-client 6.18.0.0-7 Open-Xchange reporting client.
      ii open-xchange-resource-managerequest 6.18.0.0-7 The Open-Xchange Server Resource Manage Requ
      ii open-xchange-secret 6.18.0.0-4 Creates plugin architecture for supplying th
      ii open-xchange-server 6.18.0.0-8 The Open-Xchange Server Bundle
      ii open-xchange-sessiond 6.18.0.0-7 The Open-Xchange Server Session Daemon
      ii open-xchange-settings-extensions 6.18.0.0-7 The Open-Xchange Settings Extensions
      ii open-xchange-smtp 6.18.0.0-7 The Open-Xchange Server SMTP Bundle
      ii open-xchange-spamhandler-default 6.18.0.0-7 The Open-Xchange Default Spam Handler
      ii open-xchange-sql 6.18.0.0-7 SQL Builder API
      ii open-xchange-subscribe 6.18.0.0-7 Basic OSGi based implementation of the subsc
      ii open-xchange-subscribe-crawler 6.18.0.0-10 Subscribe Crawler feeds
      ii open-xchange-subscribe-json 6.18.0.0-7 HTTP-API Interface implementation for subscr
      ii open-xchange-subscribe-microformats 6.18.0.0-7 Subscribe Microformat feeds
      ii open-xchange-templating 6.18.0.0-7 Provides access to the templating subsystem
      ii open-xchange-themes-default 6.18.0.0-7 Package containing the default themes
      ii open-xchange-threadpool 6.18.0.0-7 The Open-Xchange Thread Pool Bundle
      ii open-xchange-twitter 6.18.0.0-7 The Open-Xchange Twitter Bundle
      ii open-xchange-unifiedinbox 6.18.0.0-7 The Open-Xchange Server Unified INBOX Bundle
      ii open-xchange-user-json 6.18.0.0-7 The Open-Xchange user JSON interface bundle
      ii open-xchange-xerces-sun 6.18.0.0-7 Xerces Compat for Sun Java
      ii open-xchange-xml 6.18.0.0-7 XML Services
      root@sfdlabs:~#


      Please do let me know where am i making mistake

      Comment


      • #4
        Actually, in regards to /etc/apt/sources.list, I'd like to know the ox repo URL...

        Comment


        • #5
          okay,
          below is the repo url of open-xchange


          deb http://software.open-xchange.com/OX6...8/Ubuntu10.04/ /
          deb http://archive.canonical.com/ubuntu lucid partner

          Comment


          • #6
            Hi,

            i just installed an Ubuntu 10.04 Server with OX 6.18 - without any problems.

            Greetings

            Comment

            Working...
            X