05-09-2011 11:10 AM
http://localhost:8080/alfresco/service/sample/args?8190=toto1&6019=toto2&8630=toto3
Web Script Status 500 - Internal Error
The Web Script /alfresco/service/sample/args has responded with a status of 500 - Internal Error.
500 Description: An error inside the HTTP server which prevented it from fulfilling the request.
Message: 04090241 Wrapped Exception (with status template): 04090323 Failed to execute script '/args.get.js (in repository store workspace://SpacesStore/Espace racine/Dictionnaire de données/Extensions de script Web)': SqlMapClient operation; SQL []; — The error occurred in alfresco/ibatis/#resource.dialect#/permissions-insert-SqlMap.xml. — The error occurred while applying a parameter map. — Check the alfresco.permissions.insert_Authority-InlineParameterMap. — Check the statement (update failed). — Cause: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column 'authority' at row 1; nested exception is com.ibatis.common.jdbc.exception.NestedSQLException: — The error occurred in alfresco/ibatis/#resource.dialect#/permissions-insert-SqlMap.xml. — The error occurred while applying a parameter map. — Check the alfresco.permissions.insert_Authority-InlineParameterMap. — Check the statement (update failed). — Cause: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column 'authority' at row 1
Exception: com.mysql.jdbc.MysqlDataTruncation - Data truncation: Data too long for column 'authority' at row 1
com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3564)
com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3498)
com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1959)
com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2113)
com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2568)
com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2113)
com.mysql.jdbc.PreparedStatement.execute(PreparedStatement.java:1364)
org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:169)
org.apache.commons.dbcp.DelegatingPreparedStatement.execute(DelegatingPreparedStatement.java:169)
com.ibatis.sqlmap.engine.execution.SqlExecutor.executeUpdate(SqlExecutor.java:100)
com.ibatis.sqlmap.engine.mapping.statement.MappedStatement.sqlExecuteUpdate(MappedStatement.java:216)
com.ibatis.sqlmap.engine.mapping.statement.MappedStatement.executeUpdate(MappedStatement.java:94)
com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.insert(SqlMapExecutorDelegate.java:393)
com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.insert(SqlMapSessionImpl.java:82)
org.springframework.orm.ibatis.SqlMapClientTemplate$8.doInSqlMapClient(SqlMapClientTemplate.java:366)
org.springframework.orm.ibatis.SqlMapClientTemplate.execute(SqlMapClientTemplate.java:200)
org.springframework.orm.ibatis.SqlMapClientTemplate.insert(SqlMapClientTemplate.java:364)
org.alfresco.repo.domain.permissions.ibatis.AclCrudDAOImpl.createAuthorityEntity(AclCrudDAOImpl.java:394)
org.alfresco.repo.domain.permissions.AbstractAclCrudDAOImpl$AuthorityEntityCallbackDAO.createValue(AbstractAclCrudDAOImpl.java:948)
org.alfresco.repo.domain.permissions.AbstractAclCrudDAOImpl$AuthorityEntityCallbackDAO.createValue(AbstractAclCrudDAOImpl.java:927)
org.alfresco.repo.cache.lookup.EntityLookupCache.getOrCreateByValue(EntityLookupCache.java:469)
org.alfresco.repo.domain.permissions.AbstractAclCrudDAOImpl.createAuthority(AbstractAclCrudDAOImpl.java:826)
org.alfresco.repo.domain.permissions.AbstractAclCrudDAOImpl.getOrCreateAuthority(AbstractAclCrudDAOImpl.java:883)
org.alfresco.repo.domain.permissions.AclDAOImpl.setAccessControlEntry(AclDAOImpl.java:1218)
org.alfresco.repo.domain.permissions.AbstractPermissionsDaoComponentImpl.setPermission(AbstractPermissionsDaoComponentImpl.java:430)
sun.reflect.GeneratedMethodAccessor668.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
org.alfresco.repo.service.StoreRedirectorProxyFactory$RedirectorInvocationHandler.invoke(StoreRedirectorProxyFactory.java:215)
$Proxy9.setPermission(Unknown Source)
org.alfresco.repo.security.permissions.impl.PermissionServiceImpl.setPermission(PermissionServiceImpl.java:899)
org.alfresco.repo.security.permissions.impl.PermissionServiceImpl.setPermission(PermissionServiceImpl.java:981)
sun.reflect.GeneratedMethodAccessor659.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
$Proxy20.setPermission(Unknown Source)
sun.reflect.GeneratedMethodAccessor659.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:80)
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:44)
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
org.alfresco.repo.audit.AuditMethodInterceptor.proceedWithAudit(AuditMethodInterceptor.java:217)
org.alfresco.repo.audit.AuditMethodInterceptor.proceed(AuditMethodInterceptor.java:184)
org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:137)
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
$Proxy53.setPermission(Unknown Source)
org.alfresco.repo.jscript.ScriptNode.setPermission(ScriptNode.java:1393)
sun.reflect.GeneratedMethodAccessor667.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
org.mozilla.javascript.MemberBox.invoke(MemberBox.java:155)
org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java:243)
org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:76)
org.mozilla.javascript.gen.c261._c0(workspace://SpacesStore/Espace racine/Dictionnaire de données/Extensions de script Web/args.get.js:14)
org.mozilla.javascript.gen.c261.call(workspace://SpacesStore/Espace racine/Dictionnaire de données/Extensions de script Web/args.get.js)
org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:393)
org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2834)
org.mozilla.javascript.gen.c261.call(workspace://SpacesStore/Espace racine/Dictionnaire de données/Extensions de script Web/args.get.js)
org.mozilla.javascript.gen.c261.exec(workspace://SpacesStore/Espace racine/Dictionnaire de données/Extensions de script Web/args.get.js)
org.alfresco.repo.jscript.RhinoScriptProcessor.executeScriptImpl(RhinoScriptProcessor.java:472)
org.alfresco.repo.jscript.RhinoScriptProcessor.execute(RhinoScriptProcessor.java:190)
org.alfresco.repo.processor.ScriptServiceImpl.executeScript(ScriptServiceImpl.java:282)
org.alfresco.repo.web.scripts.RepositoryScriptProcessor.executeScript(RepositoryScriptProcessor.java:102)
org.springframework.extensions.webscripts.AbstractWebScript.executeScript(AbstractWebScript.java:981)
org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:86)
org.alfresco.repo.web.scripts.RepositoryContainer$2.execute(RepositoryContainer.java:383)
org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:381)
org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:436)
org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:466)
org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:304)
org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:333)
org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:189)
org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:118)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:58)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:859)
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579)
org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1555)
java.lang.Thread.run(Thread.java:619)
Exception: com.ibatis.common.jdbc.exception.NestedSQLException - — The error occurred in alfresco/ibatis/#resource.dialect#/permissions-insert-SqlMap.xml. — The error occurred while applying a parameter map. — Check the alfresco.permissions.insert_Authority-InlineParameterMap. — Check the statement (update failed). — Cause: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column 'authority' at row 1
com.ibatis.sqlmap.engine.mapping.statement.MappedStatement.executeUpdate(MappedStatement.java:107)
Exception: org.springframework.dao.DataIntegrityViolationException - SqlMapClient operation; SQL []; — The error occurred in alfresco/ibatis/#resource.dialect#/permissions-insert-SqlMap.xml. — The error occurred while applying a parameter map. — Check the alfresco.permissions.insert_Authority-InlineParameterMap. — Check the statement (update failed). — Cause: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column 'authority' at row 1; nested exception is com.ibatis.common.jdbc.exception.NestedSQLException: — The error occurred in alfresco/ibatis/#resource.dialect#/permissions-insert-SqlMap.xml. — The error occurred while applying a parameter map. — Check the alfresco.permissions.insert_Authority-InlineParameterMap. — Check the statement (update failed). — Cause: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column 'authority' at row 1
org.springframework.jdbc.support.SQLStateSQLExceptionTranslator.doTranslate(SQLStateSQLExceptionTranslator.java:101)
Exception: org.alfresco.scripts.ScriptException - 04090323 Failed to execute script '/args.get.js (in repository store workspace://SpacesStore/Espace racine/Dictionnaire de données/Extensions de script Web)': SqlMapClient operation; SQL []; — The error occurred in alfresco/ibatis/#resource.dialect#/permissions-insert-SqlMap.xml. — The error occurred while applying a parameter map. — Check the alfresco.permissions.insert_Authority-InlineParameterMap. — Check the statement (update failed). — Cause: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column 'authority' at row 1; nested exception is com.ibatis.common.jdbc.exception.NestedSQLException: — The error occurred in alfresco/ibatis/#resource.dialect#/permissions-insert-SqlMap.xml. — The error occurred while applying a parameter map. — Check the alfresco.permissions.insert_Authority-InlineParameterMap. — Check the statement (update failed). — Cause: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column 'authority' at row 1
org.alfresco.repo.jscript.RhinoScriptProcessor.execute(RhinoScriptProcessor.java:194)
Exception: org.springframework.extensions.webscripts.WebScriptException - 04090241 Wrapped Exception (with status template): 04090323 Failed to execute script '/args.get.js (in repository store workspace://SpacesStore/Espace racine/Dictionnaire de données/Extensions de script Web)': SqlMapClient operation; SQL []; — The error occurred in alfresco/ibatis/#resource.dialect#/permissions-insert-SqlMap.xml. — The error occurred while applying a parameter map. — Check the alfresco.permissions.insert_Authority-InlineParameterMap. — Check the statement (update failed). — Cause: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column 'authority' at row 1; nested exception is com.ibatis.common.jdbc.exception.NestedSQLException: — The error occurred in alfresco/ibatis/#resource.dialect#/permissions-insert-SqlMap.xml. — The error occurred while applying a parameter map. — Check the alfresco.permissions.insert_Authority-InlineParameterMap. — Check the statement (update failed). — Cause: com.mysql.jdbc.MysqlDataTruncation: Data truncation: Data too long for column 'authority' at row 1
org.springframework.extensions.webscripts.AbstractWebScript.createStatusException(AbstractWebScript.java:758)
Server: Community v3.4.0 (d 3370) schema 4 113
Time: 9 mai 2011 16:43:25
Diagnostics: Inspect Web Script (args.get)
<webscript>
<shortname>Changer permission</shortname>
<description>Changer permission</description>
<url>/sample/args</url>
<authentication>admin</authentication>
<transaction>required</transaction>
</webscript>
05-11-2011 06:26 AM
<url>/office/searchResults?search={searchString?}&maxresults={maxresults?}</url>
<url>/slingshot/doclib/action/move-to/site/{site}/{container}/{path}</url>
05-11-2011 09:27 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.