01-23-2009 09:53 AM
03-19-2009 06:54 AM
03-19-2009 08:41 AM
03-19-2009 03:00 PM
04-03-2009 04:27 PM
04-03-2009 04:31 PM
04-03-2009 04:49 PM
A .jar is just a .zip file. Used your zip tool to open it and drop in the class posted earlier. The tricky thing is making sure it retains the correct path information.
04-07-2009 09:54 AM
04-07-2009 10:31 AM
04-07-2009 11:50 AM
11-10-2014 05:21 AM
My auth chain is made of alfrescoNtlm+passthru+ldap sync with NTLM SSO enabled.
It turns out a few webscripts don't work with this configuration, for example the calendar iCal stream : when I try to get the file, I get a spring surf error saying :
<table>
<tr><td><b>500 Description:</b></td><td> An error inside the HTTP server which prevented it from fulfilling the request.</td></tr>
<tr><td> </td></tr>
<tr><td><b>Message:</b></td><td>Unable to do backend call. status: 401, response: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Web Script Status 401 - Unauthorized</title>
<link rel="stylesheet" href="/alfresco/css/webscripts.css" type="text/css" />
</head>
<body>
<div>
<table>
<tr>
<td><img src="/alfresco/images/logo/AlfrescoLogo32.png" alt="Alfresco" /></td>
<td><span class="title">Web Script Status 401 - Unauthorized</span></td>
</tr>
</table>
<br/>
<table>
<tr><td>The Web Script <a href="%2Falfresco%2Fs%2Fcalendar%2FeventList-epaem-alfresco.ics%3Fsite%3Depaem-alfresco%26format%3Dcalendar">/alfresco/s/calendar/eventList-epaem-alfresco.ics</a> has responded with a status of 401 - Unauthorized.</td></tr>
</table>
<br/>
<table>
<tr><td><b>401 Description:</b></td><td> The request requires HTTP authentication.</td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td><b>Message:</b></td><td>101011479 Authentication failed for Web Script org/alfresco/slingshot/calendar/eventList.get</td></tr>
<tr><td></td><td>&nbsp;</td></tr>
<tr><td><b>Exception:</b></td><td>org.springframework.extensions.webscripts.WebScriptException - 101011479 Authentication failed for Web Script org/alfresco/slingshot/calendar/eventList.get</td></tr>
<tr><td></td><td>&nbsp;</td></tr>
<tr><td></td><td>org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:345)</td></tr>
<tr><td></td><td>org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:378)</td></tr>
<tr><td></td><td>org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:209)</td></tr>
<tr><td></td><td>org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:132)</td></tr>
<tr><td></td><td>javax.servlet.http.HttpServlet.service(HttpServlet.java:728)</td></tr>
<tr><td></td><td>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)</td></tr>
<tr><td></td><td>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)</td></tr>
<tr><td></td><td>org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:61)</td></tr>
<tr><td></td><td>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)</td></tr>
<tr><td></td><td>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)</td></tr>
<tr><td></td><td>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)</td></tr>
<tr><td></td><td>org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)</td></tr>
<tr><td></td><td>org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)</td></tr>
<tr><td></td><td>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)</td></tr>
<tr><td></td><td>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)</td></tr>
<tr><td></td><td>org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)</td></tr>
<tr><td></td><td>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)</td></tr>
<tr><td></td><td>org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)</td></tr>
<tr><td></td><td>org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)</td></tr>
<tr><td></td><td>org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)</td></tr>
<tr><td></td><td>org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1852)</td></tr>
<tr><td></td><td>java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)</td></tr>
<tr><td></td><td>java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)</td></tr>
<tr><td></td><td>java.lang.Thread.run(Thread.java:724)</td></tr>
<tr><td></td><td>&nbsp;</td></tr>
<tr><td><b>Server</b>:</td><td>Enterprise v4.2.1 (r63452-b50) schema 6 052</td></tr>
<tr><td><b>Time</b>:</td><td>10 nov. 2014 10:51:18</td></tr>
<tr><td></td><td>&nbsp;</td></tr>
<tr><td><b>Diagnostics</b>:</td><td><a href="/alfresco/s/script/org/alfresco/slingshot/calendar/eventList.get">Inspect Web Script (org/alfresco/slingshot/calendar/eventList.get)</a></td></tr>
</table>
</div>
</body>
</html>
</td></tr>
<tr><td><b>Server</b>:</td><td>Spring WebScripts - v1.2.0 (Release 1392) schema 1 000</td></tr>
<tr><td><b>Time</b>:</td><td>10 nov. 2014 10:51:18</td></tr>
<tr><td></td><td> </td></tr>
<tr><td><b>Diagnostics</b>:</td><td><a href="/share/page/script/org/alfresco/modules/calendar/ical/ical-feed.get">Inspect Web Script (org/alfresco/modules/calendar/ical/ical-feed.get)</a></td></tr>
</table>
Any clue on how to get rid of that ?
(Environnement is : Alfresco 4.2.1 EE running on windows 2008R2)
Julien SERVAJEAN
REACTIS
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.