<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Error 500 aleatorio al llamar un webscript in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/error-500-aleatorio-al-llamar-un-webscript/m-p/197822#M150952</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;buenos días a todos.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Estoy desarrollando un webscript sencillo para listar los documentos de una carpeta de alfresco, y a veces me funciona, a veces no.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;El xml es el siguiente:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;webscript&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;shortname&amp;gt;llistat2&amp;lt;/shortname&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;description&amp;gt;llistat de documents en html d'un espai d'alfresco&amp;lt;/description&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;url&amp;gt;/sample/llistat2?nombre={nom}&amp;lt;/url&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;transaction allow="readonly"&amp;gt;required&amp;lt;/transaction&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;authentication&amp;gt;user&amp;lt;/authentication&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/webscript&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Y el error que sale a veces es&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The Web Script /alfresco/wcs/sample/llistat2 has responded with a status of 500 - Internal Error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;500 Description:&amp;nbsp;&amp;nbsp;&amp;nbsp; An error inside the HTTP server which prevented it from fulfilling the request.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Message:&amp;nbsp;&amp;nbsp;&amp;nbsp;Wrapped Exception (with status template): A valid SecureContext was not provided in the RequestContext&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Exception:&amp;nbsp;&amp;nbsp;&amp;nbsp;net.sf.acegisecurity.AuthenticationCredentialsNotFoundException - A valid SecureContext was not provided in the RequestContext&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;net.sf.acegisecurity.intercept.AbstractSecurityInterceptor.credentialsNotFound(AbstractSecurityInterceptor.java:477)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;net.sf.acegisecurity.intercept.AbstractSecurityInterceptor.beforeInvocation(AbstractSecurityInterceptor.java:355)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:77)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:49)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.alfresco.repo.audit.AuditComponentImpl.audit(AuditComponentImpl.java:275)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:69)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:166)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;$Proxy20.hasPermission(Unknown Source)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.alfresco.service.cmr.repository.Path.toDisplayPath(Path.java:211)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.alfresco.repo.web.scripts.RepoStore.getPath(RepoStore.java:293)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.alfresco.repo.web.scripts.RepoStore.getBaseDir(RepoStore.java:258)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.alfresco.repo.web.scripts.RepoStore.access$000(RepoStore.java:77)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.alfresco.repo.web.scripts.RepoStore$RepoScriptContent.getPathDescription(RepoStore.java:947)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.alfresco.repo.web.scripts.RepositoryScriptProcessor$RepositoryScriptLocation.toString(RepositoryScriptProcessor.java:185)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.alfresco.repo.processor.ScriptServiceImpl.executeScript(ScriptServiceImpl.java:247)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.alfresco.repo.web.scripts.RepositoryScriptProcessor.executeScript(RepositoryScriptProcessor.java:108)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.alfresco.web.scripts.AbstractWebScript.executeScript(AbstractWebScript.java:790)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.alfresco.web.scripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:90)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.alfresco.repo.web.scripts.RepositoryContainer$1.execute(RepositoryContainer.java:311)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:320)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:227)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:360)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:382)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:264)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.alfresco.web.scripts.AbstractRuntime.executeScript(AbstractRuntime.java:260)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.alfresco.web.scripts.AbstractRuntime.executeScript(AbstractRuntime.java:139)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.alfresco.web.scripts.servlet.WebScriptServlet.service(WebScriptServlet.java:116)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;javax.servlet.http.HttpServlet.service(HttpServlet.java:717)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.alfresco.web.app.servlet.MTWebScriptAuthenticationFilter.doFilter(MTWebScriptAuthenticationFilter.java:102)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:419)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.apache.coyote.ajp.AjpAprProtocol$AjpConnectionHandler.process(AjpAprProtocol.java:378)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1509)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;java.lang.Thread.run(Thread.java:619)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Exception:&amp;nbsp;&amp;nbsp;&amp;nbsp;org.alfresco.web.scripts.WebScriptException - Wrapped Exception (with status template): A valid SecureContext was not provided in the RequestContext&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.alfresco.web.scripts.AbstractWebScript.createStatusException(AbstractWebScript.java:594)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Server:&amp;nbsp;&amp;nbsp;&amp;nbsp;Alfresco Enterprise v3.0.0 (r11498) schema 501&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Time:&amp;nbsp;&amp;nbsp;&amp;nbsp;15/07/2014 08:04:01&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;La versión de Alfresco es: Enterprise - v3.0.0 (r11498)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A alguien le pasa o sabe cómo puedo arreglarlo?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Muchas gracias&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Jul 2014 06:24:32 GMT</pubDate>
    <dc:creator>mapeav</dc:creator>
    <dc:date>2014-07-15T06:24:32Z</dc:date>
    <item>
      <title>Error 500 aleatorio al llamar un webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-500-aleatorio-al-llamar-un-webscript/m-p/197822#M150952</link>
      <description>buenos días a todos.Estoy desarrollando un webscript sencillo para listar los documentos de una carpeta de alfresco, y a veces me funciona, a veces no.El xml es el siguiente:&amp;lt;webscript&amp;gt;&amp;lt;shortname&amp;gt;llistat2&amp;lt;/shortname&amp;gt;&amp;lt;description&amp;gt;llistat de documents en html d'un espai d'alfre</description>
      <pubDate>Tue, 15 Jul 2014 06:24:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-500-aleatorio-al-llamar-un-webscript/m-p/197822#M150952</guid>
      <dc:creator>mapeav</dc:creator>
      <dc:date>2014-07-15T06:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: Error 500 aleatorio al llamar un webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-500-aleatorio-al-llamar-un-webscript/m-p/197823#M150953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hola mapeav,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Parece que es un problema de autenticación, puedes pegarnos el contenido del desc.xml del webscript?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Un saludo!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2014 08:32:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-500-aleatorio-al-llamar-un-webscript/m-p/197823#M150953</guid>
      <dc:creator>cybermakoki</dc:creator>
      <dc:date>2014-07-16T08:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: Error 500 aleatorio al llamar un webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-500-aleatorio-al-llamar-un-webscript/m-p/197824#M150954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sí claro,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;webscript&amp;gt;&lt;BR /&gt;&amp;lt;shortname&amp;gt;llistat2&amp;lt;/shortname&amp;gt;&lt;BR /&gt;&amp;lt;description&amp;gt;llistat de documents en html d'un espai d'alfresco&amp;lt;/description&amp;gt;&lt;BR /&gt;&amp;lt;url&amp;gt;/sample/llistat2?nombre={nom}&amp;lt;/url&amp;gt;&lt;BR /&gt;&amp;lt;transaction allow="readonly"&amp;gt;required&amp;lt;/transaction&amp;gt;&lt;BR /&gt;&amp;lt;authentication&amp;gt;user&amp;lt;/authentication&amp;gt;&lt;BR /&gt;&amp;lt;/webscript&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Lo que no entiendo es que a veces funcione, y a veces no, simplemente recargando la página&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2014 11:10:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-500-aleatorio-al-llamar-un-webscript/m-p/197824#M150954</guid>
      <dc:creator>mapeav</dc:creator>
      <dc:date>2014-07-16T11:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: Error 500 aleatorio al llamar un webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-500-aleatorio-al-llamar-un-webscript/m-p/197825#M150955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;y el error que pegaste anteriormente es el del catalina.out?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2014 12:48:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-500-aleatorio-al-llamar-un-webscript/m-p/197825#M150955</guid>
      <dc:creator>cybermakoki</dc:creator>
      <dc:date>2014-07-17T12:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: Error 500 aleatorio al llamar un webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-500-aleatorio-al-llamar-un-webscript/m-p/197826#M150956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hola,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;perdona por no contestar antes, pero estaba de vacaciones.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;El error que he puesto sale por pantalla al llamar al webscript.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Aug 2014 06:46:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-500-aleatorio-al-llamar-un-webscript/m-p/197826#M150956</guid>
      <dc:creator>mapeav</dc:creator>
      <dc:date>2014-08-04T06:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: Error 500 aleatorio al llamar un webscript</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-500-aleatorio-al-llamar-un-webscript/m-p/197827#M150957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;He probado con diferentes niveles de authenticación: user, none y guest&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Y con todas pasa lo mismo, a veces funciona y a veces no.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;También he descubierto que si me identifico en alfresco y entro al código del webscript, el webscript funciona un rato, aunque sea llamándolo desde otro navegador, u otro equipo&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2015 08:16:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-500-aleatorio-al-llamar-un-webscript/m-p/197827#M150957</guid>
      <dc:creator>mapeav</dc:creator>
      <dc:date>2015-01-13T08:16:00Z</dc:date>
    </item>
  </channel>
</rss>

