Anil,

You have to make sure that the right jars that implement the XQuery 
functionality are available on the classpath, Saxon or BEA XQuery impl.

Cezar

-----Original Message-----
From: akonduru [mailto:anilkond...@gmail.com] 
Sent: Monday, July 12, 2010 10:35 PM
To: user@xmlbeans.apache.org
Subject: java.lang.RuntimeException: No query engine found


Hi,

need a help, i am changing XmlBean implementation from BEA Weblogic 8.1
xbean.jar to com.bea.core.xml.xmlbeans_2.2.0.0.jar as we are upgrading
weblogic version to 10.3 from 8.1, though updated required jars for XmlBean
2.2.0 version, getting the below error.

java.lang.RuntimeException: No query engine found
        at
org.apache.xmlbeans.impl.store.Query.getCompiledQuery(Query.java:120)
        at
org.apache.xmlbeans.impl.store.Query.getCompiledQuery(Query.java:53)
        at
org.apache.xmlbeans.impl.store.Query.cursorExecQuery(Query.java:48)
        at
org.apache.xmlbeans.impl.store.Cursor._execQuery(Cursor.java:1336)
        at
org.apache.xmlbeans.impl.store.Cursor._execQuery(Cursor.java:1331)


Code:

 XmlObject defaultConfig =
configXml.execQuery("$this/.//e...@name='default']/logging/*")[0];

thanks,
Anil.
-- 
View this message in context: 
http://old.nabble.com/java.lang.RuntimeException%3A-No-query-engine-found-tp29146340p29146340.html
Sent from the Xml Beans - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@xmlbeans.apache.org
For additional commands, e-mail: user-h...@xmlbeans.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@xmlbeans.apache.org
For additional commands, e-mail: user-h...@xmlbeans.apache.org

Reply via email to