<div dir="ltr">That&#39;s exactly how I have it. All classes packed in one jar in lib library. I dont get any exception tho. Catching them in my application doesnt produce anythig. In example posted earlier, if I wrote this:<div>
<br></div><div><div style="font-family:arial,sans-serif;font-size:13px">public VerifyOTPResponse verifyOTP(VerifyOTPRequest request) throws VerifyOTPFaultMsg {</div><div style="font-family:arial,sans-serif;font-size:13px">
    </div><div style="font-family:arial,sans-serif;font-size:13px">    Logger.getLogger(ExternalAuthServlet.class.getName()).log(Level.INFO, &quot;Before&quot;, this);<br></div><div style="font-family:arial,sans-serif;font-size:13px">
    </div><div style="font-family:arial,sans-serif;font-size:13px">    try {</div><div style="font-family:arial,sans-serif;font-size:13px">        OtpPortTypeService service = new OtpPortTypeService(); </div><div style="font-family:arial,sans-serif;font-size:13px">
    } catch (Exception ex)</div><div style="font-family:arial,sans-serif;font-size:13px">    {</div><div style="font-family:arial,sans-serif;font-size:13px">        Logger.getLogger(ExternalAuthServlet.class.getName()).log(Level.SEVERE, &quot;Error&quot;, ex);</div>
<div style="font-family:arial,sans-serif;font-size:13px">    }</div><div style="font-family:arial,sans-serif;font-size:13px"> </div><div style="font-family:arial,sans-serif;font-size:13px">    Logger.getLogger(ExternalAuthServlet.class.getName()).log(Level.INFO, &quot;After&quot;, this);</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">    OtpPortType port = service.getOtpPortType();        </div>
<div style="font-family:arial,sans-serif;font-size:13px">    VerifyOTPResponse response = port.verifyOTP(request);</div><div style="font-family:arial,sans-serif;font-size:13px">    return response;        </div><div style="font-family:arial,sans-serif;font-size:13px">
}</div></div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">only Before is logged, nothing else. Also no errors in process.log of shibboleth or tomcat log, so I cant be more specific. Only thing what I get is default idp error page.</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/11/14 Cantor, Scott <span dir="ltr">&lt;<a href="mailto:cantor.2@osu.edu" target="_blank">cantor.2@osu.edu</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 11/14/13, 4:15 AM, &quot;Raadush&quot; &lt;<a href="mailto:raadush@gmail.com">raadush@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt;All objects are defined outside of ExternalAuthServlet.class (in<br>
&gt;VerifyOTPResponse.class, OtpPortTypeService.class, ... in the same<br>
&gt;package as ExternalAuthServlet). When I call this function on my local<br>
&gt;machine, everything works fine. But when I move jar<br>
&gt; with all these classes to shibboleth/lib, execution crashes on specified<br>
&gt;line.<br>
<br>
</div>&quot;Crashes&quot; isn&#39;t a specific error.<br>
<div class="im"><br>
&gt; I realized problem might be that shibboleth can see only<br>
&gt;ExternalAuthServlet.class and not the others so he can&#39;t instantiate<br>
&gt;OtpPortTypeService. So my question is, how to make<br>
&gt; shibboleth to see other classes inside com.auth.test as well? Or is<br>
&gt;there something Im missing here?<br>
<br>
</div>If you have a class not found exception, then you need to package all your<br>
classes into a jar and that needs to be in the lib directory when you<br>
install.<br>
<br>
-- Scott<br>
<br>
<br>
--<br>
To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net">users-unsubscribe@shibboleth.net</a><br>
</blockquote></div><br></div>