[DMS-456] startup.bat does not echo a localized 'y' as part of permissions setting Created: 02/Apr/09 Updated: 26/Aug/09 Resolved: 25/May/09
|Fix Version/s:||Sprint 5, 2.0.0.M3, 2.0.0.RELEASE|
|Σ Remaining Estimate:||0h||Remaining Estimate:||Not Specified|
|Σ Time Spent:||21h 11m||Time Spent:||Not Specified|
|Σ Original Estimate:||6h||Original Estimate:||Not Specified|
German localized Windows XP
|First Response Date:|
Spring DM Server 2 M1 does not work on a German Windows XP. Running startup.bat only results in an error message complaining that read access to jmxremote.password should be restricted.
Note the "j" for "Ja" instead of "y" for "Yes".
|Comment by Joris Kuipers [X] (Inactive) [ 03/Apr/09 ]|
Same issue exists on Dutch WinXP.
BTW, in an actual production environment the server would run as a Windows service as either a dedicated user or as the Local System user and would in all likelihood not use the provided script. Maybe we should only document the ACL requirements for JMX (linking to http://java.sun.com/javase/6/docs/technotes/guides/management/security-windows.html) instead of trying to fix this in the startup script?
|Comment by Julien Dubois [ 05/Apr/09 ]|
Same problem with Windows Vista in French.
|Comment by Sebastian Lorenz [ 06/Apr/09 ]|
There seems to be another problem with this line:
echo y|cacls %CONFIG_DIR%\management\jmxremote.* /P %USERNAME%:F > nul
If you replace 'y' by the localized first character of 'yes' then the cacls command runs without problems. But you could still get the same error message. Because:
1. My user name is sebastian. My notebook has the name NB7 in a domain named BUERO.
If I manually grant full access to the 'current owner ' of the jmxremote.* files BUERO/sebastian and remove the line 'echo y|cacls ...' from the startup script, it works.
|Comment by Flavio Donzé [ 26/Aug/09 ]|
Here it says that this issue is resolved in version 2.0.0.M3.