java.lang.UnsatisfiedLinkError: C:\Users\build\.hudson\plugins\active-directory\WEB-INF\lib\com4j.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform

Jenkins JIRA | Trevor Baker | 5 years ago
  1. 0

    AD plugin reports following stack on windows with x64 jre. Consider shipping both x86 and x64 versions on com4j.dll and using correct one based on env. http://java.net/projects/com4j/downloads Nov 14, 2011 10:28:44 AM hudson.plugins.active_directory.ActiveDirectorySecurityRealm$DesciprotrImpl canDoNativeAuth INFO: COM4J isn't working. Falling back to non-native authentication java.lang.UnsatisfiedLinkError: C:\Users\build\.hudson\plugins\active-directory\WEB-INF\lib\com4j.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1928) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1825) at java.lang.Runtime.load0(Runtime.java:792) at java.lang.System.load(System.java:1059) at com4j.COM4J.loadNativeLibrary(COM4J.java:430) at com4j.COM4J.<clinit>(COM4J.java:386) at com4j.typelibs.ado20.ClassFactory.createConnection(ClassFactory.java:13) at hudson.plugins.active_directory.ActiveDirectorySecurityRealm$DesciprotrImpl.canDoNativeAuth(ActiveDirectorySecurityRealm.java:227) at hudson.plugins.active_directory.ActiveDirectorySecurityRealm$DesciprotrImpl$canDoNativeAuth.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112) at Script1.run(Script1.groovy:12) at hudson.util.spring.BeanBuilder.parse(BeanBuilder.java:135) at hudson.plugins.active_directory.ActiveDirectorySecurityRealm.createSecurityComponents(ActiveDirectorySecurityRealm.java:129) at hudson.security.SecurityRealm.getSecurityComponents(SecurityRealm.java:398) at hudson.security.HudsonFilter.reset(HudsonFilter.java:134) at jenkins.model.Jenkins.setSecurityRealm(Jenkins.java:1916) at jenkins.model.Jenkins$15.run(Jenkins.java:2397) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$5.runTask(Jenkins.java:798) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722)

    Jenkins JIRA | 5 years ago | Trevor Baker
    java.lang.UnsatisfiedLinkError: C:\Users\build\.hudson\plugins\active-directory\WEB-INF\lib\com4j.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
  2. 0

    AD plugin reports following stack on windows with x64 jre. Consider shipping both x86 and x64 versions on com4j.dll and using correct one based on env. http://java.net/projects/com4j/downloads Nov 14, 2011 10:28:44 AM hudson.plugins.active_directory.ActiveDirectorySecurityRealm$DesciprotrImpl canDoNativeAuth INFO: COM4J isn't working. Falling back to non-native authentication java.lang.UnsatisfiedLinkError: C:\Users\build\.hudson\plugins\active-directory\WEB-INF\lib\com4j.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1928) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1825) at java.lang.Runtime.load0(Runtime.java:792) at java.lang.System.load(System.java:1059) at com4j.COM4J.loadNativeLibrary(COM4J.java:430) at com4j.COM4J.<clinit>(COM4J.java:386) at com4j.typelibs.ado20.ClassFactory.createConnection(ClassFactory.java:13) at hudson.plugins.active_directory.ActiveDirectorySecurityRealm$DesciprotrImpl.canDoNativeAuth(ActiveDirectorySecurityRealm.java:227) at hudson.plugins.active_directory.ActiveDirectorySecurityRealm$DesciprotrImpl$canDoNativeAuth.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112) at Script1.run(Script1.groovy:12) at hudson.util.spring.BeanBuilder.parse(BeanBuilder.java:135) at hudson.plugins.active_directory.ActiveDirectorySecurityRealm.createSecurityComponents(ActiveDirectorySecurityRealm.java:129) at hudson.security.SecurityRealm.getSecurityComponents(SecurityRealm.java:398) at hudson.security.HudsonFilter.reset(HudsonFilter.java:134) at jenkins.model.Jenkins.setSecurityRealm(Jenkins.java:1916) at jenkins.model.Jenkins$15.run(Jenkins.java:2397) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$5.runTask(Jenkins.java:798) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722)

    Jenkins JIRA | 5 years ago | Trevor Baker
    java.lang.UnsatisfiedLinkError: C:\Users\build\.hudson\plugins\active-directory\WEB-INF\lib\com4j.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
  3. 0

    com4j on Windows 64 bit

    Stack Overflow | 5 years ago | Kong
    java.lang.UnsatisfiedLinkError: com4j-amd64.dll: %1 is not a valid Win32 application
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Vss Plugin for Hudson doesnot work for 64 bit OS. Any Work arounds ? Error is Started by user anonymous FATAL: D:\java\build\hudson\plugins\vss\WEB-INF\lib\com4j.dll: Can't load IA 32- bit .dll on a AMD 64-bit platform java.lang.UnsatisfiedLinkError: D:\java\build\hudson\plugins\vss\WEB- INF\lib\com4j.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1778) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1674) at java.lang.Runtime.load0(Runtime.java:770) at java.lang.System.load(System.java:1005) at com4j.COM4J.loadNativeLibrary(COM4J.java:347) at com4j.COM4J.<clinit>(COM4J.java:313) at vss.ClassFactory.createVSSDatabase(ClassFactory.java:13) at scm.vss.VSSSCM.getHistoryEntries(VSSSCM.java:314) at scm.vss.VSSSCM.getHistoryEntries(VSSSCM.java:286) at scm.vss.VSSSCM.checkout(VSSSCM.java:247) at hudson.model.AbstractProject.checkout(AbstractProject.java:830) at hudson.model.AbstractBuild$AbstractRunner.checkout (AbstractBuild.java:314) at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:266) at hudson.model.Run.run(Run.java:927) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:234) at hudson.model.ResourceController.execute(ResourceController.java:93) at hudson.model.Executor.run(Executor.java:119)

    Jenkins JIRA | 8 years ago | userjava1
    java.lang.UnsatisfiedLinkError: D:\java\build\hudson\plugins\vss\WEB- INF\lib\com4j.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
  6. 0

    Problem running in user account when usermane contains utf characters

    GitHub | 4 years ago | TorstenKarusseit
    java.lang.UnsatisfiedLinkError: C:\Users\??\AppData\Local\Temp\jna1644595665224573683.dll: Can't find dependent libraries

  1. franky li 8 times, last 1 month ago
  2. Lukasmcd14 1 times, last 4 months ago
  3. Christopher 4 times, last 7 months ago
  4. xgao 1 times, last 11 months ago
