* Handle max-thread-count exception in invokeAsynx().
This commit is contained in:
parent
ecfa47bdc7
commit
c836b73bf2
1 changed files with 2 additions and 1 deletions
|
@ -712,8 +712,9 @@ public class ApplicationBean implements Serializable {
|
|||
map.put("running", Boolean.TRUE);
|
||||
new Thread() {
|
||||
public void run() {
|
||||
RequestEvaluator reval = app.getEvaluator();
|
||||
RequestEvaluator reval = null;
|
||||
try {
|
||||
reval = app.getEvaluator();
|
||||
map.put("result", reval.invokeInternal(thisObject, function, args, timeout));
|
||||
} catch (Exception x) {
|
||||
map.put("exception", x);
|
||||
|
|
Loading…
Add table
Reference in a new issue