myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From D Grupp <gru...@hotmail.com>
Subject Conversations - Use of scopes with JTA
Date Wed, 22 Feb 2012 09:19:17 GMT

Hello,
 
for conversations so far my project used JPA (on tomcat 7). Now we changed to JBoss AS 7 and
configured JTA (org.springframework.transaction.jta.JtaTransactionManager instead of org.springframework.orm.jpa.JpaTransactionManager).
However, now conversations don't seem to work - see error message of JBoss server.log when
trying to deploy the application at the bottom of this mail.
 
Can I assume that the problem is the missing support for a JTA (Cannot convert value of type
[org.jboss.jca.adapters.jdbc.WrapperDataSource] to required type [javax.persistence.EntityManagerFactory]
for property 'entityManagerFactory')? Possibly my configuration is wrong (see below).
 
In the documentation (http://myfaces.apache.org/orchestra/myfaces-orchestra-core/installation.html)
I found that "Apache MyFaces Orchestra provides a JPA implementation in its current release;
other adapters may be added in the future."
 
If my assumption above is correct is there any possibility to come around that problem? Would
mojarra allow the use of JTA with conversations?
 
persistence.xml
 
<persistence xmlns="http://java.sun.com/xml/ns/persistence"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
 version="1.0">
 <persistence-unit name="jatPU" transaction-type="RESOURCE_LOCAL">
  <provider>org.hibernate.ejb.HibernatePersistence</provider>
  <jta-data-source>java:jboss/datasources/MySqlDS</jta-data-source>
  <class>de.kdb.domain.User</class>
  <class>de.kdb.domain.Department</class>
  <properties>
   <!-- as defined in org.hibernate.cfg.Environment -->
   <property name="hibernate.dialect" value="org.hibernate.dialect.MySQLDialect" />
   <property name="hibernate.show_sql" value="true" />
   <property name="hibernate.format_sql" value="true" />
   <property name="hibernate.use_sql_comments" value="true" />
   <property name="hibernate.connection.autocommit" value="false" />
   <property name="hibernate.cache.use_query_cache" value="false" />
   <property name="hibernate.cache.use_second_level_cache" value="false" />
   <property name="hibernate.hbm2ddl.auto" value="validate" />
  </properties>
 </persistence-unit>
</persistence>

configuration web.spring.xml
 
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:aop="http://www.springframework.org/schema/aop"
       xmlns:context="http://www.springframework.org/schema/context"
       xsi:schemaLocation="
  http://www.springframework.org/schema/beans
  http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
  http://www.springframework.org/schema/aop
        http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
        http://www.springframework.org/schema/context
        http://www.springframework.org/schema/context/spring-context-3.0.xsd">
    <!--
      Scan classpath for Spring components starting at base-package.
      Automatically inludes:
      - AutowiredAnnotationBeanPostProcessor
      - CommonAnnotationBeanPostProcessor
      -->
    <context:component-scan base-package="de.kdb.gui"/>
    <!-- Import Orchestra Spring configuration -->
    <import resource="classpath*:/META-INF/spring-orchestra-init.xml"/>
    <!-- Configure view scope and additional Orchestra scopes -->
    <bean class="org.springframework.beans.factory.config.CustomScopeConfigurer">
        <property name="scopes">
            <map>
                <entry key="view">
                    <bean class="de.kdb.spring.ViewScope"/>
                </entry>
                
                <entry key="manual">
                    <bean class="org.apache.myfaces.orchestra.conversation.spring.SpringConversationScope">
                        <property name="timeout" value="30"/>
                        <property name="advices">
                            <list>
                                <ref bean="persistentContextConversationInterceptor"/>
                            </list>
                        </property>
                    </bean>
                </entry>
                <entry key="access">
                    <bean class="org.apache.myfaces.orchestra.conversation.spring.SpringConversationScope">
                        <property name="timeout" value="30"/>
                        <property name="advices">
                            <list>
                                <ref bean="persistentContextConversationInterceptor"/>
                            </list>
                        </property>
                        <property name="lifetime" value="access"/>
                    </bean>
                </entry>
                <entry key="viewController">
                    <bean class="org.apache.myfaces.orchestra.viewController.spring.SpringViewControllerScope">
                        <property name="advices">
                            <list>
                                <ref bean="persistentContextConversationInterceptor"/>
                            </list>
                        </property>
                    </bean>
                </entry>
            </map>
        </property>
    </bean>
    <!-- Advice to ensure correct persistence context in Orchestra-scoped beans -->
    <bean id="persistentContextConversationInterceptor"
          class="org.apache.myfaces.orchestra.conversation.spring.PersistenceContextConversationInterceptor">
        <property name="persistenceContextFactory" ref="persistentContextFactory"/>
    </bean>
    <!-- Define persistence context factory for JPA -->
    <bean id="persistentContextFactory"
          class="org.apache.myfaces.orchestra.conversation.spring.JpaPersistenceContextFactory">
        <property name="entityManagerFactory" ref="entityManagerFactory"/>
    </bean>
    <bean id="departmentConverter" class="de.kdb.gui.jsf.EntityConverter"
            scope="request">
        <property name="service" ref="departmentService"/>
    </bean>
    
</beans>

configuration service.spring.xml
 
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop"
 xmlns:context="http://www.springframework.org/schema/context" xmlns:tx="http://www.springframework.org/schema/tx"
 xmlns:jee="http://www.springframework.org/schema/jee"
 xsi:schemaLocation="http://www.springframework.org/schema/beans 
  http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
  http://www.springframework.org/schema/context 
  http://www.springframework.org/schema/context/spring-context.xsd
  http://www.springframework.org/schema/aop
  http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
  http://www.springframework.org/schema/tx
  http://www.springframework.org/schema/tx/spring-tx-3.0.xsd
  http://www.springframework.org/schema/jee
  http://www.springframework.org/schema/jee/spring-jee-3.0.xsd">
 <context:component-scan base-package="de.kdb">
  <context:include-filter type="regex" expression=".service|.dao" />
 </context:component-scan>
 <!-- Enable processing of @PersistenceContext and @PersistenceUnit -->
 <context:annotation-config />
 <jee:jndi-lookup id="entityManagerFactory" jndi-name="java:jboss/datasources/MySqlDS"/>
 <!-- Configure transaction manager for JTA --> 
 <bean id="transactionManager" class="org.springframework.transaction.jta.JtaTransactionManager">
        <property name="transactionManagerName" value="java:/TransactionManager" />
    </bean> 
 
 <!-- Enable transaction configuration with @Transactional -->
    <tx:annotation-driven transaction-manager="transactionManager" />
</beans>
 
Regards,
 
Dominik
 
09:44:27,657 ERROR [org.springframework.web.context.ContextLoader] (MSC service thread 1-4)
Context initialization failed: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'org.springframework.beans.factory.config.CustomScopeConfigurer#0'
defined in ServletContext resource [/WEB-INF/web.spring.xml]: Cannot create inner bean 'org.apache.myfaces.orchestra.conversation.spring.SpringConversationScope#141757e'
of type [org.apache.myfaces.orchestra.conversation.spring.SpringConversationScope] while setting
bean property 'scopes' with key [TypedStringValue: value [manual], target type [null]]; nested
exception is org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'org.apache.myfaces.orchestra.conversation.spring.SpringConversationScope#141757e'
defined in ServletContext resource [/WEB-INF/web.spring.xml]: Cannot resolve reference to
bean 'persistentContextConversationInterceptor' while setting bean property 'advices' with
key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'persistentContextConversationInterceptor' defined in ServletContext
resource [/WEB-INF/web.spring.xml]: Cannot resolve reference to bean 'persistentContextFactory'
while setting bean property 'persistenceContextFactory'; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'persistentContextFactory' defined in ServletContext resource
[/WEB-INF/web.spring.xml]: Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException:
Failed to convert property value of type 'org.jboss.jca.adapters.jdbc.WrapperDataSource' to
required type 'javax.persistence.EntityManagerFactory' for property 'entityManagerFactory';
nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.jboss.jca.adapters.jdbc.WrapperDataSource]
to required type [javax.persistence.EntityManagerFactory] for property 'entityManagerFactory':
no matching editors or conversion strategy found
 at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:281)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:120)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedMap(BeanDefinitionValueResolver.java:378)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:161)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1097)
