Error connecting to ADDE data set

Errors and unexpected results
User avatar
msplitt
Posts: 7
Joined: Fri Feb 05, 2010 6:48 pm

Error connecting to ADDE data set

Post by msplitt »

I set up a local directory as an ADDE dataset but get the
following errors when trying to connect:

Connecting to server: localhost: 8112
Connection reset

java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(Unknown Source)
at java.net.SocketInputStream.read(Unknown Source)
at java.io.DataInputStream.readInt(Unknown Source)
at edu.wisc.ssec.mcidas.adde.AddeURLConnection.connect(AddeURLConnection.java:730)
at edu.wisc.ssec.mcidas.adde.AddeURLConnection.getInputStream(AddeURLConnection.java:788)
at edu.wisc.ssec.mcidasv.chooser.adde.AddeChooser.checkIfServerIsOk(AddeChooser.java:690)
at edu.wisc.ssec.mcidasv.chooser.adde.AddeChooser.canAccessServer(AddeChooser.java:802)
at edu.wisc.ssec.mcidasv.chooser.adde.AddeChooser.connectToServer(AddeChooser.java:854)
at edu.wisc.ssec.mcidasv.chooser.adde.AddeChooser.handleConnect(AddeChooser.java:568)
at ucar.unidata.idv.chooser.adde.AddeChooser.handleConnectFromThread(AddeChooser.java:602)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at ucar.unidata.util.Misc$2.run(Misc.java:1033)
at ucar.unidata.util.Misc$3.run(Misc.java:1061)
User avatar
Rick
Posts: 404
Joined: Fri Jan 16, 2009 8:20 pm

Re: Error connecting to ADDE data set

Post by Rick »

Hi Mike,

Can you tell me what version of McIDAS-V you are currently running and on what operating system. Also, I sent you an e-mail earlier and want to clarify things:

1) Put each of your files in a separate folder/directory
2) Create a Local ADDE dataset that points to one of the folders/directories
3) From the McIDAS-V window select tools
4) Now select Local ADDE Data

When you get to this step, you should see a message at the bottom that says
Local server is listening on port 8112.
If it is not, click the circular double arrow to the right of that message.

5) Next select File
6) and finally New Dataset
7) Fill in some values for dataset (such as MYDATA) and image type (such as METEOSAT-8)

Repeat steps 2-7 for each Dataset (one for each band)

Now go to the Data Explorer window. Open the Satellite tab and then select imagery.
Under server select local data.
Under dataset, you should see the one you created in step 7.
Once you have chosen everything else, you should find radiance and temperature under Data Types.

Quick note, we know this process is messy and we are looking into a solution that allows users to place all files containing separate bands with the same time in the same folder.

Rick
User avatar
msplitt
Posts: 7
Joined: Fri Feb 05, 2010 6:48 pm

Re: Error connecting to ADDE data set

Post by msplitt »

I'm running version 1.0beta5 on a PC running XP.

I have a directory with only a single file in it and the
local server is listening on port 8112.

When I go to satellite/Imagery the Server selected is
<LOCAL-DATA> but nothing is listed in the Image Type
status bar. When I hit the magnifying glass to check
for data it says there are no public datasets found on
localhost 8112. Is it possible that it is looking for a
specific naming convention? I am using a file called:

fixed-Mcidas_MSG1-SEVI-MSG15-0100-NA-20091214115741.IR120

Mike
User avatar
Rick
Posts: 404
Joined: Fri Jan 16, 2009 8:20 pm

Re: Error connecting to ADDE data set

Post by Rick »

Hi Mike,

Do you see anything under Datasets? If so, when you hit the connect button (to the right of the magnifying glass), nothing comes up under Image Type - correct? Could you please upload the following file c:/Document and Settings/(your user name)/.mcidasv/RESOLV.SRV

Thanks
User avatar
msplitt
Posts: 7
Joined: Fri Feb 05, 2010 6:48 pm

Re: Error connecting to ADDE data set

Post by msplitt »

Here is the RESOLV file info:

