<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=zwu_ca" rel="nofollow">Zhou Wu</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-6164?redirect=false" rel="nofollow">SPR-6164</a></strong> and commented</p>
<p dir="auto">Suppose we have the controller request mapping as the following</p>
<p dir="auto"><code class="notranslate">@RequestMapping</code>(value = "/my/{vari}", method = RequestMethod.GET)<br>
<code class="notranslate">@ResponseBody</code><br>
public String getVari(<code class="notranslate">@PathVariable</code> String vari) {<br>
System.out.println("vari=" + vari);<br>
return vari;<br>
}</p>
<p dir="auto">If a request such as  "<a href="http://localhost/myapp/my/abc.mycontroller.com" rel="nofollow">http://localhost/myapp/my/abc.mycontroller.com</a>" is submitted, the actually value of 'vari' obtained by Spring API only returns 'abc.mycontroller'.</p>
<p dir="auto">Further investigation turns out the issue is at line 564 in <a href="https://src.springframework.org/svn/spring-framework/tags/spring-framework-3.0.0.RC1/org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/mvc/annotation/AnnotationMethodHandlerAdapter.java" rel="nofollow">https://src.springframework.org/svn/spring-framework/tags/spring-framework-3.0.0.RC1/org.springframework.web.servlet/src/main/java/org/springframework/web/servlet/mvc/annotation/AnnotationMethodHandlerAdapter.java</a>. The pattern generated by the line results in "{vari}.<strong>". With  the 'pathMatcher' (the matcher used at line 565) object created by AntPathStringMatcher("{vari}.</strong>", "abc.mycontroller.com", map), the value of 'vari' will be 'abc.mycontroller' in the 'map' variable after executing line 566.</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 3.0 M4, 3.0 RC1</p>
<p dir="auto"><strong>Attachments:</strong></p>
<ul dir="auto">
<li><a href="https://jira.spring.io/secure/attachment/15751/MyController.java" rel="nofollow">MyController.java</a> (<em>950 bytes</em>)</li>
</ul>
<p dir="auto"><strong>Issue Links:</strong></p>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398098355" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/10899" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/10899/hovercard" href="https://github.com/spring-projects/spring-framework/issues/10899">#10899</a> RESTful URLs with path variables containing dots are incorrectly mapped (<em><strong>"is duplicated by"</strong></em>)</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398155091" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/14660" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/14660/hovercard" href="https://github.com/spring-projects/spring-framework/issues/14660">#14660</a> Spring eats <code class="notranslate">@PathVariable</code> part after last dot (<em><strong>"is duplicated by"</strong></em>)</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398197792" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/19242" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/19242/hovercard" href="https://github.com/spring-projects/spring-framework/issues/19242">#19242</a> <code class="notranslate">@PathVariable</code> will cut off the last point (<em><strong>"is duplicated by"</strong></em>)</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398107985" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/12288" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/12288/hovercard" href="https://github.com/spring-projects/spring-framework/issues/12288">#12288</a> Allow valid file extension paths for content negotiation to be specified</li>
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398093573" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/10208" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/10208/hovercard" href="https://github.com/spring-projects/spring-framework/issues/10208">#10208</a> ReSTful URLs with content type extension do not work properly</li>
</ul>
<p dir="auto"><strong>Referenced from:</strong> commits <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/spring-projects/spring-framework/commit/8292491a53e37a02800938edba2ea2847c5fad84/hovercard" href="https://github.com/spring-projects/spring-framework/commit/8292491a53e37a02800938edba2ea2847c5fad84"><tt>8292491</tt></a>, <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/spring-projects/spring-framework/commit/e24e76805479a3a8ab3b4b2a73b8c272afa36baa/hovercard" href="https://github.com/spring-projects/spring-framework/commit/e24e76805479a3a8ab3b4b2a73b8c272afa36baa"><tt>e24e768</tt></a></p>
<p dir="auto">2 votes, 11 watchers</p>
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=kalradeepak" rel="nofollow">Deepak Kalra</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-590?redirect=false" rel="nofollow">SPR-590</a></strong> and commented</p>
<p dir="auto">Hi</p>
<p dir="auto">I am working on integration of EJB CMT with Spring Framework.</p>
<p dir="auto">Case 1. Client is direct calling spring managed pojo with PROPAGATION_REQUIRED.<br>
Case 2. Client is calling Remote Bean method demarcated as RequiresNew.Inside the method a spring managed pojo is called with PROPAGATION_REQUIRED.</p>
<p dir="auto">I am getting the error in Case 2 as Its not able to find JTA UserTransaction</p>
<p dir="auto">Case 1<br>
I am able to run the case 1 without any error and data is getting inserted As its getting the JTA UserTransaction</p>
<p dir="auto">///////////////////////////////////////////////////////<br>
INFO: Creating shared instance of singleton bean 'platformTransactionManager'<br>
Dec 29, 2004 7:21:18 AM org.springframework.transaction.jta.JtaTransactionManager lookupUserTransaction<br>
INFO: Using JTA UserTransaction [com.ibm.ws.Transaction.JTA.UserTransactionImpl@2e5e28db] from JNDI location [jta/usertransaction]<br>
///////////////////////////////////////////////////////</p>
<p dir="auto">Pls see EventTestClient for the same.</p>
<p dir="auto">Case 2<br>
I am getting the error. Pls see EJBSpringClient<br>
for the same. Somehow Its not able to find JTA UserTransaction but<br>
in case 1 Its able to find. Only difference is client is calling the EJB where as in case 1 does not<br>
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-<br>
Error creating bean with name 'platformTransactionManager' defined in class path resource [com/atomic/springjndi/applicationContext.xml]: Initialization of bean failed; nested exception is org.springframework.transaction.TransactionSystemException: JTA UserTransaction is not available at JNDI location [jta/usertransaction]; nested exception is com.ibm.websphere.naming.CannotInstantiateObjectException: Exception occurred while the JNDI NamingManager was processing a javax.naming.Reference object.<br>
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-</p>
<p dir="auto">This is my applicationContext.xml file</p>
<p dir="auto">-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-</p>
<p dir="auto">&lt;?xml version="1.0" encoding="UTF-8"?&gt;<br>
&lt;!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "<a href="http://www.springframework.org/dtd/spring-beans.dtd%22%3E" rel="nofollow">http://www.springframework.org/dtd/spring-beans.dtd"&gt;</a><br>
&lt;beans&gt;</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;bean id=&quot;myTestDataSource&quot; class=&quot;org.springframework.jndi.JndiObjectFactoryBean&quot;&gt;
	&lt;property name=&quot;jndiName&quot;&gt;
		&lt;value&gt;jdbc/atomicDB&lt;/value&gt;
	&lt;/property&gt;