[spring-context-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:661)
[spring-context-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:446)
[spring-context-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:385)
[spring-web-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:284)
[spring-web-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
[spring-web-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)
[jbossweb-7.0.10.Final.jar:]
 at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.10.Final.jar:]
 at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.0.Final.jar:7.1.0.Final]
 at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
 at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_26]
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_26]
 at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_26]
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with
name 'org.apache.myfaces.orchestra.conversation.spring.SpringConversationScope#141757e' defined
in ServletContext resource [/WEB-INF/web.spring.xml]: Cannot resolve reference to bean 'persistentContextConversationInterceptor'
while setting bean property 'advices' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'persistentContextConversationInterceptor' defined in ServletContext
resource [/WEB-INF/web.spring.xml]: Cannot resolve reference to bean 'persistentContextFactory'
while setting bean property 'persistenceContextFactory'; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'persistentContextFactory' defined in ServletContext resource
[/WEB-INF/web.spring.xml]: Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException:
Failed to convert property value of type 'org.jboss.jca.adapters.jdbc.WrapperDataSource' to
required type 'javax.persistence.EntityManagerFactory' for property 'entityManagerFactory';
nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.jboss.jca.adapters.jdbc.WrapperDataSource]
to required type [javax.persistence.EntityManagerFactory] for property 'entityManagerFactory':
no matching editors or conversion strategy found
 at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:353)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:153)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:270)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 ... 25 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with
