User 3d3f3767a2
08-01-2013 20:46:37
Hi,
I'm using the newest version of JChem web services (5.11.4) and I am suddenly having an issue generating SVG files through the web service. PNG and other formats work, but I get the following message when trying to convert to SVG:
[ERROR] org/apache/batik/dom/GenericDOMImplementation
org.apache.axis2.AxisFault: org/apache/batik/dom/GenericDOMImplementation
at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:158)
at org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
at org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:100)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:176)
at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:275)
at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:131)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at chemaxon.jchem.webservice.Headers.doFilter(Headers.java:31)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:680)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:194)
at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:102)
... 22 more
Caused by: java.lang.NoClassDefFoundError: org/apache/batik/dom/GenericDOMImplementation
at chemaxon.marvin.io.formats.vectgraphics.SvgExport.createSvgGenerator(SvgExport.java:62)
at chemaxon.marvin.io.formats.vectgraphics.SvgExport.convert(SvgExport.java:103)
at chemaxon.formats.MolExporter.write(MolExporter.java:776)
at chemaxon.formats.MolConverter.write(MolConverter.java:1214)
at chemaxon.formats.MolConverter.convert0(MolConverter.java:1087)
at chemaxon.formats.MolConverter.convert(MolConverter.java:937)
at chemaxon.jchem.interop.InteropMiscellanious.convertBytes(InteropMiscellanious.java:766)
at chemaxon.jchem.interop.InteropMiscellanious.convertBytes(InteropMiscellanious.java:741)
at chemaxon.jchem.interop.InteropMiscellanious.molconvert(InteropMiscellanious.java:613)
at chemaxon.jchem.webservice.MolConvertWS.convertSpecialInput(MolConvertWS.java:83)
at chemaxon.jchem.webservice.MolConvertWS.convert(MolConvertWS.java:45)
... 28 more
Caused by: java.lang.ClassNotFoundException: Class Not found : org.apache.batik.dom.GenericDOMImplementation
at org.apache.axis2.deployment.DeploymentClassLoader.findClass(DeploymentClassLoader.java:86)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 39 more
This is on Mac OSX 10.8.2.
Thanks,
Craig