Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-59889

Cannot start new Jenkins with agent.jar file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Minor Minor
    • remoting
    • None

      I'm trying to connect VM with Jenkins remote but when I execute this:

      java -jar c:\jenkins\agent.jar -jnlpUrl http://vmname:port/computer/VMHOST/slave-agent.jnlp

      There is error:

       X 22, 2019 5:12:45 PM hudson.remoting.UserRequest perform
      WARNING: LinkageError while performing UserRequest:hudson.node_monitors.SwapSpaceMonitor$MonitorTask@475deef7
      java.lang.NoClassDefFoundError: Could not initialize class com.sun.jna.Native
      at com.sun.jna.Structure.setAlignType(Structure.java:280)
      at com.sun.jna.Structure.<init>(Structure.java:197)

       

      I'm using Windows 10 Server and Java 1.8.0.112

            jthompson Jeff Thompson
            rjenkins Rumen Angelov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: