Hi Hussein, I hope you are doing well,
I would like to inform you regarding below issue let me explain when issue is coming? 1) On local machine with window OS it's working fine in case 2) On server OS centos [cid:0264ebb1-b554-4e12-9a48-c002c7905afe] if on live server start server using command line (nohup java -jar start.jar) and try to convert xhtml to pdf then getting error as : Could not initialize class com.xmlmind.xmledit.cssparser.ParseUtil if we will start the server directly bin\controlapp then it's working fine with above case which was you have already tested but issue is coming once we closed the windows it's automatically shut down the server so we need to follow the command line procedure and in this process we are getting issue http://dev2.eecsoftware.com/clientlibrary/sailingholidays/emailtemplate/eticketdetail.html http://web2.eecsoftware.com:8086/xslsrv/exec please it and and let me know even same html working fine on local machine Thanks, Rajesh Chaudhary | PHP Team Lead Email: rajeshku...@virtualemployee.com | Skype: ve.rajeshkumar ________________________________ India: (+91) 120 6628591 | USA: (+1) 877 697 8006 | Canada: (+1) 416 915 8941 UK: (+44) 203 478 5941 | Australia : (+61) 280 733 418 ________________________________________ From: Hussein Shafie <huss...@xmlmind.com> Sent: 08 February 2017 22:49 To: Rajesh Kumar Chaudhary Cc: xfc-support@xmlmind.com Subject: Re: Could not initialize class com.xmlmind.xmledit.cssparser.ParseUtil on live Linux If it works on "local system(window)" and not on "live(Linux)", may be there is a problem with "live(Linux)". There is no problem with Linux in general. See for example attached eticketdetail.pdf. It was generated on my Linux box this morning using XMLmind XSL Server 5.4.3/Apache Tomcat 8 (not bundled Jetty)/Latest Oracle Java 1.8. I remember having the same kind of false java.lang.NoClassDefFoundError exceptions with Jetty when, by mistake, I used an old Java 1.6 runtime to run my server tests. Switching to a recent Oracle Java 1.8 fixed the problem. This requirement is documented here: --- Before you begin Make sure to have a Java™ runtime 1.7+ installed on your computer. --- http://www.xmlmind.com/foconverter/_distrib/xslsrv/doc/manual/deploy1.html If switching to a recent Oracle Java 1.8 does not fix the problem, then I cannot help you as I have no way to reproduce the problem here at XMLmind. Rajesh Chaudhary wrote: > > we have install the software on both live(Linux) and local system(window), > we are trying convert form xml, xsl fo file pdf and it's preforming well in > this on both server server live and local > > bur we have issue in case conv=xhtmlToPDF it's working fine on local system > > not working on live (Linux)system showing error > > Start > 5 steps > Step #0 > Information: Converting > "http://XXX/clientlibrary/demo1/Client%20Documents/eticketdetail.html"; to > "/tmp/jetty-0.0.0.0-8086-xslsrv-_xslsrv-any-/cache/1419/xfc.pdf" using > conversion specification "xhtmlToPDF"... > Step #1 > Information: Preprocessing XHTML file > "http://XXX/clientlibrary/demo1/Client%20Documents/eticketdetail.html"; and > saving result to > "/tmp/jetty-0.0.0.0-8086-xslsrv-_xslsrv-any-/tmp/xslu1165404559927637330/xslu6861662141941910701.tmp"... > Stop > Error: Unexpected end of job #1,419: > java.lang.NoClassDefFoundError: Could not initialize class > com.xmlmind.xmledit.cssparser.ParseUtil > +--------------------------------------- > | com.xmlmind.xmledit.cssparser.Parser.simple_selector(Parser.java:816) > | com.xmlmind.xmledit.cssparser.Parser.selector(Parser.java:752) > | com.xmlmind.xmledit.cssparser.Parser.ruleset(Parser.java:704) > | com.xmlmind.xmledit.cssparser.Parser.stylesheet(Parser.java:239) > | com.xmlmind.xmledit.cssparser.Parser.parse(Parser.java:120) > | com.xmlmind.xmledit.cssparser.Parser.parse(Parser.java:106) > | com.xmlmind.xmledit.stylesheet.StyleParser.parse(StyleParser.java:233) > | com.xmlmind.xmleditext.xhtml.csstoxsl.CSSToXSL.annotate(CSSToXSL.java:263) > | com.xmlmind.xmleditext.xhtml.csstoxsl.CSSToXSL.annotate(CSSToXSL.java:285) > | com.xmlmind.xmleditext.xhtml.csstoxsl.CSSToXSL.annotate(CSSToXSL.java:227) > | com.xmlmind.xmleditext.xhtml.csstoxsl.CSSToXSL.process(CSSToXSL.java:122) > | com.xmlmind.xmleditext.xhtml.csstoxsl.CSSToXSL.process(CSSToXSL.java:109) > | com.xmlmind.xslutil.ConvertTask.processXHTML(ConvertTask.java:724) > | com.xmlmind.xslutil.ConvertTask.doRun2(ConvertTask.java:538) > | com.xmlmind.xslutil.ConvertTask.doRun(ConvertTask.java:136) > | com.xmlmind.xslsrv.ConvertJobTask.doRun(ConvertJobTask.java:62) > | com.xmlmind.xslutil.ConvertTask.run(ConvertTask.java:113) > | com.xmlmind.xslsrv.ConvertJob.run(ConvertJob.java:159) > | > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) > | > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) > > > here is xhtml template path > http://XXX/clientlibrary/demo1/Client%20Documents/eticketdetail.html > > need to convert it in pdf > > you can check error here > > http://web2.eecsoftware.com:8086/xslsrv/exe? >
-- XMLmind FO Converter Support List xfc-support@xmlmind.com http://www.xmlmind.com/mailman/listinfo/xfc-support