12-07-2016 02:53 AM
I have followed this tutorial .
Working With Custom Content Types in Alfresco | ECMArchitect | Alfresco Developer Tutorials
I am done with the both part. But there is no options like "SomeCo" in Create Rule Folder.
I don't know what i have done the wrong . but , while applying
mvn integration-test -Pamp-to-war to Project of Share... i get some errors ... The StackTrace is somethign like this...
2016-12-07 13:04:06,656 ERROR [extensions.config.BaseConfigService] [localhost-startStop-1] Input stream invalid - skipped for source: jar:file:/D:/Jeet_1082882/tuts/con
org.springframework.extensions.config.ConfigException: 11070000 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.springframework.extensions.config.BaseConfigService.init(BaseConfigService.java:95)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1640)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1581)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1511)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:521)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:636)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:934)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:410)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.dom4j.DocumentException: Error on line 7 of document : The markup in the document following the root element must be well-formed. Nested exception: The ma
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)
... 32 more
2016-12-07 13:04:14,392 INFO [config.packaging.ModulePackageManager] [localhost-startStop-1] Found 2 module package(s)
2016-12-07 13:04:14,392 INFO [config.packaging.ModulePackageManager] [localhost-startStop-1] content-tutorial-share AMP project, 1.0-SNAPSHOT, Manages the lifecycle of
content-tutorial-share AMP project, 1.0-SNAPSHOT, Manages the lifecycle of the content-tutorial-share AMP (Alfresco Module Package)2016-12-07 13:04:16,888 INFO [extensions.webscripts.TemplateProcessorRegistry] [localhost-startStop-1] Registered template processor freemarker for extension ftl
2016-12-07 13:04:16,904 INFO [extensions.webscripts.ScriptProcessorRegistry] [localhost-startStop-1] Registered script processor javascript for extension js
2016-12-07 13:04:16,920 INFO [extensions.webscripts.TemplateProcessorRegistry] [localhost-startStop-1] Registered template processor freemarker for extension ftl
2016-12-07 13:04:16,920 INFO [extensions.webscripts.ScriptProcessorRegistry] [localhost-startStop-1] Registered script processor javascript for extension js
2016-12-07 13:04:27,047 INFO [extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 383 Web Scripts (+0 failed), 401 URLs
2016-12-07 13:04:27,063 INFO [extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 8 Package Description Documents (+0 failed)
2016-12-07 13:04:27,063 INFO [extensions.webscripts.DeclarativeRegistry] [localhost-startStop-1] Registered 0 Schema Description Documents (+0 failed)
2016-12-07 13:04:27,219 ERROR [extensions.config.BaseConfigService] [localhost-startStop-1] Input stream invalid - skipped for source: jar:file:/D:/Jeet_1082882/tuts/con
org.springframework.extensions.config.ConfigException: 11070001 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.springframework.extensions.config.BaseConfigService.reset(BaseConfigService.java:145)
at org.springframework.extensions.webscripts.AbstractRuntimeContainer.reset(AbstractRuntimeContainer.java:260)
at org.springframework.extensions.webscripts.PresentationContainer.reset(PresentationContainer.java:121)
at org.springframework.extensions.webscripts.LocalWebScriptRuntimeContainer.reset(LocalWebScriptRuntimeContainer.java:121)
at org.springframework.extensions.webscripts.AbstractRuntimeContainer.onApplicationEvent(AbstractRuntimeContainer.java:280)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:96)
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:334)
at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:950)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482)
at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:410)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.dom4j.DocumentException: Error on line 7 of document : The markup in the document following the root element must be well-formed. Nested exception: The ma
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)
... 24 more
2016-12-07 13:04:27,328 INFO [extensions.webscripts.AbstractRuntimeContainer] [localhost-startStop-1] Initialised Spring Surf Container Web Script Container (in 10355.4
2016-12-07 13:04:27,328 INFO [extensions.webscripts.TemplateProcessorRegistry] [localhost-startStop-1] Registered template processor freemarker for extension ftl
2016-12-07 13:04:27,343 INFO [extensions.webscripts.ScriptProcessorRegistry] [localhost-startStop-1] Registered script processor javascript for extension js
2016-12-07 13:04:27,983 WARN [shared_impl.util.LocaleUtils] [localhost-startStop-1] Locale name in faces-config.xml null or empty, setting locale to default locale : en
Dec 07, 2016 1:04:28 PM org.apache.catalina.core.ApplicationContext log
INFO: org.tuckey.web.filters.urlrewrite.UrlRewriteFilter INFO: loaded (conf ok)
Dec 07, 2016 1:04:28 PM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring FrameworkServlet 'Spring Surf Dispatcher Servlet'
Dec 07, 2016 1:04:28 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8081"]
2016-12-07 13:04:57,408 INFO [web.site.EditionInterceptor] [http-bio-8081-exec-8] Successfully retrieved license information from Alfresco.
2016-12-07 13:05:18,592 INFO [web.scripts.ImapServerStatus] [http-bio-8081-exec-8] Successfully retrieved IMAP server status from Alfresco: disabled
2016-12-07 13:12:06,918 INFO [web.scripts.DictionaryQuery] [http-bio-8081-exec-6] Successfully retrieved Data Dictionary from Alfresco.
I don't know what's the problem.
Sorry for the doubt , but this is my fourth day with Alfresco. and i don't understand what is the error. ?
Thanks in advance.
12-07-2016 01:35 PM
It seems your share-config-custom.xml file is well-formed.Maybe there are some illegal characters in it,please check it.
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.