Handy Deployment Plan for WLP Propagation

Most people will face the issue with file size limits in propagation uploads early on. Some of us also want verbose logging with the commit task so that we have a record of what was propagated. The following propagation plan will fix the first issue up to 90 MB (if your inventory is larger use the uploadRemote tasks instead) and the latter to the best of the ability of the propagation servlet:


<deployment-plan xmlns="http://www.bea.com/ns/weblogic/90" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <application-name>drtApp</application-name>
    <variable-definition>
        <variable>
            <name>VERBOSE_LOGGING</name>
            <value>true</value>
        </variable>
        <variable>
            <name>VERBOSE_LOGGING_FOLDER</name>
            <value>/tmp/propagation_logs</value>
        </variable>       
        <variable>
            <name>CHANGEUPLOAD</name>
            <value>90000000</value><!-- 90 MB -->
        </variable>
    </variable-definition>
    <module-override>
        <module-name>propagation.war</module-name>
        <module-type>war</module-type>
        <module-descriptor external="false">
            <root-element>weblogic-web-app</root-element>
            <uri>WEB-INF/weblogic.xml</uri>
        </module-descriptor>
        <module-descriptor external="false">
            <root-element>web-app</root-element>
            <uri>WEB-INF/web.xml</uri>
            <variable-assignment>
                <name>VERBOSE_LOGGING</name>
                <xpath>/web-app/context-param/[param-name="enable_verbose_logging"]/param-value</xpath>
            </variable-assignment>
            <variable-assignment>
                <name>VERBOSE_LOGGING_FOLDER</name>
                <xpath>/web-app/context-param/[param-name="verbose_log_folder"]/param-value</xpath>
            </variable-assignment>
            <variable-assignment>
                 <name>CHANGEUPLOAD</name>
                <xpath>/web-app/context-param/[param-name="maximum_inventoryfile_upload_size"]/param-value</xpath>
            </variable-assignment>
        </module-descriptor>
    </module-override>
</deployment-plan>

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

bocadmin_ww

Search

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