Email:
Password:
Please or Register
Google

Locations of visitors to this page

wrapper.disable_console_input Property
wrapper.disable_console_input Property

Configuration Property Overview

wrapper.disable_console_input

When set, disables the Wrapper's ability to process console input in the JVM. Some users have reported problems with certain JVMs where an "java.io.IOException: The handle is invalid." error will be thrown when the JVM attempts to read from System.in when hooked up through the Wrapper. This feature makes it possible to disable and thus work around this issue. Defaults to false (*1).

Example:
wrapper.disable_console_input=TRUE

When console input is disabled any attempts to read from the console will block indefinitely.

*1) On UNIX platforms, this property will default to true if the wrapper.daemonize property is set to true. This is done because a daemon process by definition has no place to read from. If it was left enabled and Java were to attempt to read, then the depending on the Java code, it could go into a loop, thrashing, while attempting to read.





User Comments

If you notice something that is incorrect, missing, or simply feel that some part of this page could be explained better, feel free to log in and add a comment. You will need to register before you can log on.

Email:
Password:
Java Service Wrapper Version: 3.3.9