JMS : Specifying Message Paging Directory on Weblogic server.

Posted by adejuanc on Oracle Blogs See other posts from Oracle Blogs or by adejuanc
Published on Tue, 9 Oct 2012 21:58:36 +0000 Indexed on 2012/10/10 3:46 UTC
Read the original article Hit count: 380

Filed under:
Two ways to configure or modify Paging directory, here the examples :

1.- Via config.xml file.

<paging-directory>C:\temp</paging-directory>

<jms-server>
<name>JMSServerMS1</name>
<target>MS1</target>
<persistent-store xsi:nil="true"></persistent-store>
<hosting-temporary-destinations>true</hosting-temporary-destinations>
<temporary-template-resource xsi:nil="true"></temporary-template-resource>
<temporary-template-name xsi:nil="true"></temporary-template-name>
<message-buffer-size>-1</message-buffer-size>
<paging-directory>C:\temp</paging-directory>
<paging-file-locking-enabled>true</paging-file-locking-enabled>
<expiration-scan-interval>30</expiration-scan-interval>
</jms-server>

-------------------------------------------------------


2 .- Via WLST (Weblogic scripting tool)


startEdit()
cd('/Deployments/JMSServerMS1')
cmo.setPagingDirectory('C:\\temp')
activate()

© Oracle Blogs or respective owner

Related posts about /Personal