Please or
Try NowBuy Now
Google

Locations of visitors to this page

wrapper.disable_console_input Property
wrapper.disable_console_input Property

Configuration Property Overview

wrapper.disable_console_input

WARNING

DO NOT modify any of these parameters unless you have read this property description. Incorrect settings can cause the Wrapper to fail to operate as expected.

When this property is set, it disables the Wrapper's ability to process console input in the JVM. When console input is disabled, any attempts to read from the console will block indefinitely.

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.

The default value is "FALSE" (*1).

Example:
wrapper.disable_console_input=TRUE

*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.4.0