Announcement

Collapse
No announcement yet.

BUILD FAILED on Debian etch

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

  • BUILD FAILED on Debian etch

    Hi,
    i have all lib that are listed in wiki, but i have an error during compile after cvs step. I'm using update.sh script but i try only "ant -Dlib.dir=/opt/open-xchange/lib install" command and it fail again. These are 2 errors from ox_build.log :

    BUILD FAILED
    /opt/open-xchange/src/open-xchange-gui/buildi.xml:484: The following error occurred while executing this line:
    /opt/open-xchange/src/open-xchange-gui/buildi.xml:431: Execute failede : java.io.IOException: java.io.IOException: msgcat: not found

    Do someone know these errors?

    Sorry for my english.

    Thanks

    Simone

  • #2
    Hi,

    please install the gnu gettext package for debian

    Greetings.

    Comment


    • #3
      Thanks Martin

      Thanks Martin something is moving, i forget gnu gettext .

      Now i have another error. I copy all libs from another runnig installation of OX but this seems like another post i red in this forum and it says that is a jar problem:

      -------------------------------------------------------------------------------------------------------
      Buildfile: build.xml

      prepare:
      [mkdir] Created dir: /opt/open-xchange/src/open-xchange/build
      [mkdir] Created dir: /opt/open-xchange/src/open-xchange/tmp

      patchVersionJava:
      [copy] Copying 1 file to /opt/open-xchange/src/open-xchange/src/com/openexchange/server

      compile:
      [javac] Compiling 1049 source files to /opt/open-xchange/src/open-xchange/build
      [javac] /opt/open-xchange/src/open-xchange/src/com/openexchange/ajax/container/Response.java:406: cannot find symbol
      [javac] symbol : method entrySet()
      [javac] location: class org.json.JSONObject
      [javac] final Set<Map.Entry<String, Object>> entrySet = response.getJSON().entrySet();
      [javac] ^
      [javac] Note: Some input files use or override a deprecated API.
      [javac] Note: Recompile with -Xlint:deprecation for details.
      [javac] Note: Some input files use unchecked or unsafe operations.
      [javac] Note: Recompile with -Xlint:unchecked for details.
      [javac] 1 error

      BUILD FAILED
      /opt/open-xchange/src/open-xchange/build.xml:114: Compile failed; see the compiler error output for details.

      Total time: 35 seconds
      Buildfile: build.xml

      Comment


      • #4
        ..list

        If it can help you.. this is my lib dir :

        activation.jar
        commons-cli-1.0.jar
        commons-codec-1.3.jar
        commons-fileupload.jar
        commons-httpclient-2.0.2.jar
        commons-logging.jar
        concurrent.jar
        jakarta-slide-webdavlib-2.1.jar
        jcs-1.2.7.9.2.jar
        jdom.jar
        json.jar
        jtnef-1_3_1.zip
        junit-4.1.jar
        junit-4.5-SNAPSHOT-20070720-1711.jar
        mail.jar
        mysql-connector-java-3.1.13-bin.jar
        org.eclipse.osgi_3.2.2.ox.jar
        saxon8-ant.jar
        saxon8-dom4j.jar
        saxon8-dom.jar
        saxon8.jar
        saxon8-jdom.jar
        saxon8-sql.jar
        saxon8-xom.jar
        saxon8-xpath.jar
        saxon8-xqj.jar
        servlet-api-2.4.jar
        spring-beans_1.2.7.jar
        spring-core_1.2.7.jar
        tnef.jar

        Comment


        • #5
          Hi,

          when did you build the json.jar? AFAIK there were some changes at the json writer at the server side.

          Comment


          • #6
            how memory.. ?

            Thanks Martin, after rebuild the json.jar, BUILD SUCCESSFUL.


            But now i have this error :

            [Wed Aug 01 16:25:53 2007] [2588:34480] [error] ajp_service::jk_ajp_common.c (1794): Error connecting to tomcat. Tomcat is probably not started or is listening on the wrong port. worker=ajp13_worker failed
            [Wed Aug 01 16:25:53 2007] ajp13_worker 192.168.23.23 0.000758

            I haven't tomcat installed and this is my ox.conf

            --------------------------------------------------------------------------
            # Where to find workers.properties. We will create this file later in the tutorial.
            #JkWorkersFile /etc/apache2/workers.properties
            JkWorkersFile /etc/libapache2-mod-jk/workers.properties
            # Where to put jk logs.
            JkLogFile /var/log/apache2/mod_jk.log
            # Set the jk log level [debug/error/info]
            JkLogLevel error
            # Select the log format
            JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
            # JkRequestLogFormat set the request format
            JkRequestLogFormat "%w %V %T"
            # This points to our servlets we install later
            JkMount /ajax/* ajp13_worker
            JkMount /servlet/* ajp13_worker

            and workers.properties....

            # workers.properties -
            #
            # This file is a simplified version of the workers.properties supplied
            # with the upstream sources. The jni inprocess worker (not build in the
            # debian package) section and the ajp12 (deprecated) section are removed.
            #
            # As a general note, the characters $( and ) are used internally to define
            # macros. Do not use them in your own configuration!!!
            #
            # Whenever you see a set of lines such as:
            # x=value
            # y=$(x)\something
            #
            # the final value for y will be value\something
            #
            # Normaly all you will need to do is un-comment and modify the first three
            # properties, i.e. workers.tomcat_home, workers.java_home and ps.
            # Most of the configuration is derived from these.
            #
            # When you are done updating workers.tomcat_home, workers.java_home and ps
            # you should have 3 workers configured:
            #
            # - An ajp13 worker that connects to localhost:8009
            # - A load balancer worker
            #
            #

            # OPTIONS ( very important for jni mode )

            #
            # workers.tomcat_home should point to the location where you
            # installed tomcat. This is where you have your conf, webapps and lib
            # directories.
            #
            #workers.tomcat_home=/usr/share/tomcat4

            #
            # workers.java_home should point to your Java installation. Normally
            # you should have a bin and lib directories beneath it.
            #
            #workers.java_home=/usr/lib/j2sdk1.4-sun
            workers.java_home=/usr/lib/jvm/java-1.5.0-sun

            #
            # You should configure your environment slash... ps=\ on NT and / on UNIX
            # and maybe something different elsewhere.
            #
            ps=/

            #
            #------ ADVANCED MODE ------------------------------------------------
            #---------------------------------------------------------------------
            #

            #
            #------ worker list ------------------------------------------
            #---------------------------------------------------------------------
            #
            #
            # The workers that your plugins should create and work with
            #
            worker.list=ajp13_worker

            #
            #------ ajp13_worker WORKER DEFINITION ------------------------------
            #---------------------------------------------------------------------
            #

            #
            # Defining a worker named ajp13_worker and of type ajp13
            # Note that the name and the type do not have to match.
            #
            worker.ajp13_worker.port=8009
            worker.ajp13_worker.host=localhost
            worker.ajp13_worker.type=ajp13
            #
            # Specifies the load balance factor when used with
            # a load balancing worker.
            # Note:
            # ----> lbfactor must be > 0
            # ----> Low lbfactor means less work done by the worker.
            worker.ajp13_worker.lbfactor=1

            #
            # Specify the size of the open connection cache.
            #worker.ajp13_worker.cachesize

            #
            #------ DEFAULT LOAD BALANCER WORKER DEFINITION ----------------------
            #---------------------------------------------------------------------
            #

            #
            # The loadbalancer (type lb) workers perform wighted round-robin
            # load balancing with sticky sessions.
            # Note:
            # ----> If a worker dies, the load balancer will check its state
            # once in a while. Until then all work is redirected to peer
            # workers.
            worker.loadbalancer.type=lb
            worker.loadbalancer.balanced_workers=ajp13_worker

            Comment


            • #7
              Hi,

              some questions:
              1. is the groupware running?
              2. can you telnet to port 8009?
              3. is the path for the workers.properties correct?
              4. is the path for workers.java_home=/usr/lib/jvm/java-1.5.0-sun correct?
              5. is there another process running on port 8009? tomcat MUST NOT run.
              6. what do you get when accessing yourserver.tld/servlet/ajax ?

              Greetings

              Comment

              Working...
              X