|
From: Leif M. <lei...@ta...> - 2008-12-26 01:58:45
|
Sal, Sorry for the trouble. We had another user report this problem earlier as well. Could you please tell me the exact version of Java you are running along with the platform? The Wrapper makes it possible to read console input through the Wrapper but for some reason, some JVMs seem to be having a problem with this feature. If you run the TestWrapper batch file that comes with the wrapper you should see a dialog with several buttons. The one labeled "Console" lets you test this read feature. On our tests, it is working correctly. 3.3.2 which will be released soon contains a new property to work around this problem: wrapper.disable_console_input=TRUE You can try out the latest development build if you like: http://wrapper.tanukisoftware.org/download/3.3.2-e/wrapper-windows-x86-32-3.3.2-e.zip Cheers, Leif On Wed, Dec 24, 2008 at 6:00 AM, Sou Vang <sv...@mi...> wrote: > Hi all, > > > > I am getting an error (java.io.IOException: The handle is invalid) on > System.in.read() when executing "net start MyService". > > > > The weird thing is that it runs perfectly fine when I run the bat file > "MyService.bat". > > > > I have no idea why it would fail when starting the service after it has been > installed. > > > > Thanks in advance. > > > > Sou > > ------------------------------------------------------------------------------ > > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > -- Leif Mortenson Representative Director Tanuki Software, Ltd. 6-16-7-1001 Nishi-Kasai, Edogawa-ku Tokyo 134-0088 Japan Tel/Fax: +81-3-3878-0415 http://www.tanukisoftware.com lei...@ta... |