Announcement

Collapse
No announcement yet.

debian lenny java exception

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

  • 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 :
    Code:
    /opt/open-xchange/sbin/registerdatabase -A oxadminmaster -P admin_master_password \
    -n oxdatabase -p db_password -m true
    It gives an error:
    Code:
    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
    Michael

  • #2
    Hi,

    can you paste the output of

    Code:
    dpkg -l "open-xchange*"
    here.

    Regards,

    Dennis

    Comment


    • #3
      output

      Hello,
      Of course I can !

      Thank you very much for the reply

      Code:
      Desired=Unknown/Install/Remove/Purge/Hold
      | 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                             6.12.0.0-5                    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                       6.12.0.0-5                    Open Xchange Admin Daemon containing commandl
      ii  open-xchange-admin-client                6.12.0.0-5                    The Open Xchange Admin Daemon RMI client libr
      ii  open-xchange-admin-doc                   6.12.0.0-5                    Documentation for the Open Xchange RMI client
      un  open-xchange-admin-docs-he               <none>                        (no description available)
      ii  open-xchange-admin-lib                   6.12.0.0-5                    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        6.12.0.0-4                    Open Xchange Admin Hosting Plugin
      ii  open-xchange-admin-plugin-hosting-client 6.12.0.0-4                    The Open Xchange Admin Hosting RMI client lib
      ii  open-xchange-admin-plugin-hosting-doc    6.12.0.0-4                    Documentation for the Open Xchange RMI client
      ii  open-xchange-admin-plugin-hosting-lib    6.12.0.0-4                    The Open Xchange Admin Hosting Bundle client
      un  open-xchange-authentication              <none>                        (no description available)
      ii  open-xchange-authentication-database     6.12.0.0-4                    The Open-Xchange Database Authentication
      un  open-xchange-authentication-ldap         <none>                        (no description available)
      ii  open-xchange-cache                       6.12.0.0-4                    The Open-Xchange Server Caching Bundle
      ii  open-xchange-calendar                    6.12.0.0-4                    Calendar Module
      ii  open-xchange-charset                     6.12.0.0-4                    charset bundle
      ii  open-xchange-common                      6.12.0.0-4                    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          6.12.0.0-4                    The Open-Xchange generic ConfigJump
      ii  open-xchange-configjump-generic-gui      6.12.0.0-4                    The Open-Xchange generic ConfigJump GUI compo
      ii  open-xchange-configread                  6.12.0.0-4                    The Open-Xchange Server Config Bundle
      ii  open-xchange-contactcollector            6.12.0.0-4                    The contact collector collects eMail addresse
      ii  open-xchange-control                     6.12.0.0-4                    The Open-Xchange Server Control Bundle
      ii  open-xchange-conversion                  6.12.0.0-4                    The Open-Xchange Conversion Bundle
      ii  open-xchange-conversion-engine           6.12.0.0-4                    The Open-Xchange Conversion Engine Bundle
      ii  open-xchange-conversion-servlet          6.12.0.0-4                    The Open-Xchange Conversion Servlet
      ii  open-xchange-crypto                      6.12.0.0-4                    Provides cryptography services to bundles in
      ii  open-xchange-data-conversion-ical4j      6.12.0.0-4                    The Open-Xchange data conversion iCal4j imple
      ii  open-xchange-dataretention               6.12.0.0-4                    The Open-Xchange Server Data Retention Bundle
      ii  open-xchange-dataretention-csv           6.12.0.0-4                    The Open-Xchange Data Retention CSV Bundle
      ii  open-xchange-easylogin                   6.12.0.0-4                    Open-Xchange Easylogin
      ii  open-xchange-genconf                     6.12.0.0-4                    The Open-Xchange Server Generic Configuration
      ii  open-xchange-genconf-mysql               6.12.0.0-4                    Stores a set of generic options in the mysql
      ii  open-xchange-global                      6.12.0.0-4                    global bundle
      ii  open-xchange-group-managerequest         6.12.0.0-4                    The Open-Xchange Server Group Management Requ
      ii  open-xchange-gui                         6.12.0.0-4                    Package containing the AJAX gui
      ii  open-xchange-i18n                        6.12.0.0-4                    The Open-Xchange i18n Bundle
      ii  open-xchange-imap                        6.12.0.0-4                    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                  6.12.0.0-4                    Open Xchange Mailfilter Plugin
      un  open-xchange-mailstore                   <none>                        (no description available)
      ii  open-xchange-management                  6.12.0.0-4                    The Open-Xchange Management Bundle
      ii  open-xchange-monitoring                  6.12.0.0-4                    The Open-Xchange Monitoring Bundle
      ii  open-xchange-online-help-de              6.12.0.0-3                    Package containing german OX online help
      ii  open-xchange-online-help-en              6.12.0.0-3                    Package containing english OX online help
      ii  open-xchange-online-help-fr              6.12.0.0-3                    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     6.12.0.0-4                    The Open-Xchange Password Change Database Bun
      ii  open-xchange-passwordchange-servlet      6.12.0.0-4                    The Open-Xchange Password Change Servlet
      ii  open-xchange-pop3                        6.12.0.0-4                    The Open-Xchange Server POP3 Bundle
      ii  open-xchange-publish                     6.12.0.0-4                    Interfaces defining the OX publication API
      ii  open-xchange-publish-basic               6.12.0.0-4                    Basic OSGi based implementation of the public
      ii  open-xchange-publish-infostore-online    6.12.0.0-4                    Publishes a single infostore document externa
      ii  open-xchange-publish-json                6.12.0.0-4                    HTTP-API Interface implementation for publica
      ii  open-xchange-publish-microformats        6.12.0.0-4                    Publishes a set of objects in OXMF externally
      ii  open-xchange-push-udp                    6.12.0.0-4                    The Open-Xchange Server Push UDP Bundle
      ii  open-xchange-resource-managerequest      6.12.0.0-4                    The Open-Xchange Server Resource Manage Reque
      ii  open-xchange-server                      6.12.0.0-5                    The Open-Xchange Server Bundle
      ii  open-xchange-sessiond                    6.12.0.0-4                    The Open-Xchange Server Session Daemon
      ii  open-xchange-settings-extensions         6.12.0.0-4                    The Open-Xchange Settings Extensions
      ii  open-xchange-smtp                        6.12.0.0-4                    The Open-Xchange Server SMTP Bundle
      un  open-xchange-spamhandler                 <none>                        (no description available)
      ii  open-xchange-spamhandler-default         6.12.0.0-4                    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                         6.12.0.0-4                    SQL Builder API
      ii  open-xchange-subscribe                   6.12.0.0-4                    Basic OSGi based implementation of the subscr
      ii  open-xchange-subscribe-crawler           6.12.0.0-4                    Subscribe Crawler feeds
      ii  open-xchange-subscribe-json              6.12.0.0-4                    HTTP-API Interface implementation for subscri
      un  open-xchange-subscribe-linkedin          <none>                        (no description available)
      ii  open-xchange-subscribe-microformats      6.12.0.0-4                    Subscribe Microformat feeds
      un  open-xchange-subscribe-xing              <none>                        (no description available)
      ii  open-xchange-templating                  6.12.0.0-4                    Provides access to the templating subsystem
      un  open-xchange-themes                      <none>                        (no description available)
      ii  open-xchange-timer                       6.12.0.0-4                    The Open-Xchange Timer Bundle
      ii  open-xchange-unifiedinbox                6.12.0.0-4                    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                  6.12.0.0-4                    Xerces Compat for Sun Java
      ii  open-xchange-xml                         6.12.0.0-4                    XML Services
      Cheers
      Michael
      Last edited by mcs; 09-30-2009, 03:13 PM. Reason: make all pacakages visible

      Comment


      • #4
        Hi,

        can you attach the logfiles in
        Code:
         /var/log/open-xchange/
        , please

        Maybe we see the culprit there.

        Regards,

        Dennis

        Comment


        • #5
          Hello,

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

          Michael
          Attached Files

          Comment


          • #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.

            Regards,

            Dennis

            Comment


            • #7
              Hi
              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

              Cheers

              Michael

              Comment

              Working...
              X