jQuery in Action, 2nd edition*
The moose likes Other JSE/JEE APIs and the fly likes Session  Factory Hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Session  Factory Hibernate" Watch "Session  Factory Hibernate" New topic
Author

Session Factory Hibernate

santiagoruiz Ruiz
Greenhorn

Joined: Jul 30, 2012
Posts: 2
Hey, Im using Hibernate 4 and Spring and Im having this:

jul 30, 2012 11:30:36 PM org.apache.catalina.core.AprLifecycleListener init
Información: La biblioteca nativa de Apache Tomcat basada en ARP que permite un rendimiento óptimo en entornos de desarrollo no ha sido hallada en java.library.path: C:\Archivos de programa\Java\jre7\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:/Archivos de programa/Java/jre7/bin/client;C:/Archivos de programa/Java/jre7/bin;C:/Archivos de programa/Java/jre7/lib/i386;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\java\eclipse;;.
jul 30, 2012 11:30:37 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
Advertencia: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:BancoApp' did not find a matching property.
jul 30, 2012 11:30:37 PM org.apache.coyote.AbstractProtocol init
Información: Initializing ProtocolHandler ["http-bio-8080"]
jul 30, 2012 11:30:37 PM org.apache.coyote.AbstractProtocol init
Información: Initializing ProtocolHandler ["ajp-bio-8009"]
jul 30, 2012 11:30:37 PM org.apache.catalina.startup.Catalina load
Información: Initialization processed in 724 ms
jul 30, 2012 11:30:37 PM org.apache.catalina.core.StandardService startInternal
Información: Arrancando servicio Catalina
jul 30, 2012 11:30:37 PM org.apache.catalina.core.StandardEngine startInternal
Información: Starting Servlet Engine: Apache Tomcat/7.0.29
jul 30, 2012 11:30:41 PM org.apache.catalina.startup.TaglibUriRule body
Información: TLD skipped. URI:
http://java.sun.com/jsf/html
is already defined
jul 30, 2012 11:30:41 PM org.apache.catalina.startup.TaglibUriRule body
Información: TLD skipped. URI: http://java.sun.com/jsf/core is already defined
jul 30, 2012 11:30:41 PM org.apache.catalina.startup.TaglibUriRule body
Información: TLD skipped. URI: http://mojarra.dev.java.net/mojarra_ext is already defined
jul 30, 2012 11:30:41 PM org.apache.catalina.core.ApplicationContext log
Información: No Spring WebApplicationInitializer types detected on classpath
jul 30, 2012 11:30:41 PM com.sun.faces.config.ConfigureListener contextInitialized
Información: Inicializando Mojarra 2.1.0 (SNAPSHOT 20100817) para el contexto ''
jul 30, 2012 11:30:42 PM com.sun.faces.config.ConfigManager initialize
Información: Unsanitized stacktrace from failed start...
com.sun.faces.config.ConfigurationException: java.util.concurrent.ExecutionException: java.lang.NullPointerException
at com.sun.faces.config.ConfigManager.getConfigDocuments(ConfigManager.java:658)
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:303)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:222)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4791)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.util.concurrent.ExecutionException: java.lang.NullPointerException
at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source)
at java.util.concurrent.FutureTask.get(Unknown Source)
at com.sun.faces.config.ConfigManager.getConfigDocuments(ConfigManager.java:645)
... 12 more
Caused by: java.lang.NullPointerException
at com.sun.faces.config.configprovider.MojarraFacesConfigResourceProvider.getResources(MojarraFacesConfigResourceProvider.java:71)
at com.sun.faces.config.ConfigManager$URLTask.call(ConfigManager.java:1089)
at com.sun.faces.config.ConfigManager$URLTask.call(ConfigManager.java:1058)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at com.sun.faces.config.ConfigManager.getConfigDocuments(ConfigManager.java:636)
... 12 more

jul 30, 2012 11:30:42 PM com.sun.faces.config.ConfigureListener contextInitialized
Grave: Critical error during deployment:
com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! null
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:351)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:222)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4791)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at com.sun.faces.config.configprovider.MojarraFacesConfigResourceProvider.getResources(MojarraFacesConfigResourceProvider.java:71)
at com.sun.faces.config.ConfigManager$URLTask.call(ConfigManager.java:1089)
at com.sun.faces.config.ConfigManager$URLTask.call(ConfigManager.java:1058)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at com.sun.faces.config.ConfigManager.getConfigDocuments(ConfigManager.java:636)
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:303)
... 11 more

