JMS : Specifying Message Paging Directory on Weblogic server.

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()
Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

Antonio De Juan Image

I was formerly a Senior Technical Support Engineer in the Middleware Application Server Team. I worked supporting Weblogic Server, Java EE, Jrockit, Coherence among other Oracle products.
You can find my new blog at :
http://antoniodejuan.wordpress.com/
Oracle WebLogic

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today