Alfresco Wordpress Integration Problem
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2008 07:39 AM
Hello friends.
I'm new in Alfesco… I was assigned to evaluate it in my company.
I have installed Alfresco Labs 3b and I have tried to integrate it with wordpress. For the integration, I have executed the apply_amps.bat.
When the tomcat start up, it throws the following exception:
…
org.springframework.beans.TypeMismatchException: Failed to convert property value of type [org.alfresco.module.blogIntegration.BlogIntegrationServiceImpl] to required type [org.alfresco.repo.blogIntegration.BlogIntegrationService] for property 'blogIntegrationService'; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [org.alfresco.module.blogIntegration.BlogIntegrationServiceImpl] to required type [org.alfresco.repo.blogIntegration.BlogIntegrationService] for property 'blogIntegrationService': no matching editors or conversion strategy found
Caused by: java.lang.IllegalArgumentException: Cannot convert value of type [org.alfresco.module.blogIntegration.BlogIntegrationServiceImpl] to required type [org.alfresco.repo.blogIntegration.BlogIntegrationService] for property 'blogIntegrationService': no matching editors or conversion strategy found
at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:231)
…
I think that the problem is in Spring configaration files.
There are duplicates beans definitions. In the alfresco\WEB-INF\classes\alfresco\blog-context.xml appears the following beans definitions:
<bean id="blog-post" class="org.alfresco.repo.action.executer.BlogAction" parent="action-executer">
<property name="nodeService">
<ref bean="nodeService" />
</property>
<property name="dictionaryService">
<ref bean="dictionaryService" />
</property>
<property name="blogIntegrationService">
<ref bean="blogIntegrationService" />
</property>
</bean>
<bean id="BlogIntegrationService" class="org.springframework.aop.framework.ProxyFactoryBean">
<property name="proxyInterfaces">
<value>org.alfresco.repo.blogIntegration.BlogIntegrationService</value>
</property>
<property name="target">
<ref bean="blogIntegrationService"/>
</property>
<property name="interceptorNames">
<list>
<idref local="BlogIntegrationService_transaction"/>
<idref bean="AuditMethodInterceptor"/>
<idref bean="exceptionTranslator"/>
<idref local="BlogIntegrationService_security"/>
</list>
</property>
</bean>
<bean id="blogIntegrationService" class="org.alfresco.repo.blogIntegration.BlogIntegrationServiceImpl">
<property name="nodeService" ref="NodeService"/>
<property name="contentService" ref="ContentService"/>
</bean>
…
and in the \WEB-INF\classes\alfresco\module\org.alfresco.module.blogIntegration\module-context.xml appears:
<bean id="BlogIntegrationService" class="org.springframework.aop.framework.ProxyFactoryBean">
<property name="proxyInterfaces">
<value>org.alfresco.module.blogIntegration.BlogIntegrationService</value>
</property>
<property name="target">
<ref bean="blogIntegrationService"/>
</property>
<property name="interceptorNames">
<list>
<idref local="BlogIntegrationService_transaction"/>
<idref bean="AuditMethodInterceptor"/>
<idref bean="exceptionTranslator"/>
<idref local="BlogIntegrationService_security"/>
</list>
</property>
</bean>
<bean id="blogIntegrationService" class="org.alfresco.module.blogIntegration.BlogIntegrationServiceImpl">
<property name="nodeService" ref="NodeService"/>
<property name="contentService" ref="ContentService"/>
</bean>
Obviously, the type of the beans aren`t the same.
I don`t know how I can resolve this problem.
Anyone might help my?
Thanks.-
Martín
I'm new in Alfesco… I was assigned to evaluate it in my company.
I have installed Alfresco Labs 3b and I have tried to integrate it with wordpress. For the integration, I have executed the apply_amps.bat.
When the tomcat start up, it throws the following exception:
…
org.springframework.beans.TypeMismatchException: Failed to convert property value of type [org.alfresco.module.blogIntegration.BlogIntegrationServiceImpl] to required type [org.alfresco.repo.blogIntegration.BlogIntegrationService] for property 'blogIntegrationService'; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [org.alfresco.module.blogIntegration.BlogIntegrationServiceImpl] to required type [org.alfresco.repo.blogIntegration.BlogIntegrationService] for property 'blogIntegrationService': no matching editors or conversion strategy found
Caused by: java.lang.IllegalArgumentException: Cannot convert value of type [org.alfresco.module.blogIntegration.BlogIntegrationServiceImpl] to required type [org.alfresco.repo.blogIntegration.BlogIntegrationService] for property 'blogIntegrationService': no matching editors or conversion strategy found
at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:231)
…
I think that the problem is in Spring configaration files.
There are duplicates beans definitions. In the alfresco\WEB-INF\classes\alfresco\blog-context.xml appears the following beans definitions:
<bean id="blog-post" class="org.alfresco.repo.action.executer.BlogAction" parent="action-executer">
<property name="nodeService">
<ref bean="nodeService" />
</property>
<property name="dictionaryService">
<ref bean="dictionaryService" />
</property>
<property name="blogIntegrationService">
<ref bean="blogIntegrationService" />
</property>
</bean>
<bean id="BlogIntegrationService" class="org.springframework.aop.framework.ProxyFactoryBean">
<property name="proxyInterfaces">
<value>org.alfresco.repo.blogIntegration.BlogIntegrationService</value>
</property>
<property name="target">
<ref bean="blogIntegrationService"/>
</property>
<property name="interceptorNames">
<list>
<idref local="BlogIntegrationService_transaction"/>
<idref bean="AuditMethodInterceptor"/>
<idref bean="exceptionTranslator"/>
<idref local="BlogIntegrationService_security"/>
</list>
</property>
</bean>
<bean id="blogIntegrationService" class="org.alfresco.repo.blogIntegration.BlogIntegrationServiceImpl">
<property name="nodeService" ref="NodeService"/>
<property name="contentService" ref="ContentService"/>
</bean>
…
and in the \WEB-INF\classes\alfresco\module\org.alfresco.module.blogIntegration\module-context.xml appears:
<bean id="BlogIntegrationService" class="org.springframework.aop.framework.ProxyFactoryBean">
<property name="proxyInterfaces">
<value>org.alfresco.module.blogIntegration.BlogIntegrationService</value>
</property>
<property name="target">
<ref bean="blogIntegrationService"/>
</property>
<property name="interceptorNames">
<list>
<idref local="BlogIntegrationService_transaction"/>
<idref bean="AuditMethodInterceptor"/>
<idref bean="exceptionTranslator"/>
<idref local="BlogIntegrationService_security"/>
</list>
</property>
</bean>
<bean id="blogIntegrationService" class="org.alfresco.module.blogIntegration.BlogIntegrationServiceImpl">
<property name="nodeService" ref="NodeService"/>
<property name="contentService" ref="ContentService"/>
</bean>
Obviously, the type of the beans aren`t the same.
I don`t know how I can resolve this problem.
Anyone might help my?
Thanks.-
Martín
Labels:
- Labels:
-
Archive
4 REPLIES 4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2008 08:01 AM
Revert back to your original WAR (before you apply the blog amp) - it's now built-in to the WAR, so you don't need to add it as a separate module.
Mike
Mike
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2008 08:42 AM
Thaks Mike.
I have revert back to my original WAR, but the option to add blog details not appear in the action menu.
Can you help me with this?
Thanks again.
Martín.-
I have revert back to my original WAR, but the option to add blog details not appear in the action menu.
Can you help me with this?
Thanks again.
Martín.-

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2008 08:47 AM
Hi Martin, I have the same problem. I can´t see the menu option.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2008 09:15 AM
Blog posting is now achieved via the Alfresco Share web client - the support in V2.9 was a preview of the V3.0 functionality.
Mike
Mike
