init script cannot find java7 from oracle

Bug #1100936 reported by A1an
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tomcat6 (Ubuntu)
Won't Fix
Medium
Unassigned
tomcat7 (Ubuntu)
Won't Fix
Medium
Unassigned

Bug Description

When starting up on a system with only java7 from Oracle installed the init script cannot find any jvm to run.

This can be solved by adding the path "/usr/lib/jvm/java-7-oracle" to the list of possible java vm locations inside the init script.

Ubuntu 12.04.1 LTS
Tomcat 6.0.35-1ubuntu3.2

Changed in tomcat6 (Ubuntu):
importance: Undecided → Medium
Changed in tomcat7 (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Marking confirmed since the init scripts don't look for anything but openjdks. Though since they do so quite explicitly, it seems not impossible that there might be known problems with running tomcat with java-x-oracle.

Changed in tomcat6 (Ubuntu):
status: New → Confirmed
Changed in tomcat7 (Ubuntu):
status: New → Confirmed
Revision history for this message
James Page (james-page) wrote :

As its impossible to support the multitude of paths that might contain a Java install, the correct way to use a non-distro version of Java is to set JAVA_HOME in /etc/default/tomcat[6|7]. This will override any auto-detection in the init script.

Marking 'Won't Fix' as sufficient capability exists to configure this manually.

Changed in tomcat6 (Ubuntu):
status: Confirmed → Won't Fix
Changed in tomcat7 (Ubuntu):
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.