chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Krishna Penugonda (JIRA)" <>
Subject [jira] [Commented] (CMIS-419) Issue with Enabling Spring configurations
Date Tue, 16 Aug 2011 19:24:27 GMT


Krishna Penugonda commented on CMIS-419:

This application is a CMIS server. Our CMIS server will internally be talking to FileNet repository
and more propertiery repository. For propietry repository we have EJB integration layer and
in order to comuunicate to this EJB layer CMIS server needs to be spring enabled. We are trying
to make the CMIS server to be completely spring enabled.

> Issue with Enabling Spring configurations
> -----------------------------------------
>                 Key: CMIS-419
>                 URL:
>             Project: Chemistry
>          Issue Type: Bug
>          Components: opencmis-server
>    Affects Versions: OpenCMIS 0.4.0
>         Environment: Linux 
> Websphere 7.0
> JRE1.6
> Spring 2.5.5
>            Reporter: Krishna Penugonda
>            Priority: Critical
>             Fix For: OpenCMIS 0.4.0
> We are using the OpenCmis framework code to talk to FileNet repository. The code is spring
enabled to load the resources (FileNet repository information) using CMIS Service Factory
Bean. Below are the configurations done in the web.xml file and service XML.
> Web.xml
>         <context-param> 
> 	<param-name>contextConfigLocation</param-name>
> 	<param-value>/WEB-INF/CmisService.xml </param-value>
> 	</context-param> <listener>
> 	<description>ContextLoaderListener</description>
> 	<display-name>ContextLoaderListener</display-name>
> 	<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
> 	</listener>
> service.xml
> beans xmlns="" xmlns:xsi=""
xmlns:p="" xsi:schemaLocation="">
> - <!--  DBConnect 
>   --> 
> + <bean id="CmisLifecycleBean" class="com.thrivent.cmis.server.impl.CmisLifecycleBean">
>   <property name="cmisServiceFactory" ref="CmisServiceFactory" /> 
>   </bean>
>   <bean id="CmisServiceFactory" class="x.y.z.XYZServiceFactory" /> 
>   </beans>
> Here the CmisLifecycleBean is implementing the classes ServletContextAware,InitializingBean,
DisposableBean.that inturn is using the CmisServiceFactory class to load the resources. There
are no errors in the logs, however the resources are not loaded during startup. However, incase
the code is not spring enabled (commented out the web.xml portion specified above) the resources
are getting loaded successfully using the below listener.
> <listener>
> 	<listener-class>
> 	org.apache.chemistry.opencmis.server.impl.CmisRepositoryContextListener</listener-class>
> </listener>
> In case the code is not Spring enabled the results are succefully returned from Filenet
as the resources are cached properly during startup. Not sure what we are missing to make
the code spring enabled and have the resources loaded successfully using CMIS. Please help
and suggest.
> Thanks in advance,
> Krishna

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message