It's all about the answers!

Ask a question

Target for Web Container Custom Properties


Gagan Jain (1111) | asked Jul 20 '10, 8:45 a.m.
Hi

Is there's any target for creating new Custom Property for Web Container in RAFW 7.1.1.4 for WAS 7.0?

Path of custom property in WAS Console:
Application Servers > <Server> > Web Container > Custom Properties.

Regards
GJ

2 answers



permanent link
Timothy Robertson (216143) | answered Jul 20 '10, 5:20 p.m.
You can use the was_common_configure_server* actions to import various settings of an App server including the web container. Here's the snippet of xml that resulted when I created a Custom Property for the Web Container and ran was_common_configure_server_application_server in import mode.


<WebContainer
WASKey="components"
allowAsyncRequestDispatching="false"
asyncIncludeTimeout="60000"
components=""
disablePooling="false"
enableServletCaching="false"
maximumPercentageExpiredEntries="15"
maximumResponseStoreSize="100"
sessionAffinityTimeout="0"
transports=""
>
<ApplicationServer
RAFW_TYPE="reference"
WASKey="parentComponent"
applicationClassLoaderPolicy="MULTIPLE"
applicationClassLoadingMode="PARENT_FIRST"
id="-1"
properties=""
>
</ApplicationServer>
<Property
WASKey="properties"
description="Just an example"
name="TIM_WEB_CONT_CP"
required="false"
value="some value"
>
</Property>
.......


The property name is TIM_WEB_CONT_CP
You could manually create a property in the xml file and run RAFW in execute mode to configure the app server with the new property

permanent link
Gagan Jain (1111) | answered Jul 26 '10, 12:05 p.m.
Thank you. It works that way but i will not trust build forge to configure the entire server properties (Even if i do import from the server and make my changes and execute with changed server.xml) just for configuring Web Container settings.

I suppose there is no other built in target only to alter Web Container setting in RAFW? Any views?

Regards
GJ

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.