Announcement

Collapse
No announcement yet.

Problems with open-xchange-gui

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

  • Problems with open-xchange-gui

    There is a small misstype in build.xml (cvs version 6.0.1) on line 75:
    <file name="livegrid.css[spacechar]"/>

    Space char should be removed.


    I use saxon8.jar from saxon8-9j, but compilation fails...


    (ox)root@gw:/packages/open-xchange-gui# ant -Dlib.dir=/packages/open-xchange-lib/
    Buildfile: build.xml

    css:
    [xslt] Processing /packages/open-xchange-gui/style.xml to /packages/open-xchange-gui/build/border.css
    [xslt] Loading stylesheet /packages/open-xchange-gui/css.xsl

    html:

    build page:
    [xslt] Processing /packages/open-xchange-gui/html/index.xml to /packages/open-xchange-gui/index.html
    [xslt] Loading stylesheet /packages/open-xchange-gui/build.xsl
    [xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 48: An attribute whose value must be a QName or whitespace-separated list of QNames had the value '#default'
    [xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 103: An attribute whose value must be a QName or whitespace-separated list of QNames had the value 'include misc border layout i18n'
    [xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 104: An attribute whose value must be a QName or whitespace-separated list of QNames had the value '#current'
    [xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 107: An attribute whose value must be a QName or whitespace-separated list of QNames had the value '#all'
    [xslt] : Error! Syntax error in 'element()'.
    [xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 141: Error parsing XPath expression 'element()'.
    [xslt] : Error! Syntax error in 'attribute()'.
    [xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 149: Error parsing XPath expression 'attribute()'.
    [xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 156: An attribute whose value must be a QName or whitespace-separated list of QNames had the value '#current'
    [xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 162: An attribute whose value must be a QName or whitespace-separated list of QNames had the value '#current'
    [xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 169: An attribute whose value must be a QName or whitespace-separated list of QNames had the value '#current'
    [xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 196: An attribute whose value must be a QName or whitespace-separated list of QNames had the value '#current'
    [xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 201: An attribute whose value must be a QName or whitespace-separated list of QNames had the value '#current'
    [xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 219: An attribute whose value must be a QName or whitespace-separated list of QNames had the value '#current'
    [xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 227: An attribute whose value must be a QName or whitespace-separated list of QNames had the value '#current'
    [xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 260: An attribute whose value must be a QName or whitespace-separated list of QNames had the value '#current'
    [xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 276: An attribute whose value must be a QName or whitespace-separated list of QNames had the value '#current'
    [xslt] : Error! Syntax error in 'concat( if (not($first)) then 'position:absolute;left:0;top:0;width:100%;height: 100%;' else '', if ($last) then @style else '')'.
    [xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 339: Error parsing XPath expression 'concat( if (not($first)) then 'position:absolute;left:0;top:0;width:100%;height: 100%;' else '', if ($last) then @style else '')'.
    [xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 339: Required attribute 'select' is missing.
    [xslt] : Error! Syntax error in 'if (@oxadding) then concat('padding: ', @oxadding, ';') else '''.
    [xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 406: Error parsing XPath expression 'if (@oxadding) then concat('padding: ', @oxadding, ';') else '''.
    [xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 406: Required attribute 'select' is missing.
    [xslt] : Error! Syntax error in 'if (@ox:border) then concat('border-width: ', @ox:border, ';') else '''.
    [xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 407: Error parsing XPath expression 'if (@ox:border) then concat('border-width: ', @ox:border, ';') else '''.
    [xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 407: Required attribute 'select' is missing.
    [xslt] : Error! Syntax error in 'if (@ox:margin) then concat('margin: ', @ox:margin, ';') else '''.
    [xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 408: Error parsing XPath expression 'if (@ox:margin) then concat('margin: ', @ox:margin, ';') else '''.
    [xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 408: Required attribute 'select' is missing.
    [xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 411: An attribute whose value must be a QName or whitespace-separated list of QNames had the value '#current'
    [xslt] : Error! file:///packages/open-xchange-gui/build.xsl: line 423: An attribute whose value must be a QName or whitespace-separated list of QNames had the value '#current'
    [xslt] : Fatal Error! Could not compile stylesheet
    [xslt] Failed to process /packages/open-xchange-gui/html/index.xml

    BUILD FAILED
    /packages/open-xchange-gui/build.xml:89: The following error occurred while executing this line:
    /packages/open-xchange-gui/build.xml:45: Fatal error during transformation

    Total time: 5 seconds

  • #2
    I can't tell you much, but at least this: The whitespace after livegrid.css has (heroically, I might add) been removed ;-)
    This will be synchronized into the public CVS later this day.

    On the Saxon issue: the date of the saxon8.jar is 2006-06-13 (I cannot extract any other version information), so it might be Saxon 8.7.3. Hopefully that helps.

    ~Tierlieb

    Comment


    • #3
      Update: Francisco just tested building with 8.7.3 - it works. But 8.9.0.2 seems to work, too, as Victor in the next room seems to have found out. You can read his recommendation in the fine OX Installation Guide, which he updated 10 minutes ago.

      ~Tierlieb

      Comment


      • #4
        404 - /ajax/login

        Thank you for response.

        Everything compiled well, but I can't get ajax servlet map working:

        HTTP Status 404 - /ajax/login
        --------------------------------------------------------------------------------
        type Status report
        message /ajax/login
        description The requested resource (/ajax/login) is not available.
        --------------------------------------------------------------------------------
        Apache Tomcat/5.5.12



        Here is my mod_jk config:

        # Where to find workers.properties. We will create this file later in the tutorial.
        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



        /etc/libapache2-mod-jk/workers.properties:

        workers.java_home=/usr/lib/java
        ps=/
        worker.list=ajp13_worker
        worker.ajp13_worker.port=8009
        worker.ajp13_worker.host=localhost
        worker.ajp13_worker.type=ajp13
        worker.ajp13_worker.lbfactor=1
        worker.loadbalancer.type=lb
        worker.loadbalancer.balanced_workers=ajp13_worker

        Comment


        • #5
          when you restart apache, you should get a message like

          Code:
          MOD_JK operating normal ...
          check the apache log for this. should be the error.log as far as i know.

          where and how have you implemented the mod_jk.conf? in the /etc/apache2/conf.d/ directory?

          Comment


          • #6
            Originally posted by pollar View Post
            Apache Tomcat/5.5.12
            You already have Tomcat listening on port 8009. The groupware doesn't need Tomcat and tries to listen on port 8009 itself.

            Comment


            • #7
              Yep, my fault. Sorry. Everything works fine.

              Comment


              • #8
                Problems with open-xchange-gui compilation

                I use saxon8.jar from saxon8-9j, but compilation fails...

                build page:
                Could not load class (org.apache.tools.ant.taskdefs.optional.image.Imag e) for type image
                Could not load class (org.apache.tools.ant.taskdefs.optional.ejb.WLRun) for type wlrun
                Could not load class (org.apache.tools.ant.taskdefs.optional.IContract) for type icontract
                Could not load class (org.apache.tools.ant.taskdefs.optional.ide.VAJLoa dProjects) for type vajload
                Could not load class (org.apache.tools.ant.taskdefs.optional.starteam.S tarTeamList) for type stlist
                Could not load class (org.apache.tools.ant.taskdefs.optional.NetRexxC) for type netrexxc
                Could not load class (org.apache.tools.ant.taskdefs.optional.scm.AntSta rTeamCheckOut) for type starteam
                Could not load class (org.apache.tools.ant.taskdefs.optional.StyleBook) for type stylebook
                Could not load class (org.apache.tools.ant.taskdefs.optional.starteam.S tarTeamLabel) for type stlabel
                Could not load class (org.apache.tools.ant.taskdefs.optional.starteam.S tarTeamCheckin) for type stcheckin
                Could not load class (org.apache.tools.ant.taskdefs.optional.ide.VAJExp ort) for type vajexport
                Could not load class (org.apache.tools.ant.taskdefs.optional.starteam.S tarTeamCheckout) for type stcheckout
                Could not load class (org.apache.tools.ant.taskdefs.optional.ejb.Ejbc) for type ejbc
                Could not load class (org.apache.tools.ant.taskdefs.optional.ide.VAJImp ort) for type vajimport
                Could not load class (org.apache.tools.ant.taskdefs.optional.ejb.WLStop ) for type wlstop
                Could not load class (org.apache.tools.ant.taskdefs.optional.ejb.DDCrea tor) for type ddcreator
                fileset: Setup scanner in dir /tmp/open-xchange-gui with patternSet{ includes: [index.html] excludes: [] }
                [dependset] Deleting all target files.
                Class org.apache.tools.ant.taskdefs.optional.TraXLiaison loaded from parent loader (parentFirst)
                [xslt] Using class org.apache.tools.ant.taskdefs.optional.TraXLiaison
                [xslt] In file /tmp/open-xchange-gui/html/index.xml time: 1172512030000
                [xslt] Out file /tmp/open-xchange-gui/index.html time: 0
                [xslt] Style file build.xsl time: 1172838012000
                [xslt] Processing /tmp/open-xchange-gui/html/index.xml to /tmp/open-xchange-gui/index.html
                [xslt] Loading stylesheet /tmp/open-xchange-gui/build.xsl
                ResourceStream for META-INF/services/javax.xml.transform.TransformerFactory loaded from parent loader
                Class org.apache.xalan.processor.TransformerFactoryImpl loaded from parent loader (parentFirst)
                ResourceStream for META-INF/services/javax.xml.parsers.SAXParserFactory loaded from parent loader
                Class org.apache.xerces.jaxp.SAXParserFactoryImpl loaded from parent loader (parentFirst)
                Couldn't load ResourceStream for META-INF/services/org.apache.xerces.xni.parser.XMLParserConfiguratio n
                Class org.apache.xerces.parsers.XIncludeAwareParserConfi guration loaded from parent loader (parentFirst)
                Class org.apache.xerces.impl.dv.dtd.DTDDVFactoryImpl loaded from parent loader (parentFirst)
                [xslt] : Fatal Error! org.xml.sax.SAXException: Can not resolve namespace prefix: #all Cause: org.xml.sax.SAXException: Can not resolve namespace prefix: #all
                [xslt] Failed to process /tmp/open-xchange-gui/html/index.xml
                [antcall] Exiting /tmp/open-xchange-gui/build.xml.

                Comment


                • #9
                  use version 8.9.0.2 (saxon8-9-0-2j.zip) or later, since there seems to be a bug in version 8.9.

                  Comment


                  • #10
                    Sorry, I use 8.9.0.2 (saxon8-9-0-2j.zip) and not 8.9. This isn't problem.

                    Comment


                    • #11
                      The problem is: you didn't install the Ant optional tasks. On Debian/Ubuntu, this is in the package ant-optional.

                      Comment


                      • #12
                        Thanks! Where can I find ant-optional package for Red Hat?

                        Comment


                        • #13
                          Err... The same place where you got Ant from?

                          The package may be named differently, so you might want to look at all packages with names starting with "ant". Otherwise, no idea.

                          Comment


                          • #14
                            I did not find a rpm for RHEL, but you should give the official ant binary packages a try (or some other rpm based distribution repository)

                            Comment


                            • #15
                              Hello,

                              I also have a problem for compiling open-xchange-gui :

                              /home/pacherie/Dvp_v3/Projects/open-xchange-gui/build.xml:57: java.lang.ClassNotFoundException: org.apache.tools.ant.taskdefs.optional.TraXLiaison

                              I presume that my Ant installation needs additional package as you suggested. Problem is that there too many of them to blind install.

                              I think we need the name of the Ant extra package to install for open-xchange-gui to compile ?

                              Comment

                              Working...
                              X