Re: Could not initialize class com.xmlmind.xmledit.cssparser.ParseUtil on live Linux

Tim Butterworth <[email protected]> Mon, 13 Feb 2017 18:12:45 +0000
Newsgroups gmane.text.xml.xfc.general
Message-ID <[email protected]>
Many thanks - I think the correct route is that I have now restarted the server using the -c parameter on the server - and we can now see if that is now allowing the access that we need. 

Many thanks
Tim


> On 13 Feb 2017, at 17:49, Hussein Shafie <[email protected]> wrote:
> 
> On 02/13/2017 04:27 PM, Rajesh Kumar Chaudhary wrote:
>> 
>> 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
>> 
>> 
>> [^566D601D7F358F6809EB21EAE74E795515C24D5FB4942CD69C^pimgpsh_fullsize_distr.png]
> 
> You are using OpenJDK 1.8.0_45. We only support Oracle Java. But let's suppose this is not a problem.
> 
> 
> 
> 
>> 
>> 
>> if on live server start server using command line *(**nohup java -jar
>> start.jar**)*
> 
> Starting our *bundled*, *customized*, Jetty using simply "java -jar start.jar" is not documented in XMLmind XSL Server - Manual, http://www.xmlmind.com/foconverter/_distrib/xslsrv/doc/manual/index.html
> 
> You are free to do it your way but in such case, we cannot help you.
> 
> 
> 
> 
>> 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
> 
> I cannot reproduce this issue on my openSUSE Linux box.
> 
> May be the Jetty servet engine is killed when you close the terminal window which is associated to it. (The terminal window which is associated to it was the one used to run controlapp.)
> 
> 
> 
> 
> 
>> so we need to follow the command line procedure and in this process we
>> are getting issue
> 
> Note that controlapp may be used as a command-line tool (no GUI window). Simply pass it the "-c" option for that:
> 
> ---
> $ xslsrv_install_dir/server/bin/controlapp -c
> ---
> 
> See http://www.xmlmind.com/foconverter/_distrib/xslsrv/doc/help/consoleMode.html#consoleMode
> 
> 
> 
>> 
>> 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
> 
> Please don't loose your time with our controlapp facility and with our *bundled*, *customized* Jetty servlet engine. These tools are not adapted to your use on your (headless?) Linux Centos server.
> 
> Please deploy another servlet engine on your server (e.g. Apache Tomcat or *STOCK* Jetty). Make sure this servlet engine works OK in the context of your Linux Centos server (no screen, no terminal, etc). Then deploy the "xslsrv" Web app as explained in:
> 
> Chapter 3. Manually deploying the WebApp on your existing Servlet Container
> 
> http://www.xmlmind.com/foconverter/_distrib/xslsrv/doc/manual/deploy2.html#deploy2
> 
> 
> 


--
XMLmind FO Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xfc-support