Announcement

Collapse
No announcement yet.

open-xchange-admin-console-ee build failed

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

  • open-xchange-admin-console-ee build failed

    & cd /tmp
    & cvs -d server:anonymous@www.open-xchange.com:/var/lib/cvs co open-xchange-admin
    & cvs -d server:anonymous@www.open-xchange.com:/var/lib/cvs co open-xchange-admin-plugin-imap
    & cvs -d server:anonymous@www.open-xchange.com:/var/lib/cvs co open-xchange-admin-plugin-context_light
    & cvs -d server:anonymous@www.open-xchange.com:/var/lib/cvs co open-xchange-admin-console-ee


    i got a compiler error. admin console-ee is new or?

  • #2
    and? what error do you get?

    Comment


    • #3
      Originally posted by altariq View Post
      & cd /tmp
      & cvs -d server:anonymous@www.open-xchange.com:/var/lib/cvs co open-xchange-admin
      & cvs -d server:anonymous@www.open-xchange.com:/var/lib/cvs co open-xchange-admin-plugin-imap
      & cvs -d server:anonymous@www.open-xchange.com:/var/lib/cvs co open-xchange-admin-plugin-context_light
      & cvs -d server:anonymous@www.open-xchange.com:/var/lib/cvs co open-xchange-admin-console-ee


      i got a compiler error. admin console-ee is new or?
      Yes, it is.

      I got no error a few minutes ago.

      But I got an error during creating a user:

      Code:
      Exception in thread "main" java.lang.NoClassDefFoundError: com/openexchange/admin/rmi/extensions/OXUserIMAPExtension
              at com.openexchange.admin.console.user.Create.<init>(Create.java:148)
              at com.openexchange.admin.console.user.Create.main(Create.java:79)
      And that's because of the last line in createuser. It should be like this:
      Code:
      $JAVA_BIN -classpath $LIBPATH/ox_admindaemon.jar:$LIBPATH/ox_admin_plugin_context_light.jar:$LIBPATH/ox_admin_plugin_imap.jar:$LIBPATH/ox_admin_console_ee.jar:$LIBPATH/commons-cli-1.0.jar $JAVAMAIN $*

      Comment


      • #4
        Ah sorry, i had no time at working so i forgot to post the error message. now i cant test it again because im away from the company at monday.
        perhabs i can test it here on my mac with a vm.

        Comment


        • #5
          Originally posted by neo View Post
          Yes, it is.

          I got no error a few minutes ago.

          But I got an error during creating a user:

          Code:
          Exception in thread "main" java.lang.NoClassDefFoundError: com/openexchange/admin/rmi/extensions/OXUserIMAPExtension
                  at com.openexchange.admin.console.user.Create.<init>(Create.java:148)
                  at com.openexchange.admin.console.user.Create.main(Create.java:79)
          And that's because of the last line in createuser. It should be like this:
          Code:
          $JAVA_BIN -classpath $LIBPATH/ox_admindaemon.jar:$LIBPATH/ox_admin_plugin_context_light.jar:$LIBPATH/ox_admin_plugin_imap.jar:$LIBPATH/ox_admin_console_ee.jar:$LIBPATH/commons-cli-1.0.jar $JAVAMAIN $*
          HI

          I downloaded new the source code, and it build successfully, but I allso got that error message when createing a user


          open-xchange-admin-console.log
          ::::::::::::::
          Mar 20 18:47:09 localhost openexchange: Loglevel set to: 5
          Mar 20 18:47:11 localhost openexchange: Loglevel set to: 5
          com.openexchange.admin.plugins.OXUserPluginInterfa ce
          Service: open_xchange_admin_plugin_imap, 1
          open_xchange_admin_plugin_imap registered service

          But i can login with oxadmin user

          Tronn

          Comment


          • #6
            Originally posted by tronn View Post


            open-xchange-admin-console.log
            ::::::::::::::
            Mar 20 18:47:09 localhost openexchange: Loglevel set to: 5
            Mar 20 18:47:11 localhost openexchange: Loglevel set to: 5
            com.openexchange.admin.plugins.OXUserPluginInterfa ce
            Service: open_xchange_admin_plugin_imap, 1
            open_xchange_admin_plugin_imap registered service

            But i can login with oxadmin user

            Tronn
            So it means everything is ok now?

            Comment


            • #7
              Originally posted by neo View Post
              So it means everything is ok now?
              Sorry for not being clear, What I mean is that Im not able to create a user, but I can login as the oxadmin user

              The error msg I get is:

              Exception in thread "main" java.lang.NoClassDefFoundError: com/openexchange/admin/rmi/extensions/OXUserIMAPExtension
              at com.openexchange.admin.console.user.Create.<init>( Create.java:148)
              at com.openexchange.admin.console.user.Create.main(Cr eate.java:79)


              Tronn

              Comment


              • #8
                Originally posted by tronn View Post
                Sorry for not being clear, What I mean is that Im not able to create a user, but I can login as the oxadmin user

                The error msg I get is:

                Exception in thread "main" java.lang.NoClassDefFoundError: com/openexchange/admin/rmi/extensions/OXUserIMAPExtension
                at com.openexchange.admin.console.user.Create.<init>( Create.java:148)
                at com.openexchange.admin.console.user.Create.main(Cr eate.java:79)


                Tronn
                And again "$LIBPATH/ox_admin_plugin_imap.jar" is missing in the last line now.

                Please post your last line of createuser

                Comment


                • #9
                  Originally posted by neo View Post
                  And again "$LIBPATH/ox_admin_plugin_imap.jar" is missing in the last line now.

                  Please post your last line of createuser
                  My misstake sorry, I didnt catch that

                  $JAVA_BIN -classpath $LIBPATH/ox_admindaemon.jar:$LIBPATH/ox_admin_console_ee.jar:$LIBPATH/commons-cli-1.0.jar $JAVAMAIN $*

                  After make those changes, I successfully created a user

                  Then next question Where is the admin console, how to use

                  Tronn

                  Comment


                  • #10
                    Originally posted by tronn View Post
                    Then next question Where is the admin console, how to use

                    Tronn


                    You're looking for a real console, something like cyrus has?
                    I don't think that this meant here. Have a look at the java classes for open-xchange-admin-console-ee..... They all have a main function and there is no interaction.

                    Comment


                    • #11
                      Here is my error

                      Code:
                      root@schmidt-mg:/tmp/open-xchange-admin# ant -Dlib.dir=/opt/open-xchange/lib install
                      Buildfile: build.xml
                      
                      replacer:
                           [copy] Copying 8 files to /tmp/open-xchange-admin
                           [exec] /tmp /tmp/open-xchange-admin
                           [exec] /tmp/open-xchange-admin
                      
                      compile:
                          [javac] Compiling 65 source files to /tmp/open-xchange-admin/classes
                          [javac] /tmp/open-xchange-admin/src/com/openexchange/admin/storage/mysqlStorage/OXUserMySQLStorage.java:1775: warning: sun.misc.BASE64Encoder is Sun proprietary API and may be removed in a future release
                          [javac]         final String ret = (new sun.misc.BASE64Encoder().encode(pwhash));
                          [javac]                                         ^
                          [javac] Note: /tmp/open-xchange-admin/src/com/openexchange/admin/tools/OXRunner.java uses or overrides a deprecated API.
                          [javac] Note: Recompile with -Xlint:deprecation for details.
                          [javac] Note: /tmp/open-xchange-admin/src/com/openexchange/admin/tools/PropertyHandler.java uses unchecked or unsafe operations.
                          [javac] Note: Recompile with -Xlint:unchecked for details.
                          [javac] 1 warning
                      
                      compile-plugins:
                      
                      compile:
                          [mkdir] Created dir: /tmp/open-xchange-admin-plugin-context_light/classes
                          [javac] Compiling 16 source files to /tmp/open-xchange-admin-plugin-context_light/classes
                      
                      compile:
                          [mkdir] Created dir: /tmp/open-xchange-admin-plugin-imap/classes
                          [javac] Compiling 6 source files to /tmp/open-xchange-admin-plugin-imap/classes
                      
                      compile-console:
                      
                      compile:
                          [mkdir] Created dir: /tmp/open-xchange-admin-console-ee/classes
                          [javac] Compiling 10 source files to /tmp/open-xchange-admin-console-ee/classes
                          [javac] /tmp/open-xchange-admin-console-ee/src/com/openexchange/admin/console/user/Create.java:76: cannot find symbol
                          [javac] symbol  : class OXUserMailExtension
                          [javac] location: package com.openexchange.admin.rmi.extensions
                          [javac] import com.openexchange.admin.rmi.extensions.OXUserMailExtension;
                          [javac]                                             ^
                          [javac] /tmp/open-xchange-admin-console-ee/src/com/openexchange/admin/console/user/Create.java:166: cannot find symbol
                          [javac] symbol  : class OXUserMailExtension
                          [javac] location: class com.openexchange.admin.console.user.Create
                          [javac]             OXUserMailExtension ume = new OXUserMailExtension();
                          [javac]             ^
                          [javac] /tmp/open-xchange-admin-console-ee/src/com/openexchange/admin/console/user/Create.java:166: cannot find symbol
                          [javac] symbol  : class OXUserMailExtension
                          [javac] location: class com.openexchange.admin.console.user.Create
                          [javac]             OXUserMailExtension ume = new OXUserMailExtension();
                          [javac]                                           ^
                          [javac] 3 errors
                      
                      BUILD FAILED
                      /tmp/open-xchange-admin/build.xml:138: The following error occurred while executing this line:
                      /tmp/open-xchange-admin/build.xml:65: The following error occurred while executing this line:
                      /tmp/open-xchange-admin-console-ee/build.xml:35: Compile failed; see the compiler error output for details.
                      
                      Total time: 4 seconds
                      root@schmidt-mg:/tmp/open-xchange-admin#

                      Comment


                      • #12
                        When did you try this?

                        At the moment there are some plugins available in CVS...
                        Have a look at the installation wiki.

                        Comment


                        • #13
                          10 minutes ago. I cant see any changes to last week in the wiki.
                          (i dont mean the postfix instal btw thanks for this )

                          see the thread from pennywize, she has the same problem.

                          Comment


                          • #14
                            Have a look for new additional commands in wiki, they really have changed the sources

                            Comment


                            • #15
                              Originally posted by altariq View Post
                              & cd /tmp
                              & cvs -d server:anonymous@www.open-xchange.com:/var/lib/cvs co open-xchange-admin
                              & cvs -d server:anonymous@www.open-xchange.com:/var/lib/cvs co open-xchange-admin-plugin-imap
                              & cvs -d server:anonymous@www.open-xchange.com:/var/lib/cvs co open-xchange-admin-plugin-context_light
                              & cvs -d server:anonymous@www.open-xchange.com:/var/lib/cvs co open-xchange-admin-console-ee


                              i got a compiler error. admin console-ee is new or?
                              We just updated some features in the console tools that require new plugins to be available.

                              Check

                              Comment

                              Working...
                              X