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>




-- 
View this message in context: 
http://cxf.547215.n5.nabble.com/Threads-warnings-while-undeploying-web-application-tp3289034p3295716.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to