File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Can Watch "Can New topic
Author

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

Romeo Ranjan
Ranch Hand

Joined: Feb 23, 2009
Posts: 95
Dear Ranchers,

I have a Windows 7, 64 bit machine. I am trying to run my web application using Apache tomcat 5.5.30 (that used to work in my window xp machine) but below is the error that I get



I did do some search on the topics and these are solutions that I tried.

I downloaded and installed jdk and jre that is meant to be both for 32 bit and 64 bit machine. Restarted my system.
Uninstalled and reinstalled tomcat again. But what happens is that when I tried to give jre path as C:\Program Files (x86)\Java\jre6
instead of C:\Program Files\Java\jre6. My tomcat does not start the services.

Later I noted that in the installation window it has mentioned
Note that if you have a 64 bit operating system, you must specify a 64 bit JRE
. But selecting the jre path that is meant to be for 64 bit machine, helps in getting the tomcat running but I get the above exception.
Have any of you faced this problem before. Any solutions that I am missing?




SCJP 6.0
Romeo Ranjan
Ranch Hand

Joined: Feb 23, 2009
Posts: 95
Tried installing and using Tomcat 6.0 32-bit/64-bit windows service installer. But the problem still exists. Any help please..
Alexey Petelin
Greenhorn

Joined: Dec 10, 2010
Posts: 2
Hi! I've got the same error and it seems that full functionality of Remedy Mid-Tier 7.6.03 is not working on Windows 7 x64:
I get an error when try to open "Request Entry"

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: Servlet execution threw an exception


root cause

java.lang.UnsatisfiedLinkError: C:\Program Files\BMC Software\ARSystem\midtier\WEB-INF\lib\arjni70.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform


arjni70.dll is really compiled for x86 platform in spite of the fact that in documentation "BMC Remedy Action Request System 7.6.03 Installation Guide" the following is written: "In release 7.6.03, the BMC Remedy AR System Sun Java-based applications are also compiled as 64-bit for all platforms and require that you install a 32-bit or 64-bit JVM..."

Did you find the method how to resolve this problem?
N Prabhu
Greenhorn

Joined: Jun 15, 2011
Posts: 1
Install 32 bit JDK. This is needed to load 32 bit dll
Alexey Petelin
Greenhorn

Joined: Dec 10, 2010
Posts: 2
No. I have already tried to install different versions of JDK (x86, 64bit), none of them helped. It is still "Can't load IA 32-bit .dll...."
Ravinderjit Singh
Ranch Hand

Joined: Jan 13, 2010
Posts: 78
Tomcat provide two versions for 'tcnative-1.dll' file. By default is uses 32 bit.
If you working on 64 bit machine, then you should copy the 64 bit version of 'tcnative-1.dll' into /bin/ directory.
You can find this file at location /bin/i64
Sumit Rathi
Greenhorn

Joined: Jul 04, 2012
Posts: 1
Ravinderjit Singh wrote:Tomcat provide two versions for 'tcnative-1.dll' file. By default is uses 32 bit.
If you working on 64 bit machine, then you should copy the 64 bit version of 'tcnative-1.dll' into /bin/ directory.
You can find this file at location /bin/i64


Small correction you can find 64bit dll under \bin\x64
T Bish
Greenhorn

Joined: Aug 10, 2012
Posts: 1
Thank you Ravinderjit and Sumit for this resolution.
Life saver.

-T
shashikant mourya
Greenhorn

Joined: Jan 15, 2010
Posts: 6
That's Correct, File to be copied from x64 folder and not i64.
Anyways, Thanks for the help guys.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can't load IA 32-bit .dll on a AMD 64-bit platform