&lt;/bean&gt;


&lt;bean id=&quot;mySessionFactory&quot; class=&quot;org.springframework.orm.hibernate.LocalSessionFactoryBean&quot;&gt;
	&lt;property name=&quot;dataSource&quot;&gt;
		&lt;ref local=&quot;myTestDataSource&quot; /&gt;
	&lt;/property&gt;
	&lt;property name=&quot;hibernateProperties&quot;&gt;
		&lt;props&gt;
			&lt;prop key=&quot;hibernate.dialect&quot;&gt;net.sf.hibernate.dialect.OracleDialect&lt;/prop&gt;
		&lt;/props&gt;
	&lt;/property&gt;
	&lt;property name=&quot;mappingResources&quot;&gt;
		&lt;list&gt;
			&lt;value&gt;com/atomic/springjndi/Event.hbm.xml&lt;/value&gt;
		&lt;/list&gt;
	&lt;/property&gt;
&lt;/bean&gt;

&lt;bean id=&quot;myEventDAO&quot; class=&quot;com.atomic.springjndi.EventDAOImpl&quot;&gt;
	&lt;property name=&quot;sessionFactory&quot;&gt;
		&lt;ref bean=&quot;mySessionFactory&quot; /&gt;
	&lt;/property&gt;
&lt;/bean&gt;

&lt;bean id=&quot;myEventServiceTarget&quot; class=&quot;com.atomic.springjndi.EventServiceImpl&quot;&gt;
	&lt;property name=&quot;eventDao&quot;&gt;
		&lt;ref bean=&quot;myEventDAO&quot; /&gt;
	&lt;/property&gt;
&lt;/bean&gt;

&lt;!-- TransactionManager--&gt;

&lt;bean id=&quot;myTransactionManager&quot; class=&quot;org.springframework.transaction.jta.WebSphereTransactionManagerFactoryBean&quot; /&gt;

&lt;bean id=&quot;platformTransactionManager&quot; class=&quot;org.springframework.transaction.jta.JtaTransactionManager&quot;&gt;
	&lt;property name=&quot;transactionManager&quot;&gt;
		&lt;ref local=&quot;myTransactionManager&quot; /&gt;
	&lt;/property&gt;
	&lt;property name=&quot;userTransactionName&quot;&gt;
		&lt;value&gt;jta/usertransaction&lt;/value&gt;
	&lt;/property&gt;
&lt;/bean&gt;
&lt;!-- TransactionManager--&gt;

