Bitbucket Server fails to start on 64-bit Windows with error 'tc-native-1.dll: Can't load IA 32-bit .dll'

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

The following error is reported when starting up Bitbucket Server on a 64-bit JVM on Windows on a 64-bit platform:

tc-native-1.dll: Can't load IA 32-bit .dll on a 64-bit platform

Cause

Bitbucket Server ships with both the 32-bit and the 64-bit versions of tomcat.exe and tc-native-1.dll, but does not set up the correct versions at startup.

Workaround

If you're using a 64-bit JVM to run Bitbucket Server, you'll need to replace tomcat.exe and tc-native-1.dll with their 64-bit versions:

32-bit64-bit
<BSERV-INST>/bin/tomcat.exe <BSERV-INST>/bin/tomcat.exe.x64
<BSERV-INST>/bin/tc-native-1.dll <BSERV-INST>/bin/tc-native-1.dll.x64

 

To switch to the 64-bit versions, please do the following before starting Bitbucket Server:

cd <BSERV-INST/bin>
rename tomcat.exe tomcat.exe.x86
rename tc-native-1.dll tc-native-1.dll.x86
rename tomcat.exe.x64 tomcat.exe
rename tc-native-1.dll.x64 tc-native-1.dll

 

Last modified on Mar 30, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.