Feedback
Did this article resolve your question/issue?

   

Article

"java.lang.AbstractMethodError: com.ddtek.xquery3.jdbc.XQueryConnection.isValid(I)Z" error when using DataDirect XQuery with Tomcat 8.5.5

Information

 
Title"java.lang.AbstractMethodError: com.ddtek.xquery3.jdbc.XQueryConnection.isValid(I)Z" error when using DataDirect XQuery with Tomcat 8.5.5
URL Namejava-lang-AbstractMethodError-com-ddtek-xquery3-jdbc-XQueryConnection-isValid-I-Z-error-when-using-DataDirect-XQuery-with-Tomcat-8-5-5
Article Number000179779
EnvironmentProduct: DataDirect XQuery
Version: 5.0
OS: java
Database: Oracle
Application: Tomcat 8.5.5
Question/Problem Description
The below error is received when using DataDirect XQuery with Tomcat 8.5.5.
Steps to Reproduce
Clarifying Information
Error MessageSEVERE [main] org.apache.catalina.startup.Catalina.start The required Server component failed to start so Tomcat is unable to start.
org.apache.catalina.LifecycleException: Failed to start component [StandardServer[8005]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:167)
at org.apache.catalina.startup.Catalina.start(Catalina.java:655)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:355)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:495)
Caused by: java.lang.AbstractMethodError: com.ddtek.xquery3.jdbc.XQueryConnection.isValid(I)Z
Defect NumberDefect 53535
Enhancement Number
Cause
Resolution
Add "validationQuery="SELECT * FROM dual" in the <Resource> tag in the ...\apache-tomcat-8.5.5\conf\server.xml file:

<Resource name="XqjDevDS" auth="Container" type="javax.sql.DataSource" driverClassName="com.ddtek.xquery3.jdbc.XQueryDriver" username="xxx" password="xxx" url="jdbc:datadirect:xquery3://JdbcUrl={jdbc:xquery:oracle://xxx:1521;SID=xxx;MaxPooledQueries=100}" 
initialSize="4" accessToUnderlyingConnectionAllowed="true" factoryClass="com.ddtek.xquery3.jdbc.XQueryConnectionPoolDataSource" validationQuery="SELECT * FROM dual" />
Workaround
Notes
Last Modified Date9/23/2016 8:12 AM
Files
Disclaimer The origins of the information on this site may be internal or external to Progress Software Corporation (“Progress”). Progress Software Corporation makes all reasonable efforts to verify this information. However, the information provided is for your information only. Progress Software Corporation makes no explicit or implied claims to the validity of this information.

Any sample code provided on this site is not supported under any Progress support program or service. The sample code is provided on an "AS IS" basis. Progress makes no warranties, express or implied, and disclaims all implied warranties including, without limitation, the implied warranties of merchantability or of fitness for a particular purpose. The entire risk arising out of the use or performance of the sample code is borne by the user. In no event shall Progress, its employees, or anyone else involved in the creation, production, or delivery of the code be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the sample code, even if Progress has been advised of the possibility of such damages.