title: Error at deploying to Oracle WebLogic from Jenkins
body: <p>I'm trying to deploy a web application to a remote WebLogic, and I was following this guide: <a href="https://wiki.jenkins.io/display/JENKINS/WebLogic+Deployer+Plugin" rel="nofollow noreferrer">https://wiki.jenkins.io/display/JENKINS/WebLogic+Deployer+Plugin</a></p>
  
  <p>My servers are:</p>
  
  <ul>
  <li>Jenkins 2.77 </li>
  <li>WebLogicPlugin 4.1</li>
  <li>Oracle WebLogic 12.2.1.2.0</li>
  </ul>
  
  <p>According to the guide, the only thing I need is the <strong>wlthint3client.jar.jar</strong>, but I got the error:</p>
  
  <pre><code>Error: Could not find or load main class weblogic.Deployer
  </code></pre>
  
  <p>So searching, I found that there is this <strong>wlfullclient.jar</strong> that was used but Oracle deprecated it. After adding that one, and <strong>weblogic.jar</strong>. I got this exception:</p>
  
  <pre><code>Caused by: java.lang.ClassNotFoundException: weblogic.deploy.api.spi.DeploymentOptions
  </code></pre>
  
  <p>I built the <strong>wlfullclient.jar</strong> by this command:</p>
  
  <pre><code>java -jar wljarbuilder.jar
  </code></pre>
  
  <p>In the end, I looked at the exceptions I was getting and ended adding the respective jars that had the missing classes, from the WebLogic server libraries. </p>
  
  <p>Now I'm stucked. It doesn't throw an exception, but it holds at this line:</p>
  
  <pre><code>[WebLogicDeploymentManagerImpl.getNewConnection():169] : Connecting to admin server at xxxxxx:7001, as user yyyy
  </code></pre>
  
  <p>And never ends.</p>