• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

javax.jms.JMSException: Not supported in XA-backed session outside

 
Ranch Hand
Posts: 228
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Friends,

I am trying to setup OracleOJMS provider and tries to access queue and post to queue from a normal jsp for testing.

I am getting the following




Steps i have done
ResourceProvider.jsp




My Steps for OJMS PRovider
1. Creating AQ queue in DB
2. configuration of resource adapter and provider
3. configuration of connection factories for resourceadapter[jmsconnector]

 
Karthik Rajendiran
Ranch Hand
Posts: 228
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Issue Got Solved.

1. Reason Servlet/jsp connects to queue using xaqueueconnectionfactory,
since they are not coded within transaction, we cannot use xaconnectionfactory.

Instead i replaced the factory with normal queueconnectionfactory and i was able to post the data to queue

And suppose if you want to use xaqueueconnfactory, we should use it within transaction or inside ejb or mdb
 
reply
    Bookmark Topic Watch Topic
  • New Topic