FOPException 921600

2002-11-22 Thread Koes, Derrick

Does anyone know what this exception is or how it is caused?

Thanks,
Derrick




/**
 * Contact information.
 */
public class INFO
{
static final String NAME = Derrick Koes;
String title = Senior Software Engineer;
String company = Smith + Nephew Endoscopy;
URL companyURL = new URL(
http://www.smith-nephew.com/index-flash.html;);
String aolIM = codeauthor2001;
String EMAIL = [EMAIL PROTECTED];
String PHONE = (978) 749-1288;
String FAX = (978) 749-1487;
}

This electronic transmission is strictly confidential to Smith  Nephew and
intended solely for the addressee.  It may contain information which is
covered by legal, professional or other privilege.  If you are not the
intended addressee, or someone authorized by the intended addressee to
receive transmissions on behalf of the addressee, you must not retain,
disclose in any form, copy or take any action in reliance on this
transmission.  If you have received this transmission in error, please
notify the sender as soon as possible and destroy this message.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Converting FOP to HTML

2002-11-22 Thread Vladimir Sneblic
Thanks everyone for your feedback.

The reason I wanted to create HTML documents as well is simply because PDF 
documents don't allow you to copy/paste parts of them. That's why if I have an 
HTML representation as well I can copy-paste parts of the document from it. 
(hope this makes sense)

Thanks again,

Vlad 


Vlad wrote:

