Error Conf jsf + hibernate +Spring

Ola pessoal , nao estou conseguindo levantar o spring de forma alguma estou postando aqui minha conf …se alguem poder me ajudar :sad:

web.xml

<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_ID" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
 
 <display-name>MalaDireta</display-name>
 	<context-param>
    	<description>Arquivo de configuração do Spring</description>
    	<param-name>contextConfigLocation</param-name>
    	<param-value>/WEB-INF/applicationContext.xml</param-value>
  	</context-param>
  	<listener>
    	<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
    </listener>
 	<context-param>
		<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
		<param-value>client</param-value>
 	</context-param>
	<context-param>
		<param-name>javax.faces.CONFIG_FILES</param-name>
		<param-value>/WEB-INF/jsf/managed-beans.xml,/WEB-INF/jsf/navigation.xml</param-value>
	</context-param>
	<!-- Faces Servlet -->
	<servlet>
		<servlet-name>Faces Servlet</servlet-name>
		<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
		<load-on-startup> 1 </load-on-startup>
	</servlet>
	<!-- Faces Servlet Mapping -->
	<servlet-mapping>
		<servlet-name>Faces Servlet</servlet-name>
		<url-pattern>*.jsf</url-pattern>
	</servlet-mapping>
	<welcome-file-list>
    	<welcome-file>index.html</welcome-file>
  	</welcome-file-list>  
	
</web-app>

managed-beans.xml

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN"
                              "http://java.sun.com/dtd/web-facesconfig_1_0.dtd">
<faces-config>
	<application> 
           <variable-resolver>
           		org.springframework.web.jsf.DelegatingVariableResolver
           	</variable-resolver> 
   </application> 
  <managed-bean> 
        <managed-bean-name>Login</managed-bean-name>
        <managed-bean-class>br.gov.mds.maladireta.faces.LoginFace</managed-bean-class>
        <managed-bean-scope>session</managed-bean-scope>  
        <managed-property>
        	<property-name>systemFacade</property-name>
        	<value>#{systemFacade}</value>
        </managed-property>   
  </managed-bean>
    
  <managed-bean> 
        <managed-bean-name>recadastramento</managed-bean-name>
        <managed-bean-class>br.gov.mds.maladireta.recadastrarmento.faces.ReCadastraContatoFace</managed-bean-class>
        <managed-bean-scope>session</managed-bean-scope>
   </managed-bean> 

</faces-config>

applicationContext.xml

  <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN"
    "http://www.springframework.org/dtd/spring-beans.dtd">

<beans>
	<bean id="propertyConfigurer" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
        <property name="location">
            <!--<value>classpath:jdbc.properties.mysql</value>-->
            <value>classpath:jdbc.properties.oracle</value>
        </property>
    </bean>

    <bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource">
		<property name="driverClassName"><value>${jdbc.driverClassName}</value></property>
		<property name="url"><value>${jdbc.url}</value></property>
		<property name="username"><value>${jdbc.username}</value></property>
		<property name="password"><value>${jdbc.password}</value></property>
	</bean>

    <!-- Hibernate SessionFactory -->
    <bean id="sessionFactory" class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">
        <property name="dataSource"><ref local="dataSource"/></property>
    	
    	<property name="hibernateProperties">
       	 <props>
            	<prop key="hibernate.dialect">org.hibernate.dialect.OracleDialect</prop>
        </props>
        </property>
         <property name="mappingResources">
            <list>
        		<value>br/gov/mds/maladireta/vo/MaladiretaPerfil.hbm.xml</value>
        		<value>br/gov/mds/maladireta/vo/MaladiretaGrupo.hbm.xml</value>
        		<value>br/gov/mds/maladireta/vo/MaladiretaEntidade.hbm.xml</value>
        		<value>br/gov/mds/maladireta/vo/MaladiretaTipocontato.hbm.xml</value>
        		<value>br/gov/mds/maladireta/vo/MaladiretaBairro.hbm.xml</value>
        		<value>br/gov/mds/maladireta/vo/MaladiretaTratamento.hbm.xml</value>
        		<value>br/gov/mds/maladireta/vo/MaladiretaContato.hbm.xml</value>
        		<value>br/gov/mds/maladireta/vo/MaladiretaAcesso.hbm.xml</value>
        		<value>br/gov/mds/maladireta/vo/MaladiretaPartido.hbm.xml</value>
        		<value>br/gov/mds/maladireta/vo/MaladiretaCargo.hbm.xml</value>
        		<value>br/gov/mds/maladireta/vo/MaladiretaEstado.hbm.xml</value>
        		<value>br/gov/mds/maladireta/vo/MaladiretaMunicipio.hbm.xml</value>
        		<value>br/gov/mds/maladireta/vo/MaladiretaPais.hbm.xml</value>
        		<value>br/gov/mds/maladireta/vo/MaladiretaGrupocontato.hbm.xml</value>
        		<value>br/gov/mds/maladireta/vo/MaladiretaUsuario.hbm.xml</value>
            </list>
         </property>
    </bean>

    <!-- Transaction manager for a single Hibernate SessionFactory (alternative to JTA) -->
    <bean id="transactionManager" class="org.springframework.orm.hibernate3.HibernateTransactionManager">
        <property name="sessionFactory"><ref local="sessionFactory"/></property>
    </bean>

    <bean id="proxyTemplateManager" abstract="true"
        class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean">
        <property name="transactionManager"><ref bean="transactionManager"/></property>
        <property name="transactionAttributes">
            <props>
                <prop key="save*">PROPAGATION_REQUIRED</prop>
                <prop key="update*">PROPAGATION_REQUIRED</prop>
                <prop key="remove*">PROPAGATION_REQUIRED</prop>
                <prop key="*">PROPAGATION_REQUIRED</prop>
            </props>
        </property>
    </bean>


    <bean id="genericDao" class="br.gov.mds.maladireta.dao.hibernate.GenericDaoHibernate">
        <property name="sessionFactory"><ref local="sessionFactory"/></property>
    </bean> 
    
    <bean id="loginBo" class="br.gov.mds.maladireta.bo.LoginBo">
        <property name="genericDao"><ref local="genericDao"/></property>
    </bean> 
    
    <bean id="systemFacade" parent="proxyTemplateManager">
        <property name="target">
 		 	<bean id="systemFacadeTarget" class="br.gov.mds.maladireta.facade.SystemFacade">
        		<property name="loginBo"><ref local="loginBo"/></property>
    		</bean>
        </property>
    </bean>  
    
</beans>

quando o tomcat levanta o unico erro que tenho e :

log4j:WARN Please initialize the log4j system properly.
28/07/2006 09:59:34 org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
28/07/2006 09:59:34 org.apache.catalina.core.StandardContext start
SEVERE: Context [/MalaDireta] startup failed due to previous errors
28/07/2006 09:59:36 org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080

ja olhei o cod ums 10 mil vezes … mas nao encontro o erro !

Wls

Opa,

há algum erro no seu web.xml, assim fica muito difícil de identificar, mas posso sugerir para remover as configurações do JSF primeiro para ver onde está o erro, se é no JSF ou no Spring.

O difícil é que o erro não é muito sugestivo, nestes caso o mais sensato a ser feito é ir colocando as configurações aos poucos.

:okok: