Re: Large PDF's files fail to stream correctly

2008-04-07 Thread Roland Neilands
Just a thought but you could put it into a BLOB in a DB & apply your security to accessing that. Alternatively encrypt the filesystem pdf for reading & provide the password separately. Regards, Roland Woodhouse, Graeme wrote: Hi Daniel, Thanks for your help - as a bit of a test I tried t

Re: Need immediate help.. FOP on Solaris Box

2008-04-07 Thread J.Pietschmann
Newkid wrote: The problem is, how do I create a PDF/RTF and XML files in the EAR file dynamically. By all mean, I am unable to find out creating / reading the files from the deployed EAR in the weblogic. While this is still technically possible, that's not the way Sun imagined how EJB applicati

RE: Large PDF's files fail to stream correctly

2008-04-07 Thread Woodhouse, Graeme
Hi Jeremias, Your right - having no problems with smaller PDF's. I think it all has to do with the setup I have with tomcat connecting to apache and the way data chunks are sent. This is a long standing problem in my company - I'm amazed it isn't a well known problem. Thanks for your links, I'

Re: Apache FOP: Trimbox, Bleedbox, Crop marks

2008-04-07 Thread Jeremias Maerki
On 07.04.2008 07:55:42 Oliver Hirschi wrote: > Thanks for your answer at first > > What do you think, how much effort (in man-day) is used for initial > skill adaptation training in fop-code and writing the expansion for > supporting trim-, bleed-box and crop-marks? It depends how these elabor

Re: Apache FOP: Embedding PDF, EPS

2008-04-07 Thread Jeremias Maerki
On 07.04.2008 13:08:33 Peter Coppens wrote: > For pdf, checkout http://www.jeremias-maerki.ch/development/fop/index.html Yep. ;-) > For eps, you probably get "expected" behavior (but I am not sure) - > see http://xmlgraphics.apache.org/fop/0.94/graphics.html#eps Right. I have not reimplement

Re: Large PDF's files fail to stream correctly

2008-04-07 Thread Jeremias Maerki
Have you checked the various servlet-related entries in the FAQ? http://xmlgraphics.apache.org/fop/faq.html Furthermore, there's a page on servlet in a FOP-context that may help you: http://xmlgraphics.apache.org/fop/stable/servlets.html I think the key points are that the MIME type is correct an

Re: Need immediate help.. FOP on Solaris Box

2008-04-07 Thread Jeremias Maerki
On 07.04.2008 12:04:56 Newkid wrote: > > Hello Pietschmann, > > Thanks for your explainations. > > Let me allow to brief the case history: > > I have complex Java application deployed on Weblogic 8.1 SP6. There is a > requirement to create PDF /RTF from the XML file. When a user creates XML >

Re: Apache FOP: Embedding PDF, EPS

2008-04-07 Thread Peter Coppens
For pdf, checkout http://www.jeremias-maerki.ch/development/fop/index.html For eps, you probably get "expected" behavior (but I am not sure) - see http://xmlgraphics.apache.org/fop/0.94/graphics.html#eps Hth, Peter On 07 Apr 2008, at 13:00, Oliver Hirschi wrote: Hi there again Is there a

Apache FOP: Embedding PDF, EPS

2008-04-07 Thread Oliver Hirschi
Hi there again Is there a way to embed a PDF or an EPS as a graphic using apache fop 0.94? With PDF, I get the error "[Fatal Error] :1:1: Content is not allowed in prolog. [WARN] No ImageReader found for file:/t:/test/2.pdf"... With EPS, I get no error, but the graphic is not embedded... Th

Re: Need immediate help.. FOP on Solaris Box

2008-04-07 Thread Newkid
Hello Pietschmann, Thanks for your explainations. Let me allow to brief the case history: I have complex Java application deployed on Weblogic 8.1 SP6. There is a requirement to create PDF /RTF from the XML file. When a user creates XML file, the file is getting stored in the ORACLE database as

RE: Large PDF's files fail to stream correctly

2008-04-07 Thread Woodhouse, Graeme
Hi Daniel, Thanks for your help - as a bit of a test I tried the following two scenarios: I set the response size to Integer.MAX_VALUE. Which didn't work :( I also tried first saving the output to a file - waiting until the file was complete, then streaming the file to the browser through the r