PDA

View Full Version : DIMES and communication problems bug



Ohad
04-12-2005, 02:44 PM
Hi guys.
we are in a big effort to solve a bug we had with communication problems. it is the final major issue we have till we come up with version 0.4
The problem is simple. once you download the new agent and start it, a registration screen apperars. when you click "Next" in attempt to register, you get a communication problem and the agent tryes to re-connect every 4-8-16-32 seconds. :mad: very annoying - i know.

So - if any of you had this problem, PLEASE EMAIL ME on ohad@eng.tau.ac.il and i will send you a link to the fix - (right now it is a limited version)

Ohad

DMMc
04-12-2005, 02:57 PM
No Problem with that Ohad, but I still have 2 machines that have no graphics...anything there in the future?

Empty_5oul
04-12-2005, 07:11 PM
sorry, had more bb problems today but i got your mail and will give it a go.

** Ohad guess what that same old problem. do you want the usual file mailed back to you?

Ohad
04-13-2005, 07:00 AM
yupp. you know the address.

Empty_5oul
04-13-2005, 07:19 AM
k its mailed

vaughan
04-13-2005, 07:29 AM
On my original Dimes PC (xp3000+) I installed the new file from your e-mail. It works :shock: but no graphics. At least no communication failure on installation. I'll check later to see if I scored any stats.
I then tried it on another PC (xp3200+) - same old communication failure :twisted:

Ohad, what are the files you need sending again?

Ohad
04-13-2005, 09:27 AM
no graphics? could be it is pingning. we have no graphics yet when it does pings.

you can send me the files from C:\Program Files\DIMES\Agent\Base\Outgoing\log

also - can you check which java version you are running? you can see that on Start->Control Panel->Add or remove software. watch the list. java will be there somewhere.
Some forums say that low java version (1.4) can't recognize https (we use secure connection when we send the user details).

Ohad

vaughan
04-13-2005, 11:03 AM
Java is 1.4.0 IBM when I do cmd box and java -showversion

From Control panel - Add/Remove there are three Javas:

IBM 32 bit SDK for Java 2. v1.4.0

and

Java 2 Runtime Environment SE v1.4.2_06

and

Java 2 SDK Standard Edition 1.3.1_03

Ohad
04-13-2005, 11:57 AM
saw your log file. here is what it says :
>Could not initialize properties communicator :unknown protocol: https

somehow your java doesn't recognize https, altough it says that since 1.4 JSSE (secure socket extension) is added by standard.
Could it be you are running it with 1.3 ? not very probable - coz DIMES requires 1.4

anyway - i have made a patch so you can download it now from:

http://www.netdimes.org/Updates/DimesInstall-0-3-9-7-mergerTest.exe

Hope that's the last of it. :oops:
btw - why do you need all those java's ? just taking space... I'd uninstall all of then and install 1.5 instead. it's stable enough.

AMDave
04-13-2005, 12:16 PM
vaghan,

Check your User and System PATH environment variables. One of them should include the path of the Java R.E. that your system is currently set to use.

If the registry settings somehow get out of step with the path then your s/w may make calls to classes that don't exist if they are in a different install in a different directory.
Whilst it is possible to control multiple installs of Java, switching cleanly between them is a real pain.
Best to use only one - the most recent one available (although I have experienced and proven some horrible backward compatibility problems last year, that I posted about, after the objects in some libraries changed - thats why I went through the nightmare of multiple installs and then threw the whole lot out in disgust - my new rule is to use the latest JRE available and if the s/w is not upto the changes chuck it out and find an alternative that will work with the latest JRE otherwise badger the code writers like blazes to bring it up to date)

I have Sun Java 1.5.0 on one Linux box and Sun Java 1.4.2 on another for test & comparison - ready for that Linux CLI client :D

Beerknurd
04-13-2005, 12:37 PM
Vaughan runs DHEP and somtimes Ubero. There is a big difference between Sun java and IBM java. IBM java is MUCH faster.

AMDave
04-13-2005, 12:50 PM
Have IBM made a newer version available ?

NeoGen
04-13-2005, 12:53 PM
Is the IBM Java all in all equal to Sun's Java? Or are there diferences/incompatibilities?
If it was equal all around and just plain faster then I'd like to give it a run here... :)

Beerknurd
04-13-2005, 01:03 PM
I have only seem a difference in DHEP and Ubero. Has anyone else noticed differences in any other projects???

You can download it from the AMD Users site by clicking here (http://www.amdusers.com/modules.php?name=Downloads&d_op=viewdownload&cid=28)

vaughan
04-13-2005, 01:05 PM
I haven't had a problem that I know about running both IBM 1.3 Java for Ubero and whatever Sun Java happens to be on the same PC for any other program that wants Java (DHEP, D2OL, TSC, etc) until the Dimes issue.

Another thing that was posted elsewhere - I'm running a router with NAT. Could that be part of the Dimes failure to communicate issue?

I know that Doomeva had to specifically allow certain ports to be open on it for World of Warcraft, and Warcraft 3.

AMDave
04-13-2005, 01:10 PM
latest appers to be 1.4.2 for 32-bit (http://www-1.ibm.com/support/docview.wss?rs=0&q1=jre+windows&uid=psg1MIGR-56888&loc=en_US&cs=utf-8&cc=us&lang=en)
BUT - the page says "This program will not install on non-IBM systems." and it appears that is true:
http://www.codecomments.com/archive326-2005-1-367137.html
so if you really want the runtime, per the thread on this link in Jan, you'll have to garnish it. (not sure of the legality though).

"evg" has put the these question to IBM here (http://www-106.ibm.com/developerworks/forums/dw_expandTree.jsp?thread=78284&cat=10&forum=367&message=13709083#13709083), so this thread is being watched

Ohad
04-13-2005, 01:14 PM
Could be its the NAT , but from your log files i've seen that your jre doesn't know how to eat https.
I should test this thing with IBM and Ubero.

AMDave
04-13-2005, 01:24 PM
...perhaps we can help with that ?

bwhite
04-13-2005, 01:40 PM
I installed the new agent on some of my machines yesterday and I found that for some reason the new DIMES doesn't like IBM java.

All the boxes with SUN java installed as the system java worked fine. ALL the boxes with IBM java installed had "General Error while connecting to server" when registering the agent. (BTW ALL had ran DIMES .3 OK).


Vaughan runs DHEP and sometimes Ubero. There is a big difference between Sun java and IBM java. IBM java is MUCH faster.
^^^^^^^^^^^^^^^
Lots of us have both IBM and SUN java because there IS a difference in some applications.

Whatever Y'all did to the new DIMES agent caused it not to like IBM java anymore.

I tested this on a box that wouldn't run the new agent that had IBM java. I uninstalled the IBM java and then installed SUN java and ran the agent again...It worked with the SUN java.

Here are the java versions I used:

C:\java -showversion
java version "1.4.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0)
Classic VM (build 1.4.0, J2RE 1.4.0 IBM Windows 32 build cn140-20020902 (JIT enabled: jitc))

C:\java -showversion
java version "1.5.0_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_02-b09)
Java HotSpot(TM) Client VM (build 1.5.0_02-b09, mixed mode)

Empty_5oul
04-13-2005, 05:16 PM
reguarding your e-mail:
yep i have IBM java installed so that must be the problem.

also the link you send was dead :(

Ohad
04-17-2005, 07:26 AM
well i will check that IBM thing.
try the usual 0-3-9-7b download.
Ohad