[
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