linux下jsp连接db2v8.1出错 错误描述如下: javax.servlet.ServletException: java.lang.UnsatisfiedLinkError: /home/j2sdk1.4.2_12/bin/libdb2jdbc.so: libcxa.so.1: cannot open shared object file: No such file or directory org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:846) org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:779) org.apache.jsp.connectdb2_jsp._jspService(connectdb2_jsp.java:88) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236) javax.servlet.http.HttpServlet.service(HttpServlet.java:802) com.coshine.ccs.filter.EncodingFilter.doFilter(EncodingFilter.java:54)
我在linux下通过db2v9.5-express-c可以连接到服务的db2v8.1 但是在jdbc连接时出现上面的问题,libdb2jdbc.so: libcxa.so.1文件已经拷贝到jdk/bin下 请问是什么原因,谢谢!
|
|