Orbeon Forms Release
3.6.0.200803270724
I tried with the jars taken out from /private in
the main lib directory as well (this is necessary for SAP WAS).
A similar class but re-rooted to orbeon.apache.*
from org.apache* is available in xerces-xercesImpl-2_9_orbeon_20070711.jar
Has anything changed in what XML libraries are
required or in the way the are loaded?
Oracle Containers for J2EE 10g
(10.1.3.3.0)
jdk1.5.0_12
2008-03-27 11:22:00,626 ERROR XQueryContext -
Provider org.apache.xerces.jaxp.datatype.DatatypeFactoryImpl not
found
javax.xml.datatype.DatatypeConfigurationException: Provider org.apache.xerces.jaxp.datatype.DatatypeFactoryImpl not found at javax.xml.datatype.DatatypeFactory.newInstance(Unknown Source) at org.exist.xquery.XQueryContext.prepare(XQueryContext.java:426) at org.exist.xquery.XQuery.execute(XQuery.java:215) at org.exist.xquery.XQuery.execute(XQuery.java:186) at org.exist.xmldb.LocalXPathQueryService.execute(LocalXPathQueryService.java:388) at org.exist.xmldb.LocalXPathQueryService.doQuery(LocalXPathQueryService.java:305) at org.exist.xmldb.LocalXPathQueryService.query(LocalXPathQueryService.java:127) at org.exist.xmldb.LocalXPathQueryService.query(LocalXPathQueryService.java:118) at org.orbeon.oxf.processor.xmldb.XMLDBProcessor.executeQuery(XMLDBProcessor.java:294) at org.orbeon.oxf.processor.xmldb.XMLDBProcessor.query(XMLDBProcessor.java:174) at org.orbeon.oxf.xforms.state.XFormsPersistentApplicationStateStore$XMLDBAccessor.query(XFormsPersistentApplicationStateStore.java:515) at org.orbeon.oxf.xforms.state.XFormsPersistentApplicationStateStore.executeQuery(XFormsPersistentApplicationStateStore.java:369) at org.orbeon.oxf.xforms.state.XFormsPersistentApplicationStateStore.expireAllPersistentWithSession(XFormsPersistentApplicationStateStore.java:341) at org.orbeon.oxf.xforms.state.XFormsPersistentApplicationStateStore.instance(XFormsPersistentApplicationStateStore.java:144) at org.orbeon.oxf.xforms.state.XFormsStateManager.getInitialEncodedClientState(XFormsStateManager.java:122) at org.orbeon.oxf.xforms.processor.handlers.XHTMLBodyHandler.start(XHTMLBodyHandler.java:107) at org.orbeon.oxf.xml.ElementHandlerController.startElement(ElementHandlerController.java:161) at org.orbeon.oxf.xml.ForwardingContentHandler.startElement(ForwardingContentHandler.java:87) at org.orbeon.oxf.xml.ElementFilterContentHandler.startElement(ElementFilterContentHandler.java:41) at org.orbeon.oxf.xforms.processor.XFormsToXHTML$4.startElement(XFormsToXHTML.java:388) at org.orbeon.oxf.xml.SAXStore.replay(SAXStore.java:193) at org.orbeon.oxf.xforms.processor.XFormsToXHTML.outputResponseDocument(XFormsToXHTML.java:371) at org.orbeon.oxf.xforms.processor.XFormsToXHTML.doIt(XFormsToXHTML.java:231) at org.orbeon.oxf.xforms.processor.XFormsToXHTML.access$000(XFormsToXHTML.java:51) at org.orbeon.oxf.xforms.processor.XFormsToXHTML$1.readImpl(XFormsToXHTML.java:81) at org.orbeon.oxf.processor.ProcessorImpl$7.read(ProcessorImpl.java:1030) at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1213) at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348) at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:353) at org.orbeon.oxf.processor.xinclude.XIncludeProcessor.access$100(XIncludeProcessor.java:41) at org.orbeon.oxf.processor.xinclude.XIncludeProcessor$2.read(XIncludeProcessor.java:85) at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:488) at org.orbeon.oxf.processor.xinclude.XIncludeProcessor.access$200(XIncludeProcessor.java:41) at org.orbeon.oxf.processor.xinclude.XIncludeProcessor$1.readImpl(XIncludeProcessor.java:79) at org.orbeon.oxf.processor.ProcessorImpl$7.read(ProcessorImpl.java:1030) at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1213) at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348) at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$000(PipelineProcessor.java:62) at org.orbeon.oxf.processor.pipeline.PipelineProcessor$2.run(PipelineProcessor.java:92) at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:554) at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$100(PipelineProcessor.java:62) at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(PipelineProcessor.java:90) at org.orbeon.oxf.processor.ProcessorImpl$7.read(ProcessorImpl.java:1030) at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1213) at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor$1.readImpl(ConcreteChooseProcessor.java:122) at org.orbeon.oxf.processor.ProcessorImpl$7.read(ProcessorImpl.java:1030) at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1213) at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348) at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$000(PipelineProcessor.java:62) at org.orbeon.oxf.processor.pipeline.PipelineProcessor$2.run(PipelineProcessor.java:92) at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:554) at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$100(PipelineProcessor.java:62) at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(PipelineProcessor.java:90) at org.orbeon.oxf.processor.ProcessorImpl$7.read(ProcessorImpl.java:1030) at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1213) at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor$1.readImpl(ConcreteChooseProcessor.java:122) at org.orbeon.oxf.processor.ProcessorImpl$7.read(ProcessorImpl.java:1030) at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1213) at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348) at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$000(PipelineProcessor.java:62) at org.orbeon.oxf.processor.pipeline.PipelineProcessor$2.run(PipelineProcessor.java:92) at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:554) at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$100(PipelineProcessor.java:62) at org.orbeon.oxf.processor.pipeline.PipelineProcessor$1.readImpl(PipelineProcessor.java:90) at org.orbeon.oxf.processor.ProcessorImpl$7.read(ProcessorImpl.java:1030) at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1213) at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348) at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$1400(PipelineProcessor.java:62) at org.orbeon.oxf.processor.pipeline.PipelineProcessor$6.run(PipelineProcessor.java:564) at org.orbeon.oxf.processor.ProcessorImpl.executeParents(ProcessorImpl.java:572) at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$1500(PipelineProcessor.java:62) at org.orbeon.oxf.processor.pipeline.PipelineProcessor$InternalTopOutput.readImpl(PipelineProcessor.java:560) at org.orbeon.oxf.processor.ProcessorImpl$7.read(ProcessorImpl.java:1030) at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1213) at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348) at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$1400(PipelineProcessor.java:62) at org.orbeon.oxf.processor.pipeline.PipelineProcessor$6.run(PipelineProcessor.java:564) at org.orbeon.oxf.processor.ProcessorImpl.executeParents(ProcessorImpl.java:572) at org.orbeon.oxf.processor.pipeline.PipelineProcessor.access$1500(PipelineProcessor.java:62) at org.orbeon.oxf.processor.pipeline.PipelineProcessor$InternalTopOutput.readImpl(PipelineProcessor.java:560) at org.orbeon.oxf.processor.ProcessorImpl$7.read(ProcessorImpl.java:1030) at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1213) at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348) at org.orbeon.oxf.processor.pipeline.TeeProcessor.access$000(TeeProcessor.java:36) at org.orbeon.oxf.processor.pipeline.TeeProcessor$1.readImpl(TeeProcessor.java:59) at org.orbeon.oxf.processor.ProcessorImpl$7.read(ProcessorImpl.java:1030) at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1213) at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:348) at org.orbeon.oxf.processor.ProcessorImpl.readInputAsTinyTree(ProcessorImpl.java:412) at org.orbeon.oxf.processor.ProcessorImpl$5.read(ProcessorImpl.java:445) at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:488) at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsTinyTree(ProcessorImpl.java:443) at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:185) at org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProcessor.java:644) at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:554) at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:641) at org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProcessor.java:644) at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:554) at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:641) at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:230) at org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProcessor.java:644) at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:554) at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:641) at org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProcessor.java:644) at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:554) at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:641) at org.orbeon.oxf.processor.pipeline.choose.ConcreteChooseProcessor.start(ConcreteChooseProcessor.java:230) at org.orbeon.oxf.processor.pipeline.PipelineProcessor$11.run(PipelineProcessor.java:644) at org.orbeon.oxf.processor.ProcessorImpl.executeChildren(ProcessorImpl.java:554) at org.orbeon.oxf.processor.pipeline.PipelineProcessor.start(PipelineProcessor.java:641) at org.orbeon.oxf.pipeline.InitUtils.runProcessor(InitUtils.java:95) at org.orbeon.oxf.webapp.ProcessorService.service(ProcessorService.java:96) at org.orbeon.oxf.servlet.OPSServletDelegate.service(OPSServletDelegate.java:148) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259) at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51) at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193) at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283) at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198) at org.orbeon.oxf.servlet.OPSXFormsFilter.doFilter(OPSXFormsFilter.java:90) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453) at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239) at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34) at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:595) Caused by: oracle.classloader.util.AnnotatedClassNotFoundException: Missing class:
org.apache.xerces.jaxp.datatype.DatatypeFactoryImpl
Dependent class:
javax.xml.datatype.FactoryFinder
Loader: test.web.ops:0.0.0 Code-Source: /C:/work/test/Src/embed/j2ee/home/applications/test/ops/WEB-INF/lib/xerces-xml-apis-2_9_orbeon_20070711.jar Configuration: WEB-INF/lib/ directory in C:\work\assethub\Src\embed\j2ee\home\applications\test\ops\WEB-INF\lib This load was initiated at test.web.ops:0.0.0 using
the loadClass() method.
-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
An update.
I looked in DatatypeFactory's source (also see http://java.sun.com/j2se/1.5.0/docs/api/javax/xml/datatype/DatatypeFactory.html and
enabled debugging by setting the jaxp.debug system property to
true.
javax.xml.datatype.FactoryFinder:Using context
class loader: test.web.ops:0.0.0
javax.xml.datatype.FactoryFinder:found null in $java.home/jaxp.properties javax.xml.datatype.FactoryFinder:loaded from fallback value: org.apache.xerces.jaxp.datatype.DatatypeFactoryImpl The fallback value is not the default one
("com.sun.org.apache.xerces.internal.jaxp.datatype.DatatypeFactoryImpl") so
something is setting it.
Adding a file named
java.xml.datatype.DatatypeFactory and containing
orbeon.apache.xerces.jaxp.datatype.DatatypeFactoryImpl
in orbeon.jar\META-INF\services\ didn't make a difference. I found no trace
of org.apache.xerces.jaxp.datatype.DatatypeFactoryImpl in the Orbeon source tree
so I suspect it's eXist who sets it.
I'll keep digging.
-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
In reply to this post by Jean Luc-2
Second update:
Forcing:
System.setProperty("javax.xml.datatype.DatatypeFactory",
"orbeon.apache.xerces.jaxp.datatype.DatatypeFactoryImpl")
removes the error (of course, this is just a
temporary workaround).
-- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Administrator
|
Jean Luc,
On Thu, Mar 27, 2008 at 11:44 AM, Jean Luc <[hidden email]> wrote: > Second update: > > Forcing: > > System.setProperty("javax.xml.datatype.DatatypeFactory", > "orbeon.apache.xerces.jaxp.datatype.DatatypeFactoryImpl") > > removes the error (of course, this is just a temporary workaround). I had a similar problem with WebLogic 10, but didn't really get a chance to spend enough time on it. Have you tried to add a META-INF/services/java.xml.datatype.DatatypeFactory ("services resolution mechanism"; point 3 in the documentation you were linking) that points to the re-rooted class? If that works, maybe this is what we should do. Alex -- Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise Orbeon's Blog: http://www.orbeon.com/blog/ Personal Blog: http://avernet.blogspot.com/ -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help OW2 mailing lists service home page: http://www.ow2.org/wws |
Free forum by Nabble | Edit this page |