During OpenEJB installation using the OpenEJB Tomcat-Installer the installer checks the existence of the files catalina.sh and catalina.bat. If one of those does not exist, the installer produces the message
"Catalina catalina.sh file does not exist".
Note that it says "catalina.sh", even if the missing file is catalina.bat.
On many Unix/Linux systems, catalina.bat is removed, since it is never used.
Fix part 1: Change error message when checking catalina.bat (trivial, patch attached)
Fix part 2: Don't try to fix catalina.bat on Unix/Linux when non-existing, don't try to fix catalina.sh on Windows when not existing (don't abort installation)