php.java.script.servlet
Class PhpScriptTemporarilyOutOfResourcesException
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.script.ScriptException
php.java.script.PhpScriptException
php.java.script.servlet.PhpScriptTemporarilyOutOfResourcesException
- All Implemented Interfaces:
- java.io.Serializable
public class PhpScriptTemporarilyOutOfResourcesException
- extends PhpScriptException
Thrown when the bridge refuses to allocate another continuation
from the pool. This happens when the servlet already has captured
php.java.bridge.threads
/2-1 active continuations.
See system propety php.java.bridge.threads
. Change the
pool size in your server.xml and declare the
new pool size with -Dphp.java.bridge.threads=YOUR_POOL_SIZE
Note: If Util.getMBeanProperty("*:type=ThreadPool,name=http*", "maxThreads")
returns a valid result, the mbean property value is used instead of the system property
php.java.bridge.threads
.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PhpScriptTemporarilyOutOfResourcesException
public PhpScriptTemporarilyOutOfResourcesException(java.lang.String string)
- Create a new exception.
- Parameters:
string
- The exception string
PhpScriptTemporarilyOutOfResourcesException
public PhpScriptTemporarilyOutOfResourcesException(java.lang.String string,
java.lang.Throwable cause)
- Create a new exception
- Parameters:
string
- The exception stringcause
- The chained exception