jul 30, 2012 11:30:42 PM org.apache.catalina.core.StandardContext listenerStart
Grave: Excepción enviando evento inicializado de contexto a instancia de escuchador de clase com.sun.faces.config.ConfigureListener
java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! null
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:290)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4791)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! null
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:351)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:222)
... 10 more
Caused by: java.lang.NullPointerException
at com.sun.faces.config.configprovider.MojarraFacesConfigResourceProvider.getResources(MojarraFacesConfigResourceProvider.java:71)
at com.sun.faces.config.ConfigManager$URLTask.call(ConfigManager.java:1089)
at com.sun.faces.config.ConfigManager$URLTask.call(ConfigManager.java:1058)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at com.sun.faces.config.ConfigManager.getConfigDocuments(ConfigManager.java:636)
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:303)
... 11 more

jul 30, 2012 11:30:42 PM org.apache.catalina.core.StandardContext startInternal
Grave: Error listenerStart
jul 30, 2012 11:30:42 PM org.apache.catalina.core.StandardContext startInternal
Grave: Falló en arranque del Contexto [] debido a errores previos
jul 30, 2012 11:30:42 PM com.sun.faces.config.ConfigureListener contextDestroyed
Grave: Unexpected exception when attempting to tear down the Mojarra runtime
java.lang.IllegalStateException: No Factories configured for this Application. This happens if the faces-initialization does not work at all - make sure that you properly include all configuration settings necessary for a basic faces application and that all the necessary libs are included. Also check the logging output of your web application and your container for any exceptions!
If you did that and find nothing, the mistake might be due to the fact that you use some special web-containers which do not support registering context-listeners via TLD files and a context listener is not setup in your web.xml.
A typical config looks like this;
<listener>
<listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
</listener>

at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:172)
at com.sun.faces.config.InitFacesContext.getApplication(InitFacesContext.java:104)
at com.sun.faces.config.ConfigureListener.contextDestroyed(ConfigureListener.java:323)
at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4831)
at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5478)
at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:232)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:160)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

jul 30, 2012 11:30:42 PM org.apache.catalina.loader.WebappClassLoader validateJarFile
Información: validateJarFile(C:\java\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\BancoApp\WEB-INF\lib\el-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/el/Expression.class
jul 30, 2012 11:30:46 PM org.apache.catalina.startup.TaglibUriRule body
Información: TLD skipped. URI:
http://java.sun.com/jsf/html
is already defined
jul 30, 2012 11:30:46 PM org.apache.catalina.startup.TaglibUriRule body
Información: TLD skipped. URI: http://java.sun.com/jsf/core is already defined
jul 30, 2012 11:30:46 PM org.apache.catalina.startup.TaglibUriRule body
Información: TLD skipped. URI: http://mojarra.dev.java.net/mojarra_ext is already defined
jul 30, 2012 11:30:46 PM org.apache.catalina.startup.TaglibUriRule body
Información: TLD skipped. URI: http://java.sun.com/jsf/core is already defined
jul 30, 2012 11:30:46 PM org.apache.catalina.startup.TaglibUriRule body
Información: TLD skipped. URI: http://java.sun.com/jsf/core is already defined
jul 30, 2012 11:30:46 PM org.apache.catalina.startup.TaglibUriRule body
Información: TLD skipped. URI: http://mojarra.dev.java.net/mojarra_ext is already defined
jul 30, 2012 11:30:46 PM org.apache.catalina.startup.TaglibUriRule body
Información: TLD skipped. URI:
http://java.sun.com/jsf/html
is already defined
jul 30, 2012 11:30:46 PM org.apache.catalina.startup.TaglibUriRule body
Información: TLD skipped. URI:
http://java.sun.com/jsf/html
is already defined
jul 30, 2012 11:30:46 PM org.apache.catalina.startup.TaglibUriRule body
Información: TLD skipped. URI: http://java.sun.com/jsf/core is already defined
jul 30, 2012 11:30:46 PM org.apache.catalina.startup.TaglibUriRule body
Información: TLD skipped. URI: http://mojarra.dev.java.net/mojarra_ext is already defined
jul 30, 2012 11:30:46 PM org.apache.catalina.core.StandardContext addApplicationListener
Información: El escuchador "com.sun.faces.config.ConfigureListener" ya está configurado para este contexto. La definición duplicada ha sido ignorada.
jul 30, 2012 11:30:46 PM org.apache.catalina.core.ApplicationContext log
Información: No Spring WebApplicationInitializer types detected on classpath
jul 30, 2012 11:30:46 PM org.apache.catalina.core.ApplicationContext log
Información: Initializing Spring root WebApplicationContext
log4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
jul 30, 2012 11:30:49 PM org.apache.catalina.core.StandardContext listenerStart
Grave: Excepción enviando evento inicializado de contexto a instancia de escuchador de clase org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ClienteService' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Cannot resolve reference to bean 'ClienteDAO' while setting bean property 'clienteDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ClienteDAO' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'org.hibernate.internal.SessionFactoryImpl' to required type 'org.hibernate.SessionFactory' for property 'sessionFactory'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.hibernate.internal.SessionFactoryImpl] to required type [org.hibernate.SessionFactory] for property 'sessionFactory': no matching editors or conversion strategy found
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:609)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:469)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4791)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ClienteDAO' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'org.hibernate.internal.SessionFactoryImpl' to required type 'org.hibernate.SessionFactory' for property 'sessionFactory'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.hibernate.internal.SessionFactoryImpl] to required type [org.hibernate.SessionFactory] for property 'sessionFactory': no matching editors or conversion strategy found
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
... 25 more
Caused by: org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'org.hibernate.internal.SessionFactoryImpl' to required type 'org.hibernate.SessionFactory' for property 'sessionFactory'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.hibernate.internal.SessionFactoryImpl] to required type [org.hibernate.SessionFactory] for property 'sessionFactory': no matching editors or conversion strategy found
at org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:485)
at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:516)
at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:510)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1406)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1365)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
... 31 more
Caused by: java.lang.IllegalStateException: Cannot convert value of type [org.hibernate.internal.SessionFactoryImpl] to required type [org.hibernate.SessionFactory] for property 'sessionFactory': no matching editors or conversion strategy found
at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:241)
at org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:470)
... 37 more

