El sáb, 07-01-2006 a las 14:53 +0100, Thorsten Scherler escribió:
> El jue, 05-01-2006 a las 07:56 -0500, Doug Chestnut escribió:
> > Hi Thorsten,
> > 1.4.2 is installed on lenya.zones (just not the java in the PATH):
> > 
> > -bash-3.00$ echo $JAVA_HOME
> > /usr/j2se/
> > -bash-3.00$ /usr/j2se/bin/java -version
> > java version "1.4.2_06"
> > Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03)
> > Java HotSpot(TM) Client VM (build 1.4.2_06-b03, mixed mode)
> > -bash-3.00$ java -version
> > java version "1.5.0_01"
> > Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_01-b08)
> > Java HotSpot(TM) Server VM (build 1.5.0_01-b08, mixed mode)
> > -bash-3.00$ which java
> > /usr/bin/java
> > -bash-3.00$ ls -la /usr/bin/java
> > lrwxrwxrwx   1 root     other         16 Apr 28  2005 /usr/bin/java -> 
> > ../java/bin/java
> > 
> 
> Thanks Doug for finding this out. :) I will try to change the .profile
> to use 1.4.x instead of 1.5.

I did. The "trick" was to first define /usr/j2se and then /usr/bin in
the .profile since bash works like first defined will override last
defined.

Right now it seems to work, but we need to monitor it. Maybe the cron
job is breaking things as well.

Summary:
We are now using 1.4.2 for all deploys on zones.

salu2

> 
> salu2
> 
> > --Doug
> > 
> > Thorsten Scherler wrote:
> > > Hi all, 
> > > 
> > > I finally think that I found out, why the zones demos are more down then
> > > up. 
> > > 
> > > Sun Microsystems Inc.   SunOS 5.10      Generic January 2005
> > > -bash-3.00$ java -version
> > > java version "1.5.0_01"
> > > Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_01-b08)
> > > Java HotSpot(TM) Server VM (build 1.5.0_01-b08, mixed mode)
> > > 
> > > That means our zones machine run 1.5 and our software is not working
> > > probably on 1.5! That is leading to the situation that the server is
> > > dying constantly. 
> > > 
> > > I see two possibilities:
> > > 1) install jdk 1.4.x on zones
> > > 2) work on full 1.5 support
> > > 
> > > I would think 1) should be done now that we have running demos and in
> > > the long run we need to support 2).
> > > 
> > > WDYT?
> > > 
> > > salu2
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to