[Bug 673836] Re: Doesn't use java picked trough debian alternatives.

2010-11-11 Thread James Page
** Changed in: tomcat6 (Ubuntu)
   Importance: Undecided = Low

** Changed in: tomcat6 (Ubuntu)
   Status: New = Triaged

-- 
Doesn't use java picked trough debian alternatives.
https://bugs.launchpad.net/bugs/673836
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tomcat6 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 673836] Re: Doesn't use java picked trough debian alternatives.

2010-11-11 Thread Thierry Carrez
This is by design... The alternatives system is there for users to pick
what JVM to use when the user types java on the CLI, not really to
select which JVM Tomcat6 should use. In particular, you might want
something different in both scenarios.

The Tomcat6 JVM is set in /etc/default/tomcat6. If unspecified, it
chooses the first available in the list you mentioned.

** Changed in: tomcat6 (Ubuntu)
   Status: Triaged = Opinion

-- 
Doesn't use java picked trough debian alternatives.
https://bugs.launchpad.net/bugs/673836
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tomcat6 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 673836] Re: Doesn't use java picked trough debian alternatives.

2010-11-11 Thread James Page
** Changed in: tomcat6 (Ubuntu)
   Importance: Undecided = Low

** Changed in: tomcat6 (Ubuntu)
   Status: New = Triaged

-- 
Doesn't use java picked trough debian alternatives.
https://bugs.launchpad.net/bugs/673836
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 673836] Re: Doesn't use java picked trough debian alternatives.

2010-11-11 Thread Thierry Carrez
This is by design... The alternatives system is there for users to pick
what JVM to use when the user types java on the CLI, not really to
select which JVM Tomcat6 should use. In particular, you might want
something different in both scenarios.

The Tomcat6 JVM is set in /etc/default/tomcat6. If unspecified, it
chooses the first available in the list you mentioned.

** Changed in: tomcat6 (Ubuntu)
   Status: Triaged = Opinion

-- 
Doesn't use java picked trough debian alternatives.
https://bugs.launchpad.net/bugs/673836
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 673836] Re: Doesn't use java picked trough debian alternatives.

2010-11-10 Thread Roman A. Taycher
From /ect/init.d/tomcat6

# The first existing directory is used for JAVA_HOME (if JAVA_HOME is not
# defined in $DEFAULT)
JDK_DIRS=/usr/lib/jvm/java-6-openjdk /usr/lib/jvm/java-6-sun 
/usr/lib/jvm/java-1.5.0-sun /usr/lib/j2sdk1.5-sun /usr/lib/j2sdk1.5-ibm

# Look for the right JVM to use
for jdir in $JDK_DIRS; do
if [ -r $jdir/bin/java -a -z ${JAVA_HOME} ]; then
JAVA_HOME=$jdir
fi
done
export JAVA_HOME

-- 
Doesn't use java picked trough debian alternatives.
https://bugs.launchpad.net/bugs/673836
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to tomcat6 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 673836] Re: Doesn't use java picked trough debian alternatives.

2010-11-10 Thread Roman A. Taycher
From /ect/init.d/tomcat6

# The first existing directory is used for JAVA_HOME (if JAVA_HOME is not
# defined in $DEFAULT)
JDK_DIRS=/usr/lib/jvm/java-6-openjdk /usr/lib/jvm/java-6-sun 
/usr/lib/jvm/java-1.5.0-sun /usr/lib/j2sdk1.5-sun /usr/lib/j2sdk1.5-ibm

# Look for the right JVM to use
for jdir in $JDK_DIRS; do
if [ -r $jdir/bin/java -a -z ${JAVA_HOME} ]; then
JAVA_HOME=$jdir
fi
done
export JAVA_HOME

-- 
Doesn't use java picked trough debian alternatives.
https://bugs.launchpad.net/bugs/673836
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs