Bugs item #840239, was opened at 2003-11-11 20:24 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=840239&group_id=22866
Category: JBossServer Group: v3.2 Status: Open Resolution: None Priority: 5 Submitted By: Adrian Price (adrianprice) Assigned to: Nobody/Anonymous (nobody) Summary: run.bat does not parse arguments containing = correctly Initial Comment: If you invoke run.bat with arguments containing an equals sign, the mechanism used to build the ARGS environment variable strips out the = sign and splits the argument into two strings, with the result that all such arguments are ignored. For example: call C:\jboss-3.2.2\bin\run -Djboss.server.name=zaplet actually results in the ARGS variable acquiring the value: -Djboss.server.name zaplet Without the = sign java.exe receives two arguments instead of the one, and accordingly ignores the -D option with the message: run.bat: unused non-option argument: zaplet SOLUTION ******** Change line 88 to pass %* instead of %ARGS%, and completely remove the code that builds the latter variable: :RESTART "%JAVA%" %JAVA_OPTS% -classpath "% JBOSS_CLASSPATH%" org.jboss.Main %* IF ERRORLEVEL 10 GOTO RESTART ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=376685&aid=840239&group_id=22866 ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development