With recent updates of Cocoon 2.1-dev from CVS I haven't been able to get the embedded Jetty to start up (Windows ME, j2sdk1.4.0). Turning echo on I discovered 2 endless loops in cocoon.bat. Initially there were duplicate gotPort and gotWebapp labels; I changed the duplicate names.
I then received an error of: "The program issued a command but the command length is incorrect." Checking out the file again I was confused by the following code to set EXEC: if not "%EXEC%" == "" goto gotExec set EXEC=start "Cocoon" /D. /MAX :gotExec I have no idea what this is supposed to do but it just didn't look right. Forward slashes in a .bat file? So I deleted the code and references to %EXEC in doServlet, doServletAdmin, and doDebug and everything seemed to work fine. Any clues for me? I've included my first Cocoon patch, generated with Eclipse. I didn't submit to Bugzilla--let me know if I should--but I wanted feedback on the EXEC issue before I went that far. Jeff
cocoon.bat.diff
Description: Binary data