<div dir="ltr">That'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, "Before", 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, "Error", 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, "After", 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"><<a href="mailto:cantor.2@osu.edu" target="_blank">cantor.2@osu.edu</a>></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, "Raadush" <<a href="mailto:raadush@gmail.com">raadush@gmail.com</a>> wrote:<br>
><br>
>All objects are defined outside of ExternalAuthServlet.class (in<br>
>VerifyOTPResponse.class, OtpPortTypeService.class, ... in the same<br>
>package as ExternalAuthServlet). When I call this function on my local<br>
>machine, everything works fine. But when I move jar<br>
> with all these classes to shibboleth/lib, execution crashes on specified<br>
>line.<br>
<br>
</div>"Crashes" isn't a specific error.<br>
<div class="im"><br>
> I realized problem might be that shibboleth can see only<br>
>ExternalAuthServlet.class and not the others so he can't instantiate<br>
>OtpPortTypeService. So my question is, how to make<br>
> shibboleth to see other classes inside com.auth.test as well? Or is<br>
>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>