name 'persistentContextConversationInterceptor' defined in ServletContext resource [/WEB-INF/web.spring.xml]:
Cannot resolve reference to bean 'persistentContextFactory' while setting bean property 'persistenceContextFactory';
nested exception is org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'persistentContextFactory' defined in ServletContext resource [/WEB-INF/web.spring.xml]:
Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException:
Failed to convert property value of type 'org.jboss.jca.adapters.jdbc.WrapperDataSource' to
required type 'javax.persistence.EntityManagerFactory' for property 'entityManagerFactory';
nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.jboss.jca.adapters.jdbc.WrapperDataSource]
to required type [javax.persistence.EntityManagerFactory] for property 'entityManagerFactory':
no matching editors or conversion strategy found
 at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 ... 33 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with
name 'persistentContextFactory' defined in ServletContext resource [/WEB-INF/web.spring.xml]:
Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException:
Failed to convert property value of type 'org.jboss.jca.adapters.jdbc.WrapperDataSource' to
required type 'javax.persistence.EntityManagerFactory' for property 'entityManagerFactory';
nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.jboss.jca.adapters.jdbc.WrapperDataSource]
to required type [javax.persistence.EntityManagerFactory] for property 'entityManagerFactory':
no matching editors or conversion strategy found
 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 ... 43 more
Caused by: org.springframework.beans.ConversionNotSupportedException: Failed to convert property
value of type 'org.jboss.jca.adapters.jdbc.WrapperDataSource' to required type 'javax.persistence.EntityManagerFactory'
for property 'entityManagerFactory'; nested exception is java.lang.IllegalStateException:
Cannot convert value of type [org.jboss.jca.adapters.jdbc.WrapperDataSource] to required type
[javax.persistence.EntityManagerFactory] for property 'entityManagerFactory': no matching
editors or conversion strategy found
 at org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:485)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:516)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:510)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1406)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1365)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 ... 49 more
Caused by: java.lang.IllegalStateException: Cannot convert value of type [org.jboss.jca.adapters.jdbc.WrapperDataSource]
to required type [javax.persistence.EntityManagerFactory] for property 'entityManagerFactory':
no matching editors or conversion strategy found
 at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:241)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:470)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 ... 55 more
