Hi, I'm not sure about what's the clan.core.ServicesFactoryBean doing. Maybe you are using the cxf-http-jetty-transport there.
BTW, Can you tell something about the cxf-protobuf 0.3 ? I have no idea what's is it.
On 12/7/10 8:59 PM, vkrejcirik wrote:
I have any import in my Spring context config file. Config file looks like: <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd"> <bean class="clan.core.ServicesFactoryBean" init-method="create" destroy-method="destroy"> <property name="serviceName" value="ContextService" /> <property name="protoPackage" value="ContextProtos" /> <property name="production" value="true" /> </bean> <bean class="clan.core.ServicesFactoryBean" init-method="create" destroy-method="destroy"> <property name="serviceName" value="JobService" /> <property name="protoPackage" value="JobProtos" /> <property name="production" value="true" /> </bean> <!--<bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource"> <property name="driverClassName" value="org.h2.Driver" /> <property name="url" value="jdbc:h2:file:~/clan-cr" /> <property name="username" value="user" /> <property name="password" value="pass" /> </bean> --> <bean id="dataSource" class="org.springframework.jndi.JndiObjectFactoryBean"> <property name="jndiName" value="java:comp/env/jdbc/core" /> </bean> <bean class="core.jobs.JobsScheduler" init-method="create" destroy-method="destroy" factory-method="getInstance"> <property name="checkPeriod" value="30000" /> </bean> <bean id="sqlSessionFactory" class="org.mybatis.spring.SqlSessionFactoryBean"> <property name="dataSource" ref="dataSource" /> <property name="configLocation" value="WEB-INF/classes/clan/Configuration.xml" /> </bean> <bean id="coreMapper" class="org.mybatis.spring.MapperFactoryBean"> <property name="mapperInterface" value="clan.core.CoreMapper" /> <property name="sqlSessionFactory" ref="sqlSessionFactory" /> </bean> </beans> Or do you mean something else? I have only this xml config file. Then I have in web.xml: <context-param> <param-name>contextConfigLocation</param-name> <param-value>classpath:clan/core/srv/services-prd.xml</param-value> </context-param>
-- Willem ---------------------------------- FuseSource Web: http://www.fusesource.com Blog: http://willemjiang.blogspot.com (English) http://jnn.javaeye.com (Chinese) Twitter: willemjiang
