Bug#576982: marked as done (fop: java.awt.HeadlessException)

Mathieu Malaterre mathieu.malaterre at gmail.com
Thu Apr 15 16:04:07 UTC 2010


On Thu, Apr 15, 2010 at 4:21 PM, Niels Thykier <niels at thykier.net> wrote:
>
>> Awsome ! This was exactly what I needed. Thanks. Closing bug.
>>
>> It does not work for me, because of a very weird bug (Java keeps on
>> failing because of "Network is unreachable") but this is a different
>> story.
>>
>>
>> $ fop -xsl /usr/share/xml/docbook/stylesheet/docbook-xsl/fo/docbook.xsl
>> -xml hex.xml -awt
>> [warning] /usr/bin/fop: Unable to locate xml-apis in /usr/share/java
>> Apr 15, 2010 3:50:11 PM org.apache.fop.cli.Main startFOP
>> SEVERE: Exception
>> javax.xml.transform.TransformerException: Failure reading file:/tmp/hex.xml
>>       at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:217)
>>       at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:125)
>>       at org.apache.fop.cli.Main.startFOP(Main.java:166)
>>       at org.apache.fop.cli.Main.main(Main.java:197)
>>
>> ---------
>>
>> javax.xml.transform.TransformerException: Failure reading file:/tmp/hex.xml
>>       at com.icl.saxon.om.Builder.build(Builder.java:267)
>>       at com.icl.saxon.Controller.transform(Controller.java:977)
>>       at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:214)
>>       at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:125)
>>       at org.apache.fop.cli.Main.startFOP(Main.java:166)
>>       at org.apache.fop.cli.Main.main(Main.java:197)
>> Caused by: java.net.SocketException: Network is unreachable
>
> Hi
>
> This problem is probably due to #560056. openjdk-6 (from unstable)
> should be unaffected by this bug, but sun-java6 is still affected.

I found out the link except directory /etc/sysctl.d/ is empty for me
(debian stable 5.0.4+backports). So I had to do something like :

  sysctl -w net.ipv6.bindv6only=0

Thanks anyway
-- 
Mathieu





More information about the pkg-java-maintainers mailing list