Native Client not being loaded due to incorrect library versions

Still need help?

The Atlassian Community is here for you.

Ask the community

Problem

The Subversion Native Client is not working as expected due to incorrect library versions.

The following appears in the atlassian-fisheye-DD-MM-YYYY.log

ERROR [WrapperStartStopAppMain ] fisheye.app DefaultRepositoryManager-reloadList - Configuration Problem
com.cenqua.fisheye.config.ConfigException: Could not load svn-javahl: java.lang.UnsatisfiedLinkError-C:\Program Files (x86)\Subversion\bin\libsvnjavahl-1.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform

Diagnosis

Environment

  • Windows Operating System
  • 64-bit Server
  • 64-bit JDK
  • WANdisco subversion

Here are some JARs that we've tested with and their identifying characteristics. The DLL must match the minor version of the JAR:

Click here to expand...
svn-javahl.jar, size 85.9 KB (88,052 bytes) ~ 86KB

Build log was saved at "file://c:\builds\32\subversion-1.8.9\subversion\bindings\javahl\classes\BuildLog_javahl_java.htm"

svn-javahl.jar, size 86.1 KB (88,178 bytes) ~ 87KB

Build log was saved at "file://c:\builds\32\subversion-1.8.13\subversion\bindings\javahl\classes\javahl_java\BuildLog_javahl_java.htm"

svn-javahl.jar, size 156 KB (159,790 bytes) ~ 157KB

Build log was saved at "file://c:\builds\32\subversion-1.9.3\subversion\bindings\javahl\classes\javahl_java\BuildLog_javahl_java.htm"

svn-javahl.jar, size 178 KB (182,910 bytes) ~ 179KB

No build log. Works with 1.7 DLLs

Cause

The 32-bit library (dll) fails to be loaded by the 64-bit JDK.

Resolution

Refer to the instructions on the Getting Native Subversion Client to work with Fisheye on a Windows 64-bit Machine guide.

 

 

Last modified on Mar 30, 2016

Was this helpful?

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