Thanks for your time Rod. My Tomcat works fine. I am able to visit the /idp/profile/Status page to get an OK message. <br><br>I was actually trying to test my IDP with TestShib. When I make a change in the relying_party.xml (uncommenting the MetaDataProvider tag), I no longer get the status page as OK. Instead I get a HTTP Error which says requested resource is not available.<br>
<br>This was the real reason I was trying to get hold of the log files. If some one can explain why I am getting the above error I dont need to look at the log file problem straightaway.<br><br>By the way following is the IDP related stuff in the catalina.out file:<br>
<br>Oct 24, 2011 3:19:18 PM org.apache.catalina.startup.Catalina load<br>INFO: Initialization processed in 581 ms<br>Oct 24, 2011 3:19:18 PM org.apache.catalina.core.StandardService start<br>INFO: Starting service Catalina<br>
Oct 24, 2011 3:19:18 PM org.apache.catalina.core.StandardEngine start<br>INFO: Starting Servlet Engine: Apache Tomcat/6.0.28<br>Oct 24, 2011 3:19:18 PM org.apache.catalina.startup.HostConfig deployDescriptor<br>INFO: Deploying configuration descriptor manager.xml<br>
Oct 24, 2011 3:19:18 PM org.apache.catalina.startup.HostConfig deployDescriptor<br>INFO: Deploying configuration descriptor idp.xml<br>Oct 24, 2011 3:19:22 PM org.apache.catalina.core.StandardContext start<br>SEVERE: Error listenerStart<br>
Oct 24, 2011 3:19:22 PM org.apache.catalina.core.StandardContext start<br>SEVERE: Context [/idp] startup failed due to previous errors<br>Oct 24, 2011 3:19:22 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap<br>
SEVERE: The web application [/idp] created a ThreadLocal with key of type [null] (value [ch.qos.logback.core.UnsynchronizedAppenderBase$1@5e8c39d7]) and a value of type [java.lang.Boolean] (value [false]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.<br>
Oct 24, 2011 3:19:22 PM org.apache.catalina.startup.HostConfig deployDescriptor<br>INFO: Deploying configuration descriptor ROOT.xml<br>Oct 24, 2011 3:19:22 PM org.apache.catalina.startup.HostConfig deployDescriptor<br>INFO: Deploying configuration descriptor examples.xml<br>
Oct 24, 2011 3:19:23 PM org.apache.catalina.startup.HostConfig deployDescriptor<br>INFO: Deploying configuration descriptor docs.xml<br>Oct 24, 2011 3:19:23 PM org.apache.catalina.startup.HostConfig deployDescriptor<br>INFO: Deploying configuration descriptor host-manager.xml<br>
Oct 24, 2011 3:19:23 PM org.apache.coyote.http11.Http11Protocol start<br>INFO: Starting Coyote HTTP/1.1 on http-8080<br><br>Thanks,<br>Kaustubh<br><br><div class="gmail_quote">On Mon, Oct 24, 2011 at 11:12 AM, Rod Widdowson <span dir="ltr">&lt;<a href="mailto:rdw@steadingsoftware.com">rdw@steadingsoftware.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div link="blue" vlink="purple" lang="EN-GB"><div><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Well that certainly won’t help.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Before you even start trying to debug your shibboleth install make sure that tomcat is working (so you can get to <a href="http://localhost:8080/" target="_blank">http://localhost:8080/</a> &amp; <a href="https://localhost/" target="_blank">https://localhost/</a> or whatever). This mailing list won’t be able to help you with that.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Once that’s done get the deployment fragment in place.   If you are still not getting the IdP logs you should look again at catalina.out .<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt"><div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal"><b><span style="font-size:10.0pt" lang="EN-US">From:</span></b><span style="font-size:10.0pt" lang="EN-US"> <a href="mailto:dev-bounces@shibboleth.net" target="_blank">dev-bounces@shibboleth.net</a> [mailto:<a href="mailto:dev-bounces@shibboleth.net" target="_blank">dev-bounces@shibboleth.net</a>] <b>On Behalf Of </b>Kaustubh Nagraj<br>
<b>Sent:</b> 24 October 2011 16:04<br><b>To:</b> Shib Dev<br><b>Subject:</b> Re: IDP log files not created<u></u><u></u></span></p></div></div><div><div></div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal" style="margin-bottom:12.0pt">
Hey,<br><br>Thanks for your reply. I am using Apache2 with Tomcat6. <br><br>What exactly am I supposed to be looking for in the container&#39;s log files? This is the last entry I see:<br><br>Oct 24, 2011 2:49:28 PM org.apache.catalina.startup.Catalina start<br>
SEVERE: Catalina.start: <br>LifecycleException:  service.getName(): &quot;Catalina&quot;;  Protocol handler start failed: java.io.FileNotFoundException: /usr/share/tomcat6/.keystore (No such file or directory)<br>    at org.apache.catalina.connector.Connector.start(Connector.java:1094)<br>
    at org.apache.catalina.core.StandardService.start(StandardService.java:534)<br>    at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)<br>    at org.apache.catalina.startup.Catalina.start(Catalina.java:581)<br>
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)<br>    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br>
    at java.lang.reflect.Method.invoke(Method.java:616)<br>    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)<br>    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)<br>Oct 24, 2011 2:49:28 PM org.apache.catalina.startup.Catalina start<br>
INFO: Server startup in 5671 ms<u></u><u></u></p><div><p class="MsoNormal">On Mon, Oct 24, 2011 at 10:07 AM, Rod Widdowson &lt;<a href="mailto:rdw@steadingsoftware.com" target="_blank">rdw@steadingsoftware.com</a>&gt; wrote:<u></u><u></u></p>
<div><div><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Very often this is because a misconfiguration is biting you before you even get to start up logging (often a mismatched &lt; ... /&gt; pair)</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span><u></u><u></u></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">What is your container?  Check the container’s logging (catalina.out if useful for tomcat, but check them all just in case) and see if there is anything there.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span><u></u><u></u></p><div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt"><div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt" lang="EN-US">From:</span></b><span style="font-size:10.0pt" lang="EN-US"> <a href="mailto:dev-bounces@shibboleth.net" target="_blank">dev-bounces@shibboleth.net</a> [mailto:<a href="mailto:dev-bounces@shibboleth.net" target="_blank">dev-bounces@shibboleth.net</a>] <b>On Behalf Of </b>Kaustubh Nagraj<br>
<b>Sent:</b> 24 October 2011 15:05<br><b>To:</b> Shib Dev<br><b>Subject:</b> IDP log files not created</span><u></u><u></u></p></div></div><div><div><p class="MsoNormal"> <u></u><u></u></p><div><p class="MsoNormal">Hey,<br>
<br>I have been trying to get my IDP tested with TestShib and hence wanted to check my log files. However I found that my $IDP_HOME/log directory is empty.<br><br>Can someone please tell me where I am going wrong and how to find my log files?<br>
<br>Thanks,<br><span style="color:#888888">Kaustubh</span><u></u><u></u></p></div><p class="MsoNormal"> <u></u><u></u></p></div></div></div></div></div><p class="MsoNormal"><br>--<br>To unsubscribe from this list send an email to <a href="mailto:dev-unsubscribe@shibboleth.net" target="_blank">dev-unsubscribe@shibboleth.net</a><u></u><u></u></p>
</div><p class="MsoNormal"><u></u> <u></u></p></div></div></div></div></div><br>--<br>
To unsubscribe from this list send an email to <a href="mailto:dev-unsubscribe@shibboleth.net">dev-unsubscribe@shibboleth.net</a><br></blockquote></div><br>