Loggable NoClassDefFoundError in FOP 1.20.3 and WL 6.1
HI, I am deploying a big EAR in WL 6.1 on solaris and I am bundling FOP 1.20.3 with it, I am also including avalon 4.0 and logkit 1.0 jars within it as they are needed by fop.jar. Whenever I try to construct a Driver() class I get a NoClassDefFoundError on the org.apache.framework.logger.Loggable interface that it needs. The strange thing is that when I do the following : try { ClassLoader cl = this.getClass().getClassLoader(); cl.loadClass(org.apache.avalon.framework.logger.Loggable); // .this works OK // the following fails with NoClassDefFoundError on Loggable org.apache.fop.apps.Driver d = new org.apache.fop.apps.Driver(); } catch (Throwable t) { cat.error(failed:, t); } It DOES work when I put the necessary jars on the server startup class path, however it would obviously be better to be able to bundle the 3rd party jars within my EAR ... I know this seems like it would be a general weblogic classloader question - but I have had no problems with any other 3rd party jars that are similar to this one. Has anyone else had these kinds of problems ? Cheers, Brian. Brian Dowd (mailto:[EMAIL PROTECTED]) Global Volatility Convertible Bonds Technology phone: 020 7260 1375 -- This message is intended only for the personal and confidential use of the designated recipient(s) named above. If you are not the intended recipient of this message you are hereby notified that any review, dissemination, distribution or copying of this message is strictly prohibited. This communication is for information purposes only and should not be regarded as an offer to sell or as a solicitation of an offer to buy any financial product, an official confirmation of any transaction, or as an official statement of Lehman Brothers. Email transmission cannot be guaranteed to be secure or error-free. Therefore, we do not represent that this information is complete or accurate and it should not be relied upon as such. All information is subject to change without notice.
Different footers for one fo:page-sequence/
Hi! Please advise how can I use footers of different size and content for one fo:page-sequence/? Many thanks in advance Peter Velichko
XML to AFP
Hi All, I'm looking for a way to produce AFP (IBM's Advanced Function Presentation) file from XML. I know that there is commercial products like DI Pager. I also can produce PDF or PostScript file and then convert it to AFP format. But may be somebody knows a simpler way. Thank you in advance, Igor
table-cell vertical-align=bottom?
As it appears from the template below, I'm desperately trying to align a table cell's content to the bottom. It seems to me that the vertical-align =bottom property does not work? Or what is wrong with my code? Thanks in advance! Costantino fo:table table-layout=fixed fo:table-column column-width=50mm background-color=#EE / fo:table-column column-width=70mm background-color=#BB / fo:table-body fo:table-row fo:table-cell fo:block vertical-align=bottomtest test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test test /fo:block /fo:table-cell fo:table-cell fo:block line-height=10cm valign=bottom text-align= end bottom=true position=bottom vertical-align=bottomVertical alignment TEST/fo:block /fo:table-cell /fo:table-row /fo:table-body /fo:table
Need help in making FOP work w/ ASP
Hello everybody, I'm trying to parse an XML document with its XSL stylesheet using FOP in an ASP. I successfully generated a pdf file with jBuilder but i can't figure out why it won't work with my asp page. I just don't know what's the right way to do things. I have unpacked all the jar files in the winnt/java/trustlib directory. I have created a class that has four methods : three of them are to set the input files (xml and xsl) and the output file (pdf) the last one is used to launch the job and refer to the class within the jar files In the asp i get no error when creating the object w/ getObject or Server.CreateObject not when using the first three methods. But when i call the last method it says java.lang.NoClassDefFoundError. It does not say which class is Undefined. All i know is that this occurs when i instantiate the Class Driver within my self-made Class. Should I unpack all the jar files in the winnt/java/trustlib directory or leave them packed? Should i instantiate the fop archive with the -xml -xsl and -pdf arguments? How can i pass arguments from an asp page to the class i want to run? Does anyone know have a clue? thank you
Multiple rows and cols
I have a 19 by 20 cells table. What is the efficient way to do it? I have this in. xsl but having trouble converting to .fo xsl:for-each select=LIST1 table WIDTH=100% border=6 bordercolorlight=#33 bordercolordark=#66 bgcolor=#CC cellspacing=0 cellpadding=1 align =center xsl:for-each select=ROWS tr !-- X=0 is Column Heading, Y=0 is Row Heading -- xsl:for-each select=cell[(@X='0') $or$ (@Y='0')] td align =center bgcolor=3399cc bxsl:value-of select=.//b/font /td /xsl:for-each !-- non-heading cells -- xsl:for-each select=cell[(@X!='0')$and$(@Y!='0')] td align=center xsl:value-of select=./ /td /xsl:for-each /tr /xsl:for-each !-- for-each ROWS -- /table /xsl:for-each thanks mathy
Hi all, the second Release Candidate for 0.20.3 (Maintenance release) is finally available at http://xml.apache.org/dist/fop for downloading and testing. There will be no new functionality added and if no new bugs show up FOP 0.20.3 will be released next week (target date is 27. Februar ;-) Changes from previous Release Candidate: - Proper use of font encodings for native fonts Submitted by: Peter S. Housel (housel@acm.org) and Rainer Garus (rainer.garus@arcor.de) - jimi.jar removed for license reasons - Added Printing from a servlet example Submitted by: Ralph LaChance Ralph_LaChance@compuserve.com - make sure label-end() value gets calculated (fix for bug #6094, endless loop while processing list-item-label)) - Improved i18n support for AWT viewer (Japanese dialogs) Submitted by: Satoshi Ishigami (ishigami@victokai.co.jp) - Generated text is written in UTF-8 encoding instead of ISO-8859-1 - MIF output strings escaping (see bug #1332) Submitted by: Vicente Salvador (vicentesalvador@netscape.net) - Fixed NoSuchElementException in MIF renderer (Christian Geisert) - Added Polish Hyphenation based on TeX hypenation Submitted by: Marcin Kuthan [M.Kuthan@elka.pw.edu.pl] - Added greek Hyphenation Submitted by: Dimitris Kamenopoulos el97146@mail.ntua.gr - Added hungarian Hyphenation Submitted by: Simon Geza simon@mail.drotposta.hu Just a reminder: This version has been updated to XSL 1.0 Recommendation syntax and requires JDK 1.2 or better. [ANNOUNCEMENT] Fop 0.20.3 released
Hi all, just in case someone hasn't noticed yet ;-) FOP 0.20.3 is finally available at http://xml.apache.org/dist/fop for downloading. The main reason for this release is the conformance to the XSL-FO Version 1.0 W3C Recommendation. Other changes include: - support for CMYK and embedded ICC profiles in jpeg images - support for EPS images - improved font encodings for native (Acrobat) fonts - i18n improvments for AWT viewer - support for letter-spacing - Polish, Greek, and Hungarian hyphenation - and of course a lot of bugfixes... Changes from previous Release Candidate (rc2): - added missing japanese resource for AWT viewer - fixed Markers - updated logkit from 1.0b4 to 1.0 Enjoy, Christian
Logger not set
Hi all, Does it matter if I just ignore setting the logger? I already have an application built around using Log4J and it seems silly to instantiate another logging system just to output 3 lines every time I run FOP. I just want to make sure that there isn't anything critical to the setLogger method thanks Mike
Re: Logger not set
Hi all, Does it matter if I just ignore setting the logger? I already have an application built around using Log4J and it seems silly to instantiate another logging system just to output 3 lines every time I run FOP. I just want to make sure that there isn't anything critical to the setLogger method thanks Mike
[ANNOUNCEMENT] Fop 0.20.3 released
Doh, sorry for the previous mail (don't know what happened..) Hi all, just in case someone hasn't noticed yet ;-) FOP 0.20.3 is finally available at http://xml.apache.org/dist/fop for downloading. The main reason for this release is the conformance to the XSL-FO Version 1.0 W3C Recommendation. Other changes include: - support for CMYK and embedded ICC profiles in jpeg images - support for EPS images - improved font encodings for native (Acrobat) fonts - i18n improvments for AWT viewer - support for letter-spacing - Polish, Greek, and Hungarian hyphenation - and of course a lot of bugfixes... Changes from previous Release Candidate (rc2): - added missing japanese resource for AWT viewer - fixed Markers - updated logkit from 1.0b4 to 1.0 Enjoy, Christian
RE: page sequence of different last page and rest pages
Right now (unless someone snuck it in) last as a value for page-position is not implemented. The reason is, it's not so easy to do for the general case. For example, you can fairly easily imagine simple-page-masters for rest and last that put the processor into an infinite loop if the strategy is to redo the last page of content with last when the end of flow is detected when laying out with rest. So the algorithm needs be more sophisticated. Keiron and Karen's rewrite may give us more options to look ahead and make it easier to handle this situation. Hope this explains what's going on. Sorry I couldn't tell you that the feature exists. Regards, Arved Sandstrom -Original Message- From: Peter Velichko [mailto:[EMAIL PROTECTED] Sent: March 11, 2002 3:07 PM To: [EMAIL PROTECTED] Subject: page sequence of different last page and rest pages Hi! Please suggest how can I create page sequence of different last page and rest pages with FOP 0.20.3. The following code ship is not work correctly unfortunately :( fo:page-sequence-master master-name=my-sequence fo:repeatable-page-master-alternatives fo:conditional-page-master-reference page-position=first master-reference=common_page/ fo:conditional-page-master-reference page-position=rest master-reference=common_page/ fo:conditional-page-master-reference page-position=last master-reference=last_page/ /fo:repeatable-page-master-alternatives /fo:page-sequence-master Thank you in advance Peter Velichko
RE: Different footers for one fo:page-sequence/
Provided that different simple-page-masters are being used for the pages that are intended to have different footers, prepare the various static-contents that you'll need, and give them different names that map to corresponding region-after's in your various page-masters. Regards, AHS -Original Message- From: Peter Velichko [mailto:[EMAIL PROTECTED] Sent: March 11, 2002 10:44 AM To: [EMAIL PROTECTED] Subject: Different footers for one fo:page-sequence/ Hi! Please advise how can I use footers of different size and content for one fo:page-sequence/? Many thanks in advance Peter Velichko
Re: Loggable NoClassDefFoundError in FOP 1.20.3 and WL 6.1
Dowd, Brian wrote: HI, I am deploying a big EAR in WL 6.1 on solaris ... Brian, I assume this is for some clandestine eavesdropping operation. Peter