You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by ee...@philips.com on 2004/09/02 15:43:12 UTC
FOP PDF with images from eXist database
I'm having problems with creating PDF's that contain images from the eXist
database.
I use the FOP servlet from Cocoon 2.1.5.1 and I am able to create PDF's
that contain images from different sources, i.e.
<fo:external-graphic src="url(http://localhost:8080/logo.jpg)"/> works fine.
But when I want to access the image in my fo.xml file in order to create a
PDF:
<fo:external-graphic src="url(http://localhost:8080/exist/servlet/db/test.gif)"/>
The system doesn't respond. The memory usage for java.exe in the
taskmanager gets bigger and bigger and I have to kill the process.
When I access the same image within a normal HTML file, it works fine:
<img src="http://localhost:8080/exist/servlet/db/test.gif">
What am I doing wrong? I couldn't find anything interesting in the log
files.
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
Re: FOP PDF with images from eXist database
Posted by Clay Leeds <cl...@medata.com>.
On Sep 2, 2004, at 6:43 AM, eelke.toonstra@philips.com wrote:
> But when I want to access the image in my fo.xml file in order to
> create a
> PDF:
> <fo:external-graphic
> src="url(http://localhost:8080/exist/servlet/db/test.gif)"/>
> The system doesn't respond. The memory usage for java.exe in the
> taskmanager gets bigger and bigger and I have to kill the process.
>
> When I access the same image within a normal HTML file, it works fine:
> <img
> RENAME_FILE_TO_USE_src="http://localhost:8080/exist/servlet/db/
> test.gif">
>
> What am I doing wrong? I couldn't find anything interesting in the log
> files.
Could this be a permissions issue? Perhaps the I_USR (or whoever) when
accessing directly has the privilege to access, but java.exe process
does not? Have you checked the images & graphics FAQ items? Here's a
link[1] but don't stop there. There are plenty of other questions there
dealing with images & graphics. TIP: Try searching for 'graphic' and
also 'image' if you don't find what you were looking for?
Web Maestro Clay
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org