You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xbean-dev@geronimo.apache.org by "David Jencks (JIRA)" <ji...@apache.org> on 2006/11/09 09:46:37 UTC

[jira] Created: (XBEAN-59) StackOverflow error if you look up java:TransactionManager and nothing is bound there

StackOverflow error if you look up java:TransactionManager and nothing is bound there
-------------------------------------------------------------------------------------

                 Key: XBEAN-59
                 URL: http://issues.apache.org/jira/browse/XBEAN-59
             Project: XBean
          Issue Type: Bug
          Components: naming
    Affects Versions: 2.7
            Reporter: David Jencks


This happened in Geronimo... I had the java: context started with

    <gbean name="JavaContext" class="org.apache.geronimo.gjndi.WritableContextGBean">
        <attribute name="nameInNamespace">java:</attribute>
    </gbean>

and (openjpa) tried to look up java:TransactionManager and I got a stack overflow exception.

After binding something at this name the lookup worked fine.

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

        

[jira] Closed: (XBEAN-59) StackOverflow error if you look up java:TransactionManager and nothing is bound there

Posted by "Dain Sundstrom (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/XBEAN-59?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dain Sundstrom closed XBEAN-59.
-------------------------------

    Resolution: Fixed

I believe that has been fixed.  If not, please reopen.

> StackOverflow error if you look up java:TransactionManager and nothing is bound there
> -------------------------------------------------------------------------------------
>
>                 Key: XBEAN-59
>                 URL: https://issues.apache.org/jira/browse/XBEAN-59
>             Project: XBean
>          Issue Type: Bug
>          Components: naming
>    Affects Versions: 2.7
>            Reporter: David Jencks
>
> This happened in Geronimo... I had the java: context started with
>     <gbean name="JavaContext" class="org.apache.geronimo.gjndi.WritableContextGBean">
>         <attribute name="nameInNamespace">java:</attribute>
>     </gbean>
> and (openjpa) tried to look up java:TransactionManager and I got a stack overflow exception.
> After binding something at this name the lookup worked fine.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (XBEAN-59) StackOverflow error if you look up java:TransactionManager and nothing is bound there

Posted by "Mike Perham (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/XBEAN-59?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12462000 ] 

Mike Perham commented on XBEAN-59:
----------------------------------

Stupid, non-confluence-wiki-markup-supporting issue tracker!  :)

> StackOverflow error if you look up java:TransactionManager and nothing is bound there
> -------------------------------------------------------------------------------------
>
>                 Key: XBEAN-59
>                 URL: https://issues.apache.org/jira/browse/XBEAN-59
>             Project: XBean
>          Issue Type: Bug
>          Components: naming
>    Affects Versions: 2.7
>            Reporter: David Jencks
>
> This happened in Geronimo... I had the java: context started with
>     <gbean name="JavaContext" class="org.apache.geronimo.gjndi.WritableContextGBean">
>         <attribute name="nameInNamespace">java:</attribute>
>     </gbean>
> and (openjpa) tried to look up java:TransactionManager and I got a stack overflow exception.
> After binding something at this name the lookup worked fine.

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

        

[jira] Commented: (XBEAN-59) StackOverflow error if you look up java:TransactionManager and nothing is bound there

Posted by "Mike Perham (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/XBEAN-59?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12461999 ] 

Mike Perham commented on XBEAN-59:
----------------------------------

The workaround is to specify the exact JNDI location so Spring doesn't need to poke around:

{code:xml}
<bean id="transactionManager" class="org.springframework.transaction.jta.JtaTransactionManager">
	<property name="transactionManagerName"><value>java:/TransactionManager</value></property>
</bean>
{code}

> StackOverflow error if you look up java:TransactionManager and nothing is bound there
> -------------------------------------------------------------------------------------
>
>                 Key: XBEAN-59
>                 URL: https://issues.apache.org/jira/browse/XBEAN-59
>             Project: XBean
>          Issue Type: Bug
>          Components: naming
>    Affects Versions: 2.7
>            Reporter: David Jencks
>
> This happened in Geronimo... I had the java: context started with
>     <gbean name="JavaContext" class="org.apache.geronimo.gjndi.WritableContextGBean">
>         <attribute name="nameInNamespace">java:</attribute>
>     </gbean>
> and (openjpa) tried to look up java:TransactionManager and I got a stack overflow exception.
> After binding something at this name the lookup worked fine.

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

        

[jira] Commented: (XBEAN-59) StackOverflow error if you look up java:TransactionManager and nothing is bound there

Posted by "Mike Perham (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/XBEAN-59?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12461998 ] 

Mike Perham commented on XBEAN-59:
----------------------------------

This also happens when an application tries to use Spring's JTATransactionManager with Geronimo 1.2-beta.

> StackOverflow error if you look up java:TransactionManager and nothing is bound there
> -------------------------------------------------------------------------------------
>
>                 Key: XBEAN-59
>                 URL: https://issues.apache.org/jira/browse/XBEAN-59
>             Project: XBean
>          Issue Type: Bug
>          Components: naming
>    Affects Versions: 2.7
>            Reporter: David Jencks
>
> This happened in Geronimo... I had the java: context started with
>     <gbean name="JavaContext" class="org.apache.geronimo.gjndi.WritableContextGBean">
>         <attribute name="nameInNamespace">java:</attribute>
>     </gbean>
> and (openjpa) tried to look up java:TransactionManager and I got a stack overflow exception.
> After binding something at this name the lookup worked fine.

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