help: cannot run the examples

  • ciel

    ciel - 2006-07-18

    hi, all:

    i download the xmlresume and installed on my redhat 9. but I cannot pass the examples. I am not familar with the java structure, so i don't know what's wrong. The following is what i have done:

    i follow the user guard

    1: i donlowad jdk1.5.0_07. uncompress it under /usr/java. and I add the /usr/java/jdk1.5.0_07/bin to $PATH. didnot add or change any other environment parameter.

    2: i download Xerces-J-bin.2.8.0.tar.gz, unzip it, and copy all .jar to /usr/java/jdk1.5.0_07/jre/lib/ext as the introduction of xmlresume said

    3: i download  xalan-j_2_7_0-bin.tar.gz. copy its *jar to the ext/ too.

    4: the same thing to fop-0.20.5-bin.tar.gz

    5: I download the xmlresume. and uncompress it. I change the example2.xml to resume.xml. and In Makefile, i change xsl_base = ../xsl

    the following is what i get..

    $ make
    java org.apache.xalan.xslt.Process  -in resume.xml -xsl ../xsl/output/us-text.xsl -out resume.txt

    (Location of error unknown)XSLT Error (javax.xml.transform.TransformerException): Connection timed out
    Exception in thread "main" java.lang.RuntimeException: Connection timed out
            at org.apache.xalan.xslt.Process.doExit(
            at org.apache.xalan.xslt.Process.main(
    make: *** [resume.txt] Error 1

    there had been a long time until the error message come out.

    and I find that the *jar i uncompressed from xeerces and xalan is different from the list in the section Installing and Configuring the Software.

    So could anybody help out of this?..thanks.

    • Anonymous - 2006-07-18

      If my memory serves me right, you're seeing this error because Java can't reach to download the DTD.  This happens if you're behind a proxy server.  Change the path to the DTD in the DOCTYPE declaration at the top of the resume.xml file you are editing/testing.  Make the path point to a local copy and you should be fine.

      • Nobody/Anonymous

        all done, thank you very much :)


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks