This discussion is archived
3 Replies Latest reply: Sep 30, 2011 2:29 AM by RenévanWijk RSS

How to change webcache hostname listen address

Cuong Pham Newbie
Currently Being Moderated
Hello everyone
I'm a newbie on Oracle WebTier world :)
I've just install and configure Oracle WebCache and HttpServer that follow document guidelines:
- install webtier components
- run config.sh to setup Oracle WebCache and Oracle HTTP server, integrate them to Oracle WebLogic domain

The problems I have to fix is reconfigure webcache or http server configuration. From Oracle Fusion Middleware Control (hostname:port/em) I can view WebTier components that integrated to WebLogic domain but I cannot control them. The reason is OFM Control try to connect to localhost.localdomain to interact with those components. I cannot find where to configure hostname information of WebCache or OHS on OFM control.

Please give me some solutions. Any suggestions are appreciated :)

Regards.
  • 1. Re: How to change webcache hostname listen address
    RenévanWijk Oracle ACE
    Currently Being Moderated
    The hostname of the webcache is set in the webcache.xml configuration file.

    This is located in webcache specific directorty in ${WEBTIER-HOME}/instances/instance1/config/.

    In the webcache.xml there is a CACHE element with a hostname attribute, something like:
    <CACHE NAME="..." ORACLEHOME="..." HOSTNAME="somewhere.com" ORACLEINSTANCE="/home/oracle/bea/webtier/instances/instance1" COMPONENTNAME="webcache1" INSTANCENAME="instance1" VOTES="1" CAPACITY="30" WCDEBUGON="NO" CHRONOSONPERNODE="NO" ROUTINGONLY="YES">
    For the HTTP server, the configuration to look for is httpd.conf (located in the OHS specific directory in ${WEBTIER-HOME}/instances/instance1/config/).
    In the httpd.conf file look for a Listen directory. Usually this only configures a port (as the hostname will be retrieved by Apache itself).

    On the operating system level you can check to what IP the hostname is mapped by looking in the /etc/hosts file
  • 2. Re: How to change webcache hostname listen address
    Cuong Pham Newbie
    Currently Being Moderated
    Thank for your reply, Mr Rene'

    I tried to configure host name value from file that you mentioned (webcache.xml):
    <CACHE NAME="www.dvc.danang-WebCache" ORACLEHOME="/home/oracle/Oracle/Middleware/Oracle_WT1" *HOSTNAME="www.dvc.danang"* ORACLEINSTANCE="/home/oracle/Oracle/Middleware/Oracle_WT1/instances/instance2" COMPONENTNAME="webcache2" INSTANCENAME="instance2" VOTES="1" CAPACITY="30" WCDEBUGON="NO">
    I had already unregistered that instance, then edit configuration files and registered again, but the problems is still exist. On Oracle EM 11g (OFM control), when I navigate to Webtier components I still get localhost.localdomain as hostname at right-up window corner. When I tried to start Webcache component, I got this message:
    Could not get secure socket for host localhost.localdomain and port 6705. The remote OPMN server is probably not running or the OPMN mbean is not properly configured. See the adminserver log for more details.
    I've searched Google and edited opmn.xml to disable ssl:
    <opmn xmlns="http://www.oracle.com/ias-instance">
       <log comp="internal;ons;pm" rotation-size="1500000"/>
       <debug comp="" rotation-size="1500000"/>
       <notification-server interface="any">
          <port local="6704" remote="6705"/>
          <ssl enabled="false" wallet-file="/home/oracle/Oracle/Middleware/Oracle_WT1/instances/instance2/config/OPMN/opmn/wallet"/>
    After that, I shutdown and restart opmnctl to update configuration, but that fail message still exist on OFM control. I don't know how to resolve it. Can you help me to troubleshoot this error ?

    Thank in advance!
    P/s: these are my configuration files (webcache.xml) and opmn.xml

    opmn.xml
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <opmn xmlns="http://www.oracle.com/ias-instance">
       <log comp="internal;ons;pm" rotation-size="1500000"/>
       <debug comp="" rotation-size="1500000"/>
       <notification-server interface="any">
          <port local="6704" remote="6705"/>
          <ssl enabled="false" wallet-file="/home/oracle/Oracle/Middleware/Oracle_WT1/instances/instance2/config/OPMN/opmn/wallet"/>
       </notification-server>
       <process-manager>
          <process-modules>
             <module path="$ORACLE_HOME/opmn/lib/libopmnohs">
                <module-id id="OHS2"/>
             </module>
             <module path="$ORACLE_HOME/opmn/lib/libopmncustom">
                <module-id id="CUSTOM"/>
             </module>
             <module path="$ORACLE_HOME/opmn/lib/libopmnoid">
                <module-id id="OID"/>
             </module>
             <module path="$ORACLE_HOME/opmn/lib/libopmnbi">
                <module-id id="BIServer"/>
                <module-id id="BIScheduler"/>
                <module-id id="BIPresentationServices"/>
                <module-id id="BIClusterController"/>
                <module-id id="BIJavaHost"/>
             </module>
             <module path="$ORACLE_HOME/opmn/lib/libopmnovd">
                <module-id id="OVD"/>
             </module>
             <module path="$ORACLE_HOME/opmn/lib/libopmnwc">
                <module-id id="WebCache"/>
                <module-id id="WebCache-admin"/>
             </module>
             <module path="$ORACLE_HOME/opmn/lib/libopmnreports">
                <module-id id="ReportsServices"/>
                <module-id id="ReportsBridgeServices"/>
             </module>
             <module path="$ORACLE_HOME/opmn/lib/libopmndisco">
                <module-id id="Disco_ServicesStatus"/>
                <module-id id="Disco_SessionServer"/>
                <module-id id="Disco_PreferenceServer"/>
             </module>
             <module path="$ORACLE_HOME/opmn/lib/libopmnemagent">
                <module-id id="EMAGENT"/>
             </module>
          </process-modules>
          <ias-instance id="instance2" name="instance2">
            <environment>
               <variable id="TEMP" value="/tmp"/>
               <variable id="TMP" value="/tmp"/>
            </environment> 
          <ias-component id="ohs2">
      <process-type id="OHS" module-id="OHS2">
        <module-data>
          <category id="start-parameters">
            <data id="start-mode" value="ssl-enabled"/>
          </category>
        </module-data>
        <process-set id="OHS" numprocs="1"/>
      </process-type>
    </ias-component><ias-component id="webcache2" type="WebCache">
      <process-type id="WebCache" module-id="WebCache" working-dir="$ORACLE_INSTANCE/config/WebCache/$COMPONENT_NAME">
        <module-data>
          <category id="start-parameters">
            <data id="start-mode" value="ssl-enabled"/>
          </category>
        </module-data>
        <process-set id="WebCache" numprocs="1"/>
      </process-type>
      <process-type id="WebCache-admin" module-id="WebCache-admin" working-dir="$ORACLE_INSTANCE/config/WebCache/$COMPONENT_NAME">
        <module-data>
          <category id="start-parameters">
            <data id="start-mode" value="ssl-enabled"/>
          </category>
        </module-data>
        <process-set id="WebCache-admin" numprocs="1"/>
      </process-type>
    </ias-component></ias-instance>
          <rmd-definitions>
             <!-- Audit Loader Setup TODO
                  Update the interval for Audit Loader to control how frequently
                  the Standalone Audit Loader gets invoked (seconds).
             -->
             <rmd name="AuditLoader" interval="315360000">
                 <conditional>
                     ({time}>=00:00)
                 </conditional>
                 <!-- Audit Loader Setup TODO
                      Before Updating the action snippet below, please update the
                      password in the Secret Store
                 -->
                 <!-- Audit Loader Setup TODO
                      Update the jdbcString (@%host%:%port%:%sid%)
                      Update the username (%username%)
                      Update the password (%password%) in Secret Store by adding
                      2 more system properties:
                         -Dstore.password=true
                         -Dauditloader.password=%password%
                 -->
                 <action value="exec $ORACLE_HOME/jdk/bin/java -classpath $COMMON_COMPONENTS_HOME/modules/oracle.osdt_11.1.1/osdt_cert.jar$:$COMMON_COMPONENTS_HOME/modules/oracle.osdt_11.1.1/osdt_core.jar$:$ORACLE_HOME/jdbc/lib/ojdbc5.jar$:$COMMON_COMPONENTS_HOME/modules/oracle.iau_11.1.1/fmw_audit.jar$:$COMMON_COMPONENTS_HOME/modules/oracle.pki_11.1.1/oraclepki.jar -Doracle.home=$ORACLE_HOME -Doracle.instance=$ORACLE_INSTANCE -Dauditloader.jdbcString=jdbc:oracle:thin:@%host%:%port%:%sid% -Dauditloader.username=%username% oracle.security.audit.ajl.loader.StandaloneAuditLoader" timeout="60"/>
                 <exception value="exec /bin/echo PERIODICAL CALL FOR Audit Loader FAILED"/>
             </rmd>
          </rmd-definitions>
          <launch-targets>
            <launch-target id="logquery">
              <exec path="$ORACLE_HOME/jdk/bin/java"/>
              <argument value="-classpath"/>
              <argument value="$COMMON_COMPONENTS_HOME/modules/oracle.odl_11.1.1/ojdl.jar$:$COMMON_COMPONENTS_HOME/modules/oracle.odl_11.1.1/ojdl2.jar"/>
              <argument value="-Djava.encoding=utf-8"/>
              <argument value="oracle.as.management.logging.tools.LogQuery"/>
              <argument value="-i"/>
              <argument value="$ORACLE_INSTANCE"/>
            </launch-target>
            <launch-target id="createcomponent">
              <exec path="$ORACLE_INSTANCE/bin/opmnctl$BAT_EXT"/>
              <argument value="createcomponent"/>
            </launch-target>
            <launch-target id="deletecomponent">
              <exec path="$ORACLE_INSTANCE/bin/opmnctl$BAT_EXT"/>
              <argument value="deletecomponent"/>
            </launch-target>
            <launch-target id="reload" reload-timeout="0">
              <exec path="$ORACLE_INSTANCE/bin/opmnctl$BAT_EXT"/>
              <argument value="reload"/>
            </launch-target>
          </launch-targets>
       </process-manager>
    </opmn>
    and webcache.xml
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <CALYPSO xmlns="http://www.oracle.com/webcache" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.oracle.com/webcache dtds/webcache.xsd">
       <VERSION DTD_VERSION="11.1.1.0.0"/>
       <GENERAL>
          <CLUSTER NAME="WebCacheCluster" QUORUM="1" PINGURL="/_oracle_http_server_webcache_static_.html" PINGINTERVAL="10" PINGRETRY="5" PROPAGATE_INVALIDATION="YES"/>
          <SECURITY>
             <USER TYPE="INVALIDATION" PASSWORDHASH="DBEE6819CB08CE3C3D8424153C39C2D105383700"/>
             <USER TYPE="MONITORING" PASSWORDHASH="743409435DACB62EA15B07BAB3531978AB58219C"/>
             <USER TYPE="INVALIDATION" PASSWORDHASH="8E9FFCD745231A19E23FECA5735CDADF01492F6E"/>
             <USER TYPE="MONITORING" PASSWORDHASH="0F837607F3BDA53565ED65FC4FDF0543AFAD70A8"/>
             <USER TYPE="INVALIDATION" PASSWORDHASH="34B4E6AE0ECB138482F562960B6D1EB2EEB4D0E9"/>
             <USER TYPE="MONITORING" PASSWORDHASH="34B4E6AE0ECB138482F562960B6D1EB2EEB4D0E9"/>
             <SECURESUBNET ALLOW="ALL"/>
             <DEBUGINFO HEADER="YES" EVENTLOG="NO" HTMLCOMMENT="NO" SWITCHSTRING="+wcdebug"/>
             <HTTPREQUEST MAXTOTALHEADERSIZE="819000" MAXSINGLEHEADERSIZE="8152"/>
          </SECURITY>
          <COMPRESSION LEVEL="3"/>
          <EVENTLOG FILENAME="event_log" TIMESTYLE="LOCAL">
             <ROLLOVER FREQUENCY="NEVER"/>
          </EVENTLOG>
          <!-- to mimic that of portal config -->
          <INVALIDATIONINDEX>
             <INDEXPARAM VALUE="_provider_id"/>
             <INDEXPARAM VALUE="_portlet_id"/>
             <INDEXPARAM VALUE="_reference_path"/>
          </INVALIDATIONINDEX>
          <WATCHDOG ENABLE="YES" PINGENABLED="YES" PINGINTERVAL="15" PINGTIMEOUT="30" PINGURL="/_oracle_http_server_webcache_static_.html" PINGRETRY="3"/>
          <GLOBALCACHINGRULES>
             <SEARCHKEYOPTIONS ENABLE="YES" MAXSEARCHKEYSPERDOC="20"/>
             <ERRORPAGES>
                <ERRORPAGE TYPE="NETWORK" URI="/network_error.html"/>
                <ERRORPAGE TYPE="BACKLOGREACHED" URI="/busy_error.html"/>
                <ERRORPAGE TYPE="PARTIALPAGE" URI="/esi_fragment_error.txt"/>
                <ERRORPAGE TYPE="PORTALNETWORK" URI="/portal_network_error.xml"/>
             </ERRORPAGES>
             <SESSIONS>
                <SESSIONDEF NAME="JSESSIONID" COOKIENAME="JSESSIONID" URLPARAM="jsessionid" COMMENT="OracleAS 10g JServSessionIdroot in Jserv.OSE"/>
             </SESSIONS>
             <EXPIRATION>
                <EXPIRATIONRULE NAME="EXPID.0" CLOCKSTART="NONE" EXPIRESECS="0" MAXTIMEINCACHEAFTER="0" VALIDITYAFTER="10"/>
                <EXPIRATIONRULE NAME="EXPID.1" CLOCKSTART="CACHE_ENTRY" EXPIRESECS="300" MAXTIMEINCACHEAFTER="0" VALIDITYAFTER="10"/>
                <EXPIRATIONRULE NAME="EXPID.2" CLOCKSTART="CACHE_ENTRY" EXPIRESECS="3600" MAXTIMEINCACHEAFTER="360" VALIDITYAFTER="10"/>
             </EXPIRATION>
             <CACHEABILITY>
                <CACHEABILITYRULE NAME="cache image" CACHE="YES" COMMENT="This rule caches all .gif, .png, .bmp, .jpg and .jpeg files.  These file formats are sufficiently compressed and should *not* be further compressed by Web Cache." COMPRESS="NO">
                   <SELECTORS>
                      <URLEXP EXP="\.(gif|jpe?g|png|bmp)$"/>
                      <HTTPMETHODS SIMPLEGET="YES" GETWITHQUERYSTRING="NO" POST="NO"/>
                   </SELECTORS>
                   <EXPIRATIONREF EXPREF="EXPID.2"/>
                </CACHEABILITYRULE>
                <CACHEABILITYRULE NAME="cache compress css" CACHE="YES" COMMENT="This rule caches all .css files." COMPRESS="YES">
                   <SELECTORS>
                      <URLEXP EXP=".css" TYPE="FILEEXT"/>
                      <HTTPMETHODS SIMPLEGET="YES" GETWITHQUERYSTRING="NO" POST="NO"/>
                   </SELECTORS>
                   <EXPIRATIONREF EXPREF="EXPID.1"/>
                </CACHEABILITYRULE>
                <CACHEABILITYRULE NAME="cache uix-jdev js" CACHE="YES" COMMENT="This rule caches all UIX-JDev .js files without compression." COMPRESS="NO">
                   <SELECTORS>
                      <URLEXP EXP="/jsLibs/.*\.js$"/>
                      <HTTPMETHODS SIMPLEGET="YES" GETWITHQUERYSTRING="NO" POST="NO"/>
                   </SELECTORS>
                   <EXPIRATIONREF EXPREF="EXPID.1"/>
                </CACHEABILITYRULE>
                <CACHEABILITYRULE NAME="cache compress js" CACHE="YES" COMMENT="This rule caches all .js files." COMPRESS="YES">
                   <SELECTORS>
                      <URLEXP EXP=".js" TYPE="FILEEXT"/>
                      <HTTPMETHODS SIMPLEGET="YES" GETWITHQUERYSTRING="NO" POST="NO"/>
                   </SELECTORS>
                   <EXPIRATIONREF EXPREF="EXPID.1"/>
                </CACHEABILITYRULE>
                <CACHEABILITYRULE NAME="cache compress html" CACHE="YES" COMMENT="This rule caches all .htm and .html files.  This file format is ideal for compression by Web Cache." COMPRESS="YES">
                   <SELECTORS>
                      <URLEXP EXP="\.html?$"/>
                      <HTTPMETHODS SIMPLEGET="YES" GETWITHQUERYSTRING="NO" POST="NO"/>
                   </SELECTORS>
                   <EXPIRATIONREF EXPREF="EXPID.1"/>
                </CACHEABILITYRULE>
                <CACHEABILITYRULE NAME="cache swf" CACHE="YES" COMMENT="This rule caches all .swf files. This file format is sufficiently compressed and should *not* be further compressed by Web Cache." COMPRESS="NO">
                   <SELECTORS>
                      <URLEXP EXP=".swf" TYPE="FILEEXT"/>
                      <HTTPMETHODS SIMPLEGET="YES" GETWITHQUERYSTRING="NO" POST="NO"/>
                   </SELECTORS>
                   <EXPIRATIONREF EXPREF="EXPID.2"/>
                </CACHEABILITYRULE>
             </CACHEABILITY>
             <MAXCACHEABLECONTENTLENGTH MAXCONTENTLENGTH="100"/>
          </GLOBALCACHINGRULES>
          <ACCESSLOGSTYLES>
             <XLFFORMAT NAME="CLF" SEPARATOR="SPACE" WITHDIRECTIVE="NO">
                <XLFFIELD NAME="c-ip"/>
                <XLFFIELD NAME="x-log-id"/>
                <XLFFIELD NAME="x-auth-id"/>
                <XLFFIELD NAME="x-clf-date"/>
                <XLFFIELD NAME="x-req-line"/>
                <XLFFIELD NAME="sc-status"/>
                <XLFFIELD NAME="bytes"/>
             </XLFFORMAT>
             <XLFFORMAT NAME="ECLF" SEPARATOR="SPACE" WITHDIRECTIVE="NO">
                <XLFFIELD NAME="c-ip"/>
                <XLFFIELD NAME="x-log-id"/>
                <XLFFIELD NAME="x-auth-id"/>
                <XLFFIELD NAME="x-clf-date"/>
                <XLFFIELD NAME="x-req-line"/>
                <XLFFIELD NAME="sc-status"/>
                <XLFFIELD NAME="bytes"/>
                <XLFFIELD NAME="x-ecid"/>
             </XLFFORMAT>
             <XLFFORMAT NAME="combined" SEPARATOR="SPACE" WITHDIRECTIVE="NO">
                <XLFFIELD NAME="c-ip"/>
                <XLFFIELD NAME="x-log-id"/>
                <XLFFIELD NAME="x-auth-id"/>
                <XLFFIELD NAME="x-clf-date"/>
                <XLFFIELD NAME="x-req-line"/>
                <XLFFIELD NAME="sc-status"/>
                <XLFFIELD NAME="bytes"/>
                <XLFFIELD NAME="cs(Referer)"/>
                <XLFFIELD NAME="cs(User-Agent)"/>
             </XLFFORMAT>
             <XLFFORMAT NAME="ecombined" SEPARATOR="SPACE" WITHDIRECTIVE="NO">
                <XLFFIELD NAME="c-ip"/>
                <XLFFIELD NAME="x-log-id"/>
                <XLFFIELD NAME="x-auth-id"/>
                <XLFFIELD NAME="x-clf-date"/>
                <XLFFIELD NAME="x-req-line"/>
                <XLFFIELD NAME="sc-status"/>
                <XLFFIELD NAME="bytes"/>
                <XLFFIELD NAME="cs(Referer)"/>
                <XLFFIELD NAME="cs(User-Agent)"/>
                <XLFFIELD NAME="x-ecid"/>
             </XLFFORMAT>
             <XLFFORMAT NAME="WCLF" SEPARATOR="TAB" WITHDIRECTIVE="YES">
                <XLFFIELD NAME="x-req-type"/>
                <XLFFIELD NAME="x-date-start"/>
                <XLFFIELD NAME="x-time-start"/>
                <XLFFIELD NAME="c-ip"/>
                <XLFFIELD NAME="s-ip"/>
                <XLFFIELD NAME="x-auth-id"/>
                <XLFFIELD NAME="cs(Host)"/>
                <XLFFIELD NAME="cs-method"/>
                <XLFFIELD NAME="cs-uri"/>
                <XLFFIELD NAME="x-protocol"/>
                <XLFFIELD NAME="sc-status"/>
                <XLFFIELD NAME="bytes"/>
                <XLFFIELD NAME="cs-bytes"/>
                <XLFFIELD NAME="x-cache"/>
                <XLFFIELD NAME="time-taken"/>
                <XLFFIELD NAME="r-time-taken"/>
                <XLFFIELD NAME="x-time-delay"/>
                <XLFFIELD NAME="x-os-timeout"/>
                <XLFFIELD NAME="x-ecid"/>
                <XLFFIELD NAME="x-cookie(ORACLE_SMP_CHRONOS_ST)"/>
                <XLFFIELD NAME="x-cookie(ORACLE_SMP_CHRONOS_LT)"/>
                <XLFFIELD NAME="x-cookie(ORACLE_SMP_CHRONOS_GL)"/>
                <XLFFIELD NAME="cs(Referer)"/>
                <XLFFIELD NAME="cs(User-Agent)"/>
                <XLFFIELD NAME="x-esi-info"/>
                <XLFFIELD NAME="x-conn-abrt"/>
                <XLFFIELD NAME="x-glcookie-set"/>
                <XLFFIELD NAME="sc(Content-Type)"/>
             </XLFFORMAT>
             <ROLLOVER NAME="never" FREQUENCY="NEVER"/>
             <ROLLOVER NAME="hourly" FREQUENCY="HOURLY">
                <SCHEDULE TIME="00"/>
             </ROLLOVER>
             <ROLLOVER NAME="daily" FREQUENCY="DAILY">
                <SCHEDULE TIME="0000"/>
             </ROLLOVER>
             <ROLLOVER NAME="weekly" FREQUENCY="WEEKLY">
                <SCHEDULE TIME="00000"/>
             </ROLLOVER>
          </ACCESSLOGSTYLES>
          <ACCESSLOG XLFFORMATNAME="ECLF" TIMESTYLE="LOCAL" ROLLOVERNAME="never" FILENAME="access_log"/>
          <SITE NAME="localhost.localdomain" PORT="7795" ISDEFAULT="YES" REQUESTBACKLOGTIMELIMIT="2">
             <SESSIONS>
                <SESSIONDEF NAME="FoundationPersistentSessionID" COOKIENAME="ESFSID" COMMENT="OracleAS 10g Foundation Classes persistent session tracking"/>
                <SESSIONDEF NAME="PAsid" URLPARAM="PAsid" COMMENT="OracleAS 10g Wireless         session ID" DEFAULTVALUE="default"/>
                <SESSIONDEF NAME="PAconnxn" URLPARAM="PAconnxn" COMMENT="OracleAS 10g Wireless connection ID" DEFAULTVALUE="default"/>
                <SESSIONDEF NAME="PAuserid" URLPARAM="PAuserid" COMMENT="OracleAS 10g Wireless user ID" DEFAULTVALUE="default"/>
                <SESSIONCACHINGRULE SESSIONNAME="PAsid" NAME="sc.0" CACHEWITH="YES" CACHEWITHOUT="NO" WITHOUTCANBEDERIVED="NO"/>
                <SESSIONCACHINGRULE SESSIONNAME="PAconnxn" NAME="sc.1" CACHEWITH="YES" CACHEWITHOUT="NO" WITHOUTCANBEDERIVED="NO"/>
                <SESSIONCACHINGRULE SESSIONNAME="PAuserid" NAME="sc.2" CACHEWITH="YES" CACHEWITHOUT="NO" WITHOUTCANBEDERIVED="NO"/>
             </SESSIONS>
             <CACHEABILITY>
                <CACHEABILITYRULE NAME="cache_wireless_rm" COMMENT="This rule is for OracleAS 10g Wireless server only, if this conflicts with your own application or if you are not running OracleAS 10g Wireless server, this rule can be removed" SSLONLY="NO" COMPRESS="NO" CACHE="YES">
                   <SELECTORS>
                      <URLEXP EXP="/ptg/rm"/>
                      <HTTPMETHODS SIMPLEGET="YES" GETWITHQUERYSTRING="YES" POST="NO"/>
                   </SELECTORS>
                   <EXPIRATIONREF EXPREF="EXPID.0"/>
                   <SESSIONCACHINGREF SCREF="sc.0"/>
                   <SESSIONCACHINGREF SCREF="sc.1"/>
                   <SESSIONCACHINGREF SCREF="sc.2"/>
                </CACHEABILITYRULE>
             </CACHEABILITY>
          </SITE>
          <ALL_OTHER_SITES>
             <REQUEST_FILTERS>
                <REQUEST_FILTER_HTTPMETHOD>
                   <RF_COMMON_TYPE ENABLED="YES" DENYACTION="403 FORBIDDEN" AUDITLEVEL="DENY"/>
                   <RF_HTTPMETHOD_RULE>
                      <RF_COMMON_RULE ENABLED="YES" ACTION="DENY" MONITOR="OFF"/>
                      <HTTPMETHOD NAME="TRACE"/>
                   </RF_HTTPMETHOD_RULE>
                   <RF_CATCHALL_RULE ACTION="ALLOW" MONITOR="OFF"/>
                </REQUEST_FILTER_HTTPMETHOD>
             </REQUEST_FILTERS>
          </ALL_OTHER_SITES>
          <HOST ID="h1" NAME="localhost.localdomain" PORT="7779" LOADLIMIT="100" OSSTATE="ON"/>
          <HOST ID="h2" NAME="localhost.localdomain" PORT="4445" LOADLIMIT="100" OSSTATE="ON" SSLENABLED="SSL"/>
          <VIRTUALHOSTMAP NAME="localhost.localdomain" PORT="7795">
             <HOSTREF HOSTID="h1"/>
          </VIRTUALHOSTMAP>
          <VIRTUALHOSTMAP NAME="localhost.localdomain" PORT="7799">
             <HOSTREF HOSTID="h2"/>
          </VIRTUALHOSTMAP>
          <VIRTUALHOSTMAP NAME="*" PORT="7795" EXCLUDE="ESI">
             <HOSTREF HOSTID="h1"/>
          </VIRTUALHOSTMAP>
          <VIRTUALHOSTMAP NAME="*" PORT="*" EXCLUDE="ESI">
             <HOSTREF HOSTID="h1"/>
          </VIRTUALHOSTMAP>
       </GENERAL>
       <CACHE NAME="www.dvc.danang-WebCache" ORACLEHOME="/home/oracle/Oracle/Middleware/Oracle_WT1" HOSTNAME="www.dvc.danang" ORACLEINSTANCE="/home/oracle/Oracle/Middleware/Oracle_WT1/instances/instance2" COMPONENTNAME="webcache2" INSTANCENAME="instance2" VOTES="1" CAPACITY="30" WCDEBUGON="NO">
          <MULTIPORT>
             <LISTEN IPADDR="ANY" PORT="7795" PORTTYPE="NORM"/>
             <LISTEN IPADDR="ANY" PORT="7799" PORTTYPE="NORM" SSLENABLED="SSL">
                <WALLET>/home/oracle/Oracle/Middleware/Oracle_WT1/instances/instance2/config/WebCache/webcache2/keystores/default</WALLET>
             </LISTEN>
             <LISTEN IPADDR="ANY" PORT="7796" PORTTYPE="ADMINISTRATION"/>
             <LISTEN IPADDR="ANY" PORT="7798" PORTTYPE="INVALIDATION"/>
             <LISTEN IPADDR="ANY" PORT="7797" PORTTYPE="STATISTICS"/>
          </MULTIPORT>
          <EVENTLOGDIR LOGDIR="/home/oracle/Oracle/Middleware/Oracle_WT1/instances/instance2/diagnostics/logs/WebCache/webcache2" BUFFERENABLED="YES" BUFFERSIZE="2048" FLUSHINTERVAL="10">
             <VERBOSITY LEVEL="NOTIFICATION"/>
             <DEBUGVERBOSITY LEVEL="TRACE"/>
          </EVENTLOGDIR>
          <ACCESSLOGDIR LOGDIR="/home/oracle/Oracle/Middleware/Oracle_WT1/instances/instance2/diagnostics/logs/WebCache/webcache2" BUFFERENABLED="YES" BUFFERSIZE="2048" FLUSHINTERVAL="10"/>
          <IDENTITY USERID="oracle" GROUPID="oracle"/>
          <RESOURCELIMITS MAXINBOUNDCONNECTIONS="500" MAXCACHESIZE_MB="500"/>
          <OSWALLET>/home/oracle/Oracle/Middleware/Oracle_WT1/instances/instance2/config/WebCache/webcache2/keystores/default</OSWALLET>
          <CALYPSONETINFO/>
          <DIAGNOSTICS>
             <TRACEDUMP FILENAME="/home/oracle/Oracle/Middleware/Oracle_WT1/instances/instance2/diagnostics/logs/WebCache/webcache2/tracedump"/>
             <IOLOGGER ENABLED="NO" FILENAME="/home/oracle/Oracle/Middleware/Oracle_WT1/instances/instance2/diagnostics/logs/WebCache/webcache2/io_log">
                <BUFFERING ENABLED="YES" BUFFERSIZE="2048" FLUSHINTERVAL="300"/>
             </IOLOGGER>
          </DIAGNOSTICS>
       </CACHE>
    </CALYPSO>
  • 3. Re: How to change webcache hostname listen address
    RenévanWijk Oracle ACE
    Currently Being Moderated
    "Could not get secure socket for host localhost.localdomain and port 6705. The remote OPMN server is probably not running or the OPMN mbean is not properly configured. See the adminserver log for more details."

    Could you check the adminserver log to see what went wrong. These logs are located in the ${DOMAIN_HOME}/servers/AdminServer/logs directory.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points