swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: none


From: Marcus G. Daniels
Subject: Re: none
Date: 02 Feb 2001 08:51:05 -0800
User-agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.4

>>>>> "FW" == Fred Wan <address@hidden> writes:

FW> This seems to be a problem with the new swarm version. 

First off, what do you get from:

  $ jdkswarm -version
  $ jdkswarm StartHeatbugs --version

Second, is there any different in behavior between jdkswarm and javaswram,
i.e. Sun JDK and Kaffe?

FW> When I run it on an 'old' version of swarm (installed in August)
FW> under Solaris, it does indeed run and initialize the
FW> parameterManager object, but on a machine with the fixes installed
FW> it doesn't.

I hope you realize this doesn't mean much by itself.  You're probably
using a different JVM (Kaffe), if not a different version of the JVM.
And these are two different operating system and architectures.  It's
good to have this fact, of course, but we can't draw any real
conclusions.

FW> As you may know, some time ago I discovered that something in the
FW> global environment has changed (variables have moved; I still
FW> don't know where to) in the new version of swarm (see includes),
FW> and I suspect the problems now have the same cause.

I don't know what might have moved, but the appended program works for me 
with the latest snapshot (and I'm sure with most versions).

address@hidden $ javacswarm TestStatusVariables.java
address@hidden $ javaswarm TestStatusVariables 
address@hidden
address@hidden
address@hidden

Although I still haven't managed to get Pietro to normalize his system
to my satisfaction, it's possible there is some relation in the
strange Java class/field lookup problems you're both seeing.  Again, I
recommend using the very latest JDK 1.3, making no modifications to
the environment or JDK install, and, for the purposes of debugging,
not putting any CLASSPATH variables in the environment. 

import swarm.Globals;

public class TestStatusVariables {
  static void main (String args[]) {
    Globals.env.initSwarm ("TestStatusVariables", "address@hidden", "0.0",
                           args);

    System.out.println (Globals.env.Completed);
    System.out.println (Globals.env.Running); 
    System.out.println (Globals.env.globalZone);
  }
}

                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]