All MIBs › BEA-WEBLOGIC-MIB › virtualHostAcceptContextPathInGetRealPath
virtualHostAcceptContextPathInGetRealPath
Module: BEA-WEBLOGIC-MIB
OID (symbolic): BEA-WEBLOGIC-MIB::virtualHostAcceptContextPathInGetRealPath
OID (numeric): 1.3.6.1.4.1.140.625.790.1.135
Node type: OBJECT-TYPE
Type: OCTET STRING
Access: read-only
Description: Indicates whether this server allows the inclusion of the context path in the virtual path to context.getRealPath(). (If checked, you cannot use sub directories with the same name as contextPath). This is a compatibility switch that will be deprecated 9.0.0.0 in future releases. Gets the acceptContextPathInGetRealPath attribute of the WebServerMBean object
What is virtualHostAcceptContextPathInGetRealPath?
This flag controls whether ServletContext.getRealPath() accepts the context path component, a deprecated compatibility option. Legacy application developers enable this for compatibility; modern apps keep it false. Example: when true, getRealPath('/context/file') returns '/app/context/file'; false ignores context path.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.140.625.790.1.135 snmpwalk -v2c -c public <target> BEA-WEBLOGIC-MIB::virtualHostAcceptContextPathInGetRealPath
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.140.625.790.1.135.1 snmpget -v2c -c public <target> BEA-WEBLOGIC-MIB::virtualHostAcceptContextPathInGetRealPath.1
Start monitoring BEA/Oracle WebLogic Server (Java EE application server) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the BEA-WEBLOGIC-MIB::virtualHostAcceptContextPathInGetRealPath OID value, configure state conditions and alerts, and monitor any BEA/Oracle WebLogic Server (Java EE application server) from a single console.
OID Breakdown
Upper-level ancestors (6 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.140 | bea | BEA-WEBLOGIC-MIB |
| 1.3.6.1.4.1.140.625 | wls | BEA-WEBLOGIC-MIB |
| 1.3.6.1.4.1.140.625.790 | virtualHostTable | BEA-WEBLOGIC-MIB |
| 1.3.6.1.4.1.140.625.790.1 | virtualHostEntry | BEA-WEBLOGIC-MIB |
| 1.3.6.1.4.1.140.625.790.1.135 | virtualHostAcceptContextPathInGetRealPath | BEA-WEBLOGIC-MIB |