This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Can't load IA 32-bit .dll on a AMD 64-bit platform Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Can Watch "Can New topic

Can't load IA 32-bit .dll on a AMD 64-bit platform

Sandeep Deshpande

Joined: Jan 30, 2012
Posts: 2
Hi All,

I have installed tomcat Tomcat6.0.35 on win 7 64 bit machine using installer(apache-tomcat-6.0.35).
I deployed one application on the tomcat which refers to dll (xFunction.dll).
on 32 bit XP machine this works fine.
but when I try to acces application from Win 7 64 bit server I get below error.

org.apache.jasper.JasperException: javax.servlet.ServletException: java.lang.UnsatisfiedLinkError: D:\Servers\Tomcat6.0.29-2\lib\xFunction.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform

Can anybody please provide the solution for the same?

Rob Spoor

Joined: Oct 27, 2005
Posts: 19655

When you install Tomcat on a 64-bit Windows using the installer, it will install Tomcat as a 64-bit process. That means that it needs a 64-bit JVM, and all native libraries need to be 64-bit. Unfortunately, xFunction doesn't appear to have a 64-bit version: wrote:
System Requirements
CPU: Intel x86 and compatibles
Operating System: Windows 2000/2003/2008/XP/Vista/7, Linux
Java version: 1.2 or higher, 32-bit only

In other words, unless you can get Tomcat running as a 32-bit process (and I wouldn't know how to...), you'll need to find an alternative to xFunction.

How To Ask Questions How To Answer Questions
I agree. Here's the link:
subject: Can't load IA 32-bit .dll on a AMD 64-bit platform
Similar Threads
Cannot Load jdic.dll
Need Information for Java as Windows Service
JMagick JNI problem.
Can't load IA 32-bit .dll on a AMD 64-bit platform
Easy Eclipse vs My Eclipse