Closed bdw429s closed 8 years ago
The only valid cfengine-name options are lucee, adobe, or railo... lucee@ just isn't valid, we'll need to catch that on the CommandBox side.
I did add a check in runwar so it'll be a more informative error if that happens.
I already changed it on the CommandBox side, but I'm not sure how it was ever working before.
Pretty sure we had it hard-coded to lucee-- I don't think we needed to change the engine name since we changed it from railo, back before multi-engine support.
Yeah, it used to be hard-coded to lucee before multi-engine. Sorry, I mean I couldn't figure out how it worked from your original pull. Dunno, so many variables got re-arranged I lost track. Do I need to pass in the engine name for standalone servers, or only for the embedded one?
I was just doing a listFirst(engineName,"@") I think.
Right now engineName doesn't really matter except for the embedded server, but we should pass it in regardless, as eventually I'll clean stuff up (only need to check for CFIDE on adobe, for instance, which will speed up the resource lookup by 000000001% ;]).
See the following output from CommandBox that shows the inputs to runwar as well as the error that occurs. I assume there is some faulty logic that assumes there will be text afte the
@
sign.