Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Won't Fix
-
Affects Version/s: 5.9
-
Fix Version/s: None
-
Component/s: None
-
Labels:
-
Environment:HP-UX 11
-
Number of attachments :
Description
Launchtask.java has the following:
if (os.indexOf("linux")Unable to render embedded object: File (=-1 ) not found.=-1) {
if (exists(base+".sh"))
}
Workarounds exist (I created a symlink in the downloaded tomcat directory for startup -> startup.sh and shutdown -> shutdown.sh) but clearly not all the world's a VAX.
Enumerating all the possible unixes is probably harder than making one branch for those poor souls running java under OpenVMS or MVS or the like.
Suggestion: default to if (exists(base+".sh")) return(base+".sh"); and handle the other exceptional cases like Windows.
In which situation is this an issue for you? Will close the issue until we have more information on the use case (then we could think about re-opening it)