Похожая проблема.
После обновления alvex-2013.01-ce-jars до alvex-2013.05-ce-jars очистился перечень доступных бизнес процессов.
В catalina.out:
ERROR [extensions.webscripts.AbstractRuntime] [http-apr-8080-exec-9] Exception from executeScript - redirecting to status template error: 05110009 Wrapped Exception (with status template): Namespace prefix alvexbcsat is not mapped to a namespace URI
А на что сейчас ругается как я понял что то не так с файлом web-client-config-custom
2013-06-10 18:59:04,821 ERROR [extensions.config.BaseConfigService] [localhost-startStop-1] Input stream invalid - skipped for source: classpath:alfresco/extension/web-client-config-custom.xml'
org.springframework.extensions.config.ConfigException: 05100001 Failed to parse config stream
at org.springframework.extensions.config.xml.XMLConfigService.parse(XMLConfigService.java:224)
at org.springframework.extensions.config.BaseConfigService.appendConfig(BaseConfigService.java:268)
at org.springframework.extensions.config.BaseConfigService.parse(BaseConfigService.java:298)
at org.springframework.extensions.config.xml.XMLConfigService.initConfig(XMLConfigService.java:132)
at org.alfresco.repo.config.xml.RepoXMLConfigService.access$001(RepoXMLConfigService.java:53)
at org.alfresco.repo.config.xml.RepoXMLConfigService$1.execute(RepoXMLConfigService.java:133)
at org.alfresco.repo.config.xml.RepoXMLConfigService$1.execute(RepoXMLConfigService.java:127)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:433)
at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:323)
at org.alfresco.repo.config.xml.RepoXMLConfigService.initRepoConfig(RepoXMLConfigService.java:125)
at org.alfresco.repo.config.xml.RepoXMLConfigService.resetRepoConfig(RepoXMLConfigService.java:195)
at org.alfresco.repo.config.xml.RepoXMLConfigService.initConfig(RepoXMLConfigService.java:109)
at org.alfresco.repo.config.xml.RepoXMLConfigService$2.doWork(RepoXMLConfigService.java:241)
at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:529)
at org.alfresco.repo.config.xml.RepoXMLConfigService.onBootstrap(RepoXMLConfigService.java:237)
at org.springframework.extensions.surf.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:56)
at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEventInternal(SafeApplicationEventMulticaster.java:209)
at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEvent(SafeApplicationEventMulticaster.java:180)
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:303)
at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:911)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:428)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:63)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4791)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:963)
at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1600)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Caused by: org.dom4j.DocumentException: Error on line 10 of document : Invalid byte 2 of 2-byte UTF-8 sequence. Nested exception: Invalid byte 2 of 2-byte UTF-8 sequence.
at org.dom4j.io.SAXReader.read(SAXReader.java:482)
at org.dom4j.io.SAXReader.read(SAXReader.java:343)
at org.springframework.extensions.config.xml.XMLConfigService.parse(XMLConfigService.java:212)
... 38 more
2013-06-10 18:59:27,288 INFO [extensions.webscripts.TemplateProcessorRegistry] [localhost-startStop-1] Registered template processor freemarker for extension ftl
2013-06-10 18:59:27,425 INFO [extensions.webscripts.ScriptProcessorRegistry] [localhost-startStop-1] Registered script processor javascript for extension js
2013-06-10 18:59:27,426 INFO [extensions.webscripts.TemplateProcessorRegistry] [localhost-startStop-1] Registered template processor freemarker for extension ftl
2013-06-10 18:59:27,431 INFO [extensions.webscripts.ScriptProcessorRegistry] [localhost-startStop-1] Registered script processor javascript for extension js
2013-06-10 18:59:32,479 INFO [extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 342 Web Scripts (+0 failed), 355 URLs
2013-06-10 18:59:32,479 INFO [extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 8 Package Description Documents (+0 failed)
2013-06-10 18:59:32,479 INFO [extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 0 Schema Description Documents (+0 failed)
2013-06-10 18:59:32,710 INFO [extensions.webscripts.AbstractRuntimeContainer] [localhost-startStop-1] Initialised Spring Surf Container Web Script Container (in 5270.954ms)
2013-06-10 18:59:32,718 INFO [extensions.webscripts.TemplateProcessorRegistry] [localhost-startStop-1] Registered template processor freemarker for extension ftl
2013-06-10 18:59:32,725 INFO [extensions.webscripts.ScriptProcessorRegistry] [localhost-startStop-1] Registered script processor javascript for extension js
2013-06-10 18:59:34,602 INFO [web.site.EditionInterceptor] [http-apr-8080-exec-9] Successfully retrieved license information from Alfresco.
2013-06-10 18:59:47,464 INFO [web.scripts.ImapServerStatus] [http-apr-8080-exec-6] Successfully retrieved IMAP server status from Alfresco: disabled
У Вас неправильный XML. Судя по alfresco-config - это или share-config-custom.xml, или же web-client-config-custom.xml
Как Вы уже увидели, практически все файлы процесса - модели, описания процессов, описание интерфейсов и клиентов - это XML-ки. Соответственно, все элементы и атрибуты должны писаться правильно и закрываться в правильном месте.
Я Вам посоветую следующее: править файлы процесса в редакторах, которые имеют встроенные парсеры. К примеру, я использую jEdit с установленным на него XML-плаггином. В нем очень легко олавливать ошибки xml-ого синтаксиса
Переставил альфреску и получил вот такую вот ошибку..... когда в консоли пытаюсь задеплойдь в самой альфреске пишет.
org.alfresco.error.AlfrescoRuntimeException: 05100162 Exception in Transaction
Caused by: org.dom4j.DocumentException: Error on line 178 of document : The element type "alfresco-config" must be terminated by the matching end-tag "". Nested exception: The element type "alfresco-config" must be terminated by the matching end-tag "".
at org.dom4j.io.SAXReader.read(SAXReader.java:482)
at org.dom4j.io.SAXReader.read(SAXReader.java:343)
at org.springframework.extensions.config.xml.XMLConfigService.parse(XMLConfigService.java:212)
Похожая проблема.
После обновления alvex-2013.01-ce-jars до alvex-2013.05-ce-jars очистился перечень доступных бизнес процессов.
В catalina.out:
2013-06-10 18:59:04,821 ERROR [extensions.config.BaseConfigService] [localhost-startStop-1] Input stream invalid - skipped for source: classpath:alfresco/extension/web-client-config-custom.xml' org.springframework.extensions.config.ConfigException: 05100001 Failed to parse config stream at org.springframework.extensions.config.xml.XMLConfigService.parse(XMLConfigService.java:224) at org.springframework.extensions.config.BaseConfigService.appendConfig(BaseConfigService.java:268) at org.springframework.extensions.config.BaseConfigService.parse(BaseConfigService.java:298) at org.springframework.extensions.config.xml.XMLConfigService.initConfig(XMLConfigService.java:132) at org.alfresco.repo.config.xml.RepoXMLConfigService.access$001(RepoXMLConfigService.java:53) at org.alfresco.repo.config.xml.RepoXMLConfigService$1.execute(RepoXMLConfigService.java:133) at org.alfresco.repo.config.xml.RepoXMLConfigService$1.execute(RepoXMLConfigService.java:127) at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:433) at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:323) at org.alfresco.repo.config.xml.RepoXMLConfigService.initRepoConfig(RepoXMLConfigService.java:125) at org.alfresco.repo.config.xml.RepoXMLConfigService.resetRepoConfig(RepoXMLConfigService.java:195) at org.alfresco.repo.config.xml.RepoXMLConfigService.initConfig(RepoXMLConfigService.java:109) at org.alfresco.repo.config.xml.RepoXMLConfigService$2.doWork(RepoXMLConfigService.java:241) at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:529) at org.alfresco.repo.config.xml.RepoXMLConfigService.onBootstrap(RepoXMLConfigService.java:237) at org.springframework.extensions.surf.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:56) at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEventInternal(SafeApplicationEventMulticaster.java:209) at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEvent(SafeApplicationEventMulticaster.java:180) at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:303) at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:911) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:428) at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47) at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:63) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4791) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:963) at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1600) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) Caused by: org.dom4j.DocumentException: Error on line 10 of document : Invalid byte 2 of 2-byte UTF-8 sequence. Nested exception: Invalid byte 2 of 2-byte UTF-8 sequence. at org.dom4j.io.SAXReader.read(SAXReader.java:482) at org.dom4j.io.SAXReader.read(SAXReader.java:343) at org.springframework.extensions.config.xml.XMLConfigService.parse(XMLConfigService.java:212) ... 38 more 2013-06-10 18:59:27,288 INFO [extensions.webscripts.TemplateProcessorRegistry] [localhost-startStop-1] Registered template processor freemarker for extension ftl 2013-06-10 18:59:27,425 INFO [extensions.webscripts.ScriptProcessorRegistry] [localhost-startStop-1] Registered script processor javascript for extension js 2013-06-10 18:59:27,426 INFO [extensions.webscripts.TemplateProcessorRegistry] [localhost-startStop-1] Registered template processor freemarker for extension ftl 2013-06-10 18:59:27,431 INFO [extensions.webscripts.ScriptProcessorRegistry] [localhost-startStop-1] Registered script processor javascript for extension js 2013-06-10 18:59:32,479 INFO [extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 342 Web Scripts (+0 failed), 355 URLs 2013-06-10 18:59:32,479 INFO [extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 8 Package Description Documents (+0 failed) 2013-06-10 18:59:32,479 INFO [extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 0 Schema Description Documents (+0 failed) 2013-06-10 18:59:32,710 INFO [extensions.webscripts.AbstractRuntimeContainer] [localhost-startStop-1] Initialised Spring Surf Container Web Script Container (in 5270.954ms) 2013-06-10 18:59:32,718 INFO [extensions.webscripts.TemplateProcessorRegistry] [localhost-startStop-1] Registered template processor freemarker for extension ftl 2013-06-10 18:59:32,725 INFO [extensions.webscripts.ScriptProcessorRegistry] [localhost-startStop-1] Registered script processor javascript for extension js 2013-06-10 18:59:34,602 INFO [web.site.EditionInterceptor] [http-apr-8080-exec-9] Successfully retrieved license information from Alfresco. 2013-06-10 18:59:47,464 INFO [web.scripts.ImapServerStatus] [http-apr-8080-exec-6] Successfully retrieved IMAP server status from Alfresco: disabled
а то уже собрался обновлять:))
С Уважением Николай
Как Вы уже увидели, практически все файлы процесса - модели, описания процессов, описание интерфейсов и клиентов - это XML-ки. Соответственно, все элементы и атрибуты должны писаться правильно и закрываться в правильном месте.
Я Вам посоветую следующее: править файлы процесса в редакторах, которые имеют встроенные парсеры. К примеру, я использую jEdit с установленным на него XML-плаггином. В нем очень легко олавливать ошибки xml-ого синтаксиса
org.alfresco.error.AlfrescoRuntimeException: 05100162 Exception in Transaction
Caused by: org.dom4j.DocumentException: Error on line 178 of document : The element type "alfresco-config" must be terminated by the matching end-tag "". Nested exception: The element type "alfresco-config" must be terminated by the matching end-tag "". at org.dom4j.io.SAXReader.read(SAXReader.java:482) at org.dom4j.io.SAXReader.read(SAXReader.java:343) at org.springframework.extensions.config.xml.XMLConfigService.parse(XMLConfigService.java:212)