Can anyone else confirm this in a linux system? I have been using Sun's
1.4 JDK for
win32 without any problems. Unfortunately, Altrmi does not contain any
logging code,
so it makes it difficult to track down problems. I assume you are using
the latest
code from CVS?
I went in and added a little more debug code when a connection can not
be opened
for any reason.
>From the command line run build -debug and will enable debugging. Not
sure if the
current shell script will allow this, the bat file works.
When debugging is enabled, you should see something like this. It will
now display a
stack trace if there are any connection problems. Post what you get and
maybe I
will have an idea what is going on.
[DEBUG] Attempt to open a new connection to localhost:16000
[DEBUG] Connection refused. Server not running?
[DEBUG] Attempt to open a new connection to localhost:16000
[DEBUG] Connection refused. Server not running?
[DEBUG] Attempt to open a new connection to localhost:16000
[DEBUG] Connection refused. Server not running?
[DEBUG] Attempt to open a new connection to localhost:16000
[DEBUG] Connected. Listing Published Altrmi Objects At Server...
[DEBUG] [0]:InstrumentManagerClient
[DEBUG] update client(vidcap-server) state new=66, old=-1
[DEBUG] update instrumentable(component-manager) state new=0, old=-1
[DEBUG] update instrumentable(instrument-manager) state new=15, old=-1
[DEBUG] update instrument(instrument-manager.active-thread-count) state
new=3, old=-1
[DEBUG] update instrument(instrument-manager.free-memory) state new=3,
old=-1
Cheers,
Leif
Adam Rossi wrote:
>After experimenting with various JDK's, I have found that the
>instrumentation client does not seem to be compatible with the Sun 1.4*
>JDK's. My experience on a Dell laptop running RedHat 7.3 is as follows:
>
>Sun 1.4.0_01 - Does not work
>Sun 1.4.1_01 - Does not work
>Blackdown-1.4.1-beta - Works! but only on the first try...
>
>With the Sun JDK's, I try to connect to the default port, the
>instrumentation client connection tab reads "Not Connected", and never
>updates. However, the connection does seem to be made, as killing the
>app server causes a crash with a stack trace in the instrumentation
>client. Similarly, pressing the garbage collection button does seem to
>cause activity in the JVM.
>
>The blackdown JDK works like a charm the first time I use the
>instrumentation client after booting up. I get the connection, can run
>the cool graphs, etc. However, if i exit the client and then try to
>reconnect, I get the "Not Connected" behavior and nothing happens.
>
>Are there any workarounds for the Sun JDK? Is this a known issue with
>the instrumentation client, or with AltRMI?
>
>Thank you for your help.
>
>Regards,
>
>Adam
>
>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>