&lt;!-- ProxyFactoryBean--&gt;
&lt;bean id=&quot;myEventService&quot; class=&quot;org.springframework.transaction.interceptor.TransactionProxyFactoryBean&quot;&gt;
	&lt;property name=&quot;transactionManager&quot;&gt;
		&lt;ref bean=&quot;platformTransactionManager&quot; /&gt;
	&lt;/property&gt;
	&lt;property name=&quot;target&quot;&gt;
		&lt;ref bean=&quot;myEventServiceTarget&quot; /&gt;
	&lt;/property&gt;
	&lt;property name=&quot;transactionAttributes&quot;&gt;
		&lt;props&gt;
			&lt;prop key=&quot;checkAllEvents*&quot;&gt;PROPAGATION_SUPPORTS&lt;/prop&gt;
			&lt;prop key=&quot;insertEvents*&quot;&gt;PROPAGATION_SUPPORTS&lt;/prop&gt;
		&lt;/props&gt;
	&lt;/property&gt;
&lt;/bean&gt;
&lt;!-- ProxyFactoryBean--&gt;"><pre class="notranslate"><code class="notranslate">&lt;bean id="myTestDataSource" class="org.springframework.jndi.JndiObjectFactoryBean"&gt;
	&lt;property name="jndiName"&gt;
		&lt;value&gt;jdbc/atomicDB&lt;/value&gt;
	&lt;/property&gt;
&lt;/bean&gt;


&lt;bean id="mySessionFactory" class="org.springframework.orm.hibernate.LocalSessionFactoryBean"&gt;
	&lt;property name="dataSource"&gt;
		&lt;ref local="myTestDataSource" /&gt;
	&lt;/property&gt;
	&lt;property name="hibernateProperties"&gt;
		&lt;props&gt;
			&lt;prop key="hibernate.dialect"&gt;net.sf.hibernate.dialect.OracleDialect&lt;/prop&gt;
		&lt;/props&gt;
	&lt;/property&gt;
	&lt;property name="mappingResources"&gt;
		&lt;list&gt;
			&lt;value&gt;com/atomic/springjndi/Event.hbm.xml&lt;/value&gt;
		&lt;/list&gt;
	&lt;/property&gt;
&lt;/bean&gt;

&lt;bean id="myEventDAO" class="com.atomic.springjndi.EventDAOImpl"&gt;
	&lt;property name="sessionFactory"&gt;
		&lt;ref bean="mySessionFactory" /&gt;
	&lt;/property&gt;
&lt;/bean&gt;

&lt;bean id="myEventServiceTarget" class="com.atomic.springjndi.EventServiceImpl"&gt;
	&lt;property name="eventDao"&gt;
		&lt;ref bean="myEventDAO" /&gt;
	&lt;/property&gt;
&lt;/bean&gt;

&lt;!-- TransactionManager--&gt;

&lt;bean id="myTransactionManager" class="org.springframework.transaction.jta.WebSphereTransactionManagerFactoryBean" /&gt;

&lt;bean id="platformTransactionManager" class="org.springframework.transaction.jta.JtaTransactionManager"&gt;
	&lt;property name="transactionManager"&gt;
		&lt;ref local="myTransactionManager" /&gt;
	&lt;/property&gt;
	&lt;property name="userTransactionName"&gt;
		&lt;value&gt;jta/usertransaction&lt;/value&gt;
	&lt;/property&gt;
&lt;/bean&gt;
&lt;!-- TransactionManager--&gt;

&lt;!-- ProxyFactoryBean--&gt;
&lt;bean id="myEventService" class="org.springframework.transaction.interceptor.TransactionProxyFactoryBean"&gt;
	&lt;property name="transactionManager"&gt;
		&lt;ref bean="platformTransactionManager" /&gt;
	&lt;/property&gt;
	&lt;property name="target"&gt;
		&lt;ref bean="myEventServiceTarget" /&gt;
	&lt;/property&gt;
	&lt;property name="transactionAttributes"&gt;
		&lt;props&gt;
			&lt;prop key="checkAllEvents*"&gt;PROPAGATION_SUPPORTS&lt;/prop&gt;
			&lt;prop key="insertEvents*"&gt;PROPAGATION_SUPPORTS&lt;/prop&gt;
		&lt;/props&gt;
	&lt;/property&gt;