N1=TEST,N2=ENTRY0,TYPE=IMAGE,RT=N,K=AREA,R1=1,R2=99999,MASK=/cygdrive/u/test1/*,C=METEOSAT 8,MCV=McIDAS AREA,
N1=TEST2,N2=ENTRY1,TYPE=IMAGE,RT=N,K=AREA,R1=1,R2=99999,MASK=/cygdrive/c/msplitt/test1/*,C=MeteoSat,MCV=McIDAS AREA,
User avatar
beckys
Posts: 172
Joined: Wed Jan 07, 2009 7:50 pm

Re: Error connecting to ADDE data set

Post by beckys »

Can you please send a copy of the file you are trying to load? You can use anonymous ftp at ftp://ftp.ssec.wisc.edu/pub/incoming Please let us know when you have the file uploaded.

Thank you!
Becky
User avatar
msplitt
Posts: 7
Joined: Fri Feb 05, 2010 6:48 pm

Re: Error connecting to ADDE data set

Post by msplitt »

I have posted the file: fixed-Mcidas_MSG1-SEVI-MSG15-0100-NA-20091214115741.IR120

Note that this is a corrected Meteosat file - Rick had corrected the satellite position info
in the file (see previous post on this topic).
User avatar
Rick
Posts: 404
Joined: Fri Jan 16, 2009 8:20 pm

Re: Error connecting to ADDE data set

Post by Rick »

Thanks Mike,

I am able to get this file to work running beta-5. Couple of notes:

1) When I click the magnifying glass, I also get the message "no public datasets found on localhost 8112"
2) RESOLV.SRV looks good.
3) Prior to hitting the Connect button, my Image Type field is 'grayed out'. Once I hit the connect button the Image Type field becomes 'active' and I could choose the dataset.

I just want to double check - are you hitting the connect button? If so, I'll send your question off to our programmers. Thanks for your patience.

Rick
User avatar
msplitt
Posts: 7
Joined: Fri Feb 05, 2010 6:48 pm

Re: Error connecting to ADDE data set

Post by msplitt »

When I hit the connect button I get the following error message:

Connecting to server: localhost:8112
Connection reset


Details of this message:

java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(Unknown Source)
at java.net.SocketInputStream.read(Unknown Source)
at java.io.DataInputStream.readInt(Unknown Source)
at edu.wisc.ssec.mcidas.adde.AddeURLConnection.connect(AddeURLConnection.java:730)
at edu.wisc.ssec.mcidas.adde.AddeURLConnection.getInputStream(AddeURLConnection.java:788)
at edu.wisc.ssec.mcidasv.chooser.adde.AddeChooser.checkIfServerIsOk(AddeChooser.java:690)
at edu.wisc.ssec.mcidasv.chooser.adde.AddeChooser.canAccessServer(AddeChooser.java:802)
at edu.wisc.ssec.mcidasv.chooser.adde.AddeChooser.connectToServer(AddeChooser.java:854)
at edu.wisc.ssec.mcidasv.chooser.adde.AddeChooser.handleConnect(AddeChooser.java:568)
at ucar.unidata.idv.chooser.adde.AddeChooser.handleConnectFromThread(AddeChooser.java:602)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at ucar.unidata.util.Misc$2.run(Misc.java:1033)
at ucar.unidata.util.Misc$3.run(Misc.java:1061)
User avatar
Rick
Posts: 404
Joined: Fri Jan 16, 2009 8:20 pm

Re: Error connecting to ADDE data set

Post by Rick »

Hi Mark,

From our systems programmer ...

This error indicates that the local server is not accepting the connection from McV.

Theories:

- Something in the Cygwin environment is incorrect. Are you running other software that uses the Cygwin DLL? We would like to see the raw output of mcservl.exe. You can run mcservl.exe by opening a command prompt (DOS shell) and changing to the directory [McIDAS-V install dir]/adde/bin, then typing "mcservl".

- Windows is blocking the connection, either because of the built-in firewall or some third-party security software. The built-in firewall should not prevent this type of connection, but just to be safe can you check the software firewall status and turn it off if it is running, then try again? Security software should log connection attempts, so if any is running I would take a look at the logs.
Post Reply