After you install UCM 11gR1 you may occassionally (or often) start your UCM managed server from the command line. When you do this, you will get prompted for your weblogic username and password. If you get tired of this you can create a text file named boot.properties. In this file, put the following:
username=<your user name here, example: weblogic>
password=<your password here, example weblogic1>
Save the file and place it here:
You may need to create the security directory.
The next time you start your manage server you will not need to supply the user name or password. The values for these will be pulled from the boot.properties file. Additionally the values in your file will be encrypted and written back to the file. After you have booted the manage server open the properties file to view the encrypted values.
The Content Basket component uses the ZIP Rendition Management to package the contents of the basket for download as a ZIP file. By default there are two limitations imposed on your download. It must be a count of five hundred (500) pieces of content or less and it must be a total of five hundred (500) megabytes or less. The two settings that control this are actually part of ZIP Rendition Management and not Content Basket.
This variable represents the max size in megabytes (default is 500 megabytes). From the internal notes: Note, it is unlikely that a browser + web server will successfully download a file over 2 gigabytes over 2 gigabytes and you need 8 byte integers in the Content-Length HTTP header) in all scenarios so the effective maximum cap on this value is 2000 megabytes.
This is the max number of items available to package in the bundle.
You can use UCM built-in Java methods to Encode and Decode your HTML/XML. This is handy when operating within the WCM realm as well as when working with UCM UI customizations. I’ve uploaded a sample component showing some of this in action on the downloadspage.
This component adds a simple service handler you can execute throught the custom service (ENCODE_DECODE_SAMPLE_SERVICE). The handler takes the content you enter into a textarea an encodes and decodes it then provides those variables for out template to write back to the page as well as dumping some information out to the server output.
String txtEncoded = StringUtils.encodeXmlEscapeSequence(txtOriginal);
SystemUtils.trace("system", "txtEncoded=" + txtEncoded);
String txtDecoded = StringUtils.decodeXmlEscapeSequence(txtOriginal.toCharArray(), 0, txtOriginal.length());
SystemUtils.trace("system", "txtDecoded=" + txtDecoded);