Hi Erik,
I've been seeing this message for a while and after some digging, it turned out Exist creates an XML in that method, but doesn't set a DTD or a schema. With the default class loading order in OC4J (parent first, i.e. standard), the SAX parser selecting is a validating one hence the error). I can set it to "local classes first" but while that works for OC4J, it still doesn't work for ... SAP's application server (in which our application has to be deployed). SAP's server gets really messed up if anywhere in the classpath it finds XML parsers (yeah, I know what you think :). I found Alessandro's recent blog entry at http://avernet.blogspot.com/2007/11/upgrading-exist-in-orbeon-forms.html in which he writes "eXist also uses an XML collection class from xercesImpl-2.9.1.jar. eXist looks for this class using the explicit package org.apache.xerces. Since Orbeon Forms uses a rerooted version of Xerces, eXist can't find this class. We might need to modify the eXist code for this. This is still open." Do you have an update on this (i.e. dependencies between Orbeon, Exist and XML libraries)? Thanks, JL Starting Orbeon Forms Release 3.6.0rc1.200711170017 07/11/19 15:35:26 Found 0 catalog entries. 07/11/19 15:35:27 org.exist.EXistException: error at line 1: <Line 1, Column 157>: XML-20149: (Error) Element 'auth' used but not declared. 07/11/19 15:35:27 at org.exist.security.XMLSecurityManager.save(XMLSecurityManager.java:376) 07/11/19 15:35:27 at org.exist.security.XMLSecurityManager.attach(XMLSecurityManager.java:128) 07/11/19 15:35:27 at org.exist.storage.BrokerPool.initialize(BrokerPool.java:714) 07/11/19 15:35:27 at org.exist.storage.BrokerPool.<init>(BrokerPool.java:569) 07/11/19 15:35:27 at org.exist.storage.BrokerPool.configure(BrokerPool.java:169) 07/11/19 15:35:27 at org.exist.storage.BrokerPool.configure(BrokerPool.java:143) 07/11/19 15:35:27 at org.exist.http.servlets.EXistServlet.startup(EXistServlet.java:585) 07/11/19 15:35:27 at org.exist.http.servlets.EXistServlet.init(EXistServlet.java:115) -- 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
|
Well, just a few days ago we committed a version of Xerces without the
META-INF/services directory. This probably means that whatever your classloader settings, eXist will not find our version of Xerces. I am not sure if this should help or make things worse in your case. But we do plan to patch eXist to tell it to use the Orbeon Forms XSLT transformer and parser. This again may or may not have a positive impact on your issue, but it is worth trying. -Erik On Nov 19, 2007, at 1:26 PM, Jean Luc wrote: > Hi Erik, > > I've been seeing this message for a while and after some digging, it > turned out Exist creates an XML in that method, but doesn't set a DTD > or a schema. With the default class loading order in OC4J (parent > first, i.e. standard), the SAX parser selecting is a validating one > hence the error). I can set it to "local classes first" but while that > works for OC4J, it still doesn't work for ... SAP's application server > (in which our application has to be deployed). SAP's server gets > really messed up if anywhere in the classpath it finds XML parsers > (yeah, I know what you think :). > > I found Alessandro's recent blog entry at > http://avernet.blogspot.com/2007/11/upgrading-exist-in-orbeon-forms.html > in which he writes "eXist also uses an XML collection class from > xercesImpl-2.9.1.jar. eXist looks for this class using the explicit > package org.apache.xerces. Since Orbeon Forms uses a rerooted version > of Xerces, eXist can't find this class. We might need to modify the > eXist code for this. This is still open." > > Do you have an update on this (i.e. dependencies between Orbeon, Exist > and XML libraries)? > > Thanks, > JL > > > Starting Orbeon Forms Release 3.6.0rc1.200711170017 > 07/11/19 15:35:26 Found 0 catalog entries. > 07/11/19 15:35:27 org.exist.EXistException: error at line 1: <Line 1, > Column 157>: XML-20149: (Error) Element 'auth' used but not declared. > 07/11/19 15:35:27 at > org.exist.security.XMLSecurityManager.save(XMLSecurityManager.java: > 376) > 07/11/19 15:35:27 at > org.exist.security.XMLSecurityManager.attach(XMLSecurityManager.java: > 128) > 07/11/19 15:35:27 at > org.exist.storage.BrokerPool.initialize(BrokerPool.java:714) > 07/11/19 15:35:27 at > org.exist.storage.BrokerPool.<init>(BrokerPool.java:569) > 07/11/19 15:35:27 at > org.exist.storage.BrokerPool.configure(BrokerPool.java:169) > 07/11/19 15:35:27 at > org.exist.storage.BrokerPool.configure(BrokerPool.java:143) > 07/11/19 15:35:27 at > org.exist.http.servlets.EXistServlet.startup(EXistServlet.java:585) > 07/11/19 15:35:27 at > org.exist.http.servlets.EXistServlet.init(EXistServlet.java:115) > > -- > 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 Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.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 |
Hi,
Le lundi 19 novembre 2007 à 14:42 -0800, Erik Bruchez a écrit : > Well, just a few days ago we committed a version of Xerces without the > META-INF/services directory. This probably means that whatever your > classloader settings, eXist will not find our version of Xerces. I am > not sure if this should help or make things worse in your case. > > But we do plan to patch eXist to tell it to use the Orbeon Forms XSLT > transformer and parser. This again may or may not have a positive > impact on your issue, but it is worth trying. Just wondering what is the status on this issue. With 3.6, I see these errors happen at startup time: +++++++++++++++++++ 2008-01-07 14:57:55,742 INFO EXistServlet - registering XMLDB driver 2008-01-07 14:57:55,774 INFO EXistServlet - Using default user guest for all unauthorized requests. 2008-01-07 14:57:55,797 WARN EXistServlet - Looking for a valid Parser... Checking for Xerces, not found! Warning: Failed find a valid Parser! Please add an appropriate Parser to the class-path, e.g. in the 'endorsed' folder of the servlet container or in the 'endorsed' folder of the JRE. 2008-01-07 14:57:55,799 WARN EXistServlet - Looking for a valid Transformer... Checking for Xalan, not found! Checking for Saxon, not found! Warning: Failed find a valid Transformer! Please add an appropriate Transformer to the class-path, e.g. in the 'endorsed' folder of the servlet container or in the 'endorsed' folder of the JRE. +++++++++++++++++++ But I am not sure what the consequences are since eXist seems to be working fine! Eric > -Erik -- GPG-PGP: 2A528005 Curious about Relax NG? Read my book online. http://books.xmlschemata.org/relaxng/ ------------------------------------------------------------------------ Eric van der Vlist http://xmlfr.org http://dyomedea.com (ISO) RELAX NG ISBN:0-596-00421-4 http://oreilly.com/catalog/relax (W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema ------------------------------------------------------------------------ -- 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 signature.asc (196 bytes) Download Attachment |
Administrator
|
Hi Eric,
Since then we have upgraded eXist to a more recent version, and added a patch to test on the Orbeon versions of Xerces and Saxon. However eXist still complains on the fact that the versions of both are too old (I think eXist wants pretty much the latest of both). To fix this we should upgrade to the latest Xerces and Saxon. -Erik On Jan 7, 2008, at 2:42 PM, Eric van der Vlist wrote: > Hi, > > Le lundi 19 novembre 2007 à 14:42 -0800, Erik Bruchez a écrit : >> Well, just a few days ago we committed a version of Xerces without >> the >> META-INF/services directory. This probably means that whatever your >> classloader settings, eXist will not find our version of Xerces. I am >> not sure if this should help or make things worse in your case. >> >> But we do plan to patch eXist to tell it to use the Orbeon Forms XSLT >> transformer and parser. This again may or may not have a positive >> impact on your issue, but it is worth trying. > > Just wondering what is the status on this issue. > > With 3.6, I see these errors happen at startup time: > > +++++++++++++++++++ > 2008-01-07 14:57:55,742 INFO EXistServlet - registering XMLDB driver > 2008-01-07 14:57:55,774 INFO EXistServlet - Using default user > guest for all unauthorized requests. > 2008-01-07 14:57:55,797 WARN EXistServlet - Looking for a valid > Parser... > Checking for Xerces, not found! > Warning: Failed find a valid Parser! > > Please add an appropriate Parser to the class-path, e.g. in the > 'endorsed' folder of the servlet container or in the 'endorsed' > folder of the JRE. > > 2008-01-07 14:57:55,799 WARN EXistServlet - Looking for a valid > Transformer... > Checking for Xalan, not found! > Checking for Saxon, not found! > Warning: Failed find a valid Transformer! > > Please add an appropriate Transformer to the class-path, e.g. in the > 'endorsed' folder of the servlet container or in the 'endorsed' > folder of the JRE. > +++++++++++++++++++ > > But I am not sure what the consequences are since eXist seems to be > working fine! > > Eric > >> -Erik > > -- > GPG-PGP: 2A528005 > Curious about Relax NG? Read my book online. > http://books.xmlschemata.org/ > relaxng/ > ------------------------------------------------------------------------ > Eric van der Vlist http://xmlfr.org http://dyomedea.com > (ISO) RELAX NG ISBN:0-596-00421-4 http://oreilly.com/catalog/relax > (W3C) XML Schema ISBN:0-596-00252-1 http://oreilly.com/catalog/xmlschema > ------------------------------------------------------------------------ Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.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 |