RE: Where is BufferManager
Victor, I'm afraid it is my turn for some humble pie. When I double checked c:\centocor\java\classes I noticed an "org" directory where there was an old Driver.class file. Yesterday one of my colleagues was trying to assist and compiled it locally. That was the problem. My hat is off to you. I WAS trying to use an old version of that class. Thanks for helping me take the blinders off! Tammy -Original Message- From: Victor Mote [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2003 2:51 PM To: [EMAIL PROTECTED] Subject: RE: Where is BufferManager Tammy Feichtel wrote: > I don't even have an old release on my system! The only other version I > had installed was 0.20.4 and I removed the entire directory. Here is > the class path I am using: > > C:\j2sdk1.4.1\bin\javaw.exe -classpath > C:\Centocor\java\classes;C:\j2sdk1.4.1\jre\lib\charsets.jar;C:\j2sdk1.4. > 1\jre\lib\jaws.jar;C:\j2sdk1.4.1\jre\lib\jce.jar;C:\j2sdk1.4.1\jre\lib\j > sse.jar;C:\j2sdk1.4.1\jre\lib\rt.jar;C:\j2sdk1.4.1\jre\lib\sunrsasign.ja > r;C:\j2sdk1.4.1\jre\lib\ext\dnsns.jar;C:\j2sdk1.4.1\jre\lib\ext\ldapsec. > jar;C:\j2sdk1.4.1\jre\lib\ext\localedata.jar;C:\j2sdk1.4.1\jre\lib\ext\s > unjce_provider.jar;C:\j2sdk1.4.1\jre\lib\ext\classes12.zip;C:\Jakarta\FO > P\fop-0.20.5rc2\build\fop.jar;C:\Jakarta\FOP\fop-0.20.5rc2\lib\ant-1.5.1 > .jar;C:\Jakarta\FOP\fop-0.20.5rc2\lib\avalon-framework-cvs-20020806.jar; > C:\Jakarta\FOP\fop-0.20.5rc2\lib\batik.jar;C:\Jakarta\FOP\fop-0.20.5rc2\ > lib\xalan-2.4.1.jar;C:\Jakarta\FOP\fop-0.20.5rc2\lib\xercesImpl-2.2.1.ja > r;C:\Jakarta\FOP\fop-0.20.5rc2\lib\xml-apis.jar CLStudyTest I will definitely have to eat humble pie if this problem is caused by anything other than running an old version of FOP. Please forgive me as I try to make sure that all of the possibilities along that line have been considered. Is there anything in C:\Centocor\java\classes? Other possibilities: 1. Is your application using a ClassLoader? 2. Is there any chance you downloaded the wrong version from the FOP website? (This is unlikely because the old version would have the old classes in it). 3. Are you building FOP yourself or using the downloaded binary? If you are building it yourself, is there any chance that your build has classpath problems? Victor Mote - 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: Where is BufferManager
Here's the skinny: 1) I'm connecting to an Oracle817 database to gather the data to create the XML. 2) I create the XML file locally (works fine up to this point) 3) I attempt to call the following function after the XML file is created and blammo! public static void convertXML2PDF(File xml, File xsl, File pdf) throws FileNotFoundException, TransformerException, IOException { Logger logger = null; //Construct driver Driver driver = new Driver(); //Setup logger logger = new ConsoleLogger(ConsoleLogger.LEVEL_INFO); driver.setLogger(logger); MessageHandler.setScreenLogger(logger); //Setup Renderer (output format) driver.setRenderer(Driver.RENDER_PDF); //Setup output OutputStream out = new java.io.FileOutputStream(pdf); try { driver.setOutputStream(out); //Setup XSLT TransformerFactory factory = TransformerFactory.newInstance(); Transformer transformer = factory.newTransformer(new StreamSource(xsl)); //Setup input for XSLT transformation Source src = new StreamSource(xml); //Resulting SAX events (the generated FO) must be piped through to FOP Result res = new SAXResult(driver.getContentHandler()); //Start XSLT transformation and FOP processing transformer.transform(src, res); } finally { out.close(); } } Here's a code snippet from the calling method: Utils.convertXML2PDF(new File("c:\\centocor\\java\\report.xml"), new File("c:\\centocor\\java\\report.xsl"), new File("c:\\centocor\\java\\report.pdf")); Tammy S. Feichtel -Original Message- From: Koes, Derrick [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2003 2:32 PM To: '[EMAIL PROTECTED]' Subject: RE: Where is BufferManager Post the code snippet. -Original Message- From: Tammy Feichtel [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2003 2:17 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: Where is BufferManager I don't even have an old release on my system! The only other version I had installed was 0.20.4 and I removed the entire directory. Here is the class path I am using: C:\j2sdk1.4.1\bin\javaw.exe -classpath C:\Centocor\java\classes;C:\j2sdk1.4.1\jre\lib\charsets.jar;C:\j2sdk1.4. 1\jre\lib\jaws.jar;C:\j2sdk1.4.1\jre\lib\jce.jar;C:\j2sdk1.4.1\jre\lib\j sse.jar;C:\j2sdk1.4.1\jre\lib\rt.jar;C:\j2sdk1.4.1\jre\lib\sunrsasign.ja r;C:\j2sdk1.4.1\jre\lib\ext\dnsns.jar;C:\j2sdk1.4.1\jre\lib\ext\ldapsec. jar;C:\j2sdk1.4.1\jre\lib\ext\localedata.jar;C:\j2sdk1.4.1\jre\lib\ext\s unjce_provider.jar;C:\j2sdk1.4.1\jre\lib\ext\classes12.zip;C:\Jakarta\FO P\fop-0.20.5rc2\build\fop.jar;C:\Jakarta\FOP\fop-0.20.5rc2\lib\ant-1.5.1 .jar;C:\Jakarta\FOP\fop-0.20.5rc2\lib\avalon-framework-cvs-20020806.jar; C:\Jakarta\FOP\fop-0.20.5rc2\lib\batik.jar;C:\Jakarta\FOP\fop-0.20.5rc2\ lib\xalan-2.4.1.jar;C:\Jakarta\FOP\fop-0.20.5rc2\lib\xercesImpl-2.2.1.ja r;C:\Jakarta\FOP\fop-0.20.5rc2\lib\xml-apis.jar CLStudyTest Tammy -Original Message- From: Victor Mote [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2003 2:15 PM To: [EMAIL PROTECTED] Subject: RE: Where is BufferManager Tammy Feichtel wrote: <-- Start --> I have just upgrated to FOP 0.20.5rc2 and when I try to create an instance of the Driver class in my java app I get the following runtime error: java.lang.NoClassDefFoundError: org/apache/fop/system/BufferManager at org.apache.fop.apps.Driver.(Driver.java:194) The fop.jar for this release does not contain a system/BufferManager class file. It doesn't even contain a system folder! I've searched through the fop source code and can find no reference to BufferManager. I'm very confused. <-- End --> system/BufferManager is from an old release of FOP. Check your environment to see if you have an old version in your classpath. Victor Mote - 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] 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. -
RE: Where is BufferManager
Tammy Feichtel wrote: > I don't even have an old release on my system! The only other version I > had installed was 0.20.4 and I removed the entire directory. Here is > the class path I am using: > > C:\j2sdk1.4.1\bin\javaw.exe -classpath > C:\Centocor\java\classes;C:\j2sdk1.4.1\jre\lib\charsets.jar;C:\j2sdk1.4. > 1\jre\lib\jaws.jar;C:\j2sdk1.4.1\jre\lib\jce.jar;C:\j2sdk1.4.1\jre\lib\j > sse.jar;C:\j2sdk1.4.1\jre\lib\rt.jar;C:\j2sdk1.4.1\jre\lib\sunrsasign.ja > r;C:\j2sdk1.4.1\jre\lib\ext\dnsns.jar;C:\j2sdk1.4.1\jre\lib\ext\ldapsec. > jar;C:\j2sdk1.4.1\jre\lib\ext\localedata.jar;C:\j2sdk1.4.1\jre\lib\ext\s > unjce_provider.jar;C:\j2sdk1.4.1\jre\lib\ext\classes12.zip;C:\Jakarta\FO > P\fop-0.20.5rc2\build\fop.jar;C:\Jakarta\FOP\fop-0.20.5rc2\lib\ant-1.5.1 > .jar;C:\Jakarta\FOP\fop-0.20.5rc2\lib\avalon-framework-cvs-20020806.jar; > C:\Jakarta\FOP\fop-0.20.5rc2\lib\batik.jar;C:\Jakarta\FOP\fop-0.20.5rc2\ > lib\xalan-2.4.1.jar;C:\Jakarta\FOP\fop-0.20.5rc2\lib\xercesImpl-2.2.1.ja > r;C:\Jakarta\FOP\fop-0.20.5rc2\lib\xml-apis.jar CLStudyTest I will definitely have to eat humble pie if this problem is caused by anything other than running an old version of FOP. Please forgive me as I try to make sure that all of the possibilities along that line have been considered. Is there anything in C:\Centocor\java\classes? Other possibilities: 1. Is your application using a ClassLoader? 2. Is there any chance you downloaded the wrong version from the FOP website? (This is unlikely because the old version would have the old classes in it). 3. Are you building FOP yourself or using the downloaded binary? If you are building it yourself, is there any chance that your build has classpath problems? Victor Mote - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Where is BufferManager
Post the code snippet. -Original Message- From: Tammy Feichtel [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2003 2:17 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: Where is BufferManager I don't even have an old release on my system! The only other version I had installed was 0.20.4 and I removed the entire directory. Here is the class path I am using: C:\j2sdk1.4.1\bin\javaw.exe -classpath C:\Centocor\java\classes;C:\j2sdk1.4.1\jre\lib\charsets.jar;C:\j2sdk1.4. 1\jre\lib\jaws.jar;C:\j2sdk1.4.1\jre\lib\jce.jar;C:\j2sdk1.4.1\jre\lib\j sse.jar;C:\j2sdk1.4.1\jre\lib\rt.jar;C:\j2sdk1.4.1\jre\lib\sunrsasign.ja r;C:\j2sdk1.4.1\jre\lib\ext\dnsns.jar;C:\j2sdk1.4.1\jre\lib\ext\ldapsec. jar;C:\j2sdk1.4.1\jre\lib\ext\localedata.jar;C:\j2sdk1.4.1\jre\lib\ext\s unjce_provider.jar;C:\j2sdk1.4.1\jre\lib\ext\classes12.zip;C:\Jakarta\FO P\fop-0.20.5rc2\build\fop.jar;C:\Jakarta\FOP\fop-0.20.5rc2\lib\ant-1.5.1 .jar;C:\Jakarta\FOP\fop-0.20.5rc2\lib\avalon-framework-cvs-20020806.jar; C:\Jakarta\FOP\fop-0.20.5rc2\lib\batik.jar;C:\Jakarta\FOP\fop-0.20.5rc2\ lib\xalan-2.4.1.jar;C:\Jakarta\FOP\fop-0.20.5rc2\lib\xercesImpl-2.2.1.ja r;C:\Jakarta\FOP\fop-0.20.5rc2\lib\xml-apis.jar CLStudyTest Tammy -Original Message- From: Victor Mote [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2003 2:15 PM To: [EMAIL PROTECTED] Subject: RE: Where is BufferManager Tammy Feichtel wrote: <-- Start --> I have just upgrated to FOP 0.20.5rc2 and when I try to create an instance of the Driver class in my java app I get the following runtime error: java.lang.NoClassDefFoundError: org/apache/fop/system/BufferManager at org.apache.fop.apps.Driver.(Driver.java:194) The fop.jar for this release does not contain a system/BufferManager class file. It doesn't even contain a system folder! I've searched through the fop source code and can find no reference to BufferManager. I'm very confused. <-- End --> system/BufferManager is from an old release of FOP. Check your environment to see if you have an old version in your classpath. Victor Mote - 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] 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: Where is BufferManager
I don't even have an old release on my system! The only other version I had installed was 0.20.4 and I removed the entire directory. Here is the class path I am using: C:\j2sdk1.4.1\bin\javaw.exe -classpath C:\Centocor\java\classes;C:\j2sdk1.4.1\jre\lib\charsets.jar;C:\j2sdk1.4. 1\jre\lib\jaws.jar;C:\j2sdk1.4.1\jre\lib\jce.jar;C:\j2sdk1.4.1\jre\lib\j sse.jar;C:\j2sdk1.4.1\jre\lib\rt.jar;C:\j2sdk1.4.1\jre\lib\sunrsasign.ja r;C:\j2sdk1.4.1\jre\lib\ext\dnsns.jar;C:\j2sdk1.4.1\jre\lib\ext\ldapsec. jar;C:\j2sdk1.4.1\jre\lib\ext\localedata.jar;C:\j2sdk1.4.1\jre\lib\ext\s unjce_provider.jar;C:\j2sdk1.4.1\jre\lib\ext\classes12.zip;C:\Jakarta\FO P\fop-0.20.5rc2\build\fop.jar;C:\Jakarta\FOP\fop-0.20.5rc2\lib\ant-1.5.1 .jar;C:\Jakarta\FOP\fop-0.20.5rc2\lib\avalon-framework-cvs-20020806.jar; C:\Jakarta\FOP\fop-0.20.5rc2\lib\batik.jar;C:\Jakarta\FOP\fop-0.20.5rc2\ lib\xalan-2.4.1.jar;C:\Jakarta\FOP\fop-0.20.5rc2\lib\xercesImpl-2.2.1.ja r;C:\Jakarta\FOP\fop-0.20.5rc2\lib\xml-apis.jar CLStudyTest Tammy -Original Message- From: Victor Mote [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2003 2:15 PM To: [EMAIL PROTECTED] Subject: RE: Where is BufferManager Tammy Feichtel wrote: <-- Start --> I have just upgrated to FOP 0.20.5rc2 and when I try to create an instance of the Driver class in my java app I get the following runtime error: java.lang.NoClassDefFoundError: org/apache/fop/system/BufferManager at org.apache.fop.apps.Driver.(Driver.java:194) The fop.jar for this release does not contain a system/BufferManager class file. It doesn't even contain a system folder! I've searched through the fop source code and can find no reference to BufferManager. I'm very confused. <-- End --> system/BufferManager is from an old release of FOP. Check your environment to see if you have an old version in your classpath. Victor Mote - 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: Where is BufferManager
Tammy Feichtel wrote: <-- Start --> I have just upgrated to FOP 0.20.5rc2 and when I try to create an instance of the Driver class in my java app I get the following runtime error: java.lang.NoClassDefFoundError: org/apache/fop/system/BufferManager at org.apache.fop.apps.Driver.(Driver.java:194) The fop.jar for this release does not contain a system/BufferManager class file. It doesn't even contain a system folder! I've searched through the fop source code and can find no reference to BufferManager. I'm very confused. <-- End --> system/BufferManager is from an old release of FOP. Check your environment to see if you have an old version in your classpath. Victor Mote - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Where is BufferManager
Well I don’t know how you are doing it. My code just blows up when trying to create an instance of Driver! -Original Message- From: Koes, Derrick [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 20, 2003 2:05 PM To: '[EMAIL PROTECTED]' Subject: RE: Where is BufferManager Successfully using 0.20.5rc2 embedded with J2SDK 1.4.1_01 from Sun. -Original Message- From: Tammy Feichtel [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2003 1:59 PM To: [EMAIL PROTECTED] Subject: Where is BufferManager Hi all! I have just upgrated to FOP 0.20.5rc2 and when I try to create an instance of the Driver class in my java app I get the following runtime error: java.lang.NoClassDefFoundError: org/apache/fop/system/BufferManager at org.apache.fop.apps.Driver.(Driver.java:194) The fop.jar for this release does not contain a system/BufferManager class file. It doesn't even contain a system folder! I've searched through the fop source code and can find no reference to BufferManager. I'm very confused... Is anyone currently using 0.20.4rc2 with java 1.4.1? Does this stuff actually work??? I'm getting really frustrated and wonder it I should abandon ship at this point! Any help would be greatly appreciated. Tammy 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.
RE: Where is BufferManager
Successfully using 0.20.5rc2 embedded with J2SDK 1.4.1_01 from Sun. -Original Message- From: Tammy Feichtel [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2003 1:59 PM To: [EMAIL PROTECTED] Subject: Where is BufferManager Hi all! I have just upgrated to FOP 0.20.5rc2 and when I try to create an instance of the Driver class in my java app I get the following runtime error: java.lang.NoClassDefFoundError: org/apache/fop/system/BufferManager at org.apache.fop.apps.Driver.(Driver.java:194) The fop.jar for this release does not contain a system/BufferManager class file. It doesn't even contain a system folder! I've searched through the fop source code and can find no reference to BufferManager. I'm very confused... Is anyone currently using 0.20.4rc2 with java 1.4.1? Does this stuff actually work??? I'm getting really frustrated and wonder it I should abandon ship at this point! Any help would be greatly appreciated. Tammy 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.