java - Getting "specified DSN contains an architecture mismatch between the Driver and Application" running Tomcat via Sysdeo under eclipse -


Windows 7, eclipse kepler; I have an existing application that I believe is compiled with 32-bit Java. In any event, it will not work with 64-bit, which failed first.

So I downloaded and installed 32-bit eclipse and 32-bit Java, set the path version to choose the Java version directory first (64-bit Java \ Windows \ System32 was installed in , And I did not want to try to uninstall it from there). Reboot many times; Eventually it was established that, on the command line, the Java-version 64-bit 32-bit version ins returns.

So I can run Eclipse and I can run tomacat, no error. I have double-checked tomatoes settings under Sideshow so that they can point to the newly-installed 32-bit version of Java.

However, when I run a web application, by goingogling that message, "I mismatch between an architectural driver and application in specified DSN", I assemble it to mean that I have a 64-bit driver and 32 -Bit application is So how do I reset to use a 32-bit driver?

I saw a message on Tomcat startup: "APR based Apache Slap Original Library which allows optimal performance in production emissions. Java.library.path:", and then this one-line hard-to-do -The following gives the following as the following:

INFO: The APR-based Apache Tomato Basic Library which allows optimal performance in production environments was not found on Java.library.path:

  C: \ Program Files \ \ Java \ bin \ c: \ Windows \ Sun \ Java \ bin C: \ Windows \ system32 C: \ Windows C: / Program Files (x86) / Java / JDK 1.7.0_55 / bin /../ JR / bin / Client C: / Program Files (x86) / Java / JDK 1.7.0_55 / bin /../ JR / bin C: / Program Files (x86) / Java / JDK 1.7.0_55 / bin /../jre / lib / I386c: \ Program Files (x86) \ Java \ jdk1.7.0_55 \ bin \ C: \ Windows \ System32 C: \ Windows C: \ Windows \ System32 \ Wbem C: \ Windows \ System32 \ WindowsPowerShell \ v1.0 \ C: \ Program Files \ Thinkpad \ Bluetooth Software \ C: \ Program Files Take \ ThinkPad \ Bluetooth software \ syswow64 C: \ Program Files \ Broadcom \ WHL \ C: \ Program Files \ Broadcom \ WHL \ syswow64 C: \ Program Files \ Broadcom \ WHL \ SysWow64 \ C: \ Program Files \ Broadcom \ WHL \ SysWow64 \ syswow64 C: \ Program Files X86 \ Common Files \ Ulead System \ MPEG C: \ Program Files \ Common Files \ Lenovo C: \ SWTOOLS \ ReadyApps C: Program Files (x86) \ Intel \ Services \ IPT \ C: \ Program Files (x86) \ Common Files \ Lenovo c: \ Program Files (x86) \ Microsoft SQL Server \ 90 \ Tools \ binn \ C: \ Programs Files (x86) \ Microsoft SQL Server \ 100 \ Tools \ Binn \ C: \ Program Files Microsoft SQL Microsoft SQL Server \ 100 \ DTS \ Microsoft SQL Server \ 100 \ Tools \ Vertical \ VSShell \ Common7 \ IDE \ C: Program Files (x86) \ Microsoft \ Binn \ c: \ Program Files (x86) \ Microsoft ASP.NET \ ASP.NET Web Page \ v1.0 \ C: \ Program Files (x86) \ Symantec \ Vip Access Client \ C: \ Program Files \ Microsoft SQL Server \ Program Files \ Microsoft \ Web Platform Installer \ C: \ Program Files (x86) \ nodejs \ C: \ Program Files \ Java \ Apache-Ant-1.9.2 \ bin \ C: \ Program Files (x86) \ Windows Kit \ Microsoft \ Microsoft \ Program Files (x86) \ Program Files (x86) \ eclipse  
\ Program Files \ Microsoft \ SQL Server \ 110 \ DTS \ Binn \ C: \ Program Files \ x86 \ Program Files

Then the first row indicates, perhaps, another 64-bit version of Java is still being referenced, this time with "c: \ program files \ java \ jre7 \ bin". But I do not know where it is set, or how it is not set.

Keep in mind that my project is not yet included in this subsystem because it is set up for eclipse, so I do not have "project / property / build path" I have "windows / Preferences / Build Path "; I'm sure the 32-bit version is the default JRE and its correct path, but preferences / Java / build path / classpath variables have either been disliked or the Java runtime has not been referenced at all (there is a 32- Bit), and is the only user library excerpt, which is rarely relevant to all this.

Can someone help me to make this work the right setting, or ways to find it?

It has been found that the path variable is not enough to change - I have both 64-bit and one Installing Java / Control Panel under 32-bit Windows / Uninstalling a program; I uninstalled the 64-bit version, and now this application has started properly.


Comments

Popular posts from this blog

import - Python ImportError: No module named wmi -

Editing Python Class in Shell and SQLAlchemy -

c# - MySQL Parameterized Select Query joining tables issue -