php.java.script.servlet
Class PhpScriptTemporarilyOutOfResourcesException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.script.ScriptException
              extended by php.java.script.PhpScriptException
                  extended by 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

Constructor Summary
PhpScriptTemporarilyOutOfResourcesException(java.lang.String string)
          Create a new exception.
PhpScriptTemporarilyOutOfResourcesException(java.lang.String string, java.lang.Throwable cause)
          Create a new exception
 
Method Summary
 
Methods inherited from class javax.script.ScriptException
getColumnNumber, getFileName, getLineNumber, getMessage
 
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
 

Constructor Detail

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 string
cause - The chained exception