Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

How to Create WebLogic Persistent JDBCStore

DZone's Guide to

How to Create WebLogic Persistent JDBCStore

· Java Zone
Free Resource

Download Microservices for Java Developers: A hands-on introduction to frameworks and containers. Brought to you in partnership with Red Hat.

WebLogic uses "Persistent Store " to store subsystems data, such as persistent JMS messages. It defaults to use File Store, but you can customize to use database instead. To do this, you would need to create a DataSource first, and ensure to UNCHECK the "Supports Global Transactions" feature. Basically you need to create an NON-XA DataSource in order to use it in Persistent JDBCStore. Otherwise you will not able to see your datasource as option to use.

Exmaple of a Non-XA DataSource:


Exmaple of JDBCStore using that Non-XA DataSource: 

Download Building Reactive Microservices in Java: Asynchronous and Event-Based Application Design. Brought to you in partnership with Red Hat

Topics:

Published at DZone with permission of Zemian Deng, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}