Installation over Sun JVM might fail if JVM is not yet configured
Bug #274365 reported by
Thierry Carrez
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tomcat5.5 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
tomcat6 (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Binary package hint: tomcat6
Reproduction:
On a new intrepid install, run:
$ sudo apt-get install sun-java6-jre tomcat6
Analysis:
Tomcat 6 installation fails because Tomcat 6 postinst may try to start Tomcat before Sun's JDK is fully configured, and failure is non-recoverable.
Fix:
Tomcat 6 installation should not fail if tomcat cannot be properly started.
Related branches
To post a comment you must log in.
Rather than a complex pre-depend on a virtual we should just make the installation succeed even if tomcat startup failed (use --error- handler= true in dh_installinit in debian/rules).