title: Starting Websphere from Eclipse hangs when security is enabled
body: <p>I have a Websphere Application Server 8.0.0.6, which was installed as part of RAD.</p>
  
  <p>I need to run the server from an Eclipse Java EE Kepler or Luna. There is no problem when administrative security is disabled. However, once security is enabled, the server either doesn't start completely, or Ecplise is unable to to detect it.</p>
  
  <p>The progress bar stops at 23%. The last message logged is "Server server1 open for e-business". The status however is still "starting". After a while I get an error complaining that the server didn't start within 300 seconds. It then tries to stop the server, and remains in "stopping" indefinitely. </p>
  
  <p>The server is started, Eclipse just seems unable to see it. I can't access the admin console from within Eclipse (though I can with a browser), I can't publish or debug applications, and I can't stop the server from Eclipse.</p>
  
  <p>This happens with both Kepler and Luna. </p>
  
  <p>The server starts fine in RAD, or when started with the start script.</p>
  
  <p>I have checked <a href="https://stackoverflow.com/questions/15493233/start-websphere-server-from-rad-hangs-at-server-server1-open-for-e-business">start websphere server from RAD hangs at &quot;Server server1 open for e-business&quot;</a> . There is a similar question: <a href="https://stackoverflow.com/questions/25848746/websphere-in-rad-hangs-on-startup">Websphere in RAD hangs on startup</a>, but there was no solution.</p>
  
  <p><strong>Update:</strong> The problem is the communication between Ecipse and Websphere, after Websphere has started (as wFateem also has pointed out).</p>
  
  <p>Eclipse makes SOAP calls to Websphere to check the status. If administrative security is disabled in WAS, it accepts SOAP calls in plain HTTP. Once security is enabled, only HTTPS is allowed.</p>
  
  <p>I checked communications between Eclipse and WAS using the TCP-Monitor built into Eclipse. With disabled security I can see the successful SOAP calls. After enabling security I expected to see just the binary SSL data. However, Eclipse was still trying to use HTTP, without any success of course.</p>
  
  <p>Eclipse has a setting for the WAS server to indicate that the server is secured, and which user and password to use for the calls. It even has a flag pertaining to the SSL communication ("automatically trust server certificate during SSL handshake"). But still, it is not using SSL for some reason.</p>
  
  <p>I had no problem in this scenario on my old development machine, which got replaced by my current machine a few days ago.</p>
  
  <p>So, the current status is: Eclipse does not use SSL when talking to the WAS, even though it knows the server is secured.</p>
  
  <p>The question now is: What did I do wrong that Eclipse does not use SSL to talk to a secured server?</p>