&lt;/bean&gt;
&lt;!-- ProxyFactoryBean--&gt;
</code></pre></div>
<p dir="auto">&lt;/beans&gt;<br>
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~-</p>
<p dir="auto">Complete Error for Case 2</p>
<p dir="auto">//////////////////////////////////////////////////////////////////<br>
InitialContext javax.naming.InitialContext@4ee0ec52<br>
EJBSpringTransactionHome IOR:0000000000000043524d493a636f6d2e61746f6d69632e656a62737072696e672e454a42537072696e675472616e73616374696f6e486f6d653a303030303030303030303030303030300000000000010000000000000130000102000000000a6c6f63616c686f73740010c8000000a64a4d4249000000124773e3aa37643062633737336533616166633334000000240000008249454a5002008e629f84077365727665723103454a4200000068acac0002000100290000005f5f686f6d654f66486f6d6573235f5f686f6d654f66486f6d6573235f5f686f6d654f66486f6d65730870726f6a656374454a42537072696e6723656a624d6f64756c652e6a617223454a42537072696e675472616e73616374696f6e0000000000070000000100000014000000000501000100000000000101000000000049424d0a00000008000000011420000100000026000000020002000049424d040000000500050101020000000000001f0000000400000003000000200000000400000001000000250000000400000003<br>
EJBSpringTransaction 1 IOR:000000000000003f524d493a636f6d2e61746f6d69632e656a62737072696e672e454a42537072696e675472616e73616374696f6e3a303030303030303030303030303030300000000000010000000000000104000102000000000a6c6f63616c686f73740010c80000007c4a4d4249000000124773e3aa37643062633737336533616166633334000000240000005849454a500200eb53a395077365727665723103454a420000003eacac00020001013300000070726f6a656374454a42537072696e6723656a624d6f64756c652e6a617223454a42537072696e675472616e73616374696f6e000000070000000100000014000000000501000100000000000101000000000049424d0a00000008000000011420000100000026000000020002000049424d040000000500050101020000000000001f0000000400000003000000200000000400000001000000250000000400000003<br>
EJBSpringTransaction RemoteException java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:<br>
java.rmi.RemoteException:</p>
<p dir="auto">Trace from server: 1198777258 at host localhost &gt;&gt;<br>
java.rmi.RemoteException: ; nested exception is:<br>
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'platformTransactionManager' defined in class path resource [com/atomic/springjndi/applicationContext.xml]: Initialization of bean failed; nested exception is org.springframework.transaction.TransactionSystemException: JTA UserTransaction is not available at JNDI location [jta/usertransaction]; nested exception is com.ibm.websphere.naming.CannotInstantiateObjectException: Exception occurred while the JNDI NamingManager was processing a javax.naming.Reference object.<br>
at com.ibm.ejs.container.RemoteExceptionMappingStrategy.setUncheckedException(RemoteExceptionMappingStrategy.java:196)<br>
at com.ibm.ejs.container.EJSDeployedSupport.setUncheckedException(EJSDeployedSupport.java:296)<br>
at com.atomic.ejbspring.EJSRemoteStatelessEJBSpringTransaction_f9c64424.springServiceLayer(EJSRemoteStatelessEJBSpringTransaction_f9c64424.java:41)<br>
at com.atomic.ejbspring._EJSRemoteStatelessEJBSpringTransaction_f9c64424_Tie.springServiceLayer(_EJSRemoteStatelessEJBSpringTransaction_f9c64424_Tie.java:154)<br>
at com.atomic.ejbspring._EJSRemoteStatelessEJBSpringTransaction_f9c64424_Tie._invoke(_EJSRemoteStatelessEJBSpringTransaction_f9c64424_Tie.java:98)<br>
at com.ibm.CORBA.iiop.ServerDelegate.dispatchInvokeHandler(ServerDelegate.java:608)<br>
at com.ibm.CORBA.iiop.ServerDelegate.dispatch(ServerDelegate.java:461)<br>
at com.ibm.rmi.iiop.ORB.process(ORB.java:432)<br>
at com.ibm.CORBA.iiop.ORB.process(ORB.java:1728)<br>
at com.ibm.rmi.iiop.Connection.doWork(Connection.java:2227)<br>
at com.ibm.rmi.iiop.WorkUnitImpl.doWork(WorkUnitImpl.java:65)<br>
at com.ibm.ejs.oa.pool.PooledThread.run(ThreadPool.java:95)<br>
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:912)<br>
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'platformTransactionManager' defined in class path resource [com/atomic/springjndi/applicationContext.xml]: Initialization of bean failed; nested exception is org.springframework.transaction.TransactionSystemException: JTA UserTransaction is not available at JNDI location [jta/usertransaction]; nested exception is com.ibm.websphere.naming.CannotInstantiateObjectException: Exception occurred while the JNDI NamingManager was processing a javax.naming.Reference object.<br>
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:318)<br>
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:223)<br>
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:236)<br>
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:159)<br>
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:261)<br>
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:317)<br>
at org.springframework.context.support.ClassPathXmlApplicationContext.&lt;init&gt;(ClassPathXmlApplicationContext.java:80)<br>
at org.springframework.context.support.ClassPathXmlApplicationContext.&lt;init&gt;(ClassPathXmlApplicationContext.java:65)<br>
at org.springframework.context.support.ClassPathXmlApplicationContext.&lt;init&gt;(ClassPathXmlApplicationContext.java:56)<br>
at com.atomic.ejbspring.EJBSpringTransactionBean.springServiceLayer(EJBSpringTransactionBean.java:53)<br>
at com.atomic.ejbspring.EJSRemoteStatelessEJBSpringTransaction_f9c64424.springServiceLayer(EJSRemoteStatelessEJBSpringTransaction_f9c64424.java:35)<br>
... 10 more<br>
Caused by: org.springframework.transaction.TransactionSystemException: JTA UserTransaction is not available at JNDI location [jta/usertransaction]; nested exception is com.ibm.websphere.naming.CannotInstantiateObjectException: Exception occurred while the JNDI NamingManager was processing a javax.naming.Reference object.<br>
at org.springframework.transaction.jta.JtaTransactionManager.lookupUserTransaction(JtaTransactionManager.java:359)<br>
at org.springframework.transaction.jta.JtaTransactionManager.afterPropertiesSet(JtaTransactionManager.java:312)<br>
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1037)<br>
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:305)<br>
... 20 more<br>
Caused by: com.ibm.websphere.naming.CannotInstantiateObjectException: Exception occurred while the JNDI NamingManager was processing a javax.naming.Reference object. [Root exception is javax.naming.ConfigurationException]<br>
at com.ibm.ws.naming.util.Helpers.processSerializedObjectForLookupExt(Helpers.java:931)<br>
at com.ibm.ws.naming.util.Helpers.processSerializedObjectForLookup(Helpers.java:680)<br>
at com.ibm.ws.naming.jndicos.CNContextImpl.processResolveResults(CNContextImpl.java:1712)<br>
at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1567)<br>
at com.ibm.ws.naming.jndicos.CNContextImpl.doLookup(CNContextImpl.java:1480)<br>
at com.ibm.ws.naming.jndicos.CNContextImpl.lookupExt(CNContextImpl.java:1187)<br>
at com.ibm.ws.naming.jndicos.CNContextImpl.lookup(CNContextImpl.java:1067)<br>
at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:144)<br>
at javax.naming.InitialContext.lookup(InitialContext.java:361)<br>
at org.springframework.jndi.JndiTemplate$1.doInContext(JndiTemplate.java:123)<br>
at org.springframework.jndi.JndiTemplate.execute(JndiTemplate.java:85)<br>
at org.springframework.jndi.JndiTemplate.lookup(JndiTemplate.java:121)<br>
at org.springframework.transaction.jta.JtaTransactionManager.lookupUserTransaction(JtaTransactionManager.java:347)<br>
... 23 more<br>
&lt;&lt;  END server: 1198777258 at host localhost</p>
<p dir="auto">; nested exception is:<br>
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'platformTransactionManager' defined in class path resource [com/atomic/springjndi/applicationContext.xml]: Initialization of bean failed; nested exception is org.springframework.transaction.TransactionSystemException: JTA UserTransaction is not available at JNDI location [jta/usertransaction]; nested exception is com.ibm.websphere.naming.CannotInstantiateObjectException: Exception occurred while the JNDI NamingManager was processing a javax.naming.Reference object.</p>
<p dir="auto">//////////////////////////////////////////////////////////////////</p>
<p dir="auto">Pls help me in this regard</p>
<p dir="auto">Kind Regards<br>
Deepak</p>
<hr>
<p dir="auto"><strong>Affects:</strong> 1.1.3</p>
<p dir="auto"><strong>Attachments:</strong></p>
<ul dir="auto">
<li><a href="https://jira.spring.io/secure/attachment/10399/EJBSpringClient.java" rel="nofollow">EJBSpringClient.java</a> (<em>2.47 kB</em>)</li>
<li><a href="https://jira.spring.io/secure/attachment/10400/EventTestClient.java" rel="nofollow">EventTestClient.java</a> (<em>2.18 kB</em>)</li>
</ul>
<p dir="auto"><strong>Issue Links:</strong></p>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398053796" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/5314" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/5314/hovercard" href="https://github.com/spring-projects/spring-framework/issues/5314">#5314</a> EJB initiating the Tansaction CMT (<em><strong>"is duplicated by"</strong></em>)</li>
</ul>