Topic
  • 9 replies
  • Latest Post - ‏2013-01-11T09:03:45Z by SystemAdmin
bluejoni2306
bluejoni2306
19 Posts

Pinned topic Cics Explorer Automatic Updates

‏2012-11-01T06:53:04Z |
I have two issues
1. I am recieiving time out errors when CICS explorer checks for updates
Communication with repository at http://download.boulder.ibm.com/ibmdl/pub/software/htp/cics/updates/explorer/1.1/latest/ failed.
connect timed out
2. Our Citrix team want control over the Citrix installs hence they copy all our files for our tested version to another location for production. When this happens all the Software update libraries are lost. Where are they stored?
Updated on 2013-01-11T09:03:45Z at 2013-01-11T09:03:45Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    270 Posts

    Re: Cics Explorer Automatic Updates

    ‏2012-11-01T09:36:02Z  
    Hi there,

    1) Unfortunately that site's responding very quickly for me. I would suggest the following debugging steps:
    a) Try visiting the site in a browser on your machine
    b) Check whether you have a proxy enabled in your web browser that shouldn't be
    c) Try ping download.boulder.ibm.com from a command prompt to get an idea of how long it's taking the server to respond
    d) Could the server have been down temporarily or has this not worked over a prolonged period?

    2) I'm not entirely sure what you mean. I'm not sure what a software update library is. If you have CICS Explorer isntalled into c:\temp\CICS_Explorer, any updates or additional plugins would be installed within that directory structure into the features and plugins directories. Can you clarify exactly what symptom you see in the CICS Explorer client that prompts you to say "all the Software update libraries are lost"?

    Thanks in advance,

    Dave
  • bluejoni2306
    bluejoni2306
    19 Posts

    Re: Cics Explorer Automatic Updates

    ‏2012-11-09T03:43:56Z  
    Hi there,

    1) Unfortunately that site's responding very quickly for me. I would suggest the following debugging steps:
    a) Try visiting the site in a browser on your machine
    b) Check whether you have a proxy enabled in your web browser that shouldn't be
    c) Try ping download.boulder.ibm.com from a command prompt to get an idea of how long it's taking the server to respond
    d) Could the server have been down temporarily or has this not worked over a prolonged period?

    2) I'm not entirely sure what you mean. I'm not sure what a software update library is. If you have CICS Explorer isntalled into c:\temp\CICS_Explorer, any updates or additional plugins would be installed within that directory structure into the features and plugins directories. Can you clarify exactly what symptom you see in the CICS Explorer client that prompts you to say "all the Software update libraries are lost"?

    Thanks in advance,

    Dave
    Hi Dave,

    1. Tested the IBM download site thru a browser and yes it responds quite quickly. I tried to do an check for updates at the same time and CICS explorer took over 1 minute more before it came back (yes it did this time!) so it is definately a timeout issue I get intermittently.

    2. This is The process I go through :
    Help
    Install new Software
    Click "Find more software by working with the "Available Software Sites" preferences"
    The list is now blank.

    I am not sure whether we will be using Automatic updates yet or not as we are still bedding down a process for keeping updates inlines with Mainframe upgrades etc
  • SystemAdmin
    SystemAdmin
    270 Posts

    Re: Cics Explorer Automatic Updates

    ‏2012-11-09T07:53:50Z  
    Hi Dave,

    1. Tested the IBM download site thru a browser and yes it responds quite quickly. I tried to do an check for updates at the same time and CICS explorer took over 1 minute more before it came back (yes it did this time!) so it is definately a timeout issue I get intermittently.

    2. This is The process I go through :
    Help
    Install new Software
    Click "Find more software by working with the "Available Software Sites" preferences"
    The list is now blank.

    I am not sure whether we will be using Automatic updates yet or not as we are still bedding down a process for keeping updates inlines with Mainframe upgrades etc
    Hi,

    I wonder if you have a proxy set? Go to Window, Preferences, and type proxy in the filter box. In the network connections, switch your proxy to manual.

    Obviously if you actually require a proxy to access the internet then this wouldn't be so great (in that case put it back to native :-) ).

    The CICS Explorer update site is an Eclipse p2 repository. There are tools available that would let you mirror it internally, for instance http://wiki.eclipse.org/Equinox_p2_Repository_Mirroring - using automatic updates with an internal version of the mirror is another option if you are unhappy with the performance of your internet connection or need more control over which versions your users update to.

    If you are setting up a multi-user install, there is some guidance on this Eclipse web page: http://help.eclipse.org/helios/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Freference%2Fmisc%2Fmulti_user_installs.html

    Dave
  • bluejoni2306
    bluejoni2306
    19 Posts

    Re: Cics Explorer Automatic Updates

    ‏2012-12-12T04:05:24Z  
    Hi,

    I wonder if you have a proxy set? Go to Window, Preferences, and type proxy in the filter box. In the network connections, switch your proxy to manual.

    Obviously if you actually require a proxy to access the internet then this wouldn't be so great (in that case put it back to native :-) ).

    The CICS Explorer update site is an Eclipse p2 repository. There are tools available that would let you mirror it internally, for instance http://wiki.eclipse.org/Equinox_p2_Repository_Mirroring - using automatic updates with an internal version of the mirror is another option if you are unhappy with the performance of your internet connection or need more control over which versions your users update to.

    If you are setting up a multi-user install, there is some guidance on this Eclipse web page: http://help.eclipse.org/helios/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Freference%2Fmisc%2Fmulti_user_installs.html

    Dave
    Hi Dave,

    Hopefully I set my Network connections as you requested and set to Manual. (see screen print attached)

    On a timeout, this is the message I recieve and the Exception Stack Trace:

    Some sites could not be found. See the error log for more detail.
    Communication with repository at http://download.boulder.ibm.com/ibmdl/pub/software/htp/cics/updates/explorer/1.1/latest/ failed.
    connect timed out
    Communication with repository at http://download.boulder.ibm.com/ibmdl/pub/software/htp/cics/updates/explorer/1.1/latest/content.xml failed.
    connect timed out

    Exception Stack Trace
    java.net.SocketTimeoutException: connect timed out
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:370)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:232)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:219)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    at java.net.Socket.connect(Socket.java:528)
    at sun.net.NetworkClient.doConnect(NetworkClient.java:161)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:396)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:531)
    at sun.net.www.http.HttpClient.<init>(HttpClient.java:235)
    at sun.net.www.http.HttpClient.New(HttpClient.java:308)
    at sun.net.www.http.HttpClient.New(HttpClient.java:325)
    at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:970)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:911)
    at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:836)
    at org.eclipse.ecf.provider.filetransfer.browse.URLFileSystemBrowser.runRequest(URLFileSystemBrowser.java:113)
    at org.eclipse.ecf.provider.filetransfer.browse.AbstractFileSystemBrowser$DirectoryJob.run(AbstractFileSystemBrowser.java:69)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

    On my last meeting with Julian Gerry and Joe Winchester, I did raise this issue but have not recieved any correspondence since.

    We are running CICS Explorer on a remote server thru Citrix (so all users use the same version).
  • SystemAdmin
    SystemAdmin
    270 Posts

    Re: Cics Explorer Automatic Updates

    ‏2012-12-12T08:24:20Z  
    Hi Dave,

    Hopefully I set my Network connections as you requested and set to Manual. (see screen print attached)

    On a timeout, this is the message I recieve and the Exception Stack Trace:

    Some sites could not be found. See the error log for more detail.
    Communication with repository at http://download.boulder.ibm.com/ibmdl/pub/software/htp/cics/updates/explorer/1.1/latest/ failed.
    connect timed out
    Communication with repository at http://download.boulder.ibm.com/ibmdl/pub/software/htp/cics/updates/explorer/1.1/latest/content.xml failed.
    connect timed out

    Exception Stack Trace
    java.net.SocketTimeoutException: connect timed out
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:370)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:232)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:219)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    at java.net.Socket.connect(Socket.java:528)
    at sun.net.NetworkClient.doConnect(NetworkClient.java:161)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:396)
    at sun.net.www.http.HttpClient.openServer(HttpClient.java:531)
    at sun.net.www.http.HttpClient.<init>(HttpClient.java:235)
    at sun.net.www.http.HttpClient.New(HttpClient.java:308)
    at sun.net.www.http.HttpClient.New(HttpClient.java:325)
    at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:970)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:911)
    at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:836)
    at org.eclipse.ecf.provider.filetransfer.browse.URLFileSystemBrowser.runRequest(URLFileSystemBrowser.java:113)
    at org.eclipse.ecf.provider.filetransfer.browse.AbstractFileSystemBrowser$DirectoryJob.run(AbstractFileSystemBrowser.java:69)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

    On my last meeting with Julian Gerry and Joe Winchester, I did raise this issue but have not recieved any correspondence since.

    We are running CICS Explorer on a remote server thru Citrix (so all users use the same version).
    Hi there,

    The problem is that it's difficult to see how this is a software bug that we can resolve, which makes it difficult to advise you!

    I'm pretty sure that site's working correctly. You said it works correctly for you in a browser.

    I'm guessing that you are able to connect to your CICS servers in a timely fashion, with Explorer? They use exactly the same kinds of network connection that the updates do.

    Therefore I'm left wondering what it is that is making the download site slow, from within CICS Explorer, compared to your normal CICS systems?

    The only answer I can think of is that you have some kind of transparent proxy, or firewall, that is getting in the way. You didn't attach a screenshot so I can't verify that you've removed the proxies - your network admins would be able to tell you whether there's a transparent proxy (this is one that would apply automatically to internet sites) although I'm not an expert on proxies and whether it would be feasible that a proxy could affect Explorer and not your browser.

    Here are some ideas that you could try:

    1) Increase the socket connect time-out like this (timeout is specified in milliseconds so this gives 2 minutes):
    c:\CICS_Explorer\cicsexplorer.exe -vmargs -Dsun.net.client.defaultConnectTimeout=120000
    2) Try using http://public.dhe.ibm.com/software/htp/cics/updates/explorer/1.1/latest/ instead - it's a different URL that resolves to the same site
    3) Try adding the Eclipse update site http://download.eclipse.org/eclipse/updates/3.6 and do install new software, just to see whether it's a problem specific to the IBM update site
    4) Contact your network admins and find out if there's any proxy or how to get diagnostics for your firewall
    5) Download the zip files (via http://www-01.ibm.com/software/htp/cics/explorer/download/) and update manually when required

    Also, do note the multi-user install guidance in my last post.

    Hopefully there are a mix of debugging and workaround options there - do let me know what happens.

    Dave
  • bluejoni2306
    bluejoni2306
    19 Posts

    Re: Cics Explorer Automatic Updates

    ‏2013-01-10T00:33:48Z  
    Hi there,

    The problem is that it's difficult to see how this is a software bug that we can resolve, which makes it difficult to advise you!

    I'm pretty sure that site's working correctly. You said it works correctly for you in a browser.

    I'm guessing that you are able to connect to your CICS servers in a timely fashion, with Explorer? They use exactly the same kinds of network connection that the updates do.

    Therefore I'm left wondering what it is that is making the download site slow, from within CICS Explorer, compared to your normal CICS systems?

    The only answer I can think of is that you have some kind of transparent proxy, or firewall, that is getting in the way. You didn't attach a screenshot so I can't verify that you've removed the proxies - your network admins would be able to tell you whether there's a transparent proxy (this is one that would apply automatically to internet sites) although I'm not an expert on proxies and whether it would be feasible that a proxy could affect Explorer and not your browser.

    Here are some ideas that you could try:

    1) Increase the socket connect time-out like this (timeout is specified in milliseconds so this gives 2 minutes):
    c:\CICS_Explorer\cicsexplorer.exe -vmargs -Dsun.net.client.defaultConnectTimeout=120000
    2) Try using http://public.dhe.ibm.com/software/htp/cics/updates/explorer/1.1/latest/ instead - it's a different URL that resolves to the same site
    3) Try adding the Eclipse update site http://download.eclipse.org/eclipse/updates/3.6 and do install new software, just to see whether it's a problem specific to the IBM update site
    4) Contact your network admins and find out if there's any proxy or how to get diagnostics for your firewall
    5) Download the zip files (via http://www-01.ibm.com/software/htp/cics/explorer/download/) and update manually when required

    Also, do note the multi-user install guidance in my last post.

    Hopefully there are a mix of debugging and workaround options there - do let me know what happens.

    Dave
    Happy New Year Dave,

    Increasing the socket time out worked. Is there a setting that can be used to do this rather that having to type a command when executing?

    Regards
    JOAN MURPHY
    SYSTEMS PROGRAMMER (MAINFRAME PLATFORM)
    OneTech
    IAG

    Insurance Australia Group Limited
  • SystemAdmin
    SystemAdmin
    270 Posts

    Re: Cics Explorer Automatic Updates

    ‏2013-01-10T08:12:04Z  
    Happy New Year Dave,

    Increasing the socket time out worked. Is there a setting that can be used to do this rather that having to type a command when executing?

    Regards
    JOAN MURPHY
    SYSTEMS PROGRAMMER (MAINFRAME PLATFORM)
    OneTech
    IAG

    Insurance Australia Group Limited
    Hey Joan,

    Happy new year to you, too - glad it worked for you.

    It's fairly straightforward to make that change more permanent :-)

    The file cicsexplorer.ini, in the same directory as cicsexplorer.exe, can list the properties in. It uses linux style line-endings so you must edit it using wordpad, NOT notepad!

    You could just add the two options, separated by a new line, to the end of the file:
    -vmargs
    -Dsun.net.client.defaultConnectTimeout=120000

    Although actually if a -vmargs already exists in the file, it would be enough just to put the defaultConnectTimeout line somewhere underneath it.

    Thanks,

    Dave
  • bluejoni2306
    bluejoni2306
    19 Posts

    Re: Cics Explorer Automatic Updates

    ‏2013-01-11T02:17:21Z  
    Hey Joan,

    Happy new year to you, too - glad it worked for you.

    It's fairly straightforward to make that change more permanent :-)

    The file cicsexplorer.ini, in the same directory as cicsexplorer.exe, can list the properties in. It uses linux style line-endings so you must edit it using wordpad, NOT notepad!

    You could just add the two options, separated by a new line, to the end of the file:
    -vmargs
    -Dsun.net.client.defaultConnectTimeout=120000

    Although actually if a -vmargs already exists in the file, it would be enough just to put the defaultConnectTimeout line somewhere underneath it.

    Thanks,

    Dave
    Hi Dave,

    I edited the .ini file
    -startup
    plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar
    --launcher.library
    plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.2.R36x_v20101222
    -showlocation
    -vmargs
    -Dsun.net.client.defaultConnectTimeout=120000
    -Dorg.eclipse.swt.accessibility.UseIA2=false

    but still recieve a time out. Is there a way to check the .ini file when Explorer has been started?

    Regards
    Joan Murphy
  • SystemAdmin
    SystemAdmin
    270 Posts

    Re: Cics Explorer Automatic Updates

    ‏2013-01-11T09:03:45Z  
    Hi Dave,

    I edited the .ini file
    -startup
    plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar
    --launcher.library
    plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.2.R36x_v20101222
    -showlocation
    -vmargs
    -Dsun.net.client.defaultConnectTimeout=120000
    -Dorg.eclipse.swt.accessibility.UseIA2=false

    but still recieve a time out. Is there a way to check the .ini file when Explorer has been started?

    Regards
    Joan Murphy
    Hi Joan,

    You are essentially trying to set a Java system property called sun.net.client.defaultConnectTimeout.

    You can check which system properties are set by doing:
    Help > About, clicking Installation Details and looking under Configuration. Ignore the multi-line "eclipse.commands" property and look for it just about "user.country".

    Dave