# US 2014/0229619 A1 · Resilient Portals Through Sandboxing

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2014/0229619 A1
- Document ID: US20140229619A1
- Status: Published application
- Kind: A1
- Application number: 14/023,092
- Filed: 2013-09-10
- Published: 2014-08-14
- Earliest claimed: 2013-02-11
- Assignees: Liferay, Inc.
- Applicants: Liferay, Inc.
- Inventors: Michael C. Han; Shuyang Zhou
- Web page: https://patentgrep.com/patent/US20140229619A1

## CPC

- H04L 67/567: Integrating service provisioning from a plurality of service providers
- G06F 21/53: by executing in a restricted environment, e.g. sandbox or secure virtual machine
- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A portal system uses sandboxing to increase reliability of the portals. The portal can be centrally managed to maintain reliability of portals by sandboxing individual portlets. This can help portal administrators reduce the impact any single portlet may have on the resiliency of the overall portal, while maintaining core portal functionality. For example, if a portlet or group of portlets becomes unstable, these portlets will not impact the overall availability of the portal.

## Claims

### Claim 1

A method comprising:
receiving a first request from a user to a portal web page, wherein a first portlet of the portal web page is managed by a master portal process and the first request includes a first portlet identifier indicating that it relates to the first portlet;
at the master portal process, processing the user's first request comprising:
performing a lookup using the first portlet identifier;
based on the lookup, determining a first sandbox executes a first portlet executable corresponding to the first portlet;
transferring the first request to the first sandbox for operation; and
receiving an updated render of the first portlet at the master portal process based on the first request; and
generating a response for the user's first request comprising:
assembling output for a plurality of portlets on the portal web page, including the updated render of the first portlet; and
rendering an updated portal web page.

### Claim 2 (depends on 1)

The method of claim 1 comprising:
receiving an error indication from the first portlet; and
terminating the first sandbox executing the first portlet executable.

### Claim 3 (depends on 2)

The method of claim 2 wherein the master portal process continues to execute after the terminating the first sandbox.

### Claim 4 (depends on 2)

The method of claim 2 wherein the error indication indicates a nonresponsive state of the first portlet.

### Claim 5 (depends on 2)

The method of claim 2 wherein the error indication indicates an excessive computing resource utilization of the first portlet.

### Claim 6 (depends on 2)

The method of claim 2 wherein the error indication indicates an excessive utilization of resources of the first portlet.

### Claim 7 (depends on 6)

The method of claim 6 wherein the excessive utilization of resources includes excessive utilization of at least one of a computing resource, memory resource, network resource, or disk resource.

### Claim 8 (depends on 1)

The method of claim 1 wherein the first request relates to exactly one portlet of the portal web page.

### Claim 9 (depends on 1)

The method of claim 1 wherein the master portal process executes on a first computer separate from a second computer hosting the first sandbox.

### Claim 10 (depends on 1)

The method of claim 1 comprising:
at the master portal process, processing a user's second request wherein the second request includes a second portlet identifier indicating that it relates to the first portlet and further comprises:
performing a lookup using the second portlet identifier;
based on the lookup, determining the first sandbox executes the first portlet executable corresponding to the first portlet;
transferring the second request to the first sandbox for operation; and
receiving an updated render of the first portlet at the master portal process based on the second request.

### Claim 11 (depends on 1)

The method of claim 1 comprising:
at the master portal process, processing a user's second request wherein the second request includes a second portlet identifier indicating that it relates to a second portlet managed by the master portal process and further comprises:
performing a lookup using the second portlet identifier;
based on the lookup, determining a first sandbox executes the second portlet executable corresponding to the second portlet;
transferring the second request to the first sandbox for operation; and
receiving an updated render of the second portlet at the master portal process based on the second request.

### Claim 12 (depends on 1)

The method of claim 1 comprising:
at the master portal process, processing a user's second request wherein the second request includes a second portlet identifier indicating that it relates to a second portlet managed by the master portal process and further comprises:
performing a lookup using the second portlet identifier;
based on the lookup, determining a second sandbox executes the second portlet executable corresponding to the second portlet;
transferring the second request to the second sandbox for operation; and
receiving an updated render of the second portlet at the master portal process based on the second request.

### Claim 13 (depends on 1)

The method of claim 1 wherein the first sandbox comprises an interpreter, wherein the interpreter is used in executing the first portlet executable of the first portlet.

### Claim 14 (depends on 1)

The method of claim 1 wherein the first portlet executable of the first portlet comprises a bytecode format.

### Claim 15

A method comprising:
receiving a request from a first user at a first portlet of a portal web page managed by a master portal process;
launching a first sandbox comprising the first portlet;
at the master portal process, processing the first user's request by sending the first user's request at the first portlet to the first sandbox for execution;
at the master portal process, monitoring execution of the first sandbox, wherein the monitoring is capable of detecting at least one of a plurality of conditions of the first sandbox, the plurality of conditions comprising a first condition comprising unresponsiveness of the first portlet; and
upon detecting a condition of the plurality of conditions of the first sandbox, causing a termination of the first sandbox, launching a second sandbox, and sending the first user's request of the first portlet to the second sandbox for execution,
wherein the first sandbox is terminated without a termination of the master portal process, the second sandbox is different from the first sandbox, and the second sandbox comprises the first portlet.

### Claim 16 (depends on 15)

The method of claim 15 wherein the plurality of conditions comprises a second condition comprising excessive resource utilization by the first portlet.

### Claim 17 (depends on 15)

The method of claim 15 comprising:
upon detecting a condition of the plurality of conditions of the first sandbox, providing an indication that the condition has occurred.

### Claim 18 (depends on 15)

The method of claim 15 wherein the monitoring execution of the first sandbox comprises monitoring a heartbeat connection between the first sandbox and the master portal process.

### Claim 19 (depends on 15)

The method of claim 15 wherein before the causing the termination of the first sandbox, the first sandbox comprises the first portlet and a second portlet and
after the causing a termination of the first sandbox, the second sandbox comprises the first portlet and the second portlet.

### Claim 20

A method comprising:
receiving a request from a first user at a portal web page for a first portlet managed by a master portal process;
at the master portal process, processing the first user's request by determining that the first portlet has been configured to execute on a first sandbox, and sending the first user's request at the first portlet to the first sandbox for execution, wherein the first sandbox comprises an executable of the first portlet that will execute the first user's response;
at the first sandbox containing the executable of the first portlet, processing the first user's request and returning a result to the master portal process; and
at the master portal process, assembling a response for the first user's request including the result from the executable of the first portlet at the first sandbox and returning the response at the portal web page.

### Claim 21 (depends on 20)

The method of claim 20 wherein the second portlet comprises an executable configured to execute on a second sandbox, separate from the first sandbox.

### Claim 22 (depends on 20)

The method of claim 20 wherein the second portlet comprises an executable configured to execute on the first sandbox.
