Hi! Please help me to understand my problem and how to fix it. I install the new server now, and my task is to setup/configure all needed software for work of our applications. I just copied the application from old server to new and installed nesessary software for FOP: jre and fop src. In other words, I launch the same .bat-file as on old server, but FOP gives me an error:
юъЄ 30, 2012 1:21:07 PM org.apache.fop.apps.FopFactoryConfigurator configure INFO: Default page-height set to: 11in юъЄ 30, 2012 1:21:07 PM org.apache.fop.apps.FopFactoryConfigurator configure INFO: Default page-width set to: 8.26in Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/fop/fo/flo w/table/TableFObj$ColumnNumberPropertyMaker at org.apache.fop.fo.FObj.<clinit>(FObj.java:45) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.apache.fop.layoutmgr.LayoutManagerMapping.class$(LayoutManagerMap ping.java:96) at org.apache.fop.layoutmgr.LayoutManagerMapping.initialize(LayoutManage rMapping.java:110) at org.apache.fop.layoutmgr.LayoutManagerMapping.<init>(LayoutManagerMap ping.java:102) at org.apache.fop.area.AreaTreeHandler.<init>(AreaTreeHandler.java:106) at org.apache.fop.render.RendererFactory.createFOEventHandler(RendererFa ctory.java:224) at org.apache.fop.fo.FOTreeBuilder.<init>(FOTreeBuilder.java:100) at org.apache.fop.apps.Fop.createDefaultHandler(Fop.java:100) at org.apache.fop.apps.Fop.<init>(Fop.java:78) at org.apache.fop.apps.FopFactory.newFop(FopFactory.java:247) at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:104) at org.apache.fop.cli.Main.startFOP(Main.java:166) at org.apache.fop.cli.Main.main(Main.java:197) Caused by: java.lang.ClassNotFoundException: org.apache.fop.fo.flow.table.TableF Obj$ColumnNumberPropertyMaker at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 15 more Caused by: java.io.EOFException: Detect premature EOF at sun.misc.Resource.getBytes(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$100(Unknown Source) ... 22 more --------------------------------------- This is the launch string: D:\web\Prokat\39_Price\fop>java.exe -cp "D:\web\Prokat\39_Price\fop\build\fop.ja r;D:\web\Prokat\39_Price\fop\build\fop-sandbox.jar;D:\web\Prokat\39_Price\fop\bu ild\fop-hyph.jar;D:\web\Prokat\39_Price\fop\lib\xml-apis-1.3.04.jar;D:\web\Proka t\39_Price\fop\lib\xml-apis-ext-1.3.04.jar;D:\web\Prokat\39_Price\fop\lib\xerces Impl-2.7.1.jar;D:\web\Prokat\39_Price\fop\lib\xalan-2.7.0.jar;D:\web\Prokat\39_P rice\fop\lib\serializer-2.7.0.jar;D:\web\Prokat\39_Price\fop\lib\batik-all-1.7.j ar;D:\web\Prokat\39_Price\fop\lib\xmlgraphics-commons-1.3.1.jar;D:\web\Prokat\39 _Price\fop\lib\avalon-framework-4.2.0.jar;D:\web\Prokat\39_Price\fop\lib\commons -io-1.3.1.jar;D:\web\Prokat\39_Price\fop\lib\commons-logging-1.0.4.jar;D:\web\Pr okat\39_Price\fop\lib\jai_imageio.jar;D:\web\Prokat\39_Price\fop\lib\fop-hyph.ja r;" org.apache.fop.cli.Main -c D:\web\Prokat\39_Price\fop\conf\fop.xconf D:\web\ Prokat\39_Price\fop\..\price.fo D:\fserver/010_Prices\pdf\1\381\price_slivki.pdf sory for such long string :)) line breaks because of windows console --------------------------------------- I can not understand, what is the difference from old server and new. Maybe it only OS: old server is on Windows 2003 Server (32), new is on Windows 7 (32). FOP 0.95 jre is the same version as on old version please help me to understand this problem :) thx -- View this message in context: http://apache-fop.1065347.n5.nabble.com/Error-because-of-windows-7-tp37186.html Sent from the FOP - Dev mailing list archive at Nabble.com.