42 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.UnsatisfiedLinkError

    C:\Users\build\.hudson\plugins\active-directory\WEB-INF\lib\com4j.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform

    at java.lang.ClassLoader$NativeLibrary.load()
  2. Java RT
    System.load
    1. java.lang.ClassLoader$NativeLibrary.load(Native Method)
    2. java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1928)
    3. java.lang.ClassLoader.loadLibrary(ClassLoader.java:1825)
    4. java.lang.Runtime.load0(Runtime.java:792)
    5. java.lang.System.load(System.java:1059)
    5 frames
  3. com4j
    COM4J.<clinit>
    1. com4j.COM4J.loadNativeLibrary(COM4J.java:430)
    2. com4j.COM4J.<clinit>(COM4J.java:386)
    2 frames
  4. com4j.typelibs.ado20
    ClassFactory.createConnection
    1. com4j.typelibs.ado20.ClassFactory.createConnection(ClassFactory.java:13)
    1 frame
  5. hudson.plugins.active_directory
    ActiveDirectorySecurityRealm$DesciprotrImpl$canDoNativeAuth.call
    1. hudson.plugins.active_directory.ActiveDirectorySecurityRealm$DesciprotrImpl.canDoNativeAuth(ActiveDirectorySecurityRealm.java:227)
    2. hudson.plugins.active_directory.ActiveDirectorySecurityRealm$DesciprotrImpl$canDoNativeAuth.call(Unknown Source)
    2 frames
  6. Groovy
    AbstractCallSite.call
    1. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
    2. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
    3. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112)
    3 frames
  7. Unknown
    Script1.run
    1. Script1.run(Script1.groovy:12)
    1 frame
  8. hudson.util.spring
    BeanBuilder.parse
    1. hudson.util.spring.BeanBuilder.parse(BeanBuilder.java:135)
    1 frame
  9. hudson.plugins.active_directory
    ActiveDirectorySecurityRealm.createSecurityComponents
    1. hudson.plugins.active_directory.ActiveDirectorySecurityRealm.createSecurityComponents(ActiveDirectorySecurityRealm.java:129)
    1 frame
  10. Hudson
    HudsonFilter.reset
    1. hudson.security.SecurityRealm.getSecurityComponents(SecurityRealm.java:398)
    2. hudson.security.HudsonFilter.reset(HudsonFilter.java:134)
    2 frames
  11. jenkins.model
    Jenkins$15.run
    1. jenkins.model.Jenkins.setSecurityRealm(Jenkins.java:1916)
    2. jenkins.model.Jenkins$15.run(Jenkins.java:2397)
    2 frames
  12. init
    Reactor.runTask
    1. org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146)
    2. org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259)
    2 frames
  13. jenkins.model
    Jenkins$5.runTask
    1. jenkins.model.Jenkins$5.runTask(Jenkins.java:798)
    1 frame
  14. init
    Reactor$Node.run
    1. org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187)
    2. org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94)
    2 frames
  15. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    3. java.lang.Thread.run(Thread.java:722)
    3 frames