-
1. Re: NUL device on windows and JBoss 7.1.2
ctomc Sep 18, 2012 6:24 PM (in response to rsinghal)1 of 1 people found this helpfulHi,
nul is a device that is really commonly used in scripts and startup scripts wont work without it.
on *nix systems there is /dev/null that is always present.
the nul device is used in script more often than just when JAVA_OPTS are set...
for now I would recommend you not to remove null device or to re-add it.
We are researching a posibilty to provide powershell startup script which would resolve this problem (among many others).
But that is currently only an idea...
--
tomaz
-
2. Re: NUL device on windows and JBoss 7.1.2
rsinghal Sep 18, 2012 11:14 PM (in response to ctomc)Thanks Tomaz for quick reply. Is there any workaround for it?
-
3. Re: NUL device on windows and JBoss 7.1.2
ctomc Sep 21, 2012 7:41 PM (in response to rsinghal)1 of 1 people found this helpfulRavi,
the only possible workaround i can think of is reinstalling NUL device, http://bytes.com/topic/net/answers/264804-compile-error-null-device-missing
to test it try typing dir > NUL and if it does not report any error your everything is ok.
--
tomaz
-
4. Re: NUL device on windows and JBoss 7.1.2
rajesh_gawas Sep 28, 2012 3:52 AM (in response to rsinghal)Ravi,
It’s an issue with Windows and JBoss 7.1.2 and the steps to resolve it are:
1. Go to a server on which NULL device driver is present.
2. Open registry. Navigate to HKEY_LOCAL_MACHINE->SYSTEM->CurrentControlSet->Services->Null
3. Right click and select ‘Export’, specify the path. Save the file as ‘Null.reg’
4. Move the above file to problematic server.
5. Go to the path mentioned under step 2 above.
6. Select ‘Services’. Go to File menu and select import option. Point it to the Null.reg file. It shows a message added to registry successfully.
7. Restart the server.
8. That’s it
Regards,
Rajesh