[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-1900) org.jboss.seam.contexts.Contexts logs "could not discover transaction status" even though transaction management is disabled

Daniel Wiell (JIRA) jira-events at lists.jboss.org
Tue Sep 25 03:08:00 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBSEAM-1900?page=comments#action_12378498 ] 
            
Daniel Wiell commented on JBSEAM-1900:
--------------------------------------

In the Hibernate2 example on Tomcat 5.5.23, change the components.xml to

<?xml version="1.0" encoding="UTF-8"?>
<components xmlns="http://jboss.com/products/seam/components"
            xmlns:core="http://jboss.com/products/seam/core"
            xmlns:persistence="http://jboss.com/products/seam/persistence"
            xmlns:security="http://jboss.com/products/seam/security"
            xmlns:transaction="http://jboss.com/products/seam/transaction"
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
            xsi:schemaLocation=
                "http://jboss.com/products/seam/core http://jboss.com/products/seam/core-2.0.xsd 
                 http://jboss.com/products/seam/security http://jboss.com/products/seam/security-2.0.xsd
                 http://jboss.com/products/seam/components http://jboss.com/products/seam/components-2.0.xsd">

    <core:manager conversation-timeout="120000" 
                  concurrent-request-timeout="500"
                  conversation-id-parameter="cid"/>
                  
    <!--persistence:hibernate-session-factory name="hibernateSessionFactory"/>
    
    <persistence:managed-hibernate-session name="bookingDatabase"
                                    session-factory="#{hibernateSessionFactory}"
                                    auto-create="true"/>
    
    <security:identity authenticate-method="#{authenticator.authenticate}"/>
    
    <transaction:hibernate-transaction session="#{bookingDatabase}"/-->

    <core:init transaction-management-enabled="false"/>
</components>

Hit the index page - the error message is then displayed.

> org.jboss.seam.contexts.Contexts logs "could not discover transaction status" even though transaction management is disabled
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBSEAM-1900
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1900
>             Project: JBoss Seam
>          Issue Type: Bug
>    Affects Versions: 2.0.0.BETA1
>            Reporter: Daniel Wiell
>         Assigned To: Pete Muir
>            Priority: Minor
>             Fix For: 2.0.0.GA
>
>
> org.jboss.seam.contexts.Contexts logs "could not discover transaction status" errors even though transaction management is disabled by the inclusion of the following in components.xml:
> <core:init transaction-management-enabled="false"/>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list