tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From CHRISTOS STAVRINOU <stavr...@gmail.com>
Subject ianywhere driver with tomcat under linux error [Sybase][ODBC Driver Manager] Unable to load resource file
Date Thu, 09 Aug 2012 11:58:38 GMT
ianywhere driver with tomcat under linux error [Sybase][ODBC Driver
Manager] Unable to load resource file

Problem using ianywhere driver to connec to sybase sql anywhere 12 web
edition with tomcat under linux I get the error [Sybase][ODBC Driver
Manager] Unable to load resource file

The connection string is

jdbc:ianywhere:driver=libdbodbc12.so;dbn=mydatabase;eng=myserver;

All libraries that are required are placed to the correct folders of
java ld_library_path

Please help.

Please also reply at stavrinc@gmail.com

Thanks

org.apache.jasper.JasperException: javax.servlet.ServletException:
java.sql.SQLException: [Sybase][ODBC Driver Manager] Unable to load
resource file
        org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:548)
        org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:456)
        org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:389)
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:333)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:722)

root cause

javax.servlet.ServletException: java.sql.SQLException: [Sybase][ODBC
Driver Manager] Unable to load resource file
        org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:911)
        org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:840)
        org.apache.jsp.sybread_jsp._jspService(sybread_jsp.java:157)
        org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
        org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:433)
        org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:389)
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:333)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:722)

root cause

java.sql.SQLException: [Sybase][ODBC Driver Manager] Unable to load
resource file
        ianywhere.ml.jdbcodbc.jdbc3.IDriver.makeODBCConnection(Native Method)
        ianywhere.ml.jdbcodbc.jdbc3.IDriver.connect(IDriver.java:768)
        java.sql.DriverManager.getConnection(DriverManager.java:579)
        java.sql.DriverManager.getConnection(DriverManager.java:221)
        org.apache.jsp.sybread_jsp._jspService(sybread_jsp.java:95)
        org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
        org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:433)
        org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:389)
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:333)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:722)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message