
Originally Posted by
Joris Kuipers
Maybe the engineering team could take a look at how this is handled in Ant: Ant has a dedicated Launcher class that takes care of things like setting the classpath to use when starting. By doing this in Java instead of a batch script and setting the java.class.path system property, the OS command line length limitation does not apply. I think this should work for the dm Server as well, and it wouldn't take a lot of effort to duplicate the functionality.
Interesting suggestion, thanks Joris.
We have a JIRA tracking this problem: PLATFORM-208. It contains a suggestion to use a separate file for the JMX configuration, thereby reducing the length of the command.
Either way, we have a couple of options for providing an official solution for this problem, which is good news.
Andy Wilkinson
SpringSource