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?

Attachment: eticketdetail.pdf
Description: Adobe PDF document

--
XMLmind FO Converter Support List
xfc-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xfc-support

Reply via email to