09:44:27,814 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/jatpresent]]
(MSC service thread 1-4) Exception sending context initialized event to listener instance
of class org.springframework.web.context.ContextLoaderListener: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'org.springframework.beans.factory.config.CustomScopeConfigurer#0'
defined in ServletContext resource [/WEB-INF/web.spring.xml]: Cannot create inner bean 'org.apache.myfaces.orchestra.conversation.spring.SpringConversationScope#141757e'
of type [org.apache.myfaces.orchestra.conversation.spring.SpringConversationScope] while setting
bean property 'scopes' with key [TypedStringValue: value [manual], target type [null]]; nested
exception is org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'org.apache.myfaces.orchestra.conversation.spring.SpringConversationScope#141757e'
defined in ServletContext resource [/WEB-INF/web.spring.xml]: Cannot resolve reference to
bean 'persistentContextConversationInterceptor' while setting bean property 'advices' with
key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'persistentContextConversationInterceptor' defined in ServletContext
resource [/WEB-INF/web.spring.xml]: Cannot resolve reference to bean 'persistentContextFactory'
while setting bean property 'persistenceContextFactory'; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'persistentContextFactory' defined in ServletContext resource
[/WEB-INF/web.spring.xml]: Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException:
Failed to convert property value of type 'org.jboss.jca.adapters.jdbc.WrapperDataSource' to
required type 'javax.persistence.EntityManagerFactory' for property 'entityManagerFactory';
nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.jboss.jca.adapters.jdbc.WrapperDataSource]
to required type [javax.persistence.EntityManagerFactory] for property 'entityManagerFactory':
no matching editors or conversion strategy found
 at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:281)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:120)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedMap(BeanDefinitionValueResolver.java:378)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:161)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1097)
[spring-context-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:661)
[spring-context-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:446)
[spring-context-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:385)
[spring-web-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:284)
[spring-web-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
[spring-web-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)
[jbossweb-7.0.10.Final.jar:]
 at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.10.Final.jar:]
 at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.0.Final.jar:7.1.0.Final]
 at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
 at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_26]
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_26]
 at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_26]
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with
name 'org.apache.myfaces.orchestra.conversation.spring.SpringConversationScope#141757e' defined
in ServletContext resource [/WEB-INF/web.spring.xml]: Cannot resolve reference to bean 'persistentContextConversationInterceptor'
while setting bean property 'advices' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'persistentContextConversationInterceptor' defined in ServletContext
resource [/WEB-INF/web.spring.xml]: Cannot resolve reference to bean 'persistentContextFactory'
while setting bean property 'persistenceContextFactory'; nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'persistentContextFactory' defined in ServletContext resource
[/WEB-INF/web.spring.xml]: Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException:
Failed to convert property value of type 'org.jboss.jca.adapters.jdbc.WrapperDataSource' to
required type 'javax.persistence.EntityManagerFactory' for property 'entityManagerFactory';
nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.jboss.jca.adapters.jdbc.WrapperDataSource]
to required type [javax.persistence.EntityManagerFactory] for property 'entityManagerFactory':
no matching editors or conversion strategy found
 at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:353)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:153)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:270)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 ... 25 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with
name 'persistentContextConversationInterceptor' defined in ServletContext resource [/WEB-INF/web.spring.xml]:
Cannot resolve reference to bean 'persistentContextFactory' while setting bean property 'persistenceContextFactory';
nested exception is org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'persistentContextFactory' defined in ServletContext resource [/WEB-INF/web.spring.xml]:
Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException:
Failed to convert property value of type 'org.jboss.jca.adapters.jdbc.WrapperDataSource' to
required type 'javax.persistence.EntityManagerFactory' for property 'entityManagerFactory';
nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.jboss.jca.adapters.jdbc.WrapperDataSource]
to required type [javax.persistence.EntityManagerFactory] for property 'entityManagerFactory':
no matching editors or conversion strategy found
 at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:328)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:106)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 ... 33 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with
name 'persistentContextFactory' defined in ServletContext resource [/WEB-INF/web.spring.xml]:
Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException:
Failed to convert property value of type 'org.jboss.jca.adapters.jdbc.WrapperDataSource' to
required type 'javax.persistence.EntityManagerFactory' for property 'entityManagerFactory';
nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.jboss.jca.adapters.jdbc.WrapperDataSource]
to required type [javax.persistence.EntityManagerFactory] for property 'entityManagerFactory':
no matching editors or conversion strategy found
 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:322)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 ... 43 more
