US 9,811,386 B2
System and method for multitenant execution of OS programs invoked from a multitenant middleware application
Vijay Kyathanahalli Nanjundaswamy, Bangalore (IN)
Assigned to ORACLE INTERNATIONAL CORPORATION, Redwood Shores, CA (US)
Filed by Oracle International Corporation, Redwood Shores, CA (US)
Filed on Mar. 2, 2016, as Appl. No. 15/59,193.
Claims priority of provisional application 62/245,611, filed on Oct. 23, 2015.
Prior Publication US 2017/0116041 A1, Apr. 27, 2017
Int. Cl. G06F 9/46 (2006.01); G06F 9/50 (2006.01); G06F 17/30 (2006.01); G06F 9/455 (2006.01)
CPC G06F 9/5077 (2013.01) [G06F 9/455 (2013.01); G06F 17/30233 (2013.01)] 21 Claims
OG exemplary drawing
 
1. A method for supporting tenant scoped execution of a tenant-unaware process invoked from a multitenant middleware application, comprising:
providing, at one or more computers, including an application server environment executing thereon,
a plurality of partitions, wherein each partition provides an administrative and runtime subdivision of a domain, and
a plurality of tenant-aware programs, wherein each of the plurality of tenant-aware programs is associated with a partition of the plurality of partitions;
associating each of the plurality of partitions and the plurality of tenant-aware programs with a tenant of a plurality of tenants, for use by the tenant;
invoking the tenant-unaware process from a calling partition of the plurality of partitions, the calling partition being associated with a calling tenant of the plurality of tenants;
collecting tenancy information about the calling tenant;
creating, based upon the collected tenancy information about the calling tenant, a tenant specific virtual filesystem; and
based upon the collected tenancy information, scoping execution of the tenant-unaware process to the calling tenant by setting up a process execution environment and resources, wherein scoping execution of the tenant-unaware process to the calling tenant comprises:
redirecting streams of the tenant-unaware process to the tenant specific virtual filesystem, wherein streams of the tenant-unaware process comprise at least one of an input stream, an output stream, and an error stream;
wherein scoping execution allows for isolation of the execution of the tenant-unaware process scoped to the calling tenant from other tenants of the multitenant middleware environment.