BEA-WEBLOGIC-MIB :: virtualHostAcceptContextPathInGetRealPath

MIB Reference — IPNetwork Monitor · Updated September 14, 2026

All MIBsBEA-WEBLOGIC-MIBvirtualHostAcceptContextPathInGetRealPath

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 OIDNameModule
1isoLANART-AGENT
1.3orgAirPair-MIB
1.3.6dodAirPair-MIB
1.3.6.1internetAirPair-MIB
1.3.6.1.4privateAirPair-MIB
1.3.6.1.4.1enterprisesAirPair-MIB
Numeric OIDNameModule
1.3.6.1.4.1.140beaBEA-WEBLOGIC-MIB
1.3.6.1.4.1.140.625wlsBEA-WEBLOGIC-MIB
1.3.6.1.4.1.140.625.790virtualHostTableBEA-WEBLOGIC-MIB
1.3.6.1.4.1.140.625.790.1virtualHostEntryBEA-WEBLOGIC-MIB
1.3.6.1.4.1.140.625.790.1.135virtualHostAcceptContextPathInGetRealPathBEA-WEBLOGIC-MIB