11-17-2008 06:32 PM
07-14-2009 02:57 AM
com.rivetlogic.core.cma.exception.AuthenticationFailure: com.rivetlogic.core.cma.exception.CmaRuntimeException: <!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 404 - Not Found</title>
<link rel="stylesheet" href="/alfresco/css/base.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 404 - Not Found</span></td>
</tr>
</table>
<br/>
<table>
<tr><td>The Web Script <a href="/alfresco/service/cma/authenticationservice">/alfresco/service/cma/authenticationservice</a> has responded with a status of 404 - Not Found.</td></tr>
</table>
<br/>
<table>
<tr><td><b>404 Description:</b></td><td> Requested resource is not available.</td></tr>
<tr><td> </td></tr>
<tr><td><b>Message:</b></td><td>Script url /cma/authenticationservice does not map to a Web Script.</td></tr>
<tr><td></td><td> </td></tr>
<tr><td><b>Exception:</b></td><td>org.alfresco.web.scripts.WebScriptException - Script url /cma/authenticationservice does not map to a Web Script.</td></tr>
<tr><td></td><td> </td></tr>
<tr><td></td><td>org.alfresco.web.scripts.AbstractRuntime.executeScript(AbstractRuntime.java:106)</td></tr>
<tr><td></td><td>org.alfresco.web.scripts.servlet.WebScriptServlet.service(WebScriptServlet.java:116)</td></tr>
<tr><td></td><td>javax.servlet.http.HttpServlet.service(HttpServlet.java:717)</td></tr>
<tr><td></td><td>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)</td></tr>
<tr><td></td><td>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)</td></tr>
<tr><td></td><td>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)</td></tr>
<tr><td></td><td>org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)</td></tr>
<tr><td></td><td>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)</td></tr>
<tr><td></td><td>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)</td></tr>
<tr><td></td><td>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)</td></tr>
<tr><td></td><td>org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)</td></tr>
<tr><td></td><td>org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)</td></tr>
<tr><td></td><td>org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)</td></tr>
<tr><td></td><td>org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)</td></tr>
<tr><td></td><td>java.lang.Thread.run(Thread.java:595)</td></tr>
<tr><td></td><td> </td></tr>
<tr><td><b>Server</b>:</td><td>Alfresco Labs v3.0.0 (Stable 1526) schema 1,002</td></tr>
<tr><td><b>Time</b>:</td><td>Jul 14, 2009 6:52:55 AM</td></tr>
<tr><td></td><td> </td></tr>
</table>
</div>
</body>
</html>
at com.rivetlogic.core.cma.impl.AuthenticationServiceImpl.authenticate(AuthenticationServiceImpl.java:118)
at com.alfresco.RivetContent.main(RivetContent.java:22)
Caused by: com.rivetlogic.core.cma.exception.CmaRuntimeException: <!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 404 - Not Found</title>
<link rel="stylesheet" href="/alfresco/css/base.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 404 - Not Found</span></td>
</tr>
</table>
<br/>
<table>
<tr><td>The Web Script <a href="/alfresco/service/cma/authenticationservice">/alfresco/service/cma/authenticationservice</a> has responded with a status of 404 - Not Found.</td></tr>
</table>
<br/>
<table>
<tr><td><b>404 Description:</b></td><td> Requested resource is not available.</td></tr>
<tr><td> </td></tr>
<tr><td><b>Message:</b></td><td>Script url /cma/authenticationservice does not map to a Web Script.</td></tr>
<tr><td></td><td> </td></tr>
<tr><td><b>Exception:</b></td><td>org.alfresco.web.scripts.WebScriptException - Script url /cma/authenticationservice does not map to a Web Script.</td></tr>
<tr><td></td><td> </td></tr>
<tr><td></td><td>org.alfresco.web.scripts.AbstractRuntime.executeScript(AbstractRuntime.java:106)</td></tr>
<tr><td></td><td>org.alfresco.web.scripts.servlet.WebScriptServlet.service(WebScriptServlet.java:116)</td></tr>
<tr><td></td><td>javax.servlet.http.HttpServlet.service(HttpServlet.java:717)</td></tr>
<tr><td></td><td>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)</td></tr>
<tr><td></td><td>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)</td></tr>
<tr><td></td><td>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)</td></tr>
<tr><td></td><td>org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)</td></tr>
<tr><td></td><td>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)</td></tr>
<tr><td></td><td>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)</td></tr>
<tr><td></td><td>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)</td></tr>
<tr><td></td><td>org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)</td></tr>
<tr><td></td><td>org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)</td></tr>
<tr><td></td><td>org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)</td></tr>
<tr><td></td><td>org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)</td></tr>
<tr><td></td><td>java.lang.Thread.run(Thread.java:595)</td></tr>
<tr><td></td><td> </td></tr>
<tr><td><b>Server</b>:</td><td>Alfresco Labs v3.0.0 (Stable 1526) schema 1,002</td></tr>
<tr><td><b>Time</b>:</td><td>Jul 14, 2009 6:52:55 AM</td></tr>
<tr><td></td><td> </td></tr>
</table>
</div>
</body>
</html>
at com.rivetlogic.core.cma.rest.impl.RestExecuterImpl.processResponse(RestExecuterImpl.java:389)
at com.rivetlogic.core.cma.rest.impl.RestExecuterImpl.processResponse(RestExecuterImpl.java:324)
at com.rivetlogic.core.cma.rest.impl.RestExecuterImpl.execute(RestExecuterImpl.java:142)
at com.rivetlogic.core.cma.rest.impl.RestExecuterImpl.execute(RestExecuterImpl.java:124)
at com.rivetlogic.core.cma.impl.AuthenticationServiceImpl.authenticate(AuthenticationServiceImpl.java:113)
… 1 more
07-14-2009 09:46 AM
07-15-2009 01:48 AM
07-15-2009 02:46 AM
07-15-2009 08:33 AM
07-15-2009 09:08 AM
07-15-2009 10:10 AM
07-16-2009 01:55 AM
You can get around this by storing the ticket somewhere and setting it before making calls.I get the ticket by below LOC.
1. Does the SOAP API provide you all the coverage you need? In other words, does it have all the method calls you need to get your work done?All the basic apis have been covered.Does rivet api offer more functionality coverage.If yes, which are those that are not available in SOP api.
2. Is it fast enough (I can tell you that in my experience it hasn't been fast enough for certain apps)
07-16-2009 10:16 AM
How do i set it before making calls.I don't recall off the top of my head. I would read through the AuthenticationUtils code to see which ThreadLocal it puts it in and do the same thing.
Does rivet api offer more functionality coverage.Yes it does. I would suggest reading through both APIs to get a feel for the difference.
And do you mean that rivet apis are faster as compared to SOAP apis?Yes they are.
08-06-2009 02:51 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.