Homepage | Products | OX Knowledge Base | Support | Try Now | Contact | Company
OX Logo
Results 1 to 7 of 7
  1. #1
    Join Date
    Feb 2007

    Default debian lenny java exception

    Dear all,
    Tried a new installation of debian lenny from the repositories. Everything seems to wrk fine until I get to :
    /opt/open-xchange/sbin/registerdatabase -A oxadminmaster -P admin_master_password \
    -n oxdatabase -p db_password -m true
    It gives an error:
    Exception in thread "main" java.lang.NoSuchMethodError: com.openexchange.admin.rmi.dataobjects.Database.setMaster(Ljava/lang/Boolean;)V
    	at com.openexchange.admin.console.util.database.DatabaseAbstraction.parseAndSetMasterAndID(DatabaseAbstraction.java:196)
    	at com.openexchange.admin.console.util.database.RegisterDatabase.<init>(RegisterDatabase.java:86)
    	at com.openexchange.admin.console.util.database.RegisterDatabase.main(RegisterDatabase.java:97)
    I have tried this with both, sun java 1.5.0 as well as Java 6.

    Any ideas would be greatly appreciated!

    Thank you very much

  2. #2



    can you paste the output of

    dpkg -l "open-xchange*"



  3. #3
    Join Date
    Feb 2007

    Default output

    Of course I can !

    Thank you very much for the reply

    | Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
    |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
    ||/ Name                                     Version                       Description
    ii  open-xchange                                       Open-Xchange server scripts and configuration
    ii  open-xchange-activation                  1.1.1-11                      Bundled version of the Java Activation Framew
    ii  open-xchange-admin                                 Open Xchange Admin Daemon containing commandl
    ii  open-xchange-admin-client                          The Open Xchange Admin Daemon RMI client libr
    ii  open-xchange-admin-doc                             Documentation for the Open Xchange RMI client
    un  open-xchange-admin-docs-he               <none>                        (no description available)
    ii  open-xchange-admin-lib                             The Open Xchange Admin Daemon Bundle client l
    un  open-xchange-admin-plugin-context-light  <none>                        (no description available)
    ii  open-xchange-admin-plugin-hosting                    Open Xchange Admin Hosting Plugin
    ii  open-xchange-admin-plugin-hosting-client                    The Open Xchange Admin Hosting RMI client lib
    ii  open-xchange-admin-plugin-hosting-doc                    Documentation for the Open Xchange RMI client
    ii  open-xchange-admin-plugin-hosting-lib                    The Open Xchange Admin Hosting Bundle client
    un  open-xchange-authentication              <none>                        (no description available)
    ii  open-xchange-authentication-database                    The Open-Xchange Database Authentication
    un  open-xchange-authentication-ldap         <none>                        (no description available)
    ii  open-xchange-cache                                 The Open-Xchange Server Caching Bundle
    ii  open-xchange-calendar                              Calendar Module
    ii  open-xchange-charset                               charset bundle
    ii  open-xchange-common                                jar files and OSGi bundles commonly used by a
    un  open-xchange-config                      <none>                        (no description available)
    un  open-xchange-config-hosting              <none>                        (no description available)
    un  open-xchange-config-standard             <none>                        (no description available)
    un  open-xchange-configjump                  <none>                        (no description available)
    ii  open-xchange-configjump-generic                    The Open-Xchange generic ConfigJump
    ii  open-xchange-configjump-generic-gui                    The Open-Xchange generic ConfigJump GUI compo
    ii  open-xchange-configread                            The Open-Xchange Server Config Bundle
    ii  open-xchange-contactcollector                      The contact collector collects eMail addresse
    ii  open-xchange-control                               The Open-Xchange Server Control Bundle
    ii  open-xchange-conversion                            The Open-Xchange Conversion Bundle
    ii  open-xchange-conversion-engine                     The Open-Xchange Conversion Engine Bundle
    ii  open-xchange-conversion-servlet                    The Open-Xchange Conversion Servlet
    ii  open-xchange-crypto                                Provides cryptography services to bundles in
    ii  open-xchange-data-conversion-ical4j                    The Open-Xchange data conversion iCal4j imple
    ii  open-xchange-dataretention                         The Open-Xchange Server Data Retention Bundle
    ii  open-xchange-dataretention-csv                     The Open-Xchange Data Retention CSV Bundle
    ii  open-xchange-easylogin                             Open-Xchange Easylogin
    ii  open-xchange-genconf                               The Open-Xchange Server Generic Configuration
    ii  open-xchange-genconf-mysql                         Stores a set of generic options in the mysql
    ii  open-xchange-global                                global bundle
    ii  open-xchange-group-managerequest                    The Open-Xchange Server Group Management Requ
    ii  open-xchange-gui                                   Package containing the AJAX gui
    ii  open-xchange-i18n                                  The Open-Xchange i18n Bundle
    ii  open-xchange-imap                                  The Open-Xchange Server IMAP Bundle
    ii  open-xchange-jcharset                    1.3.0-49                      jcharset bundle
    un  open-xchange-libs                        <none>                        (no description available)
    ii  open-xchange-mailfilter                            Open Xchange Mailfilter Plugin
    un  open-xchange-mailstore                   <none>                        (no description available)
    ii  open-xchange-management                            The Open-Xchange Management Bundle
    ii  open-xchange-monitoring                            The Open-Xchange Monitoring Bundle
    ii  open-xchange-online-help-de                        Package containing german OX online help
    ii  open-xchange-online-help-en                        Package containing english OX online help
    ii  open-xchange-online-help-fr                        Package containing french OX online help
    un  open-xchange-online-help-he-de           <none>                        (no description available)
    un  open-xchange-online-help-he-en           <none>                        (no description available)
    un  open-xchange-online-help-he-fr           <none>                        (no description available)
    ii  open-xchange-passwordchange-database                    The Open-Xchange Password Change Database Bun
    ii  open-xchange-passwordchange-servlet                    The Open-Xchange Password Change Servlet
    ii  open-xchange-pop3                                  The Open-Xchange Server POP3 Bundle
    ii  open-xchange-publish                               Interfaces defining the OX publication API
    ii  open-xchange-publish-basic                         Basic OSGi based implementation of the public
    ii  open-xchange-publish-infostore-online                    Publishes a single infostore document externa
    ii  open-xchange-publish-json                          HTTP-API Interface implementation for publica
    ii  open-xchange-publish-microformats                    Publishes a set of objects in OXMF externally
    ii  open-xchange-push-udp                              The Open-Xchange Server Push UDP Bundle
    ii  open-xchange-resource-managerequest                    The Open-Xchange Server Resource Manage Reque
    ii  open-xchange-server                                The Open-Xchange Server Bundle
    ii  open-xchange-sessiond                              The Open-Xchange Server Session Daemon
    ii  open-xchange-settings-extensions                    The Open-Xchange Settings Extensions
    ii  open-xchange-smtp                                  The Open-Xchange Server SMTP Bundle
    un  open-xchange-spamhandler                 <none>                        (no description available)
    ii  open-xchange-spamhandler-default                    The Open-Xchange Default Spam Handler
    un  open-xchange-spamhandler-spamassassin    <none>                        (no description available)
    un  open-xchange-spellcheck                  <none>                        (no description available)
    ii  open-xchange-sql                                   SQL Builder API
    ii  open-xchange-subscribe                             Basic OSGi based implementation of the subscr
    ii  open-xchange-subscribe-crawler                     Subscribe Crawler feeds
    ii  open-xchange-subscribe-json                        HTTP-API Interface implementation for subscri
    un  open-xchange-subscribe-linkedin          <none>                        (no description available)
    ii  open-xchange-subscribe-microformats                    Subscribe Microformat feeds
    un  open-xchange-subscribe-xing              <none>                        (no description available)
    ii  open-xchange-templating                            Provides access to the templating subsystem
    un  open-xchange-themes                      <none>                        (no description available)
    ii  open-xchange-timer                                 The Open-Xchange Timer Bundle
    ii  open-xchange-unifiedinbox                          The Open-Xchange Server Unified INBOX Bundle
    un  open-xchange-xerces                      <none>                        (no description available)
    un  open-xchange-xerces-ibm                  <none>                        (no description available)
    ii  open-xchange-xerces-sun                            Xerces Compat for Sun Java
    ii  open-xchange-xml                                   XML Services
    Last edited by mcs; 09-30-2009 at 03:13 PM. Reason: make all pacakages visible

  4. #4



    can you attach the logfiles in
    , please

    Maybe we see the culprit there.



  5. #5
    Join Date
    Feb 2007



    I enclose the log files.
    Thank you very much again.

    Attached Files Attached Files

  6. #6


    There are a number of strange things in the log files. First of all there are some ClassNotFoundExceptions for classes which are not part of the release:

    Caused by: java.lang.ClassNotFoundException: com.openexchange.admin.ajax.Fetchmail

    Caused by: java.lang.ClassNotFoundException: com.openexchange.admin.ajax.MailServer

    There were part of a former release but definitely not part of the current one. So it's hard to believe that this is a fresh install.

    Furthermore I see several database issues in the admin log file. So my suggestion would be to do a real fresh setup. Clear all databases, delete all packages, delete content in /opt/open-xchange, if the packager leaves some behind. And then start from scratch following one of the HowTos.



  7. #7
    Join Date
    Feb 2007


    I was wondering about that. But I cleared all /opt/open-xchange and did an apt-get remove --purge before that. So there must be more somewhere else. I am not sure what to do, because it seems that postfix and cyrus would not work with the new version anyway so I am sort of buggered. Old version is broken, new version cannot work with email. I have managed to get ox to work on a completely fresh debian, but of course I cannot transfer the email because does not work with the current schemes etc any more.
    Great decision to upgrade




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts