tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeny V <v_je...@yahoo.in>
Subject DRIVER ERROR
Date Fri, 10 May 2013 14:27:35 GMT
Hi ,

I'm having some real issues , running programs in Tomcat on my machine. I just copied a jakarta
folder named "jakarta-tomcat-3.3.1a" on to my D: drive (Path : D:\Program Files\jakarta-tomcat-3.3.1a)
. The folder includes the following SUBFOLDERS : bin,conf,doc,lib,logs,modules,native,webapps,work
. I can run simple jsp programs with no database connection. But whenever I try to execute
programs with database connections, following error encounters:

Error: 500

Internal Servlet Error:

javax.servlet.ServletException: [Microsoft][ODBC Driver Manager] The specified DSN contains
an architecture mismatch between the Driver and Application at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:460)
at students.ques9.patients_1._jspService(patients_1.java:97) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java) at org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:574)
at org.apache.tomcat.core.Handler.invoke(Handler.java:322) at org.apache.tomcat.core.Handler.service(Handler.java:235)
at org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:917)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833) at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10Interceptor.java:176)
at
 org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:516)
at java.lang.Thread.run(Thread.java:722) Root cause: java.sql.SQLException: [Microsoft][ODBC
Driver Manager] The specified DSN contains an architecture mismatch between the Driver and
Application at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6956) at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:7113)
at sun.jdbc.odbc.JdbcOdbc.SQLDriverConnect(JdbcOdbc.java:3072) at sun.jdbc.odbc.JdbcOdbcConnection.initialize(JdbcOdbcConnection.java:323)
at sun.jdbc.odbc.JdbcOdbcDriver.connect(JdbcOdbcDriver.java:174) at java.sql.DriverManager.getConnection(DriverManager.java:579)
at java.sql.DriverManager.getConnection(DriverManager.java:243) at students.ques9.patients_1._jspService(patients_1.java:64)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119) at
 javax.servlet.http.HttpServlet.service(HttpServlet.java) at org.apache.tomcat.facade.ServletHandler.doService(ServletHandler.java:574)
at org.apache.tomcat.core.Handler.invoke(Handler.java:322) at org.apache.tomcat.core.Handler.service(Handler.java:235)
at org.apache.tomcat.facade.ServletHandler.service(ServletHandler.java:485) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:917)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833) at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10Interceptor.java:176)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:516)
at java.lang.Thread.run(Thread.java:722)
Please do reply or help me with this problem as I tried so many times to fix the problem by
trying various solutions.

My Laptop details :


Windows Edition : Windows 7
System Type : 64-bit Operating System

JDK version : jdk1.7.0_07
Jakarta Version : 3.3.1a

Looking forward for your early response.


Thanks in advance
Jeny
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message