jul 30, 2012 11:30:49 PM com.sun.faces.config.ConfigureListener contextInitialized
Información: Inicializando Mojarra 2.1.0 (SNAPSHOT 20100817) para el contexto '/BancoApp'
jul 30, 2012 11:30:49 PM com.sun.faces.config.ConfigManager initialize
Información: Unsanitized stacktrace from failed start...
com.sun.faces.config.ConfigurationException: java.util.concurrent.ExecutionException: java.lang.NullPointerException
at com.sun.faces.config.ConfigManager.getConfigDocuments(ConfigManager.java:658)
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:303)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:222)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4791)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.util.concurrent.ExecutionException: java.lang.NullPointerException
at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source)
at java.util.concurrent.FutureTask.get(Unknown Source)
at com.sun.faces.config.ConfigManager.getConfigDocuments(ConfigManager.java:645)
... 12 more
Caused by: java.lang.NullPointerException
at com.sun.faces.config.configprovider.MojarraFacesConfigResourceProvider.getResources(MojarraFacesConfigResourceProvider.java:71)
at com.sun.faces.config.ConfigManager$URLTask.call(ConfigManager.java:1089)
at com.sun.faces.config.ConfigManager$URLTask.call(ConfigManager.java:1058)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at com.sun.faces.config.ConfigManager.getConfigDocuments(ConfigManager.java:636)
... 12 more

jul 30, 2012 11:30:49 PM com.sun.faces.config.ConfigureListener contextInitialized
Grave: Critical error during deployment:
com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! null
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:351)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:222)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4791)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at com.sun.faces.config.configprovider.MojarraFacesConfigResourceProvider.getResources(MojarraFacesConfigResourceProvider.java:71)
at com.sun.faces.config.ConfigManager$URLTask.call(ConfigManager.java:1089)
at com.sun.faces.config.ConfigManager$URLTask.call(ConfigManager.java:1058)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at com.sun.faces.config.ConfigManager.getConfigDocuments(ConfigManager.java:636)
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:303)
... 11 more

jul 30, 2012 11:30:49 PM org.apache.catalina.core.StandardContext listenerStart
Grave: Excepción enviando evento inicializado de contexto a instancia de escuchador de clase com.sun.faces.config.ConfigureListener
java.lang.RuntimeException: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! null
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:290)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4791)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5285)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! null
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:351)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:222)
... 10 more
Caused by: java.lang.NullPointerException
at com.sun.faces.config.configprovider.MojarraFacesConfigResourceProvider.getResources(MojarraFacesConfigResourceProvider.java:71)
at com.sun.faces.config.ConfigManager$URLTask.call(ConfigManager.java:1089)
at com.sun.faces.config.ConfigManager$URLTask.call(ConfigManager.java:1058)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at com.sun.faces.config.ConfigManager.getConfigDocuments(ConfigManager.java:636)
at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:303)





Plis help I need to get work on this!!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Session Factory Hibernate
 
Similar Threads
Failed to convert property value of type 'org.hibernate.internal.SessionFactoryImpl'
Tomcat 7 java.lang.ClassNotFoundException: com.sun.faces.config.ConfigureListener
Eclipse Tomcat Plugin Issue
[ASK] Error org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter
Glassfish deployment issues