Advertisement

09.26.2008 at 07:12AM PDT, ID: 23766081
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

9.3

Installing Apache FOP on Linux server

Asked by alcani in Extensible Stylesheet Language Transformation (XSLT), Linux Setup, Red Hat Linux

Tags: , ,

Hi,

I recently installed Apache FOP on my Linux Server in order to generate PDFs files.

Something is not working properly. Maybe you could help me to find where my error is.

Here is what I did:

1)      Download and install Java Runtime Environment 1.6 in /usr/local
2)      Download and install fop 0.94 (binary package) in /usr/local
3)      Set environment variable JAVA_HOME=/usr/local/jre1.6.0_07

When I run fop.sh, I get all the options. But at the end, after [examples] I get the following message:

Sep 26, 2008 8:47:48 AM org.apache.fop.cli.Main startFOP
SEVERE: Exception
org.apache.fop.apps.FOPException: No input file specified
       at org.apache.fop.cli.CommandLineOptions.checkSettings(CommandLineOption
s.java:694)
       at org.apache.fop.cli.CommandLineOptions.parse(CommandLineOptions.java:1
45)
       at org.apache.fop.cli.Main.startFOP(Main.java:154)
       at org.apache.fop.cli.Main.main(Main.java:197)


I dont know if the message indicate a bad configuration??

Anyway I tried to transform a simple file using
./fop xml file.xml xsl filefo.xsl pdf file.pdf

I get this message:

Sep 26, 2008 8:55:34 AM org.apache.fop.fo.FOTreeBuilder$MainFOHandler endElement
WARNING: Mismatch: root (http://www.w3.org/1999/XSL/Format) vs. page-sequence (h
ttp://www.w3.org/1999/XSL/Format)
Sep 26, 2008 8:55:34 AM org.apache.fop.fo.FOTreeBuilder fatalError
SEVERE: javax.xml.transform.TransformerException: java.lang.IllegalStateExceptio
n: endElement() called for fo:root where there is no current element.

Several lines refer to xalan. It is necessary to install it?

Thank you for your help.
Start Free Trial
 
Loading Advertisement...
 
[+][-]09.26.2008 at 01:30PM PDT, ID: 22583472

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Extensible Stylesheet Language Transformation (XSLT), Linux Setup, Red Hat Linux
Tags: Linux, Apache Fop, fop 0.94
Sign Up Now!
Solution Provided By: KeremE
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20081112-EE-VQP-44 / EE_QW_2_20070628