Caused by: org.springframework.beans.ConversionNotSupportedException: Failed to convert property
value of type 'org.jboss.jca.adapters.jdbc.WrapperDataSource' to required type 'javax.persistence.EntityManagerFactory'
for property 'entityManagerFactory'; nested exception is java.lang.IllegalStateException:
Cannot convert value of type [org.jboss.jca.adapters.jdbc.WrapperDataSource] to required type
[javax.persistence.EntityManagerFactory] for property 'entityManagerFactory': no matching
editors or conversion strategy found
 at org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:485)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:516)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:510)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1406)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1365)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 ... 49 more
Caused by: java.lang.IllegalStateException: Cannot convert value of type [org.jboss.jca.adapters.jdbc.WrapperDataSource]
to required type [javax.persistence.EntityManagerFactory] for property 'entityManagerFactory':
no matching editors or conversion strategy found
 at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:241)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 at org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:470)
[spring-beans-3.1.1.RELEASE.jar:3.1.1.RELEASE]
 ... 55 more
09:44:27,939 SCHWERWIEGEND [javax.faces] (MSC service thread 1-4) Die Anwendung wurde bei
Systemstart nicht einwandfrei initialisiert, Factory konnte nicht gefunden werden: javax.faces.application.ApplicationFactory.
Rügriff versucht.
09:44:27,939 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/jatpresent]]
(MSC service thread 1-4) Exception sending context initialized event to listener instance
of class org.apache.myfaces.webapp.StartupServletContextListener: java.lang.IllegalStateException:
Kein Rügriff für javax.faces.application.ApplicationFactory gefunden.
 at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:1004) [jboss-jsf-api_2.1_spec-2.0.0.Final.jar:2.0.0.Final]
 at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:316) [jboss-jsf-api_2.1_spec-2.0.0.Final.jar:2.0.0.Final]
 at org.apache.myfaces.context.servlet.FacesContextImplBase.getApplication(FacesContextImplBase.java:137)
[myfaces-impl-2.1.3.jar:2.1.3]
 at org.apache.myfaces.context.servlet.FacesContextImplBase.getELContext(FacesContextImplBase.java:186)
[myfaces-impl-2.1.3.jar:2.1.3]
 at javax.faces.component.UIViewRoot.setLocale(UIViewRoot.java:1463) [jboss-jsf-api_2.1_spec-2.0.0.Final.jar:2.0.0.Final]
 at org.apache.myfaces.webapp.AbstractFacesInitializer._createFacesContext(AbstractFacesInitializer.java:404)
[myfaces-impl-2.1.3.jar:2.1.3]
 at org.apache.myfaces.webapp.AbstractFacesInitializer.initStartupFacesContext(AbstractFacesInitializer.java:376)
[myfaces-impl-2.1.3.jar:2.1.3]
 at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:105)
[myfaces-impl-2.1.3.jar:2.1.3]
 at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3392)
[jbossweb-7.0.10.Final.jar:]
 at org.apache.catalina.core.StandardContext.start(StandardContext.java:3850) [jbossweb-7.0.10.Final.jar:]
 at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.0.Final.jar:7.1.0.Final]
 at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
 at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_26]
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_26]
 at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_26]
