afp-renderer-users Mailing List for AFP Renderer for Apache FOP (Page 3)
Brought to you by:
towny,
tumbarumba
You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(4) |
Nov
(10) |
Dec
(9) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(6) |
Feb
|
Mar
(13) |
Apr
|
May
(4) |
Jun
(1) |
Jul
(3) |
Aug
(1) |
Sep
(1) |
Oct
(4) |
Nov
(4) |
Dec
|
2006 |
Jan
(3) |
Feb
|
Mar
(1) |
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
(5) |
Sep
(1) |
Oct
|
Nov
(1) |
Dec
(5) |
2007 |
Jan
(1) |
Feb
(14) |
Mar
|
Apr
(5) |
May
|
Jun
|
Jul
(1) |
Aug
(2) |
Sep
|
Oct
(4) |
Nov
|
Dec
|
2008 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
(1) |
Jun
(7) |
Jul
(4) |
Aug
(2) |
Sep
(5) |
Oct
(13) |
Nov
(52) |
Dec
(52) |
2009 |
Jan
(24) |
Feb
|
Mar
|
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Venkataramani, P. <Pra...@ss...> - 2004-12-23 14:53:42
|
Hi, We were able to successfully develop AFP docs on windows and Solaris.We are trying to send over this document to Mainframe Environment through VSAM. Generally AFP docs can be read fine on MF.But for some reason the docs we generated in windows is not readable in MF. FYI We use T1001025 as our Code Page File(CDP) and corrsponding character set files. Any ideas on why it is not readable on MF. Prakash |
From: Pete T. <pe...@to...> - 2004-12-06 22:01:47
|
Prakash, The metric and shape information for each of the characters is defined by the character set, the information for mapping these code points in the data stream to the graphic character is contained in the code page. Therefore you need to render the character that corresponds with the $ in the code page. This will vary depending on the code page you are using. There isn't a specific one although T1V10285 is commonly used. Rgds, Pete. NB: Please send all postings to the afp...@li... mail group rather than direct. That way it provides a history of questions that others can use/search on. ----- Original Message ----- From: "Venkataramani, Prakash" <Pra...@ss...> To: "Joe Schmetzer" <jo...@ex...> Cc: <pe...@to...> Sent: Monday, December 06, 2004 3:34 PM Subject: Special Characters > > Joe,Pete > > > Thanks for all the help.We are having some difficulty in > Printing special characters in AFP format. > Eg $ sign. > > Is there any specific code page/character set we should use ? > > Prakash |
From: Pete T. <pe...@to...> - 2004-12-03 17:16:39
|
Hi Prakash, I'll get that updated so that the underlying cause is logged, also I guess you're using version 1.0.1 which doesn't have a DTD resolver, therefore the DTD must be in the working directory of your app server. If you upgrade to 1.0.2 there is a DTD resolver so it should find it in the classpath (i.e. in the root of the jar). For your information we hope to have a 1.1.0 release out shortly which will include a number of enhancements including support for outline fonts. this version is available from the HEAD of CVS. Rgds, Pete. ----- Original Message ----- From: "Venkataramani, Prakash" <Pra...@ss...> To: "Joe Schmetzer" <jo...@ex...> Cc: <pe...@to...> Sent: Friday, December 03, 2004 4:07 PM Subject: RE: [afp-renderer-users] AFP Issue in Solaris > > > > Pete, > > > > This is the issue we found. > The following code is found in FontCollection.java > But we have added certain lines of logging. > We had issue with our DTD.The code as we got from > SourceForge did not give us more information > As what was the real problem.It just says > "IOException" and the static message > mentioned in there. > After we added printstacktrace for IOException > We came to know it is not able to find the DTD. > > Also would like to know as where you folks put the DTD > In the App Server. > > > Thanks > Prakash > > > > private void load() { > > SAXParserFactory spf = SAXParserFactory.newInstance(); > spf.setNamespaceAware(true); > spf.setValidating(true); > > try { > > FontHandler fontHandler = new FontHandler(this); > > // Create a JAXP SAXParser > SAXParser saxParser = spf.newSAXParser(); > > // Get the encapsulated SAX XMLReader > XMLReader xmlReader = saxParser.getXMLReader(); > > // Set the ContentHandler of the XMLReader > xmlReader.setContentHandler(fontHandler); > LOGGER.info("Before classLoader"); > > ClassLoader classLoader = > Thread.currentThread().getContextClassLoader(); > if (classLoader == null) { > classLoader = > FontCollection.class.getClassLoader(); > } > LOGGER.info("Class Loader.toString():"+ > classLoader.toString()); > > URL url = classLoader.getResource(AFP_FONT_CONFIG); > LOGGER.info("URL of afp-fonts.xml:"+ > url.toString()); > > InputSource is = new InputSource(url.openStream()); > > // Parse the XML document > xmlReader.parse(is); > > } catch (org.xml.sax.SAXException sex) { > String msg = "SAX exception when parsing " + > AFP_FONT_CONFIG; > LOGGER.error(msg); > sex.printStackTrace(); > throw new FontRuntimeException(msg, sex); > } catch (javax.xml.parsers.ParserConfigurationException pce) > { > String msg = "Parser Configuration exception when > parsing " + AFP_FONT_CONFIG; > LOGGER.error(msg); > throw new FontRuntimeException(msg, pce); > } catch (java.io.IOException iex) { > String msg = "IO exception when parsing " + > AFP_FONT_CONFIG; > LOGGER.error(msg); > LOGGER.error("IN the IOExcpetion:"+ > iex.getMessage()); > iex.printStackTrace(); > throw new FontRuntimeException(msg, iex); > } > > > > > > > > -----Original Message----- > From: Joe Schmetzer [mailto:jo...@ex...] > Sent: Thursday, December 02, 2004 4:08 PM > To: Venkataramani, Prakash > Cc: afp...@li...; pe...@to...; Owen, > Harold S. > Subject: Re: [afp-renderer-users] AFP Issue in Solaris > > > Firstly, can you confirm that afp-fonts.xml is located at the root of the > classpath? In a web container I think the classpath is configured in > META-INF/MANIFEST.MF > > Secondly, if that is not the problem, san you show us what is happening > inside the method gov.ssa.dps.xhtml.FileGenerator.convertFO2AFP? What > parameters are set and how is the InputSource instance initialised? > > Cheers, > Joe > > On Thu, 2004-12-02 at 20:35, Venkataramani, Prakash wrote: > > Pete, > > > > We are trying to generate AFP document in Solaris.We were able to > > generate AFP documents in Windows.Thanks for all the help on windows. > > > > We are having some issues on Solaris.I am sending you the part Of > > console output. > > > > Prakash > > > > > > > > [12/1/04 16:41:52:143 EST] 595bcd SystemErr R > > org.apache.fop.apps.FOPException: IO exception when parsing > > afp-fonts.xml; nested exception is java.io.FileNotFoundException > > [12/1/04 16:41:52:144 EST] 595bcd SystemErr R at > > org.apache.fop.apps.Driver.render(Driver.java:503) > > [12/1/04 16:41:52:145 EST] 595bcd SystemErr R at > > org.apache.fop.apps.Driver.run(Driver.java:565) > > [12/1/04 16:41:52:145 EST] 595bcd SystemErr R at > > gov.ssa.dps.xhtml.FileGenerator.convertFO2AFP(FileGenerator.java:313) > > [12/1/04 16:41:52:146 EST] 595bcd SystemErr R at > > gov.ssa.dps.xhtml.FileGenerator.convert(FileGenerator.java:258) > > [12/1/04 16:41:52:146 EST] 595bcd SystemErr R at > > gov.ssa.dps.xhtml.FileGenerator.generateFile(FileGenerator.java:135) > > [12/1/04 16:41:52:147 EST] 595bcd SystemErr R at > > gov.ssa.dps.manager.DocumentManagerImpl.getDocURL(DocumentManagerImpl. > > java:1 > > 13) > > [12/1/04 16:41:52:147 EST] 595bcd SystemErr R at > > java.lang.reflect.Method.invoke(Native Method) > > [12/1/04 16:41:52:147 EST] 595bcd SystemErr R at > > > gov.ssa.dps.manager.CommandExecutorImpl.invoke(CommandExecutorImpl.java:164) > > [12/1/04 16:41:52:148 EST] 595bcd SystemErr R at > > > gov.ssa.dps.manager.CommandExecutorImpl.execute(CommandExecutorImpl.java:62) > > [12/1/04 16:41:52:148 EST] 595bcd SystemErr R at > > > gov.ssa.dps.delegate.AbstractBusinessDelegate.execute(AbstractBusinessDelega > > te.java:113) > > [12/1/04 16:41:52:149 EST] 595bcd SystemErr R at > > > gov.ssa.dps.delegate.AbstractBusinessDelegate.execute(AbstractBusinessDelega > > te.java:96) > > [12/1/04 16:41:52:149 EST] 595bcd SystemErr R at > > gov.ssa.dps.delegate.DocumentBD.getDocURL(DocumentBD.java:32) > > [12/1/04 16:41:52:149 EST] 595bcd SystemErr R at > > gov.ssa.dps.action.GetFileURLAction.execute(GetFileURLAction.java:75) > > [12/1/04 16:41:52:150 EST] 595bcd SystemErr R at > > > org.apache.struts.action.RequestProcessor.processActionPerform(RequestProces > > sor.java:484) > > [12/1/04 16:41:52:150 EST] 595bcd SystemErr R at > > > org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274) > > [12/1/04 16:41:52:151 EST] 595bcd SystemErr R at > > org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) > > [12/1/04 16:41:52:151 EST] 595bcd SystemErr R at > > org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507) > > [12/1/04 16:41:52:151 EST] 595bcd SystemErr R at > > javax.servlet.http.HttpServlet.service(HttpServlet.java:740) > > [12/1/04 16:41:52:152 EST] 595bcd SystemErr R at > > javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > > [12/1/04 16:41:52:153 EST] 595bcd SystemErr R at > > > com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServle > > tInstance.java:110) > > [12/1/04 16:41:52:153 EST] 595bcd SystemErr R at > > > com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecy > > cleServlet.java:174) > > [12/1/04 16:41:52:154 EST] 595bcd SystemErr R at > > > com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServ > > let.java:313) > > [12/1/04 16:41:52:154 EST] 595bcd SystemErr R at > > > com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecyc > > leServlet.java:116) > > [12/1/04 16:41:52:155 EST] 595bcd SystemErr R at > > > com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java > > :283) > > [12/1/04 16:41:52:155 EST] 595bcd SystemErr R at > |
From: Joe S. <jo...@ex...> - 2004-12-02 21:09:50
|
Firstly, can you confirm that afp-fonts.xml is located at the root of the classpath? In a web container I think the classpath is configured in META-INF/MANIFEST.MF Secondly, if that is not the problem, san you show us what is happening inside the method gov.ssa.dps.xhtml.FileGenerator.convertFO2AFP? What parameters are set and how is the InputSource instance initialised? Cheers, Joe On Thu, 2004-12-02 at 20:35, Venkataramani, Prakash wrote: > Pete, > > We are trying to generate AFP document in Solaris.We were able > to generate AFP documents in Windows.Thanks for all the help on windows. > > We are having some issues on Solaris.I am sending you the part > Of console output. > > Prakash > > > > [12/1/04 16:41:52:143 EST] 595bcd SystemErr R > org.apache.fop.apps.FOPException: IO exception when parsing afp-fonts.xml; > nested exception is java.io.FileNotFoundException > [12/1/04 16:41:52:144 EST] 595bcd SystemErr R at > org.apache.fop.apps.Driver.render(Driver.java:503) > [12/1/04 16:41:52:145 EST] 595bcd SystemErr R at > org.apache.fop.apps.Driver.run(Driver.java:565) > [12/1/04 16:41:52:145 EST] 595bcd SystemErr R at > gov.ssa.dps.xhtml.FileGenerator.convertFO2AFP(FileGenerator.java:313) > [12/1/04 16:41:52:146 EST] 595bcd SystemErr R at > gov.ssa.dps.xhtml.FileGenerator.convert(FileGenerator.java:258) > [12/1/04 16:41:52:146 EST] 595bcd SystemErr R at > gov.ssa.dps.xhtml.FileGenerator.generateFile(FileGenerator.java:135) > [12/1/04 16:41:52:147 EST] 595bcd SystemErr R at > gov.ssa.dps.manager.DocumentManagerImpl.getDocURL(DocumentManagerImpl.java:1 > 13) > [12/1/04 16:41:52:147 EST] 595bcd SystemErr R at > java.lang.reflect.Method.invoke(Native Method) > [12/1/04 16:41:52:147 EST] 595bcd SystemErr R at > gov.ssa.dps.manager.CommandExecutorImpl.invoke(CommandExecutorImpl.java:164) > [12/1/04 16:41:52:148 EST] 595bcd SystemErr R at > gov.ssa.dps.manager.CommandExecutorImpl.execute(CommandExecutorImpl.java:62) > [12/1/04 16:41:52:148 EST] 595bcd SystemErr R at > gov.ssa.dps.delegate.AbstractBusinessDelegate.execute(AbstractBusinessDelega > te.java:113) > [12/1/04 16:41:52:149 EST] 595bcd SystemErr R at > gov.ssa.dps.delegate.AbstractBusinessDelegate.execute(AbstractBusinessDelega > te.java:96) > [12/1/04 16:41:52:149 EST] 595bcd SystemErr R at > gov.ssa.dps.delegate.DocumentBD.getDocURL(DocumentBD.java:32) > [12/1/04 16:41:52:149 EST] 595bcd SystemErr R at > gov.ssa.dps.action.GetFileURLAction.execute(GetFileURLAction.java:75) > [12/1/04 16:41:52:150 EST] 595bcd SystemErr R at > org.apache.struts.action.RequestProcessor.processActionPerform(RequestProces > sor.java:484) > [12/1/04 16:41:52:150 EST] 595bcd SystemErr R at > org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274) > [12/1/04 16:41:52:151 EST] 595bcd SystemErr R at > org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) > [12/1/04 16:41:52:151 EST] 595bcd SystemErr R at > org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507) > [12/1/04 16:41:52:151 EST] 595bcd SystemErr R at > javax.servlet.http.HttpServlet.service(HttpServlet.java:740) > [12/1/04 16:41:52:152 EST] 595bcd SystemErr R at > javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > [12/1/04 16:41:52:153 EST] 595bcd SystemErr R at > com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServle > tInstance.java:110) > [12/1/04 16:41:52:153 EST] 595bcd SystemErr R at > com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecy > cleServlet.java:174) > [12/1/04 16:41:52:154 EST] 595bcd SystemErr R at > com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServ > let.java:313) > [12/1/04 16:41:52:154 EST] 595bcd SystemErr R at > com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecyc > leServlet.java:116) > [12/1/04 16:41:52:155 EST] 595bcd SystemErr R at > com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java > :283) > [12/1/04 16:41:52:155 EST] 595bcd SystemErr R at |
From: Venkataramani, P. <Pra...@ss...> - 2004-12-02 20:38:20
|
Pete, We are trying to generate AFP document in Solaris.We were able to generate AFP documents in Windows.Thanks for all the help on windows. We are having some issues on Solaris.I am sending you the part Of console output. Prakash [12/1/04 16:41:52:143 EST] 595bcd SystemErr R org.apache.fop.apps.FOPException: IO exception when parsing afp-fonts.xml; nested exception is java.io.FileNotFoundException [12/1/04 16:41:52:144 EST] 595bcd SystemErr R at org.apache.fop.apps.Driver.render(Driver.java:503) [12/1/04 16:41:52:145 EST] 595bcd SystemErr R at org.apache.fop.apps.Driver.run(Driver.java:565) [12/1/04 16:41:52:145 EST] 595bcd SystemErr R at gov.ssa.dps.xhtml.FileGenerator.convertFO2AFP(FileGenerator.java:313) [12/1/04 16:41:52:146 EST] 595bcd SystemErr R at gov.ssa.dps.xhtml.FileGenerator.convert(FileGenerator.java:258) [12/1/04 16:41:52:146 EST] 595bcd SystemErr R at gov.ssa.dps.xhtml.FileGenerator.generateFile(FileGenerator.java:135) [12/1/04 16:41:52:147 EST] 595bcd SystemErr R at gov.ssa.dps.manager.DocumentManagerImpl.getDocURL(DocumentManagerImpl.java:1 13) [12/1/04 16:41:52:147 EST] 595bcd SystemErr R at java.lang.reflect.Method.invoke(Native Method) [12/1/04 16:41:52:147 EST] 595bcd SystemErr R at gov.ssa.dps.manager.CommandExecutorImpl.invoke(CommandExecutorImpl.java:164) [12/1/04 16:41:52:148 EST] 595bcd SystemErr R at gov.ssa.dps.manager.CommandExecutorImpl.execute(CommandExecutorImpl.java:62) [12/1/04 16:41:52:148 EST] 595bcd SystemErr R at gov.ssa.dps.delegate.AbstractBusinessDelegate.execute(AbstractBusinessDelega te.java:113) [12/1/04 16:41:52:149 EST] 595bcd SystemErr R at gov.ssa.dps.delegate.AbstractBusinessDelegate.execute(AbstractBusinessDelega te.java:96) [12/1/04 16:41:52:149 EST] 595bcd SystemErr R at gov.ssa.dps.delegate.DocumentBD.getDocURL(DocumentBD.java:32) [12/1/04 16:41:52:149 EST] 595bcd SystemErr R at gov.ssa.dps.action.GetFileURLAction.execute(GetFileURLAction.java:75) [12/1/04 16:41:52:150 EST] 595bcd SystemErr R at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProces sor.java:484) [12/1/04 16:41:52:150 EST] 595bcd SystemErr R at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274) [12/1/04 16:41:52:151 EST] 595bcd SystemErr R at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) [12/1/04 16:41:52:151 EST] 595bcd SystemErr R at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507) [12/1/04 16:41:52:151 EST] 595bcd SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) [12/1/04 16:41:52:152 EST] 595bcd SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) [12/1/04 16:41:52:153 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServle tInstance.java:110) [12/1/04 16:41:52:153 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecy cleServlet.java:174) [12/1/04 16:41:52:154 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServ let.java:313) [12/1/04 16:41:52:154 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecyc leServlet.java:116) [12/1/04 16:41:52:155 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java :283) [12/1/04 16:41:52:155 EST] 595bcd SystemErr R at |
From: Venkataramani, P. <Pra...@ss...> - 2004-12-01 22:20:31
|
Hai Pete, We were successful in getting AFP documents in Windows.Thanks for all the help. We are trying to deploy the application on Solaris.Out setup is exactly the same including the classpath and we have the required files(afp-fonts.xml and dtd). But we have a issue.I am sending you the console output.If you can throw some light as we are going wrong, it will be of great help. Thanks Prakash [12/1/04 16:41:52:143 EST] 595bcd SystemErr R org.apache.fop.apps.FOPException: IO exception when parsing afp-fonts.xml; nested exception is java.io.FileNotFoundException [12/1/04 16:41:52:144 EST] 595bcd SystemErr R at org.apache.fop.apps.Driver.render(Driver.java:503) [12/1/04 16:41:52:145 EST] 595bcd SystemErr R at org.apache.fop.apps.Driver.run(Driver.java:565) [12/1/04 16:41:52:145 EST] 595bcd SystemErr R at gov.ssa.dps.xhtml.FileGenerator.convertFO2AFP(FileGenerator.java:313) [12/1/04 16:41:52:146 EST] 595bcd SystemErr R at gov.ssa.dps.xhtml.FileGenerator.convert(FileGenerator.java:258) [12/1/04 16:41:52:146 EST] 595bcd SystemErr R at gov.ssa.dps.xhtml.FileGenerator.generateFile(FileGenerator.java:135) [12/1/04 16:41:52:147 EST] 595bcd SystemErr R at gov.ssa.dps.manager.DocumentManagerImpl.getDocURL(DocumentManagerImpl.java:1 13) [12/1/04 16:41:52:147 EST] 595bcd SystemErr R at java.lang.reflect.Method.invoke(Native Method) [12/1/04 16:41:52:147 EST] 595bcd SystemErr R at gov.ssa.dps.manager.CommandExecutorImpl.invoke(CommandExecutorImpl.java:164) [12/1/04 16:41:52:148 EST] 595bcd SystemErr R at gov.ssa.dps.manager.CommandExecutorImpl.execute(CommandExecutorImpl.java:62) [12/1/04 16:41:52:148 EST] 595bcd SystemErr R at gov.ssa.dps.delegate.AbstractBusinessDelegate.execute(AbstractBusinessDelega te.java:113) [12/1/04 16:41:52:149 EST] 595bcd SystemErr R at gov.ssa.dps.delegate.AbstractBusinessDelegate.execute(AbstractBusinessDelega te.java:96) [12/1/04 16:41:52:149 EST] 595bcd SystemErr R at gov.ssa.dps.delegate.DocumentBD.getDocURL(DocumentBD.java:32) [12/1/04 16:41:52:149 EST] 595bcd SystemErr R at gov.ssa.dps.action.GetFileURLAction.execute(GetFileURLAction.java:75) [12/1/04 16:41:52:150 EST] 595bcd SystemErr R at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProces sor.java:484) [12/1/04 16:41:52:150 EST] 595bcd SystemErr R at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274) [12/1/04 16:41:52:151 EST] 595bcd SystemErr R at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) [12/1/04 16:41:52:151 EST] 595bcd SystemErr R at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507) [12/1/04 16:41:52:151 EST] 595bcd SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) [12/1/04 16:41:52:152 EST] 595bcd SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) [12/1/04 16:41:52:153 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServle tInstance.java:110) [12/1/04 16:41:52:153 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecy cleServlet.java:174) [12/1/04 16:41:52:154 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServ let.java:313) [12/1/04 16:41:52:154 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecyc leServlet.java:116) [12/1/04 16:41:52:155 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java :283) [12/1/04 16:41:52:155 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidSer vletReferenceState.java:42) [12/1/04 16:41:52:156 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletIns tanceReference.java:40) [12/1/04 16:41:52:156 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch( WebAppRequestDispatcher.java:1059) [12/1/04 16:41:52:156 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppReques tDispatcher.java:588) [12/1/04 16:41:52:157 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequest Dispatcher.java:206) [12/1/04 16:41:52:157 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:80) [12/1/04 16:41:52:158 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker .java:214) [12/1/04 16:41:52:158 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(C achedInvocation.java:71) [12/1/04 16:41:52:159 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletReq uestProcessor.java:182) [12/1/04 16:41:52:159 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListene r.java:334) [12/1/04 16:41:52:159 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.jav a:56) [12/1/04 16:41:52:160 EST] 595bcd SystemErr R at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:615) [12/1/04 16:41:52:160 EST] 595bcd SystemErr R at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439) [12/1/04 16:41:52:161 EST] 595bcd SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:672) [12/1/04 16:41:52:161 EST] 595bcd SystemErr R --------- [12/1/04 16:41:52:162 EST] 595bcd SystemErr R org.apache.fop.render.afp.exceptions.FontRuntimeException: IO exception when parsing afp-fonts.xml; nested exception is java.io.FileNotFoundException [12/1/04 16:41:52:162 EST] 595bcd SystemErr R at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:119 4) [12/1/04 16:41:52:163 EST] 595bcd SystemErr R at org.apache.fop.apps.Driver.render(Driver.java:498) [12/1/04 16:41:52:163 EST] 595bcd SystemErr R at org.apache.fop.apps.Driver.run(Driver.java:565) [12/1/04 16:41:52:164 EST] 595bcd SystemErr R at gov.ssa.dps.xhtml.FileGenerator.convertFO2AFP(FileGenerator.java:313) [12/1/04 16:41:52:164 EST] 595bcd SystemErr R at gov.ssa.dps.xhtml.FileGenerator.convert(FileGenerator.java:258) [12/1/04 16:41:52:165 EST] 595bcd SystemErr R at gov.ssa.dps.xhtml.FileGenerator.generateFile(FileGenerator.java:135) [12/1/04 16:41:52:165 EST] 595bcd SystemErr R at gov.ssa.dps.manager.DocumentManagerImpl.getDocURL(DocumentManagerImpl.java:1 13) [12/1/04 16:41:52:165 EST] 595bcd SystemErr R at java.lang.reflect.Method.invoke(Native Method) [12/1/04 16:41:52:166 EST] 595bcd SystemErr R at gov.ssa.dps.manager.CommandExecutorImpl.invoke(CommandExecutorImpl.java:164) [12/1/04 16:41:52:166 EST] 595bcd SystemErr R at gov.ssa.dps.manager.CommandExecutorImpl.execute(CommandExecutorImpl.java:62) [12/1/04 16:41:52:167 EST] 595bcd SystemErr R at gov.ssa.dps.delegate.AbstractBusinessDelegate.execute(AbstractBusinessDelega te.java:113) [12/1/04 16:41:52:167 EST] 595bcd SystemErr R at gov.ssa.dps.delegate.AbstractBusinessDelegate.execute(AbstractBusinessDelega te.java:96) [12/1/04 16:41:52:167 EST] 595bcd SystemErr R at gov.ssa.dps.delegate.DocumentBD.getDocURL(DocumentBD.java:32) [12/1/04 16:41:52:168 EST] 595bcd SystemErr R at gov.ssa.dps.action.GetFileURLAction.execute(GetFileURLAction.java:75) [12/1/04 16:41:52:168 EST] 595bcd SystemErr R at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProces sor.java:484) [12/1/04 16:41:52:169 EST] 595bcd SystemErr R at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274) [12/1/04 16:41:52:169 EST] 595bcd SystemErr R at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) [12/1/04 16:41:52:169 EST] 595bcd SystemErr R at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507) [12/1/04 16:41:52:170 EST] 595bcd SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) [12/1/04 16:41:52:170 EST] 595bcd SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) [12/1/04 16:41:52:171 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServle tInstance.java:110) [12/1/04 16:41:52:171 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecy cleServlet.java:174) [12/1/04 16:41:52:172 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServ let.java:313) [12/1/04 16:41:52:172 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecyc leServlet.java:116) [12/1/04 16:41:52:173 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java :283) [12/1/04 16:41:52:174 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidSer vletReferenceState.java:42) [12/1/04 16:41:52:174 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletIns tanceReference.java:40) [12/1/04 16:41:52:174 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch( WebAppRequestDispatcher.java:1059) [12/1/04 16:41:52:175 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppReques tDispatcher.java:588) [12/1/04 16:41:52:175 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequest Dispatcher.java:206) [12/1/04 16:41:52:176 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:80) [12/1/04 16:41:52:176 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker .java:214) [12/1/04 16:41:52:177 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(C achedInvocation.java:71) [12/1/04 16:41:52:177 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletReq uestProcessor.java:182) [12/1/04 16:41:52:178 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListene r.java:334) [12/1/04 16:41:52:178 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.jav a:56) [12/1/04 16:41:52:178 EST] 595bcd SystemErr R at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:615) [12/1/04 16:41:52:179 EST] 595bcd SystemErr R at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439) [12/1/04 16:41:52:179 EST] 595bcd SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:672) [12/1/04 16:41:52:180 EST] 595bcd SystemErr R --------- [12/1/04 16:41:52:180 EST] 595bcd SystemErr R org.apache.fop.render.afp.exceptions.FontRuntimeException: IO exception when parsing afp-fonts.xml; nested exception is java.io.FileNotFoundException [12/1/04 16:41:52:181 EST] 595bcd SystemErr R at org.apache.fop.render.afp.fonts.FontCollection.load(FontCollection.java:155) [12/1/04 16:41:52:181 EST] 595bcd SystemErr R at org.apache.fop.render.afp.fonts.FontCollection.<init>(FontCollection.java:64 ) [12/1/04 16:41:52:182 EST] 595bcd SystemErr R at org.apache.fop.render.afp.fonts.FontFactory.getFontCollection(FontFactory.ja va:62) [12/1/04 16:41:52:182 EST] 595bcd SystemErr R at org.apache.fop.render.afp.fonts.FontSetup.setup(FontSetup.java:48) [12/1/04 16:41:52:183 EST] 595bcd SystemErr R at org.apache.fop.render.afp.AFPRenderer.setupFontInfo(AFPRenderer.java:666) [12/1/04 16:41:52:184 EST] 595bcd SystemErr R at org.apache.fop.apps.StreamRenderer.startRenderer(StreamRenderer.java:187) [12/1/04 16:41:52:184 EST] 595bcd SystemErr R at org.apache.fop.fo.FOTreeBuilder.startDocument(FOTreeBuilder.java:240) [12/1/04 16:41:52:185 EST] 595bcd SystemErr R at org.apache.xerces.parsers.AbstractSAXParser.startDocument(AbstractSAXParser. java:266) [12/1/04 16:41:52:185 EST] 595bcd SystemErr R at org.apache.xerces.impl.XMLNamespaceBinder.startDocument(XMLNamespaceBinder.j ava:444) [12/1/04 16:41:52:185 EST] 595bcd SystemErr R at org.apache.xerces.impl.dtd.XMLDTDValidator.startDocument(XMLDTDValidator.jav a:715) [12/1/04 16:41:52:186 EST] 595bcd SystemErr R at org.apache.xerces.impl.XMLDocumentScannerImpl.startEntity(XMLDocumentScanner Impl.java:435) [12/1/04 16:41:52:186 EST] 595bcd SystemErr R at org.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityManager.java:83 0) [12/1/04 16:41:52:187 EST] 595bcd SystemErr R at org.apache.xerces.impl.XMLEntityManager.startDocumentEntity(XMLEntityManager .java:693) [12/1/04 16:41:52:187 EST] 595bcd SystemErr R at org.apache.xerces.impl.XMLDocumentScannerImpl.setInputSource(XMLDocumentScan nerImpl.java:260) [12/1/04 16:41:52:188 EST] 595bcd SystemErr R at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserCo nfiguration.java:499) [12/1/04 16:41:52:188 EST] 595bcd SystemErr R at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserCo nfiguration.java:581) [12/1/04 16:41:52:188 EST] 595bcd SystemErr R at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:147) [12/1/04 16:41:52:189 EST] 595bcd SystemErr R at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:115 8) [12/1/04 16:41:52:189 EST] 595bcd SystemErr R at org.apache.fop.apps.Driver.render(Driver.java:498) [12/1/04 16:41:52:190 EST] 595bcd SystemErr R at org.apache.fop.apps.Driver.run(Driver.java:565) [12/1/04 16:41:52:190 EST] 595bcd SystemErr R at gov.ssa.dps.xhtml.FileGenerator.convertFO2AFP(FileGenerator.java:313) [12/1/04 16:41:52:190 EST] 595bcd SystemErr R at gov.ssa.dps.xhtml.FileGenerator.convert(FileGenerator.java:258) [12/1/04 16:41:52:191 EST] 595bcd SystemErr R at gov.ssa.dps.xhtml.FileGenerator.generateFile(FileGenerator.java:135) [12/1/04 16:41:52:191 EST] 595bcd SystemErr R at gov.ssa.dps.manager.DocumentManagerImpl.getDocURL(DocumentManagerImpl.java:1 13) [12/1/04 16:41:52:192 EST] 595bcd SystemErr R at java.lang.reflect.Method.invoke(Native Method) [12/1/04 16:41:52:193 EST] 595bcd SystemErr R at gov.ssa.dps.manager.CommandExecutorImpl.invoke(CommandExecutorImpl.java:164) [12/1/04 16:41:52:193 EST] 595bcd SystemErr R at gov.ssa.dps.manager.CommandExecutorImpl.execute(CommandExecutorImpl.java:62) [12/1/04 16:41:52:194 EST] 595bcd SystemErr R at gov.ssa.dps.delegate.AbstractBusinessDelegate.execute(AbstractBusinessDelega te.java:113) [12/1/04 16:41:52:194 EST] 595bcd SystemErr R at gov.ssa.dps.delegate.AbstractBusinessDelegate.execute(AbstractBusinessDelega te.java:96) [12/1/04 16:41:52:194 EST] 595bcd SystemErr R at gov.ssa.dps.delegate.DocumentBD.getDocURL(DocumentBD.java:32) [12/1/04 16:41:52:195 EST] 595bcd SystemErr R at gov.ssa.dps.action.GetFileURLAction.execute(GetFileURLAction.java:75) [12/1/04 16:41:52:195 EST] 595bcd SystemErr R at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProces sor.java:484) [12/1/04 16:41:52:196 EST] 595bcd SystemErr R at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274) [12/1/04 16:41:52:196 EST] 595bcd SystemErr R at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) [12/1/04 16:41:52:196 EST] 595bcd SystemErr R at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507) [12/1/04 16:41:52:197 EST] 595bcd SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) [12/1/04 16:41:52:197 EST] 595bcd SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) [12/1/04 16:41:52:198 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServle tInstance.java:110) [12/1/04 16:41:52:198 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecy cleServlet.java:174) [12/1/04 16:41:52:199 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServ let.java:313) [12/1/04 16:41:52:200 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecyc leServlet.java:116) [12/1/04 16:41:52:201 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java :283) [12/1/04 16:41:52:201 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidSer vletReferenceState.java:42) [12/1/04 16:41:52:210 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletIns tanceReference.java:40) [12/1/04 16:41:52:210 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch( WebAppRequestDispatcher.java:1059) [12/1/04 16:41:52:211 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppReques tDispatcher.java:588) [12/1/04 16:41:52:211 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequest Dispatcher.java:206) [12/1/04 16:41:52:212 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:80) [12/1/04 16:41:52:212 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker .java:214) [12/1/04 16:41:52:213 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(C achedInvocation.java:71) [12/1/04 16:41:52:213 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletReq uestProcessor.java:182) [12/1/04 16:41:52:214 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListene r.java:334) [12/1/04 16:41:52:218 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.jav a:56) [12/1/04 16:41:52:218 EST] 595bcd SystemErr R at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:615) [12/1/04 16:41:52:219 EST] 595bcd SystemErr R at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:439) [12/1/04 16:41:52:220 EST] 595bcd SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:672) [12/1/04 16:44:44:796 EST] 595bcd SystemErr R org.apache.fop.apps.FOPException: IO exception when parsing afp-fonts.xml; nested exception is java.io.FileNotFoundException [12/1/04 16:44:44:797 EST] 595bcd SystemErr R at org.apache.fop.apps.Driver.render(Driver.java:503) [12/1/04 16:44:44:797 EST] 595bcd SystemErr R at org.apache.fop.apps.Driver.run(Driver.java:565) [12/1/04 16:44:44:798 EST] 595bcd SystemErr R at gov.ssa.dps.xhtml.FileGenerator.convertFO2AFP(FileGenerator.java:313) [12/1/04 16:44:44:798 EST] 595bcd SystemErr R at gov.ssa.dps.xhtml.FileGenerator.convert(FileGenerator.java:258) [12/1/04 16:44:44:799 EST] 595bcd SystemErr R at gov.ssa.dps.xhtml.FileGenerator.generateFile(FileGenerator.java:135) [12/1/04 16:44:44:799 EST] 595bcd SystemErr R at gov.ssa.dps.manager.TemplateManagerImpl.getTemplateURL(TemplateManagerImpl.j ava:341) [12/1/04 16:44:44:800 EST] 595bcd SystemErr R at java.lang.reflect.Method.invoke(Native Method) [12/1/04 16:44:44:800 EST] 595bcd SystemErr R at gov.ssa.dps.manager.CommandExecutorImpl.invoke(CommandExecutorImpl.java:164) [12/1/04 16:44:44:800 EST] 595bcd SystemErr R at gov.ssa.dps.manager.CommandExecutorImpl.execute(CommandExecutorImpl.java:62) [12/1/04 16:44:44:801 EST] 595bcd SystemErr R at gov.ssa.dps.delegate.AbstractBusinessDelegate.execute(AbstractBusinessDelega te.java:113) [12/1/04 16:44:44:801 EST] 595bcd SystemErr R at gov.ssa.dps.delegate.AbstractBusinessDelegate.execute(AbstractBusinessDelega te.java:96) [12/1/04 16:44:44:801 EST] 595bcd SystemErr R at gov.ssa.dps.delegate.TemplateBD.getTemplateURL(TemplateBD.java:61) [12/1/04 16:44:44:802 EST] 595bcd SystemErr R at gov.ssa.dps.action.GetFileURLAction.execute(GetFileURLAction.java:62) [12/1/04 16:44:44:803 EST] 595bcd SystemErr R at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProces sor.java:484) [12/1/04 16:44:44:803 EST] 595bcd SystemErr R at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274) [12/1/04 16:44:44:804 EST] 595bcd SystemErr R at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) [12/1/04 16:44:44:804 EST] 595bcd SystemErr R at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507) [12/1/04 16:44:44:804 EST] 595bcd SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) [12/1/04 16:44:44:805 EST] 595bcd SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) [12/1/04 16:44:44:805 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServle tInstance.java:110) [12/1/04 16:44:44:806 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecy cleServlet.java:174) [12/1/04 16:44:44:806 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServ let.java:313) [12/1/04 16:44:44:806 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecyc leServlet.java:116) [12/1/04 16:44:44:807 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java :283) [12/1/04 16:44:44:807 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidSer vletReferenceState.java:42) [12/1/04 16:44:44:808 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletIns tanceReference.java:40) [12/1/04 16:44:44:808 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch( WebAppRequestDispatcher.java:1059) [12/1/04 16:44:44:808 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppReques tDispatcher.java:588) [12/1/04 16:44:44:809 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequest Dispatcher.java:206) [12/1/04 16:44:44:809 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:80) [12/1/04 16:44:44:810 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker .java:214) [12/1/04 16:44:44:810 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(C achedInvocation.java:71) [12/1/04 16:44:44:810 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletReq uestProcessor.java:182) [12/1/04 16:44:44:811 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListene r.java:334) [12/1/04 16:44:44:811 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.jav a:56) [12/1/04 16:44:44:812 EST] 595bcd SystemErr R at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:615) [12/1/04 16:44:44:812 EST] 595bcd SystemErr R at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:449) [12/1/04 16:44:44:813 EST] 595bcd SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:672) [12/1/04 16:44:44:813 EST] 595bcd SystemErr R --------- [12/1/04 16:44:44:814 EST] 595bcd SystemErr R org.apache.fop.render.afp.exceptions.FontRuntimeException: IO exception when parsing afp-fonts.xml; nested exception is java.io.FileNotFoundException [12/1/04 16:44:44:814 EST] 595bcd SystemErr R at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:119 4) [12/1/04 16:44:44:814 EST] 595bcd SystemErr R at org.apache.fop.apps.Driver.render(Driver.java:498) [12/1/04 16:44:44:815 EST] 595bcd SystemErr R at org.apache.fop.apps.Driver.run(Driver.java:565) [12/1/04 16:44:44:815 EST] 595bcd SystemErr R at gov.ssa.dps.xhtml.FileGenerator.convertFO2AFP(FileGenerator.java:313) [12/1/04 16:44:44:816 EST] 595bcd SystemErr R at gov.ssa.dps.xhtml.FileGenerator.convert(FileGenerator.java:258) [12/1/04 16:44:44:816 EST] 595bcd SystemErr R at gov.ssa.dps.xhtml.FileGenerator.generateFile(FileGenerator.java:135) [12/1/04 16:44:44:817 EST] 595bcd SystemErr R at gov.ssa.dps.manager.TemplateManagerImpl.getTemplateURL(TemplateManagerImpl.j ava:341) [12/1/04 16:44:44:817 EST] 595bcd SystemErr R at java.lang.reflect.Method.invoke(Native Method) [12/1/04 16:44:44:817 EST] 595bcd SystemErr R at gov.ssa.dps.manager.CommandExecutorImpl.invoke(CommandExecutorImpl.java:164) [12/1/04 16:44:44:818 EST] 595bcd SystemErr R at gov.ssa.dps.manager.CommandExecutorImpl.execute(CommandExecutorImpl.java:62) [12/1/04 16:44:44:818 EST] 595bcd SystemErr R at gov.ssa.dps.delegate.AbstractBusinessDelegate.execute(AbstractBusinessDelega te.java:113) [12/1/04 16:44:44:819 EST] 595bcd SystemErr R at gov.ssa.dps.delegate.AbstractBusinessDelegate.execute(AbstractBusinessDelega te.java:96) [12/1/04 16:44:44:819 EST] 595bcd SystemErr R at gov.ssa.dps.delegate.TemplateBD.getTemplateURL(TemplateBD.java:61) [12/1/04 16:44:44:819 EST] 595bcd SystemErr R at gov.ssa.dps.action.GetFileURLAction.execute(GetFileURLAction.java:62) [12/1/04 16:44:44:820 EST] 595bcd SystemErr R at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProces sor.java:484) [12/1/04 16:44:44:822 EST] 595bcd SystemErr R at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274) [12/1/04 16:44:44:823 EST] 595bcd SystemErr R at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) [12/1/04 16:44:44:824 EST] 595bcd SystemErr R at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507) [12/1/04 16:44:44:824 EST] 595bcd SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) [12/1/04 16:44:44:825 EST] 595bcd SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) [12/1/04 16:44:44:825 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServle tInstance.java:110) [12/1/04 16:44:44:825 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecy cleServlet.java:174) [12/1/04 16:44:44:826 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServ let.java:313) [12/1/04 16:44:44:826 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecyc leServlet.java:116) [12/1/04 16:44:44:827 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java :283) [12/1/04 16:44:44:827 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidSer vletReferenceState.java:42) [12/1/04 16:44:44:827 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletIns tanceReference.java:40) [12/1/04 16:44:44:828 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch( WebAppRequestDispatcher.java:1059) [12/1/04 16:44:44:828 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppReques tDispatcher.java:588) [12/1/04 16:44:44:828 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequest Dispatcher.java:206) [12/1/04 16:44:44:829 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:80) [12/1/04 16:44:44:831 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker .java:214) [12/1/04 16:44:44:831 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(C achedInvocation.java:71) [12/1/04 16:44:44:832 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletReq uestProcessor.java:182) [12/1/04 16:44:44:832 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListene r.java:334) [12/1/04 16:44:44:833 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.jav a:56) [12/1/04 16:44:44:833 EST] 595bcd SystemErr R at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:615) [12/1/04 16:44:44:834 EST] 595bcd SystemErr R at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:449) [12/1/04 16:44:44:835 EST] 595bcd SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:672) [12/1/04 16:44:44:835 EST] 595bcd SystemErr R --------- [12/1/04 16:44:44:835 EST] 595bcd SystemErr R org.apache.fop.render.afp.exceptions.FontRuntimeException: IO exception when parsing afp-fonts.xml; nested exception is java.io.FileNotFoundException [12/1/04 16:44:44:836 EST] 595bcd SystemErr R at org.apache.fop.render.afp.fonts.FontCollection.load(FontCollection.java:155) [12/1/04 16:44:44:836 EST] 595bcd SystemErr R at org.apache.fop.render.afp.fonts.FontCollection.<init>(FontCollection.java:64 ) [12/1/04 16:44:44:836 EST] 595bcd SystemErr R at org.apache.fop.render.afp.fonts.FontFactory.getFontCollection(FontFactory.ja va:62) [12/1/04 16:44:44:837 EST] 595bcd SystemErr R at org.apache.fop.render.afp.fonts.FontSetup.setup(FontSetup.java:48) [12/1/04 16:44:44:837 EST] 595bcd SystemErr R at org.apache.fop.render.afp.AFPRenderer.setupFontInfo(AFPRenderer.java:666) [12/1/04 16:44:44:838 EST] 595bcd SystemErr R at org.apache.fop.apps.StreamRenderer.startRenderer(StreamRenderer.java:187) [12/1/04 16:44:44:838 EST] 595bcd SystemErr R at org.apache.fop.fo.FOTreeBuilder.startDocument(FOTreeBuilder.java:240) [12/1/04 16:44:44:838 EST] 595bcd SystemErr R at org.apache.xerces.parsers.AbstractSAXParser.startDocument(AbstractSAXParser. java:266) [12/1/04 16:44:44:839 EST] 595bcd SystemErr R at org.apache.xerces.impl.XMLNamespaceBinder.startDocument(XMLNamespaceBinder.j ava:444) [12/1/04 16:44:44:839 EST] 595bcd SystemErr R at org.apache.xerces.impl.dtd.XMLDTDValidator.startDocument(XMLDTDValidator.jav a:715) [12/1/04 16:44:44:839 EST] 595bcd SystemErr R at org.apache.xerces.impl.XMLDocumentScannerImpl.startEntity(XMLDocumentScanner Impl.java:435) [12/1/04 16:44:44:840 EST] 595bcd SystemErr R at org.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityManager.java:83 0) [12/1/04 16:44:44:840 EST] 595bcd SystemErr R at org.apache.xerces.impl.XMLEntityManager.startDocumentEntity(XMLEntityManager .java:693) [12/1/04 16:44:44:841 EST] 595bcd SystemErr R at org.apache.xerces.impl.XMLDocumentScannerImpl.setInputSource(XMLDocumentScan nerImpl.java:260) [12/1/04 16:44:44:841 EST] 595bcd SystemErr R at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserCo nfiguration.java:499) [12/1/04 16:44:44:841 EST] 595bcd SystemErr R at org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserCo nfiguration.java:581) [12/1/04 16:44:44:843 EST] 595bcd SystemErr R at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:147) [12/1/04 16:44:44:844 EST] 595bcd SystemErr R at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:115 8) [12/1/04 16:44:44:845 EST] 595bcd SystemErr R at org.apache.fop.apps.Driver.render(Driver.java:498) [12/1/04 16:44:44:848 EST] 595bcd SystemErr R at org.apache.fop.apps.Driver.run(Driver.java:565) [12/1/04 16:44:44:848 EST] 595bcd SystemErr R at gov.ssa.dps.xhtml.FileGenerator.convertFO2AFP(FileGenerator.java:313) [12/1/04 16:44:44:849 EST] 595bcd SystemErr R at gov.ssa.dps.xhtml.FileGenerator.convert(FileGenerator.java:258) [12/1/04 16:44:44:849 EST] 595bcd SystemErr R at gov.ssa.dps.xhtml.FileGenerator.generateFile(FileGenerator.java:135) [12/1/04 16:44:44:850 EST] 595bcd SystemErr R at gov.ssa.dps.manager.TemplateManagerImpl.getTemplateURL(TemplateManagerImpl.j ava:341) [12/1/04 16:44:44:853 EST] 595bcd SystemErr R at java.lang.reflect.Method.invoke(Native Method) [12/1/04 16:44:44:853 EST] 595bcd SystemErr R at gov.ssa.dps.manager.CommandExecutorImpl.invoke(CommandExecutorImpl.java:164) [12/1/04 16:44:44:854 EST] 595bcd SystemErr R at gov.ssa.dps.manager.CommandExecutorImpl.execute(CommandExecutorImpl.java:62) [12/1/04 16:44:44:854 EST] 595bcd SystemErr R at gov.ssa.dps.delegate.AbstractBusinessDelegate.execute(AbstractBusinessDelega te.java:113) [12/1/04 16:44:44:855 EST] 595bcd SystemErr R at gov.ssa.dps.delegate.AbstractBusinessDelegate.execute(AbstractBusinessDelega te.java:96) [12/1/04 16:44:44:855 EST] 595bcd SystemErr R at gov.ssa.dps.delegate.TemplateBD.getTemplateURL(TemplateBD.java:61) [12/1/04 16:44:44:855 EST] 595bcd SystemErr R at gov.ssa.dps.action.GetFileURLAction.execute(GetFileURLAction.java:62) [12/1/04 16:44:44:856 EST] 595bcd SystemErr R at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProces sor.java:484) [12/1/04 16:44:44:856 EST] 595bcd SystemErr R at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274) [12/1/04 16:44:44:856 EST] 595bcd SystemErr R at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) [12/1/04 16:44:44:857 EST] 595bcd SystemErr R at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507) [12/1/04 16:44:44:857 EST] 595bcd SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) [12/1/04 16:44:44:857 EST] 595bcd SystemErr R at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) [12/1/04 16:44:44:858 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServle tInstance.java:110) [12/1/04 16:44:44:858 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecy cleServlet.java:174) [12/1/04 16:44:44:859 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServ let.java:313) [12/1/04 16:44:44:859 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecyc leServlet.java:116) [12/1/04 16:44:44:859 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java :283) [12/1/04 16:44:44:860 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidSer vletReferenceState.java:42) [12/1/04 16:44:44:860 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletIns tanceReference.java:40) [12/1/04 16:44:44:861 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch( WebAppRequestDispatcher.java:1059) [12/1/04 16:44:44:861 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppReques tDispatcher.java:588) [12/1/04 16:44:44:861 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequest Dispatcher.java:206) [12/1/04 16:44:44:862 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:80) [12/1/04 16:44:44:862 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker .java:214) [12/1/04 16:44:44:863 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(C achedInvocation.java:71) [12/1/04 16:44:44:863 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletReq uestProcessor.java:182) [12/1/04 16:44:44:863 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListene r.java:334) [12/1/04 16:44:44:864 EST] 595bcd SystemErr R at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.jav a:56) [12/1/04 16:44:44:864 EST] 595bcd SystemErr R at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:615) [12/1/04 16:44:44:865 EST] 595bcd SystemErr R at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:449) [12/1/04 16:44:44:865 EST] 595bcd SystemErr R at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:672) |
From: Pete T. <pe...@to...> - 2004-11-22 19:28:14
|
Harold, You should not have any problem moving to z/OS mainframe, I'd recommend developing with the fonts that you are using in your target environment. AFP fonts are the same regardless of the platform (with the exception that a different encoding may be used but these would be different fonts anyway). Rgds, Pete. ----- Original Message ----- From: "Owen, Harold S." <Har...@ss...> To: <afp...@li...> Sent: Monday, November 22, 2004 4:58 PM Subject: [afp-renderer-users] Platform dependencies? > We are developing with afp-renderer on Windows and Solaris. Our target > production platform is z/OS mainframe. > > I assume that when we move to the z/OS mainframe, we will have to update > afp-fonts.xml to use mainframe AFP fonts. Is this true? > > If so, how likely is it that are our documents will render correctly there? > > I have heard conflicting stories about AFP fonts being "platform > indenpendent". Does anyone have a definitive answer? > > I am trying to avoid a situtation where we test for several weeks on > Windows/Solaris only to find that nothing works on z/OS. > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > afp-renderer-users mailing list > afp...@li... > https://lists.sourceforge.net/lists/listinfo/afp-renderer-users |
From: Owen, H. S. <Har...@ss...> - 2004-11-22 16:59:36
|
We are developing with afp-renderer on Windows and Solaris. Our target production platform is z/OS mainframe. I assume that when we move to the z/OS mainframe, we will have to update afp-fonts.xml to use mainframe AFP fonts. Is this true? If so, how likely is it that are our documents will render correctly there? I have heard conflicting stories about AFP fonts being "platform indenpendent". Does anyone have a definitive answer? I am trying to avoid a situtation where we test for several weeks on Windows/Solaris only to find that nothing works on z/OS. |
From: Pete T. <pe...@to...> - 2004-11-20 10:38:34
|
Harold, I'm not sure if you are still looking for font suppliers. A company = called Terrapin Solutions has recently agreed to sponsor the project by = providing a very limited set of fonts that we can distribute with the = software. You should be able to purcahse any fonts that you require from = them. Contact details below: Terrapin Solutions Limited 213 Chalk Farm Road Camden Lock London NW1 8AB t: +44 (0)207 482 1446 f: +44 (0)207 482 1447 e: sa...@te...=20 ----- Original Message -----=20 From: "Joe Schmetzer" <jo...@ex...> To: "Owen, Harold S." <Har...@ss...> Cc: <afp...@li...>; "Venkataramani, Prakash" = <Pra...@ss...> Sent: Thursday, November 11, 2004 9:56 PM Subject: Re: [afp-renderer-users] Where to get AFP Fonts? > On Thu, 2004-11-11 at 21:19, Owen, Harold S. wrote: > > Where are other developers getting the AFP (code page and character = set) > > font files? We are tasked with generating AFP documents, but do not = have a > > copy of the fonts. >=20 > Hi Harold, >=20 > AFP fonts can be purchased from IBM. Most fonts are licenced so we are > unable to distribute them with the AFP Renderer download. A quick = google > turned up the following link, which may be of interest to you: >=20 > http://www-900.ibm.com/cn/support/library/printer/download/fsfont.pdf >=20 > There may be some other third party font authors, but I haven't looked > around for them. >=20 > Pete recently mentioned to me that one of the viewers you can download > for free actually came with some fonts (maybe the Barr AFP Viewer??) > which you may be able to use for testing. >=20 > I plan to get around to writing a quick start example and tutorial RSN > that explains some of these issues. >=20 > Cheers, > Joe >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=3D5588&alloc_id=3D12065&op=3Dclick > _______________________________________________ > afp-renderer-users mailing list > afp...@li... > https://lists.sourceforge.net/lists/listinfo/afp-renderer-users |
From: Pete T. <pe...@to...> - 2004-11-15 21:16:33
|
A coded font is an AFP font resource object that associates AFP font character set objects with AFP code page objects. The metric and shape information for each of the characters defined by the font is contained in the font character set, and the information for mapping the code points used in the document data stream to the graphic character global identifiers used in the font character set is contained in the code page. A coded font resource does not contain either the font character set object or the code page object, but only references those objects by name. We have decided not to implement any reference to the coded font as it does not add any benefit. When using the renderer you specify the code page and character set relationship in the afp fonts xml file, there is absolutely no need for the coded font. You do however need to have the code page and characterset resources available locally as they are used to calculate the font metrics when rendering a document. Regards, Pete. ----- Original Message ----- From: "Venkataramani, Prakash" <Pra...@ss...> To: <to...@us...> Sent: Monday, November 15, 2004 8:18 PM Subject: Question on 3 sets of files > > Hai, > > We are trying to get the AFP stuff to work. > We have a good number of CDP files(T), > Character set files(C) > And Coded set files(X). > > Basically files starting with > X - coded set > C - character set > T - Code Page > > Accoring to the documentation > Coded set files gives the relation between > Character set files and Code page file. > > In the AFP-Renderer site ,I don't see any mention > Of the coded set files nor they are mentioned in the AFP-Fonts.xml. > > If they are related how do we make out what files are related to what. > > We are trying to figure a soultion for this. > Your help is really appreciated. > > Thanks > Prakash |
From: Joe S. <jo...@ex...> - 2004-11-11 22:00:49
|
On Thu, 2004-11-11 at 21:19, Owen, Harold S. wrote: > Where are other developers getting the AFP (code page and character set) > font files? We are tasked with generating AFP documents, but do not have a > copy of the fonts. Hi Harold, AFP fonts can be purchased from IBM. Most fonts are licenced so we are unable to distribute them with the AFP Renderer download. A quick google turned up the following link, which may be of interest to you: http://www-900.ibm.com/cn/support/library/printer/download/fsfont.pdf There may be some other third party font authors, but I haven't looked around for them. Pete recently mentioned to me that one of the viewers you can download for free actually came with some fonts (maybe the Barr AFP Viewer??) which you may be able to use for testing. I plan to get around to writing a quick start example and tutorial RSN that explains some of these issues. Cheers, Joe |
From: Owen, H. S. <Har...@ss...> - 2004-11-11 21:19:29
|
Where are other developers getting the AFP (code page and character set) font files? We are tasked with generating AFP documents, but do not have a copy of the fonts. |
From: Joe S. <jo...@ex...> - 2004-11-11 21:01:49
|
On Wed, 2004-11-10 at 20:54, Venkataramani, Prakash wrote: > Joe, > I tried what you told me. I still get the > "StringOutOfBoundsException". > > Thanks for the prompt reply.I am sending you the > Font file and CDP file.Can you please verify what we > have is in proper format. > > Files Sent > afp-fonts.xml > T1V10285.CDP > C0G21A00.240 > Hi Prakash, I was finally able to look through the files you sent me. Actually, I passed them on to Pete Townsend, but anyway... There are a couple of problems: * the file you have called T1V10285.CDP is actually the T1GI0361 code page. You should rename the file T1GI0361.CDP and update the afp-fonts.xml file appropriately. * The code page file is ASCII encoded. The encoding attribute must be set to an appropriate ASCII encoding in the afp-fonts.xml Good luck, Joe P.S. I like to discuss these problems on the list. This allows everyone to see what the problem was, and possible other people to suggest solutions. > -----Original Message----- > From: Joe Schmetzer [mailto:jo...@ex...] > Sent: Wednesday, November 10, 2004 3:04 PM > To: Venkataramani, Prakash > Cc: afp...@li... > Subject: RE: [afp-renderer-users] AFP Renderer Not Working > > > On Wed, 2004-11-10 at 15:35, Venkataramani, Prakash wrote: > > Hai Joe, > > > > Thanks. > > > > OS: NT > > JDK: 1.4 > > Also afop-fonts.xml is looked up at jar file. > > If I need to make a change in afp-fonts.xml > > I will have change it locally and add it to > > the jar file.have you encountered this situation ? > > We don't ever put afp-fonts.xml inside the jar. Rather, we stick it in a > directory called "resources" or some such, and put that directory in the > classpath. For example, our directory structure might look something like > this: > > C:\afp > +- lib > | +- afp-renderer.jar > | +- fop.jar > | +- (more jars) > +- resources > +- afp-fonts.xml > +- afp-font-resources > +- T1V10285.CDP > +- C0G21A00.240 > +- (more font resources) > > With these directories, we can then start up to renderer using something > like: > > java -cp C:/afp/lib/afp-renderer.jar;C:/afp/lib/fop.jar;c:/afp/resources > FO2AFP input.fo output.afp > > Looking at the stack trace below, it looks like there has been a problem > reading the code page file (it should be in the classpath). Can you confirm > that you have the file T1V10285.CDP in the classpath? > > Cheers, > Joe > > > > In file AFPFontReader.java > > > > Section of the code where it fails. > > String "data" is empty and obviosly when you do a substring it fails. > > > > StructuredFieldReader sfr = new StructuredFieldReader(is); > > byte[] data = sfr.getNext(codepageSF); > > System.out.println("Data:"+ data.length); > > String stringData = new String(data, > AFPConstants.EBCIDIC_ENCODING); > > //This is the place where it breaks. > > String actualCodePage = stringData.substring(3, 11); > > > > > > String index out of range: 11 > > org.apache.fop.render.afp.exceptions.FontRuntimeException: Failed to > > load the character set metrics for code page T1V10285; nested > > exception is java.lang.StringIndexOutOfBoundsException > > at > > org.apache.fop.render.afp.fonts.AFPFontReader.loadCharacterSetMetric(A > > FPFont > > Reader.java:200) > > at > > > org.apache.fop.render.afp.fonts.CharacterSetMetric.load(CharacterSetMetric.j > > ava:214) > > at > > > org.apache.fop.render.afp.fonts.CharacterSetMetric.getAscender(CharacterSetM > > etric.java:126) > > at > > > org.apache.fop.render.afp.fonts.FontMetrics.getAscender(FontMetrics.java:86) > > at org.apache.fop.layout.FontState.getAscender(FontState.java:143) > > at org.apache.fop.layout.LineArea.<init>(LineArea.java:326) > > at > > org.apache.fop.layout.BlockArea.getCurrentLineArea(BlockArea.java:164) > > at org.apache.fop.fo.FOText.addRealText(FOText.java:263) > > at org.apache.fop.fo.FOText.addText(FOText.java:252) > > at org.apache.fop.fo.FOText.layout(FOText.java:161) > > at org.apache.fop.fo.flow.Block.layout(Block.java:257) > > at org.apache.fop.fo.flow.AbstractFlow.layout(AbstractFlow.java:154) > > at org.apache.fop.fo.flow.AbstractFlow.layout(AbstractFlow.java:110) > > at > > org.apache.fop.fo.pagination.PageSequence.makePage(PageSequence.java:400) > > at > > org.apache.fop.fo.pagination.PageSequence.format(PageSequence.java:338) > > at > > org.apache.fop.apps.StreamRenderer.render(StreamRenderer.java:262) > > at > > org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:223) > > at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown > > Source) > > at > > org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown > > Source) > > at > > > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc > > her.dispatch(Unknown Source) > > at > > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown > > Source) > > at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) > > at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) > > at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) > > at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) > > at org.apache.fop.apps.Driver.render(Driver.java:498) > > at org.apache.fop.apps.Driver.run(Driver.java:565) > > at gov.ssa.dps.document.FO2AFP.main(FO2AFP.java:53) > > > > > > > > Prakash > > -----Original Message----- > > From: Joe Schmetzer [mailto:jo...@ex...] > > Sent: Wednesday, November 10, 2004 10:19 AM > > To: Venkataramani, Prakash > > Cc: afp...@li... > > Subject: Re: [afp-renderer-users] AFP Renderer Not Working > > > > > > On Wed, November 10, 2004 2:57 pm, Venkataramani, Prakash said: > > > > > > I am trying to get the AFP Renderer work.I tried the sample code As > > > well as Junit testcase code,but of no luck. I took the source jar and > > > started to look for as where it is Breaking.I found issues with > > > AFPFontReader.java.(StringIndexOutofBoundsException) > > > > I havn't seen that particular issue before. Can you give us a bit more > > detail about the particular error you are getting? Is there a stack > > trace? You mentioned a StringIndexOutofBoundsException in > > AFPFontReader.java - are you able to determine the line that caused > > the exception? Information about your operating system, java version > > and classpath could be useful, too. > > > > > Was wondering any of you guys got in to the same issue.Has any one > > > got > > > AFP renderer to work. > > > > We're currently using it in production systems quite successfully. > > Once it's configured correctly, things should Just Work (at least, > > that's the > > plan) > > > > Cheers, > > Joe > |
From: Joe S. <jo...@ex...> - 2004-11-10 20:08:18
|
On Wed, 2004-11-10 at 15:35, Venkataramani, Prakash wrote: > Hai Joe, > > Thanks. > > OS: NT > JDK: 1.4 > Also afop-fonts.xml is looked up at jar file. > If I need to make a change in afp-fonts.xml > I will have change it locally and add it to > the jar file.have you encountered this situation ? We don't ever put afp-fonts.xml inside the jar. Rather, we stick it in a directory called "resources" or some such, and put that directory in the classpath. For example, our directory structure might look something like this: C:\afp +- lib | +- afp-renderer.jar | +- fop.jar | +- (more jars) +- resources +- afp-fonts.xml +- afp-font-resources +- T1V10285.CDP +- C0G21A00.240 +- (more font resources) With these directories, we can then start up to renderer using something like: java -cp C:/afp/lib/afp-renderer.jar;C:/afp/lib/fop.jar;c:/afp/resources FO2AFP input.fo output.afp Looking at the stack trace below, it looks like there has been a problem reading the code page file (it should be in the classpath). Can you confirm that you have the file T1V10285.CDP in the classpath? Cheers, Joe > In file AFPFontReader.java > > Section of the code where it fails. > String "data" is empty and obviosly when you do a substring it fails. > > StructuredFieldReader sfr = new StructuredFieldReader(is); > byte[] data = sfr.getNext(codepageSF); > System.out.println("Data:"+ data.length); > String stringData = new String(data, > AFPConstants.EBCIDIC_ENCODING); > //This is the place where it breaks. > String actualCodePage = stringData.substring(3, 11); > > > String index out of range: 11 > org.apache.fop.render.afp.exceptions.FontRuntimeException: Failed to load > the character set metrics for code page T1V10285; nested exception is > java.lang.StringIndexOutOfBoundsException > at > org.apache.fop.render.afp.fonts.AFPFontReader.loadCharacterSetMetric(AFPFont > Reader.java:200) > at > org.apache.fop.render.afp.fonts.CharacterSetMetric.load(CharacterSetMetric.j > ava:214) > at > org.apache.fop.render.afp.fonts.CharacterSetMetric.getAscender(CharacterSetM > etric.java:126) > at > org.apache.fop.render.afp.fonts.FontMetrics.getAscender(FontMetrics.java:86) > at org.apache.fop.layout.FontState.getAscender(FontState.java:143) > at org.apache.fop.layout.LineArea.<init>(LineArea.java:326) > at > org.apache.fop.layout.BlockArea.getCurrentLineArea(BlockArea.java:164) > at org.apache.fop.fo.FOText.addRealText(FOText.java:263) > at org.apache.fop.fo.FOText.addText(FOText.java:252) > at org.apache.fop.fo.FOText.layout(FOText.java:161) > at org.apache.fop.fo.flow.Block.layout(Block.java:257) > at org.apache.fop.fo.flow.AbstractFlow.layout(AbstractFlow.java:154) > at org.apache.fop.fo.flow.AbstractFlow.layout(AbstractFlow.java:110) > at > org.apache.fop.fo.pagination.PageSequence.makePage(PageSequence.java:400) > at > org.apache.fop.fo.pagination.PageSequence.format(PageSequence.java:338) > at > org.apache.fop.apps.StreamRenderer.render(StreamRenderer.java:262) > at > org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:223) > at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown > Source) > at > org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown > Source) > at > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatc > her.dispatch(Unknown Source) > at > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown > Source) > at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) > at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) > at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) > at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) > at org.apache.fop.apps.Driver.render(Driver.java:498) > at org.apache.fop.apps.Driver.run(Driver.java:565) > at gov.ssa.dps.document.FO2AFP.main(FO2AFP.java:53) > > > > Prakash > -----Original Message----- > From: Joe Schmetzer [mailto:jo...@ex...] > Sent: Wednesday, November 10, 2004 10:19 AM > To: Venkataramani, Prakash > Cc: afp...@li... > Subject: Re: [afp-renderer-users] AFP Renderer Not Working > > > On Wed, November 10, 2004 2:57 pm, Venkataramani, Prakash said: > > > > I am trying to get the AFP Renderer work.I tried the sample code As > > well as Junit testcase code,but of no luck. I took the source jar and > > started to look for as where it is Breaking.I found issues with > > AFPFontReader.java.(StringIndexOutofBoundsException) > > I havn't seen that particular issue before. Can you give us a bit more > detail about the particular error you are getting? Is there a stack trace? > You mentioned a StringIndexOutofBoundsException in AFPFontReader.java - are > you able to determine the line that caused the exception? Information about > your operating system, java version and classpath could be useful, too. > > > Was wondering any of you guys got in to the same issue.Has any one got > > AFP renderer to work. > > We're currently using it in production systems quite successfully. Once it's > configured correctly, things should Just Work (at least, that's the > plan) > > Cheers, > Joe |
From: Joe S. <jo...@ex...> - 2004-11-10 15:23:22
|
On Wed, November 10, 2004 2:57 pm, Venkataramani, Prakash said: > > I am trying to get the AFP Renderer work.I tried the sample code > As well as Junit testcase code,but of no luck. > I took the source jar and started to look for as where it is > Breaking.I found issues with > AFPFontReader.java.(StringIndexOutofBoundsException) I havn't seen that particular issue before. Can you give us a bit more detail about the particular error you are getting? Is there a stack trace? You mentioned a StringIndexOutofBoundsException in AFPFontReader.java - are you able to determine the line that caused the exception? Information about your operating system, java version and classpath could be useful, too. > Was wondering any of you guys got in to the same issue.Has any one got > AFP renderer to work. We're currently using it in production systems quite successfully. Once it's configured correctly, things should Just Work (at least, that's the plan) Cheers, Joe |
From: Venkataramani, P. <Pra...@ss...> - 2004-11-10 14:58:47
|
I am trying to get the AFP Renderer work.I tried the sample code As well as Junit testcase code,but of no luck. I took the source jar and started to look for as where it is Breaking.I found issues with AFPFontReader.java.(StringIndexOutofBoundsException) Was wondering any of you guys got in to the same issue.Has any one got AFP renderer to work. Prakash |
From: Pete T. <pe...@to...> - 2004-10-13 07:48:23
|
Michael, Please see the JUnit test case below for a example: package org.apache.fop.renderer.afp; import java.io.BufferedInputStream; import java.io.BufferedOutputStream; import java.io.FileInputStream; import java.io.FileOutputStream; import org.apache.avalon.framework.logger.ConsoleLogger; import org.apache.avalon.framework.logger.Logger; import org.apache.fop.apps.Driver; import org.apache.fop.messaging.MessageHandler; import org.apache.fop.render.afp.AFPRenderer; import org.apache.fop.render.afp.extensions.AFPElementMapping; import org.xml.sax.InputSource; import junit.framework.TestCase; public class AFPRendererTest extends TestCase { private Driver _driver; protected void setUp() throws Exception { super.setUp(); // Construct driver _driver = new Driver(); _driver.addElementMapping(new AFPElementMapping()); // Setup logger Logger logger = new ConsoleLogger(); _driver.setLogger(logger); MessageHandler.setScreenLogger(logger); // Setup Renderer (output format) AFPRenderer renderer = new AFPRenderer(); renderer.setLogger(logger.getChildLogger("afprenderer")); _driver.setRenderer(renderer); } public void testReadmeFO() throws Exception { // Setup output BufferedOutputStream out = new BufferedOutputStream( new FileOutputStream("test/test-output/readme.afp"), 12000); try { _driver.setOutputStream(out); // Setup input BufferedInputStream in = new BufferedInputStream( new FileInputStream("test/test-input/readme.fo"), 12000); try { _driver.setInputSource(new InputSource(in)); //Process FO _driver.run(); } finally { in.close(); } } finally { out.close(); } } } ----- Original Message ----- From: "Joe Schmetzer" <jo...@ex...> To: <afp...@li...>; "Michael Knigge" <kn...@gm...> Cc: <to...@us...> Sent: Tuesday, October 12, 2004 5:17 PM Subject: Re: [afp-renderer-users] can't get it working :-( > Hi Michael, > > Unfortunately the docs on the website aren't quite complete at this > point. The main issue not addressed right now is processing the input > files (see > http://afp-renderer.sourceforge.net/getting-started.html#Process_Input_Files). That one sentence doesn't really explain in enough detail what is required. The fop command line doesn't yet know how to handle the -afp output format, which means that you will (currently) have to write some java code to bootstrap the output renderer. > > Unfortunately, I don't have the appropriate example code handy this > second, but Pete (the main developer) should be able to provide it > fairly soon. I'll make sure website is updated with something more > useful. > > The fop embedding page at http://xml.apache.org/fop/embedding.html gives > the general idea of what is needed, except that the afp renderer should > be specified as the driver. > > As you've found out, this project has just started and so the > documentation isn't quite there yet (but we're working on it). > > Cheers, > Joe > > On Tue, 2004-10-12 at 08:13, Michael Knigge wrote: > > All, > > > > I can't gat this AFP-renderer working and I hope that someone here can help > > me. > > > > What I did: > > > > At fist I've installed J2SE (Runtime only on WinXP Pro). Then I've > > downloaded FOP (0.20.5) and the AFP-renderer. > > > > I put the afp-renderer-bin-1.0.1.jar file to %LOCAL_FOP_HOME%lib and added > > this file to my %LOCALCLASSPATH%. > > > > I also stored the afp-fonts.dtd and afp-fonts.xml file in the same directory > > where I put the afp-renderer-bin-1.0.1.jar file. > > > > Then I've created a directory named afp-font-resources in the same directory > > and put my resources there (for testing purposes, I put there some afp-fonts > > and renamed them so the match the names in your sample afp-fonts.* files). > > > > For my understanding, I did everything mentioned on the web-site. > > > > Then, I've tried to run FOP: > > > > java -cp "%LOCALCLASSPATH%" org.apache.fop.apps.Fop -d -xml test.xml -xsl > > test.xslt -afp test.afp > > > > > > But... test.afp is not created. What did I wrong? > > > > Hope someone can help me.... > > > > Thanks, > > Michael > > > > > > Here is the .BAT I've used: > > > > @ECHO OFF > > > > rem %~dp0 is the expanded pathname of the current script under NT > > set LOCAL_FOP_HOME= > > if "%OS%"=="Windows_NT" set LOCAL_FOP_HOME=%~dp0 > > > > set LIBDIR=%LOCAL_FOP_HOME%lib > > set LOCALCLASSPATH=%LOCAL_FOP_HOME%build\fop.jar > > set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xml-apis.jar > > set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xercesImpl-2.2.1.jar > > set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xalan-2.4.1.jar > > set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\batik.jar > > set > > LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\avalon-framework-cvs-20020806.jar > > set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\jimi-1.0.jar > > set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\jai_core.jar > > set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\jai_codec.jar > > set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\afp-renderer-bin-1.0.1.jar > > > > java -cp "%LOCALCLASSPATH%" org.apache.fop.apps.Fop -d -xml test.xml -xsl > > test.xslt -afp test.afp > > > > > > And here is the output from FOP: > > > > [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser > > [INFO] base directory: file:/C:/Dokumente und Einstellungen/Default/Eigene > > Dateien/Test/fop-0.20.5/../ > > [INFO] FOP 0.20.5 > > [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser > > [ERROR] null > > org.apache.fop.apps.FOPException > > at > > org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:111) > > at org.apache.fop.apps.Fop.main(Fop.java:62) > > > > --------- > > > > java.lang.NullPointerException > > at java.io.FileOutputStream.<init>(Unknown Source) > > at java.io.FileOutputStream.<init>(Unknown Source) > > at > > org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:101) > > at org.apache.fop.apps.Fop.main(Fop.java:62) > > > > --------- > > > > java.lang.NullPointerException > > at java.io.FileOutputStream.<init>(Unknown Source) > > at java.io.FileOutputStream.<init>(Unknown Source) > > at > > org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:101) > > at org.apache.fop.apps.Fop.main(Fop.java:62) > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > afp-renderer-users mailing list > afp...@li... > https://lists.sourceforge.net/lists/listinfo/afp-renderer-users |
From: Joe S. <jo...@ex...> - 2004-10-12 16:19:17
|
Hi Michael, Unfortunately the docs on the website aren't quite complete at this point. The main issue not addressed right now is processing the input files (see http://afp-renderer.sourceforge.net/getting-started.html#Process_Input_Files). That one sentence doesn't really explain in enough detail what is required. The fop command line doesn't yet know how to handle the -afp output format, which means that you will (currently) have to write some java code to bootstrap the output renderer. Unfortunately, I don't have the appropriate example code handy this second, but Pete (the main developer) should be able to provide it fairly soon. I'll make sure website is updated with something more useful. The fop embedding page at http://xml.apache.org/fop/embedding.html gives the general idea of what is needed, except that the afp renderer should be specified as the driver. As you've found out, this project has just started and so the documentation isn't quite there yet (but we're working on it). Cheers, Joe On Tue, 2004-10-12 at 08:13, Michael Knigge wrote: > All, > > I can't gat this AFP-renderer working and I hope that someone here can help > me. > > What I did: > > At fist I've installed J2SE (Runtime only on WinXP Pro). Then I've > downloaded FOP (0.20.5) and the AFP-renderer. > > I put the afp-renderer-bin-1.0.1.jar file to %LOCAL_FOP_HOME%lib and added > this file to my %LOCALCLASSPATH%. > > I also stored the afp-fonts.dtd and afp-fonts.xml file in the same directory > where I put the afp-renderer-bin-1.0.1.jar file. > > Then I've created a directory named afp-font-resources in the same directory > and put my resources there (for testing purposes, I put there some afp-fonts > and renamed them so the match the names in your sample afp-fonts.* files). > > For my understanding, I did everything mentioned on the web-site. > > Then, I've tried to run FOP: > > java -cp "%LOCALCLASSPATH%" org.apache.fop.apps.Fop -d -xml test.xml -xsl > test.xslt -afp test.afp > > > But... test.afp is not created. What did I wrong? > > Hope someone can help me.... > > Thanks, > Michael > > > Here is the .BAT I've used: > > @ECHO OFF > > rem %~dp0 is the expanded pathname of the current script under NT > set LOCAL_FOP_HOME= > if "%OS%"=="Windows_NT" set LOCAL_FOP_HOME=%~dp0 > > set LIBDIR=%LOCAL_FOP_HOME%lib > set LOCALCLASSPATH=%LOCAL_FOP_HOME%build\fop.jar > set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xml-apis.jar > set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xercesImpl-2.2.1.jar > set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xalan-2.4.1.jar > set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\batik.jar > set > LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\avalon-framework-cvs-20020806.jar > set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\jimi-1.0.jar > set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\jai_core.jar > set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\jai_codec.jar > set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\afp-renderer-bin-1.0.1.jar > > java -cp "%LOCALCLASSPATH%" org.apache.fop.apps.Fop -d -xml test.xml -xsl > test.xslt -afp test.afp > > > And here is the output from FOP: > > [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser > [INFO] base directory: file:/C:/Dokumente und Einstellungen/Default/Eigene > Dateien/Test/fop-0.20.5/../ > [INFO] FOP 0.20.5 > [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser > [ERROR] null > org.apache.fop.apps.FOPException > at > org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:111) > at org.apache.fop.apps.Fop.main(Fop.java:62) > > --------- > > java.lang.NullPointerException > at java.io.FileOutputStream.<init>(Unknown Source) > at java.io.FileOutputStream.<init>(Unknown Source) > at > org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:101) > at org.apache.fop.apps.Fop.main(Fop.java:62) > > --------- > > java.lang.NullPointerException > at java.io.FileOutputStream.<init>(Unknown Source) > at java.io.FileOutputStream.<init>(Unknown Source) > at > org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:101) > at org.apache.fop.apps.Fop.main(Fop.java:62) > |
From: Michael K. <kn...@gm...> - 2004-10-12 07:14:57
|
All, I can't gat this AFP-renderer working and I hope that someone here can help me. What I did: At fist I've installed J2SE (Runtime only on WinXP Pro). Then I've downloaded FOP (0.20.5) and the AFP-renderer. I put the afp-renderer-bin-1.0.1.jar file to %LOCAL_FOP_HOME%lib and added this file to my %LOCALCLASSPATH%. I also stored the afp-fonts.dtd and afp-fonts.xml file in the same directory where I put the afp-renderer-bin-1.0.1.jar file. Then I've created a directory named afp-font-resources in the same directory and put my resources there (for testing purposes, I put there some afp-fonts and renamed them so the match the names in your sample afp-fonts.* files). For my understanding, I did everything mentioned on the web-site. Then, I've tried to run FOP: java -cp "%LOCALCLASSPATH%" org.apache.fop.apps.Fop -d -xml test.xml -xsl test.xslt -afp test.afp But... test.afp is not created. What did I wrong? Hope someone can help me.... Thanks, Michael Here is the .BAT I've used: @ECHO OFF rem %~dp0 is the expanded pathname of the current script under NT set LOCAL_FOP_HOME= if "%OS%"=="Windows_NT" set LOCAL_FOP_HOME=%~dp0 set LIBDIR=%LOCAL_FOP_HOME%lib set LOCALCLASSPATH=%LOCAL_FOP_HOME%build\fop.jar set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xml-apis.jar set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xercesImpl-2.2.1.jar set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xalan-2.4.1.jar set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\batik.jar set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\avalon-framework-cvs-20020806.jar set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\jimi-1.0.jar set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\jai_core.jar set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\jai_codec.jar set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\afp-renderer-bin-1.0.1.jar java -cp "%LOCALCLASSPATH%" org.apache.fop.apps.Fop -d -xml test.xml -xsl test.xslt -afp test.afp And here is the output from FOP: [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser [INFO] base directory: file:/C:/Dokumente und Einstellungen/Default/Eigene Dateien/Test/fop-0.20.5/../ [INFO] FOP 0.20.5 [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser [ERROR] null org.apache.fop.apps.FOPException at org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:111) at org.apache.fop.apps.Fop.main(Fop.java:62) --------- java.lang.NullPointerException at java.io.FileOutputStream.<init>(Unknown Source) at java.io.FileOutputStream.<init>(Unknown Source) at org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:101) at org.apache.fop.apps.Fop.main(Fop.java:62) --------- java.lang.NullPointerException at java.io.FileOutputStream.<init>(Unknown Source) at java.io.FileOutputStream.<init>(Unknown Source) at org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:101) at org.apache.fop.apps.Fop.main(Fop.java:62) -- +++ GMX DSL Premiumtarife 3 Monate gratis* + WLAN-Router 0,- EUR* +++ Clevere DSL-Nutzer wechseln jetzt zu GMX: http://www.gmx.net/de/go/dsl |