01-17-2008 06:21 PM
01-18-2008 11:15 AM
01-18-2008 01:09 PM
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page import="org.alfresco.webservice.util.AuthenticationUtils"%>
<pre>
Testing Alfresco Connectivity
<%
AuthenticationUtils.startSession("website", "website");
%>
Started Alfresco Session
Ticket: <%=AuthenticationUtils.getTicket()%>
Thread: <%=Thread.currentThread()%>
Sleeping 30 seconds
<%
out.flush();
Thread.currentThread().sleep(30000);
%>
<%
try
{
AuthenticationUtils.endSession();
}
catch(Exception e)
{
request.setAttribute("endSessionException", e);
}
%>
<c:choose>
<c:when test="${!empty endSessionException}">Error Ending Alfresco Session
<table border=1><tr><td>${endSessionException}</td></tr></table>
</c:when>
<c:otherwise>Closed Alfresco Session</c:otherwise>
</c:choose>
</pre>
Testing Alfresco Connectivity
Started Alfresco Session
Ticket: TICKET_ea351ff97650d807dd9c93f1428fca28f13d7689
Thread: Thread[http-8080-1,5,main]
Sleeping 30 seconds
Ended Alfresco Session
Testing Alfresco Connectivity
Started Alfresco Session
Ticket: TICKET_ea351ff97650d807dd9c93f1428fca28f13d7689
Thread: Thread[http-8080-3,5,main]
Sleeping 30 seconds
Error Ending Alfresco Session
org.alfresco.webservice.util.WebServiceException: Error ending session.
01-22-2008 04:29 AM
01-23-2008 12:41 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.