09:44:27,954 INFO  [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread
1-4) Mojarra 2.1.5 (SNAPSHOT 20111202) für Kontext '/jatpresent' wird initialisiert.
09:44:28,751 INFO  [javax.enterprise.resource.webcontainer.jsf.config] (MSC service thread
1-4) Monitoring jndi:/default-host/jatpresent/WEB-INF/faces-config.xml for modifications
09:44:28,751 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-4) Error
listenerStart
09:44:28,751 ERROR [org.apache.catalina.core.StandardContext] (MSC service thread 1-4) Context
[/jatpresent] startup failed due to previous errors
09:44:28,751 SCHWERWIEGEND [javax.faces] (MSC service thread 1-4) Die Anwendung wurde bei
Systemstart nicht einwandfrei initialisiert, Factory konnte nicht gefunden werden: javax.faces.application.ApplicationFactory.
Rügriff versucht.
09:44:28,751 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/jatpresent]]
(MSC service thread 1-4) Exception sending context destroyed event to listener instance of
class org.apache.myfaces.webapp.StartupServletContextListener: java.lang.IllegalStateException:
Kein Rügriff für javax.faces.application.ApplicationFactory gefunden.
 at javax.faces.FactoryFinder$FactoryManager.getFactory(FactoryFinder.java:1004) [jboss-jsf-api_2.1_spec-2.0.0.Final.jar:2.0.0.Final]
 at javax.faces.FactoryFinder.getFactory(FactoryFinder.java:316) [jboss-jsf-api_2.1_spec-2.0.0.Final.jar:2.0.0.Final]
 at org.apache.myfaces.context.servlet.FacesContextImplBase.getApplication(FacesContextImplBase.java:137)
[myfaces-impl-2.1.3.jar:2.1.3]
 at org.apache.myfaces.context.servlet.FacesContextImplBase.getELContext(FacesContextImplBase.java:186)
[myfaces-impl-2.1.3.jar:2.1.3]
 at javax.faces.component.UIViewRoot.setLocale(UIViewRoot.java:1463) [jboss-jsf-api_2.1_spec-2.0.0.Final.jar:2.0.0.Final]
 at org.apache.myfaces.webapp.AbstractFacesInitializer._createFacesContext(AbstractFacesInitializer.java:404)
[myfaces-impl-2.1.3.jar:2.1.3]
 at org.apache.myfaces.webapp.AbstractFacesInitializer.initShutdownFacesContext(AbstractFacesInitializer.java:386)
[myfaces-impl-2.1.3.jar:2.1.3]
 at org.apache.myfaces.webapp.StartupServletContextListener.contextDestroyed(StartupServletContextListener.java:147)
[myfaces-impl-2.1.3.jar:2.1.3]
 at org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:3489) [jbossweb-7.0.10.Final.jar:]
 at org.apache.catalina.core.StandardContext.stop(StandardContext.java:3999) [jbossweb-7.0.10.Final.jar:]
 at org.apache.catalina.core.StandardContext.start(StandardContext.java:3917) [jbossweb-7.0.10.Final.jar:]
 at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:90) [jboss-as-web-7.1.0.Final.jar:7.1.0.Final]
 at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
 at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_26]
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_26]
 at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_26]
09:44:28,767 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/jatpresent]]
(MSC service thread 1-4) Closing Spring root WebApplicationContext
09:44:28,782 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC00001: Failed
to start service jboss.web.deployment.default-host./jatpresent: org.jboss.msc.service.StartException
in service jboss.web.deployment.default-host./jatpresent: JBAS018040: Failed to start context
 at org.jboss.as.web.deployment.WebDeploymentService.start(WebDeploymentService.java:95)
 at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811)
[jboss-msc-1.0.2.GA.jar:1.0.2.GA]
 at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746)
[jboss-msc-1.0.2.GA.jar:1.0.2.GA]
 at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_26]
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_26]
 at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_26]
09:44:29,017 INFO  [org.jboss.as.server] (management-handler-threads - 1) JBAS015870: Deploy
of deployment "jatpresent.war" was rolled back with failure message {"JBAS014671: Failed services"
=> {"jboss.web.deployment.default-host./jatpresent" => "org.jboss.msc.service.StartException
in service jboss.web.deployment.default-host./jatpresent: JBAS018040: Failed to start context"}}
09:44:29,017 INFO  [org.jboss.as.jpa] (MSC service thread 1-2) JBAS011403: Stopping Persistence
Unit Service 'jatpresent.war#jatPU'
09:44:29,361 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015877: Stopped
deployment jatpresent.war in 356ms
09:44:29,376 INFO  [org.jboss.as.controller] (management-handler-threads - 1) JBAS014774:
Service status report
JBAS014777:   Services which failed to start:      service jboss.web.deployment.default-host./jatpresent:
org.jboss.msc.service.StartException in service jboss.web.deployment.default-host./jatpresent:
JBAS018040: Failed to start context
 		 	   		  
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message