 I have created a program that converts a set of FOP templates to PDF 
 documents. Now I would
 like to enhance this program, and add the capability to also transform these 
 templates into
 HTML pages. Can this be done?

Using XSLT to convert the FOP documents to HTML would be your best bet. Because 
a large number of the presentation properties are taken from CSS it should be 
reasonably straight forward.

Is your primary intention to publish to print and you want the HTML version to 
resemble the printed version or is there any scope for flexibility in the 
presentation of the content?


Regards

Phil Fennell

-Original Message-
From: Vladimir Sneblic [mailto:[EMAIL PROTECTED]
Sent: 21 November 2002 02:10
To: [EMAIL PROTECTED]
Subject: Converting FOP to HTML


Hi,

I have created a program that converts a set of FOP templates to PDF documents. 
Now I would like to enhance this program, and add the capability to also 
transform these templates into HTML pages. Can this be done?

I have checked the FOP website but HTML is not on the list of supported 
formats. Has anyone tried something like this before? 

Any help would be greatly appreciated.

Vlad 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

_
This message has been checked for all known viruses by the MessageLabs Virus 
Scanning Service.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Converting FOP to HTML

2002-11-22 Thread Thorsten Scherler
Hi Vladimir,
you can c'n paste from PDF! e.g. with Acrobat Reader 5.0 you can prevent 
c'n paste or allow it. you can set a password and so on. I am not sure 
whether you can tell fop to pass that properties? But I can c'n past my pdf!

King regards
Thorsten
Vladimir Sneblic wrote:
Thanks everyone for your feedback.
The reason I wanted to create HTML documents as well is simply because PDF 
documents don't allow you to copy/paste parts of them. That's why if I have an 
HTML representation as well I can copy-paste parts of the document from it. 
(hope this makes sense)
Thanks again,
Vlad 

Vlad wrote:

I have created a program that converts a set of FOP templates to PDF documents. 
Now I would
like to enhance this program, and add the capability to also transform these 
templates into
HTML pages. Can this be done?

Using XSLT to convert the FOP documents to HTML would be your best bet. Because 
a large number of the presentation properties are taken from CSS it should be 
reasonably straight forward.
Is your primary intention to publish to print and you want the HTML version to 
resemble the printed version or is there any scope for flexibility in the 
presentation of the content?
Regards
Phil Fennell
-Original Message-
From: Vladimir Sneblic [mailto:[EMAIL PROTECTED]
Sent: 21 November 2002 02:10
To: [EMAIL PROTECTED]
Subject: Converting FOP to HTML
Hi,
I have created a program that converts a set of FOP templates to PDF documents. 
Now I would like to enhance this program, and add the capability to also 
transform these templates into HTML pages. Can this be done?
I have checked the FOP website but HTML is not on the list of supported formats. Has anyone tried something like this before? 

Any help would be greatly appreciated.
Vlad 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
_
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
_
This message has been checked for all known viruses by the MessageLabs Virus 
Scanning Service.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


AW: Converting FOP to HTML

2002-11-22 Thread Harald Meyer
Thorsten Scherler wrote:
 Hi Vladimir,

 you can c'n paste from PDF! e.g. with Acrobat Reader 5.0 you can prevent
 c'n paste or allow it. you can set a password and so on. I am not sure
 whether you can tell fop to pass that properties? But I can c'n
 past my pdf!

 King regards
 Thorsten

Unfortunately FOP still isn't able to protect its generated PDF. If you want
to do that you have to use external tools like itext.

--
Dipl. oec. Harald Meyer | Entwicklung
Cybay New Media GmbH | http://www.cybay.de



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AW: Converting FOP to HTML

2002-11-22 Thread Scherler, Thorsten
Hi all,

Harald wrote:
Unfortunately FOP still isn't able to protect its generated PDF. If you want
to do that you have to use external tools like itext.

-That's means standard is that's not protected! So u can c'n paste! :)

-Ursprüngliche Nachricht-
Von: Harald Meyer [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 22. November 2002 08:39
An: [EMAIL PROTECTED]
Betreff: AW: Converting FOP to HTML


Thorsten Scherler wrote:
 Hi Vladimir,

 you can c'n paste from PDF! e.g. with Acrobat Reader 5.0 you can prevent
 c'n paste or allow it. you can set a password and so on. I am not sure
 whether you can tell fop to pass that properties? But I can c'n
 past my pdf!

 King regards
 Thorsten

Unfortunately FOP still isn't able to protect its generated PDF. If you want
to do that you have to use external tools like itext.

--
Dipl. oec. Harald Meyer | Entwicklung
Cybay New Media GmbH | http://www.cybay.de



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: blank screen in browser

2002-11-22 Thread Johan Åbrandt
IE prior to 5.5 could not handle pdf if the request method was POST, for 
those versions one must use a GET. Are you using GET or POST and are the 
users that have problems in  5.5?

Zahigian, Mike wrote:
I am using FOP embedded in a Servlet.  Users trigger the servlet by clicking
a button on a web page.  The servlet then takes the response and performs a
transformation and renders to pdf.  The browser pops up a new window and
displays the pdf output.  1% or so of my user population cannot get the pdf
to display in the browser window that pops up (or any other browser window).
These users can open pdf files that exist on their local machine.  When
these users click the print button on my web page, the new browser window
pops up, but the contents are blank.  Any idea what is going on?
Mike Z.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--
Johan Åbrandt
Technical Project Manager
(Tekninen projektipäällikkö)
Tel. +358 9 6817 3342
Mobile. +358 40 848 8068
[EMAIL PROTECTED]
Profit Software Oy
Meritullinkatu 11 C
00170 Helsinki, Finland
__
This message and its attachments have been found clean from known viruses 
with three different antivirus programs.
__

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: [Wyonacms-users] XOpus

2002-11-22 Thread MAISONNY Benoit
Hi,

If they want their product to be noticed by the Open Source community, maybe 
they could begin by adding an entry for it on http://www.freshmeat.net. I 
believe this is a primary source for finding such software. I have been looking 
for such wysiwyg XML editor in the last few months and never found Xopus.

It seems the source is not available on their web site. If you want to save 
this project from commercial vampires, just get the source (check the license 
first, of course) and put it on sourceforge or some other developer community 
web site. Maybe some people will adopt it and continue development on a forked 
project.

I haven't looked in details into Xopus, but it looks like a clone 
(feature-wise) of Bitflux. I think they'd be better off joining forces.

I hope this helps,
Benoit
(speaking on behalf of myself only)

 -Original Message-
 From: Thorsten Scherler [mailto:[EMAIL PROTECTED]
 Sent: 21 November 2002 18:38
 To: [EMAIL PROTECTED]; [EMAIL PROTECTED];
 [EMAIL PROTECTED]; [EMAIL PROTECTED]; 
 [EMAIL PROTECTED];
 security-dev@xml.apache.org; cocoon-dev@xml.apache.org;
 cocoon-users@xml.apache.org
 Subject: Re: [Wyonacms-users] XOpus
 
 
 This is an open appeal to the XML Open Source Community. 
 Please support 
 this appeal to keep an Open Source Project alive! How can we keep the 
 following project Open Source? Please post this message to people who 
 may help!
 
 Xopus is a browser based in-place wysiwyg XML editor. Xopus allows 
 users to edit their XML data in an intuitive word processor 
 alike way.
 http://xopus.org/index.jsp
 
 The following notice is on the above mentioned page. (my 
 comments) are 
 in the brackets.
 
 
 Hello groups, hello Laurens van den Oever, Sjoerd Visscher, 
 Lon Boonen!
 
 Here is the notice of Q42:
 
 Hi all,
 
 Today we made a decision concerning the Open Source future of Xopus.
 
 Originally, the Open Source project was intended to be our 
 marketing. We 
 hoped for huge exposure and many new projects and funding.
 
 (How long are you open source now? Since August/September? I think it 
 will take a while to spread the word. I talked to many people 
 that are 
 thinking to use Xopus and support the project, but it takes 
 some time to 
 really get in to it.)
 
 And of course to change the world for the better.
 
 (Would be if you stay Open Source! Your Editor is one good piece of 
 work! I really like it! If we spread the word into the cocoon 
 community 
 I think you will get more support and projects)
 
 We indeed got a lot of positive feedback, a few contributions (thanks 
 guys!), but no projects nor funding.
 
 The only serious leads and paying customers so far haven't found us 
 through the Open Source community. Most of them don't like the Open 
 Source idea all together.
 
 (That's to bad. But part of the idea is as well that the user will 
 develop the software because the know best want they want. I 
 think your 
 client will understand that they will profite of the work of the Open 
 Source Community. They have ideas, spirit and a powerful community.)
 
 Building the ideal XML editor, our goal, turned out to be 
 somewhat more 
 ambitious than we estimated.
 We have made a huge investment building this product and 
 can't continue 
 to deliver free software without revenues.
 
 (If some organisation listen: There is a Xopus Version for sale that 
 have this * Advanced features:
 o Complex pipeline resolving
 o Richtext editors
 o Table editing
 o Lookup editors
 o Animations
 o Fast-pace editing (allows fast-keyboard-typing while xml nodes are 
 created automatically according to the schema)
 o Date editors
 o Integer editors
 o Enumeration editors)
 
 Therefore we have been forced to the conclusion that we will 
 not release 
 new Xopus versions to the Open Source community as long as we 
 don't find 
 serious paid projects or funding.
 
 (The product is really awesome try it out @ 
 http://xopus.org/index.jsp?menu=demo)
 
 We hope we will be able to return to the Open Source development soon.
 
 Thanks for your support and we apologize for the inconvenience 
 (THHGTTG IV),
 **
 **
 
 What can we do?
 
 King Regards
 
 Thorsten Scherler
 (by the way I am not with Q42, I am using the Open Source 
 Product with 
 wyona-cms (http://www.wyona.org/) and I like it very much. All cocoon 
 user can integrate that editor in they applications! Online 
 editing of 
 XML - Kick's ass!)
 
 
 Alex McLintock wrote:
  Oh dear. It looks like XOpus isn't going to be open source, 
 after all.
  
  http://xopus.org/index.jsp
  
  H. I can't really argue with their reasoning. I am pushing Open 
  Source to the business community - and not getting enough 
 revenue to 
  make it worthwhile either.
  
  Comments?
  
  Alex
  
  
  
  
  
  Openweb Analysts Ltd, London.
  Software For Complex Websites http://www.OWAL.co.uk/
  Open Source Software Companies please register here 
  

[OT] sorry (RE: [Wyonacms-users] XOpus)

2002-11-22 Thread MAISONNY Benoit
Oops! I didn't mean to reply to FOP-list but to the sender only. Sorry for the 
noise.

B.


 -Original Message-
 From: MAISONNY Benoit [mailto:[EMAIL PROTECTED]
 Sent: 22 November 2002 10:08
 To: '[EMAIL PROTECTED]'
 Subject: RE: [Wyonacms-users] XOpus
 
 
 Hi,
 
 If they want their product to be noticed by the Open Source 
 community, maybe they could begin by adding an entry for it 
 on http://www.freshmeat.net. I believe this is a primary 
 source for finding such software. I have been looking for 
 such wysiwyg XML editor in the last few months and never found Xopus.
 
 It seems the source is not available on their web site. If 
 you want to save this project from commercial vampires, just 
 get the source (check the license first, of course) and put 
 it on sourceforge or some other developer community web site. 
 Maybe some people will adopt it and continue development on a 
 forked project.
 
 I haven't looked in details into Xopus, but it looks like a 
 clone (feature-wise) of Bitflux. I think they'd be better off 
 joining forces.
 
 I hope this helps,
 Benoit
 (speaking on behalf of myself only)
 
  -Original Message-
  From: Thorsten Scherler [mailto:[EMAIL PROTECTED]
  Sent: 21 November 2002 18:38
  To: [EMAIL PROTECTED]; [EMAIL PROTECTED];
  [EMAIL PROTECTED]; [EMAIL PROTECTED]; 
  [EMAIL PROTECTED];
  security-dev@xml.apache.org; cocoon-dev@xml.apache.org;
  cocoon-users@xml.apache.org
  Subject: Re: [Wyonacms-users] XOpus
  
  
  This is an open appeal to the XML Open Source Community. 
  Please support 
  this appeal to keep an Open Source Project alive! How can 
 we keep the 
  following project Open Source? Please post this message to 
 people who 
  may help!
  
  Xopus is a browser based in-place wysiwyg XML editor. Xopus allows 
  users to edit their XML data in an intuitive word processor 
  alike way.
  http://xopus.org/index.jsp
  
  The following notice is on the above mentioned page. (my 
  comments) are 
  in the brackets.
  
  
  Hello groups, hello Laurens van den Oever, Sjoerd Visscher, 
  Lon Boonen!
  
  Here is the notice of Q42:
  
  Hi all,
  
  Today we made a decision concerning the Open Source future of Xopus.
  
  Originally, the Open Source project was intended to be our 
  marketing. We 
  hoped for huge exposure and many new projects and funding.
  
  (How long are you open source now? Since August/September? 
 I think it 
  will take a while to spread the word. I talked to many people 
  that are 
  thinking to use Xopus and support the project, but it takes 
  some time to 
  really get in to it.)
  
  And of course to change the world for the better.
  
  (Would be if you stay Open Source! Your Editor is one good piece of 
  work! I really like it! If we spread the word into the cocoon 
  community 
  I think you will get more support and projects)
  
  We indeed got a lot of positive feedback, a few 
 contributions (thanks 
  guys!), but no projects nor funding.
  
  The only serious leads and paying customers so far haven't found us 
  through the Open Source community. Most of them don't like the Open 
  Source idea all together.
  
  (That's to bad. But part of the idea is as well that the user will 
  develop the software because the know best want they want. I 
  think your 
  client will understand that they will profite of the work 
 of the Open 
  Source Community. They have ideas, spirit and a powerful community.)
  
  Building the ideal XML editor, our goal, turned out to be 
  somewhat more 
  ambitious than we estimated.
  We have made a huge investment building this product and 
  can't continue 
  to deliver free software without revenues.
  
  (If some organisation listen: There is a Xopus Version for 
 sale that 
  have this * Advanced features:
  o Complex pipeline resolving
  o Richtext editors
  o Table editing
  o Lookup editors
  o Animations
  o Fast-pace editing (allows fast-keyboard-typing while xml 
 nodes are 
  created automatically according to the schema)
  o Date editors
  o Integer editors
  o Enumeration editors)
  
  Therefore we have been forced to the conclusion that we will 
  not release 
  new Xopus versions to the Open Source community as long as we 
  don't find 
  serious paid projects or funding.
  
  (The product is really awesome try it out @ 
  http://xopus.org/index.jsp?menu=demo)
  
  We hope we will be able to return to the Open Source 
 development soon.
  
  Thanks for your support and we apologize for the inconvenience 
  (THHGTTG IV),
  **
  **
  
  What can we do?
  
  King Regards
  
  Thorsten Scherler
  (by the way I am not with Q42, I am using the Open Source 
  Product with 
  wyona-cms (http://www.wyona.org/) and I like it very much. 
 All cocoon 
  user can integrate that editor in they applications! Online 
  editing of 
  XML - Kick's ass!)
  
  
  Alex McLintock wrote:
   Oh dear. It looks like XOpus isn't going to 

Re: Upgrading to 0.20.4 problems

2002-11-22 Thread Jiri_Nejedly

I found your comment  in



 Bugzilla Bug 14319 



Because I'm new to this, I have this common question:

If I find in bug database Fixed in cvs , what have I to do ?

I find  this page http://xml.apache.org/cvs.html , but I'm still little bit
confused by all these sources .

If something is corrected in sources, is automatically new *.jar built ? I
found all jars there , but not fop.jar .

Or must I download the whole fop package again ?




   
Oleg Tkachenko  
   
[EMAIL PROTECTED]   Komu:   [EMAIL PROTECTED]  
 
nn.com  Kopie: 
   
 Pedmt: Re: Upgrading to 0.20.4 
problems 
21.11.2002  
   
15:30   
   
Odpovzte   
   
prosm  
   
uivateli   
   
fop-user
   

   

   




[EMAIL PROTECTED] wrote:

 [ERROR]: Failed to read font metrics file
 /C:/JavaProject/Klient/classes/jORManClient/Reports/Metrics/arial.xml :
 Invalid InputSource.
Sounds like bug #10287, see
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10287.
The above URI is too xerces-specific, other parsers refuse to use it
correctly. Probably this is fixed already in cvs, I'll check it out.

--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Upgrading to 0.20.4 problems

2002-11-22 Thread Buchtk, Michal
I use this:
install some CVS sofware 
then
- checkout module xml-fop, branch fop-0_20_2-maintain when commited
fixes there are
- run build when checkout id done
- use new build/fop.jar

Michal

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, November 22, 2002 10:04 AM
To: [EMAIL PROTECTED]
Subject: Re: Upgrading to 0.20.4 problems



I found your comment  in



 Bugzilla Bug 14319 



Because I'm new to this, I have this common question:

If I find in bug database Fixed in cvs , what have I to do ?

I find  this page http://xml.apache.org/cvs.html , but I'm still little bit
confused by all these sources .

If something is corrected in sources, is automatically new *.jar built ? I
found all jars there , but not fop.jar .

Or must I download the whole fop package again ?



 

Oleg Tkachenko

[EMAIL PROTECTED]   Komu:   [EMAIL PROTECTED]

nn.com  Kopie:

 Pedmt: Re: Upgrading to
0.20.4 problems 
21.11.2002

15:30

Odpovzte

prosm

uivateli

fop-user

 

 





[EMAIL PROTECTED] wrote:

 [ERROR]: Failed to read font metrics file
 /C:/JavaProject/Klient/classes/jORManClient/Reports/Metrics/arial.xml :
 Invalid InputSource.
Sounds like bug #10287, see
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10287.
The above URI is too xerces-specific, other parsers refuse to use it
correctly. Probably this is fixed already in cvs, I'll check it out.

--
Oleg Tkachenko
eXperanto team
Multiconn Technologies, Israel


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: blank screen in browser

2002-11-22 Thread Philip Fennell
Mike,

You might also consider a know problem with IE and PDF files. If the PDF file 
is smaller than 6K (or there abouts) IE ignores the Mime-Type and gives-up on 
the response.

The result is a blank browser screen...

You need to set some headers in the HTTP response to force IE to act upon the 
Mime-Type.

Sorry if this info is a bit vague but it's second-hand remembered stuff but it 
might point you in the right direction.


Regards

Phil Fennell


-Original Message-
From: Zahigian, Mike [mailto:[EMAIL PROTECTED]
Sent: 21 November 2002 18:59
To: 'fop-dev@xml.apache.org'; '[EMAIL PROTECTED]'
Subject: blank screen in browser


I am using FOP embedded in a Servlet.  Users trigger the servlet by clicking
a button on a web page.  The servlet then takes the response and performs a
transformation and renders to pdf.  The browser pops up a new window and
displays the pdf output.  1% or so of my user population cannot get the pdf
to display in the browser window that pops up (or any other browser window).
These users can open pdf files that exist on their local machine.  When
these users click the print button on my web page, the new browser window
pops up, but the contents are blank.  Any idea what is going on?

Mike Z.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

_
This message has been checked for all known viruses by the MessageLabs Virus 
Scanning Service.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Bug when integrating with SAX?

2002-11-22 Thread Matthias Brunner
Hello,

I am trying to use FOP by firing SAX events:

fopDriver.setOutputStream(System.out);
fopDriver.setRenderer(fopDriver.RENDER_XML);
stylesheet.newTransformer().transform(
new DOMSource(source), 
new SAXResult(fopDriver.getContentHandler())
);
fopDriver.run();

I get a NullPointerException when the formatting object tree is 
built. Am I doing anything wrong? Setting a logger does not help. 
When using the DefaultContentHandler instead of FOP's no error is 
reported. That's why I think it's a FOP bug.

Software: FOP 0.20.4, Sun JDK 1.4.1_01, Linux



Output:
[ERROR] Logger not set
[INFO] building formatting object tree
[WARNING] Screen logger not set.
[INFO] [1]
[INFO] [2]
javax.xml.transform.TransformerException: 
java.lang.NullPointerException
at 
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1226)
at 
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:638)
at 
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1088)
at 
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1066)
at Paginator.paginate(Paginator.java:38)
at Paginator.main(Paginator.java:58)
Caused by: java.lang.NullPointerException
at org.apache.fop.render.xml.XMLRenderer.isCoarseXml(Unknown 
Source)
at 
org.apache.fop.render.xml.XMLRenderer.renderDisplaySpace(Unknown 
Source)
at org.apache.fop.layout.DisplaySpace.render(Unknown Source)
at 
org.apache.fop.render.xml.XMLRenderer.renderBlockArea(Unknown 
Source)
at org.apache.fop.layout.BlockArea.render(Unknown Source)
at 
org.apache.fop.render.xml.XMLRenderer.renderAreaContainer(Unknown 
Source)
at org.apache.fop.layout.AreaContainer.render(Unknown Source)
at 
org.apache.fop.render.xml.XMLRenderer.renderAreaContainer(Unknown 
Source)
at org.apache.fop.layout.AreaContainer.render(Unknown Source)
at 
org.apache.fop.render.xml.XMLRenderer.renderAreaContainer(Unknown 
Source)
at org.apache.fop.layout.AreaContainer.render(Unknown Source)
at 
org.apache.fop.render.xml.XMLRenderer.renderAreaContainer(Unknown 
Source)
at org.apache.fop.layout.AreaContainer.render(Unknown Source)
at 
org.apache.fop.render.xml.XMLRenderer.renderAreaContainer(Unknown 
Source)
at org.apache.fop.render.xml.XMLRenderer.renderPage(Unknown 
Source)
at org.apache.fop.render.xml.XMLRenderer.render(Unknown 
Source)
at org.apache.fop.apps.StreamRenderer.queuePage(Unknown 
Source)
at org.apache.fop.layout.AreaTree.addPage(Unknown Source)
at org.apache.fop.fo.pagination.PageSequence.format(Unknown 
Source)
at org.apache.fop.apps.StreamRenderer.render(Unknown Source)
at org.apache.fop.fo.FOTreeBuilder.endElement(Unknown Source)
at 
org.apache.xalan.transformer.ResultTreeHandler.endElement(ResultTreeHandler.java:307)
at 
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:684)
at 
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2182)
at 
org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(TransformerImpl.java:2008)
at 
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1171)
... 5 more
-
java.lang.NullPointerException
at org.apache.fop.render.xml.XMLRenderer.isCoarseXml(Unknown 
Source)
at 
org.apache.fop.render.xml.XMLRenderer.renderDisplaySpace(Unknown 
Source)
at org.apache.fop.layout.DisplaySpace.render(Unknown Source)
at 
org.apache.fop.render.xml.XMLRenderer.renderBlockArea(Unknown 
Source)
at org.apache.fop.layout.BlockArea.render(Unknown Source)
at 
org.apache.fop.render.xml.XMLRenderer.renderAreaContainer(Unknown 
Source)
at org.apache.fop.layout.AreaContainer.render(Unknown Source)
at 
org.apache.fop.render.xml.XMLRenderer.renderAreaContainer(Unknown 
Source)
at org.apache.fop.layout.AreaContainer.render(Unknown Source)
at 
org.apache.fop.render.xml.XMLRenderer.renderAreaContainer(Unknown 
Source)
at org.apache.fop.layout.AreaContainer.render(Unknown Source)
at 
org.apache.fop.render.xml.XMLRenderer.renderAreaContainer(Unknown 
Source)
at org.apache.fop.layout.AreaContainer.render(Unknown Source)
at 
org.apache.fop.render.xml.XMLRenderer.renderAreaContainer(Unknown 
Source)
at org.apache.fop.render.xml.XMLRenderer.renderPage(Unknown 
Source)
at org.apache.fop.render.xml.XMLRenderer.render(Unknown 
Source)
at org.apache.fop.apps.StreamRenderer.queuePage(Unknown 
Source)
at org.apache.fop.layout.AreaTree.addPage(Unknown Source)
at org.apache.fop.fo.pagination.PageSequence.format(Unknown 

Re: Bug when integrating with SAX?

2002-11-22 Thread Jeremias Maerki
The call to run() is not necessary. The transformation is started when
the SAX startDocument() is called by the XSLT Transformer.

On 22.11.2002 13:33:23 Matthias Brunner wrote:
 Hello,
 
 I am trying to use FOP by firing SAX events:
 
 fopDriver.setOutputStream(System.out);
 fopDriver.setRenderer(fopDriver.RENDER_XML);
 stylesheet.newTransformer().transform(
 new DOMSource(source), 
 new SAXResult(fopDriver.getContentHandler())
 );
   fopDriver.run();
 
 I get a NullPointerException when the formatting object tree is 
 built. Am I doing anything wrong? Setting a logger does not help. 
 When using the DefaultContentHandler instead of FOP's no error is 
 reported. That's why I think it's a FOP bug.
 
 Software: FOP 0.20.4, Sun JDK 1.4.1_01, Linux
 
 
 
 Output:
 [ERROR] Logger not set
 [INFO] building formatting object tree
 [WARNING] Screen logger not set.
 [INFO] [1]
 [INFO] [2]
 javax.xml.transform.TransformerException: 
 java.lang.NullPointerException
 at 
 org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.java:1226)


Jeremias Maerki


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Bug when integrating with SAX?

2002-11-22 Thread Jeremias Maerki
Mmm, probably, I think I remember some saying that Crimson doesn't work
correctly. Namespace issues probably. Not sure.

On 22.11.2002 14:19:50 Matthias Brunner wrote:
 On Friday 22 November 2002 13:39, Jeremias Maerki wrote:
  The call to run() is not necessary. The transformation is started
  when the SAX startDocument() is called by the XSLT Transformer.
 
 This statement is not reached. The exception is thrown in the line 
 before (to make sure I deleted it - no effects).
 Could it be that it is because I am using crimson rather than xerces? 
 And an older xalan version (as deployed with jdk 1.4.1)?


Jeremias Maerki


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Bug when integrating with SAX?

2002-11-22 Thread Keiron Liddle

I believe this problem is due to the options not being set on the XML
renderer or possible a particular option.

It then gets an npe.

The fix of course would be to set the options on the renderer, you can
create the XMLRenderer yourself and set the options on it, then set the
renderer on the driver.

(2nd time today) Please only show the relevant part of the stack trace.

 java.lang.NullPointerException
 at org.apache.fop.render.xml.XMLRenderer.isCoarseXml(Unknown 
 Source)
 at 
 org.apache.fop.render.xml.XMLRenderer.renderDisplaySpace(Unknown 
 Source)
 at org.apache.fop.layout.DisplaySpace.render(Unknown Source)
 at 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Bug when integrating with SAX?

2002-11-22 Thread Matthias Brunner
On Friday 22 November 2002 14:26, Jeremias Maerki wrote:
 Mmm, probably, I think I remember some saying that Crimson doesn't
 work correctly. Namespace issues probably. Not sure.

I tried it on the command line, with classpath und java endorsed dirs 
set. Does not help.

BTW: Sorry for mailing 3 times. The mail server turned mad and I 
thought the first two lost.
-- 
Matthias Brunner [EMAIL PROTECTED]
PGP FP 7862 32B3 3B75 292A F76F  5042 8587 21AB 5B89 D501
Check out http://blumenstrasse.vol.at/~mb/gpgkey.asc


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: blank screen in browser

2002-11-22 Thread Cox, Charlie
What I meant was that an error could occur and an exception could be thrown.
If you catch the error and don't write a message to the output stream, you
get a blank browser window.

Exceptions do not have to happen every time. It could be something as simple
as a db query timeout that never allows your FO to be generated.

Charlie

 -Original Message-
 From: Thorsten Scherler [mailto:[EMAIL PROTECTED]
 Sent: Thursday, November 21, 2002 4:14 PM
 To: [EMAIL PROTECTED]
 Subject: Re: blank screen in browser
 
 
 But he wrote:
 
 1% or so of my user population
   cannot get the pdf
 
 Cox, Charlie wrote:
  could an exception be occurring that prevents anything from 
 being written to
  the output stream? This would cause a blank screen. Check 
 your server's log
  files.
  
 
 then I guess it would be 100%
 
  Charlie
  
  
 -Original Message-
 From: Zahigian, Mike [mailto:[EMAIL PROTECTED]
 Sent: Thursday, November 21, 2002 1:59 PM
 To: 'fop-dev@xml.apache.org'; '[EMAIL PROTECTED]'
 Subject: blank screen in browser
 
 
 I am using FOP embedded in a Servlet.  Users trigger the 
 servlet by clicking
 a button on a web page.  The servlet then takes the response 
 and performs a
 transformation and renders to pdf.  The browser pops up a new 
 window and
 displays the pdf output.  1% or so of my user population 
 cannot get the pdf
 to display in the browser window that pops up (or any other 
 browser window).
 These users can open pdf files that exist on their local 
 machine.  When
 these users click the print button on my web page, the new 
 browser window
 pops up, but the contents are blank.  Any idea what is going on?
 
 Mike Z.
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
  
  
  
 -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  
  
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Bug when integrating with SAX?

2002-11-22 Thread Matthias Brunner
Keiron,

On Friday 22 November 2002 14:31, Keiron Liddle wrote:
 The fix of course would be to set the options on the renderer, you
 can create the XMLRenderer yourself and set the options on it,
 then set the renderer on the driver.

thanks for this reply. I found the error. Will post a bug report in a 
minute.

You have to do the following:
XMLRenderer r = new XMLRenderer();
Hashtable opts = new Hashtable();
opts.put(fineDetail, new Boolean(true));
r.setOptions(opts);

fopDriver.setOutputStream(System.out);
fopDriver.setRenderer(r);
stylesheet.newTransformer().transform(
new DOMSource(source),
new SAXResult(fopDriver.getContentHandler())
);


 (2nd time today) Please only show the relevant part of the stack
 trace.

IMHO it is sometimes very hard to determine which part of the stack 
trace is relevant, at least for non-developers. I think that error 
reports can hardly have too much context information, especially 
since these stacktraces are not really megabytes in size.

Kind regards!
-- 
Matthias Brunner [EMAIL PROTECTED]
PGP FP 7862 32B3 3B75 292A F76F  5042 8587 21AB 5B89 D501
Check out http://blumenstrasse.vol.at/~mb/gpgkey.asc


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Unknown formatting object null^null

2002-11-22 Thread Matthias Kräuter
Hello, 

I#180;ve got a problem with rendering an fo-file to pdf using an embedded Fop.


I get the following exceptions.

  [reports] [INFO] building formatting object tree
  [reports] [DEBUG] setting up fonts
  [reports] [ERROR] Unknown formatting object null^null

BUILD FAILED
java.lang.NullPointerException
at org.apache.fop.fo.FOTreeBuilder.startElement(Unknown Source)
at org.apache.fop.tools.DocumentReader.parse(Unknown Source)
at org.apache.fop.apps.Driver.render(Unknown Source)

I tried out the hints in the list, but none of them really worked. I#180;m
using FOP 0.20.4 with included Xalan and Xerces and Xerces Namespace-Awareness
set explicitly to 'true'.

My fo-File looks like that: 

?xml version=1.0 encoding=UTF-8 standalone=no?
   fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format;
fo:layout-master-set
...
   /fo:root

Does someone know what I#180;m doing wrong?

Thanks for your help.

Matthias
-- 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



FOP on Mainframe

2002-11-22 Thread Ryan . Asleson

Hello,

I'm trying to run FOP 0.20.4 on an IBM OS/390 mainframe, running under Unix
System Services.  I also use Saxon as the XML parser and XSL transformer.
I get this error:

Error at byte 3 of
file:/u/tsryana/LMR/StandardRpts/xsl/StandardReportsPDF.xsl:
  Error reported by XML parser: invalid UTF-8 byte (check the XML
declaration) (
code: 0xa7)


I also tried Xerces and Xalan, and got this message fragment (the whole
message is too long to cut and paste):


ÝFatal Error¨ StandardReportsPDF.xsl:1:39: Content is not allowed in
prolog.
javax.xml.transform.TransformerConfigurationException:
javax.xml.transform.Trans
formerException: org.xml.sax.SAXParseException: Content is not allowed in
prolog
..
at
org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(Transf
ormerFactoryImpl.java:995)
at
com.stpaul.xsl.StylesheetCache.getTemplates(StylesheetCache.java:79)
at com.stpaul.pdf.PDFGenerator.renderPDF(PDFGenerator.java:72)
at
com.stpaul.totalclient.lmrstdrpts.control.StandardRptBatchController.
renderPDF(StandardRptBatchController.java:448)
at
com.stpaul.totalclient.lmrstdrpts.control.StandardRptBatchController.
createPdfForResult(StandardRptBatchController.java:95)
at
com.stpaul.totalclient.lmrstdrpts.control.StandardRptBatchController.
run(StandardRptBatchController.java:504)
at java.lang.Thread.run(Thread.java:512)
-

Here's the start of the XML declaration of the style sheet:

?xml version=1.0 encoding=UTF-8?


So both XML/XSL parsers are complaining about style sheet.  The run the
same exact process on a Windows 2000 machine and it works flawlessly.

I remember that when 0.20.4 came out, one of the changes was that it now
works on EBCIDC machines.  But, I still get this error.

Does anybody know if this is an FOP problem or some sort of problem with
the XML/XSL processors, or with the encoding of the style sheet on the
mainframe?  Ideas for fixes?

Any help is appreciated.

Thanks!!





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



AW: FOP on Mainframe

2002-11-22 Thread Müller, Markus
Hi,

try to omit the encoding parameter of the ?xml..? tag OR set the correct
encoding. When you transferred the file from Windows to OS/390, ensure that
the right character conversion in ftp is set.

Markus

# -Ursprüngliche Nachricht-
# Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
# Gesendet am: Freitag, 22. November 2002 15:43
# An: [EMAIL PROTECTED]
# Betreff: FOP on Mainframe
# 
# 
# Hello,
# 
# I'm trying to run FOP 0.20.4 on an IBM OS/390 mainframe, 
# running under Unix
# System Services.  I also use Saxon as the XML parser and XSL 
# transformer.
# I get this error:
# 
# Error at byte 3 of
# file:/u/tsryana/LMR/StandardRpts/xsl/StandardReportsPDF.xsl:
#   Error reported by XML parser: invalid UTF-8 byte (check the XML
# declaration) (
# code: 0xa7)
# 
# 
# I also tried Xerces and Xalan, and got this message fragment 
# (the whole
# message is too long to cut and paste):
# 
# 
# ÝFatal Error¨ StandardReportsPDF.xsl:1:39: Content is not allowed in
# prolog.
# javax.xml.transform.TransformerConfigurationException:
# javax.xml.transform.Trans
# formerException: org.xml.sax.SAXParseException: Content is 
# not allowed in
# prolog
# ..
# at
# org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(Transf
# ormerFactoryImpl.java:995)
# at
# com.stpaul.xsl.StylesheetCache.getTemplates(StylesheetCache.java:79)
# at com.stpaul.pdf.PDFGenerator.renderPDF(PDFGenerator.java:72)
# at
# com.stpaul.totalclient.lmrstdrpts.control.StandardRptBatchController.
# renderPDF(StandardRptBatchController.java:448)
# at
# com.stpaul.totalclient.lmrstdrpts.control.StandardRptBatchController.
# createPdfForResult(StandardRptBatchController.java:95)
# at
# com.stpaul.totalclient.lmrstdrpts.control.StandardRptBatchController.
# run(StandardRptBatchController.java:504)
# at java.lang.Thread.run(Thread.java:512)
# -
# 
# Here's the start of the XML declaration of the style sheet:
# 
# ?xml version=1.0 encoding=UTF-8?
# 
# 
# So both XML/XSL parsers are complaining about style sheet.  
# The run the
# same exact process on a Windows 2000 machine and it works flawlessly.
# 
# I remember that when 0.20.4 came out, one of the changes was 
# that it now
# works on EBCIDC machines.  But, I still get this error.
# 
# Does anybody know if this is an FOP problem or some sort of 
# problem with
# the XML/XSL processors, or with the encoding of the style sheet on the
# mainframe?  Ideas for fixes?
# 
# Any help is appreciated.
# 
# Thanks!!
# 
# 
# 
# 
# 
# -
# To unsubscribe, e-mail: [EMAIL PROTECTED]
# For additional commands, e-mail: [EMAIL PROTECTED]
# 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: FOP on Mainframe

2002-11-22 Thread Christian Geisert
[EMAIL PROTECTED] wrote:
Hello,
I'm trying to run FOP 0.20.4 on an IBM OS/390 mainframe, running under Unix
System Services.  I also use Saxon as the XML parser and XSL transformer.
I get this error:
[..]
I remember that when 0.20.4 came out, one of the changes was that it now
works on EBCIDC machines.  But, I still get this error.
Those changes concerned only the PDF creation.
Does anybody know if this is an FOP problem or some sort of problem with
the XML/XSL processors, or with the encoding of the style sheet on the
mainframe?  Ideas for fixes?
As someone already mentioned this sounds like a problem with the
encoding. How do you load the stylesheet?
Christian

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Tools for Fo

2002-11-22 Thread Paolo Beatrici



Are there any tools that convert, for example, a 
simple excel, word or other formats to a Fo format or to a xsl/fo format? This 
can be very userful for the fixed part of a pdf document.

Thanks.

Paolo Beatrici



Re: FOP on Mainframe

2002-11-22 Thread Ryan . Asleson


I fixed the problem below.  When FTP'ing the style sheets to the mainframe,
I had to use binary mode instead of ascii.

Thanks to everybody for the replies!







   
  [EMAIL PROTECTED] 
   
  ul.com   To:   [EMAIL PROTECTED]  
 
   cc:  
   
  11/22/2002 08:42 Subject:  FOP on Mainframe   
   
  AM
   
  Please respond to 
   
  fop-user  
   

   

   





Hello,

I'm trying to run FOP 0.20.4 on an IBM OS/390 mainframe, running under Unix
System Services.  I also use Saxon as the XML parser and XSL transformer.
I get this error:

Error at byte 3 of
file:/u/tsryana/LMR/StandardRpts/xsl/StandardReportsPDF.xsl:
  Error reported by XML parser: invalid UTF-8 byte (check the XML
declaration) (
code: 0xa7)


I also tried Xerces and Xalan, and got this message fragment (the whole
message is too long to cut and paste):


ÝFatal Error¨ StandardReportsPDF.xsl:1:39: Content is not allowed in
prolog.
javax.xml.transform.TransformerConfigurationException:
javax.xml.transform.Trans
formerException: org.xml.sax.SAXParseException: Content is not allowed in
prolog

at
org.apache.xalan.processor.TransformerFactoryImpl.newTemplates(Transf
ormerFactoryImpl.java:995)
at
com.stpaul.xsl.StylesheetCache.getTemplates(StylesheetCache.java:79)
at com.stpaul.pdf.PDFGenerator.renderPDF(PDFGenerator.java:72)
at
com.stpaul.totalclient.lmrstdrpts.control.StandardRptBatchController.
renderPDF(StandardRptBatchController.java:448)
at
com.stpaul.totalclient.lmrstdrpts.control.StandardRptBatchController.
createPdfForResult(StandardRptBatchController.java:95)
at
com.stpaul.totalclient.lmrstdrpts.control.StandardRptBatchController.
run(StandardRptBatchController.java:504)
at java.lang.Thread.run(Thread.java:512)
-

Here's the start of the XML declaration of the style sheet:

?xml version=1.0 encoding=UTF-8?


So both XML/XSL parsers are complaining about style sheet.  The run the
same exact process on a Windows 2000 machine and it works flawlessly.

I remember that when 0.20.4 came out, one of the changes was that it now
works on EBCIDC machines.  But, I still get this error.

Does anybody know if this is an FOP problem or some sort of problem with
the XML/XSL processors, or with the encoding of the style sheet on the
mainframe?  Ideas for fixes?

Any help is appreciated.

Thanks!!





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: FOPException 921600

2002-11-22 Thread Koes, Derrick

Poor mime typing was the cause for this error.
Perhaps the PDF renderer could handle illegal mime types a little better.

-Original Message-
From: Keiron Liddle [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 22, 2002 2:13 AM
To: [EMAIL PROTECTED]
Subject: RE: FOPException 921600

On Fri, 2002-11-22 at 02:21, Koes, Derrick wrote:
 
 Oh yeah, here's the stack trace.  Looks like ArrayIndexOutOfBounds, but
I've
 been running this same code for weeks.  Hmmm...

This looks like a threading problem with image loading.
I believe this is fixed and will be solved in the next release.

Please only show the Fop relevant part of the stacktrace, the rest is
useless information.
ie.

 java.lang.ArrayIndexOutOfBoundsException: 921600
   at org.apache.fop.image.BmpImage.loadImage(Unknown Source)
   at org.apache.fop.image.AbstractFopImage.getBitmaps(Unknown Source)



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
This electronic transmission is strictly confidential to Smith  Nephew and
intended solely for the addressee.  It may contain information which is
covered by legal, professional or other privilege.  If you are not the
intended addressee, or someone authorized by the intended addressee to
receive transmissions on behalf of the addressee, you must not retain,
disclose in any form, copy or take any action in reliance on this
transmission.  If you have received this transmission in error, please
notify the sender as soon as possible and destroy this message.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Which logging library is needed to run fop 0.20.4 servlets

2002-11-22 Thread Ciot, Thierry
I have searched the FAQ and the mail archive but could not find anything
useful.  
Thanks in advance for answering this question.

I am using fop 0.20.4 (fop-0.20.4rc).  I cannot use fop within a servlet.
I have tested with both tomcat 3.3.1 and Tomcat 4.

I get the following error message java.lang.NoClassDefFoundError:
org/apache/log/Hierarchy

It turns out that the avalon jar file shipped with fop does not contain that
class.

I have tracked down Hierarchy to belong to the logkit project.  I downloaded
logkit 1.1 and put the jar file in the lib directory.  Now I can proceed
further but it still fails when trying to renderFO with the following error
message:

Location: /fop/servlet/fop Internal Servlet
Error:java.lang.NoSuchMethodError:
org.apache.fop.apps.Driver.setLogger(Lorg/apache/log/Logger;)V

This is probably because the setLogger requires a different method
parameter.

What lib do I need to run a fop servlet?

Thierry.

Location: /fop/servlet/fop
Internal Servlet Error:

java.lang.NoClassDefFoundError: org/apache/log/Hierarchy
at FopServlet.doGet(FopServlet.java:53)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at
org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:574)
at org.apache.tomcat.core.Handler.invoke(Handler.java:322)
at org.apache.tomcat.core.Handler.service(Handler.java:235)
at
org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:91
7)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
at
org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10I
nterceptor.java:176)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:516)
at java.lang.Thread.run(Thread.java:536)

Location: /fop/servlet/fopInternal Servlet
Error:java.lang.NoSuchMethodError:
org.apache.fop.apps.Driver.setLogger(Lorg/apache/log/Logger;)V
at FopServlet.renderFO(FopServlet.java:94)
at FopServlet.doGet(FopServlet.java:64)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at javax.servlet.http.HttpServlet.service(HttpServlet.java)
at
org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:574)
at org.apache.tomcat.core.Handler.invoke(Handler.java:322)
at org.apache.tomcat.core.Handler.service(Handler.java:235)
at
org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485)
at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:91
7)
at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
at
org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10I
nterceptor.java:176)
at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:516)
at java.lang.Thread.run(Thread.java:536)



The contents of this e-mail are intended for the named addressee only. It
contains information that may be confidential. Unless you are the named
addressee or an authorized designee, you may not copy or use it, or disclose
it to anyone else. If you received it in error please notify us immediately
and then destroy it. 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]