Homepage | Products | OX Knowledge Base | Support | Try Now | Contact | Company
OX Logo
Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    johanson Guest

    Default failed to compile Open-Xchange GUI

    Hey,

    I have a problem with my OX installation.
    When i try to compile the Open-Xchange GUI, it fails with the following message:

    # ant -Dlib.dir=/opt/open-xchange/lib/ deploy
    Buildfile: build.xml

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

    BUILD FAILED
    javax.xml.transform.TransformerFactoryConfiguratio nError: Provider net.sf.saxon.TransformerFactoryImpl not found

    Total time: 1 second
    oxnew:/usr/src/open-xchange/open-xchange-gui# nano build.xml
    oxnew:/usr/src/open-xchange/open-xchange-gui# ant -Dlib.dir=/opt/open-xchange/lib/ deploy
    Buildfile: build.xml

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

    BUILD FAILED
    javax.xml.transform.TransformerFactoryConfiguratio nError: Provider net.sf.saxon.TransformerFactoryImpl not found

    Total time: 1 second

    I'm not really fix with java, so i doesnt have any plan why this step fail.
    Are any further informations needed, please tell me.

    thx for help
    Johanson

  2. #2
    Join Date
    Feb 2007
    Posts
    251

    Default

    Have you downloaded the Saxon parser and put saxon8.jar in /opt/open-xchange/lib/ ?

  3. #3
    johanson Guest

    Default

    Helo Viktor,

    thx for your fast answer.
    Yes i have the saxon8.jar in /opt/open-xchange/lib, and all the saxon8*.jar they was included in the saxonb8-9-0-2j.zip
    But, what is the saxon parser ?
    Is it listed in the HowTo ?
    Wher can i get it ?

    lg
    Johanson

  4. #4
    Join Date
    Feb 2007
    Posts
    251

    Default

    Quote Originally Posted by johanson View Post
    But, what is the saxon parser ?
    It is an XSLT 2.0 processor. We use to convert XML to HTML when building the GUI.
    Quote Originally Posted by johanson View Post
    Is it listed in the HowTo ?
    Yes: III.2. Apache Ant and 3rd party dependencies
    Quote Originally Posted by johanson View Post
    Yes i have the saxon8.jar in /opt/open-xchange/lib, and all the saxon8*.jar they was included in the saxonb8-9-0-2j.zip
    ...
    Wher can i get it ?
    Err... Didn't you just say that you already got it?

  5. #5
    johanson Guest

    Default

    Hey,

    Yes, i downloaded all files listed in the "3rd party section",
    but i didn't know that this is same (saxon - saxon-parser)

    # ls /opt/open-xchange/lib
    activation.jar commons-logging.jar junit-4.1.jar ox_languages.jar saxon8-sql.jar commons-cli-1.0.jar concurrent.jar mail.jar ox_server.jar saxon8-xom.jar commons-fileupload.jar jakarta-slide-webdavlib-2.1.jar mysql-connector-java-3.1.13-bin.jar saxon8-ant.jar saxon8-xpath.jar commons-httpclient-2.0.2.jar jcs-1.2.7.9.2.jar org.eclipse.osgi_3.2.1.R32x_v20060919.jar saxon8-dom4j.jar saxon8-xqj.jar commons-io.jar jdom.jar ox_admindaemon.jar saxon8-dom.jar spring-beans_1.2.7.jar commons-logging-adapters.jar jsdk.jar ox_admin_plugin_context_light.jar saxon8.jar spring-core_1.2.7.jar
    commons-logging-api.jar json.jar ox_admin_plugin_imap.jar saxon8-jdom.jar tnef.jar

    # echo $ANT_OPTS
    -Djavax.xml.transform.TransformerFactory=net.sf.sax on.TransformerFactoryImpl
    # echo $CLASSPATH
    /opt/open-xchange/lib/

    lg and sorry for my misstake ;o)
    Johanson

  6. #6
    johanson Guest

    Default

    now it compiles !!!

    the hit was the following post (39):
    http://typo3.open-xchange.com/forum/...hp?t=16&page=4

    the right command was:
    ant -lib /opt/open-xchange/lib/ deploy

    Maybe to adapt it into the HowTo ?

    thx Viktor for help

  7. #7
    Join Date
    Feb 2007
    Location
    Olpe, Germany
    Posts
    88

    Default

    This is not a howto problem! It seems like you already have any other XSLT jar/installation in your classpath which conflicts with the saxon package. We may put a note to the install howto anyway.

  8. #8
    Francisco Laguna Guest

    Default

    I added it to the howto, as this seems to be a common situation.

  9. #9
    johanson Guest

    Default

    Hmm, its possible, but i installed OX on a complete fresh Debian/Etch installation, and follow step by step the HowTo.
    And there are no other Java packages installed.

    Johanson

  10. #10
    Francisco Laguna Guest

    Default

    It could be part of the normal Java installation. Some java versions bring along their own XSLT processor.

Bookmarks

Posting Permissions

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