title: OpenID : Discovery Exception : org.openid4java.discovery.yadis.YadisException: 0x706: GET failed 503:HTTP/1.0 503 Service Unavailable
body: <p>I build the <code>OpenID</code> server for Internal use based on Google OpenID <code>OpenID4Java</code>.</p>
  
  <p>I deployed it on <code>Apache-Tomcat 6.0</code>.</p>
  
  <p>When consumer is trying to discover, It's throwing follwoing error</p>
  
  <pre><code>org.openid4java.discovery.yadis.YadisException: 0x706: GET failed on http://localhost:9090/idp4java/idp : 503:HTTP/1.0 503 Service Unavailable
      at org.openid4java.discovery.yadis.YadisResolver.retrieveXrdsLocation(YadisResolver.java:371)
      at org.openid4java.discovery.yadis.YadisResolver.discover(YadisResolver.java:233)
      at org.openid4java.discovery.yadis.YadisResolver.discover(YadisResolver.java:221)
  </code></pre>
  
  <p>When I am accessing the <code>XRDS</code> by url <a href="http://localhost:9090/idp4java/idp" rel="nofollow">http://localhost:9090/idp4java/idp</a> I am getting it but when my consumer code trying to get it then above error is coming.</p>
  
  <p>Do we need to do any setting on <code>Tomcat</code> to enable <code>Yadis</code>?</p>
  
  <p>Any Idea why this might be happening. My code is working fine with <code>Google IDP</code>.</p>
  
  <p>Thanks in Advance.
  Jha</p>