我正在尝试在Alfresco社区上创建一个自定义的webscript。我遵循这个教程:。
开始的时候一切都很好。当我导航到
localhost:8080/alfresco/service/
然后点击“刷新网页脚本”,我的新网页脚本已注册。
但现在当我导航到
localhost:8080/alfresco/service/dir/Company%20Home
我得到以下消息:
The Web Script /alfresco/service/dir/Company Home has responded with a status of 404 - Not Found.
404 Descript
我一直在尝试学习本教程中有关Alfresco自定义内容类型的内容
。
但是,当我进入“测试您的更改”步骤并开始管理规则时,我无法在下拉列表中获得创建的自定义类型(sc_doc和sc_whitepaper)。
我的share-config-custom.xml:
<!-- Share configuration related to this particular Share module extension, such as:
- Doclib action config
- Form config
- Aspect and Type config
我不明白为什么我可以作为管理员进行搜索,而用户却不能。请查看以下以普通用户身份进行搜索时生成的错误堆栈。
05:57:00,784 ERROR [extensions.webscripts.AbstractRuntime] Exception from executeScript - redirecting to status template error: 08210015 Wrapped Exception (with status template): 08210835 Failed to execute script 'classpath*:alfresco/template
为了将数据库PostgreSQL与alfresco分开,我执行了以下步骤,但失败了:
1. step1 :在Linux 173.16.6.61中安装PostgreSQL 9.4
与所有者创建数据库:
CREATE USER alfresco WITH PASSWORD 'admin';
CREATE DATABASE alfresco WITH OWNER alfresco;
GRANT ALL PRIVILEGES ON DATABASE alfresco TO alfresco;
2. step2 :在Linux上安装173.16.6.66,使用无PostgreSQL的Al
只需安装一个全新的alfresco,共享应用程序就可以启动,但alfresco repo不能启动。我在BE中得到以下错误:
PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class org.alfresco.web.app.ContextLoaderListener
org.alfresco.error.AlfrescoRuntimeException: 02080001 K