[kepler-users] EXTERNAL: Re: HTTP Proxy Settings in Kepler 2.0

Timmons, Ryan P ryan.p.timmons at lmco.com
Sun Oct 24 23:11:10 PDT 2010


Thanks for the info Jianwu.  Here’s the output from running kepler.bat on network where I need the proxy:

D:\Program Files\Kepler-2.0>kepler.bat
Set environment variable: PATH = <….>D:\Program Files\Kepler-2.0\kepler-2.1.0\lib;D:\Program
 Files\Kepler-2.0\outreach-2.1.0\lib;D:\Program Files\Kepler-2.0\apple-extension
s-2.0.0\lib;D:\Program Files\Kepler-2.0\r-2.1.0\lib;D:\Program Files\Kepler-2.0\
loader-2.0.0\lib;D:\Program Files\Kepler-2.0\actors-2.1.0\lib;D:\Program Files\K
epler-2.0\directors-2.0.0\lib;D:\Program Files\Kepler-2.0\opendap-2.0.0\lib;D:\P
rogram Files\Kepler-2.0\dataturbine-2.0.0\lib;D:\Program Files\Kepler-2.0\ecogri
d-2.1.0\lib;D:\Program Files\Kepler-2.0\authentication-gui-2.0.0\lib;D:\Program
Files\Kepler-2.0\module-manager-gui-2.1.0\lib;D:\Program Files\Kepler-2.0\gui-2.
1.0\lib;D:\Program Files\Kepler-2.0\authentication-2.1.0\lib;D:\Program Files\Ke
pler-2.0\repository-2.1.0\lib;D:\Program Files\Kepler-2.0\job-2.0.0\lib;D:\Progr
am Files\Kepler-2.0\io-2.0.0\lib;D:\Program Files\Kepler-2.0\ssh-2.0.0\lib;D:\Pr
ogram Files\Kepler-2.0\data-handling-2.0.0\lib;D:\Program Files\Kepler-2.0\sms-2
.1.0\lib;D:\Program Files\Kepler-2.0\component-library-2.0.0\lib;D:\Program File
s\Kepler-2.0\util-2.0.0\lib;D:\Program Files\Kepler-2.0\event-state-2.0.0\lib;D:
\Program Files\Kepler-2.0\core-2.1.0\lib;D:\Program Files\Kepler-2.0\common-2.1.
0\lib;D:\Program Files\Kepler-2.0\module-manager-2.1.0\lib;D:\Program Files\Kepl
er-2.0\configuration-manager-2.1.0\lib;D:\Program Files\Kepler-2.0\kepler-tasks-
2.1.0\lib;D:\Program Files\Kepler-2.0\ptolemy-8.0.0\lib
Set environment variable: R_HOME = C:\Program Files\R\R-2.10.1
     [null] D:\Program Files\Kepler-2.0
     [null] kepler-2.1.0 workflow dir does not exist.
     [null] outreach-2.1.0 workflow dir already copied, no need to copy.
     [null] apple-extensions-2.0.0 workflow dir does not exist.
     [null] r-2.1.0 workflow dir already copied, no need to copy.
     [null] loader-2.0.0 workflow dir does not exist.
     [null] actors-2.1.0 workflow dir already copied, no need to copy.
     [null] directors-2.0.0 workflow dir does not exist.
     [null] opendap-2.0.0 workflow dir does not exist.
     [null] dataturbine-2.0.0 workflow dir does not exist.
     [null] ecogrid-2.1.0 workflow dir does not exist.
     [null] authentication-gui-2.0.0 workflow dir does not exist.
     [null] module-manager-gui-2.1.0 workflow dir does not exist.
     [null] gui-2.1.0 workflow dir does not exist.
     [null] authentication-2.1.0 workflow dir does not exist.
     [null] repository-2.1.0 workflow dir does not exist.
     [null] job-2.0.0 workflow dir does not exist.
     [null] io-2.0.0 workflow dir does not exist.
     [null] ssh-2.0.0 workflow dir does not exist.
     [null] data-handling-2.0.0 workflow dir does not exist.
     [null] sms-2.1.0 workflow dir does not exist.
     [null] component-library-2.0.0 workflow dir does not exist.
     [null] util-2.0.0 workflow dir does not exist.
     [null] event-state-2.0.0 workflow dir does not exist.
     [null] core-2.1.0 workflow dir does not exist.
     [null] common-2.1.0 workflow dir does not exist.
     [null] module-manager-2.1.0 workflow dir does not exist.
     [null] configuration-manager-2.1.0 workflow dir does not exist.
     [null] kepler-tasks-2.1.0 workflow dir does not exist.
     [null] ptolemy-8.0.0 workflow dir does not exist.
     [null] Found OS Extension file: D:\Program Files\Kepler-2.0\apple-extension
s-2.0.0\module-info\osextension.txt
     [null] Building Kars...
     [null] Ran additional initialization for module gui from class org.kepler.m
odule.gui.Initialize
     [null] Kepler Initializing...
     [null] INFO  (org.kepler.objectmanager.library.LibraryManager:buildLibrary:
328) Building Library...
     [null] INFO  (org.kepler.objectmanager.cache.LocalRepositoryManager:scanRep
osForKarFiles:246) Scanning Local Repositories for KAR files...
     [null] INFO  (org.kepler.kar.KARCacheManager:synchronizeKARCacheWithLocalRe
positories:374) The Cache is in sync with KAR files in Local Repositories.
     [null] WARN  (org.ecoinformatics.seek.ecogrid.SearchRegistryAction:queryReg
istryRewriteConfig:206) Problem looking up registry entries using endpoint:
     [null] http://knb.ecoinformatics.org/registry/services/RegistryService

In this latter case, again Kepler still starts up but the ModuleManager cannot find anything, nor can the WebServiceActor configure itself on a WSDL outside our network.  Also I got additional error traces when trying to open a previously worked example with a WebServiceActor:

     [null] Could not get suite list from SVN: Connection timed out: connect
     [null] java.net.ConnectException: Connection timed out: connect
     [null] Could not get suite list from SVN: Connection timed out: connect
     [null]     at java.net.PlainSocketImpl.socketConnect(Native Method)
     [null]     at java.net.PlainSocketImpl.doConnect(Unknown Source)
     [null]     at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
     [null]     at java.net.PlainSocketImpl.connect(Unknown Source)
     [null]     at java.net.SocksSocketImpl.connect(Unknown Source)
     [null]     at java.net.Socket.connect(Unknown Source)
     [null]     at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(Unknown So
urce)
     [null]     at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.connect(Unknow
n Source)
     [null]     at sun.net.NetworkClient.doConnect(Unknown Source)
     [null]     at sun.net.www.http.HttpClient.openServer(Unknown Source)
     [null]     at sun.net.www.http.HttpClient.openServer(Unknown Source)
     [null]     at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)

     [null]     at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
     [null]     at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection
.getNewHttpClient(Unknown Source)
     [null]     at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unkn
own Source)
     [null]     at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection
.connect(Unknown Source)
     [null]     at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Un
known Source)
     [null]     at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStr
eam(Unknown Source)
     [null]     at java.net.URL.openStream(Unknown Source)
     [null]     at org.kepler.modulemanager.gui.ModulesList$1.doInBackground(Mod
ulesList.java:84)
     [null]     at org.kepler.modulemanager.gui.ModulesList$1.doInBackground(Mod
ulesList.java:119)
     [null]     at org.jdesktop.swingworker.SwingWorker$1.call(Unknown Source)
     [null]     at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)

     [null]     at java.util.concurrent.FutureTask.run(Unknown Source)
     [null]     at org.jdesktop.swingworker.SwingWorker.run(Unknown Source)
     [null]     at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknow
n Source)
     [null]     at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown So
urce)
     [null]     at java.lang.Thread.run(Unknown Source)
     [null] java.net.ConnectException: Connection timed out: connect
     [null]     at java.net.PlainSocketImpl.socketConnect(Native Method)
     [null]     at java.net.PlainSocketImpl.doConnect(Unknown Source)
     [null]     at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
     [null]     at java.net.PlainSocketImpl.connect(Unknown Source)
     [null]     at java.net.SocksSocketImpl.connect(Unknown Source)
     [null]     at java.net.Socket.connect(Unknown Source)
     [null]     at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(Unknown So
urce)
     [null]     at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.connect(Unknow
n Source)
     [null]     at sun.net.NetworkClient.doConnect(Unknown Source)
     [null]     at sun.net.www.http.HttpClient.openServer(Unknown Source)
     [null]     at sun.net.www.http.HttpClient.openServer(Unknown Source)
     [null]     at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)

     [null]     at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
     [null]     at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection
.getNewHttpClient(Unknown Source)
     [null]     at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unkn
own Source)
     [null]     at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection
.connect(Unknown Source)
     [null]     at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Un
known Source)
     [null]     at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStr
eam(Unknown Source)
     [null]     at java.net.URL.openStream(Unknown Source)
     [null]     at org.kepler.modulemanager.gui.SuitesList$1.doInBackground(Suit
esList.java:84)
     [null]     at org.kepler.modulemanager.gui.SuitesList$1.doInBackground(Suit
esList.java:123)
     [null]     at org.jdesktop.swingworker.SwingWorker$1.call(Unknown Source)
     [null]     at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)

     [null]     at java.util.concurrent.FutureTask.run(Unknown Source)
     [null]     at org.jdesktop.swingworker.SwingWorker.run(Unknown Source)
     [null]     at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknow
n Source)
     [null]     at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown So
urce)
     [null]     at java.lang.Thread.run(Unknown Source)


By the way, I was able to upgrade from 2.0 to 2.1 via the ModuleManager when on the non-proxy network.  However, for our intended use of Kepler we may have it running on machines that can only connect to the corporate network which requires a proxy, so I still need to find a more robust workaround.  You mentioned 2.2 for the source code fix, is there an ETA for 2.2 release?  (I found https://kepler-project.org/developers/teams/build/kepler-release-roadmap#section-3 but those dates are already past).


Ryan Timmons
Software Engineer, LMSSC ATC
ryan.p.timmons at lmco.com
Cell: 248-895-1935
From: Jianwu Wang [mailto:jianwu at sdsc.edu]
Sent: Sunday, October 24, 2010 3:38 PM
To: Timmons, Ryan P
Cc: kepler-users at kepler-project.org
Subject: EXTERNAL: Re: [kepler-users] HTTP Proxy Settings in Kepler 2.0

Hi Ryan,

    I tried Tools->Module Manager in Kepler 2.0, I can see suites and modules for both 2.0 and 2.1. It's weired that you find other there. Please start Kepler from batch command, e.g. kepler.sh/kepler.bat of your kepler installation directory, and see whether it has some exception or error message there.

    About HTTP Proxy Settings, I think I fixed it in Kepler trunk. You can find more information at http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5115 and http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-users/2010-July/002275.html. But Kepler 2.1 is released based on Kepler 2.0, not trunk. So Kepler 2.1 will still have the problem. The upcoming Kepler 2.2 is based on Kepler trunk, and this fix will be in Kepler 2.2.


Best wishes



Sincerely yours



Jianwu Wang

jianwu at sdsc.edu<mailto:jianwu at sdsc.edu>

http://users.sdsc.edu/~jianwu/



Assistant Project Scientist

Scientific Workflow Automation Technologies (SWAT) Laboratory

San Diego Supercomputer Center

University of California, San Diego

San Diego, CA, U.S.A.

On 10/24/2010 12:14 PM, Timmons, Ryan P wrote:
Greetings Kepler users,

I am having issues in a couple of areas.   One is the Tools->Module Manager, it cannot find any modules (such as the update from 2.0 to 2.1).
The other is with the Web Service Actor, it gives this message when I specify a WSDL:
Error evaluating expression: http://s3.amazonaws.com/doc/2006-03-01/AmazonS3.wsdl
  in .Unnamed1.Web Service Actor.wsdlUrl
Because:
Could not run WSDL parser.
  in .Unnamed1.Web Service Actor
Because:
Connection timed out: connect

Please enter a new value:

(Don’t mind the AmazonS3.wsdl, was trying just anything to see if it works.  Confirmed using my browser that the WSDL exists).

I believe it is the proxy settings, as it’s a laptop and when I take it home where there is no proxy the above items work.  Also I was able to use the Web Service Actor to invoke a WSDL service that resided within my corporate network.

I found this message from searching:
http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-users/2009-March/001360.html
and tried launching from an edited kepler.bat along those lines, but did not resolve.

Any help would be much appreciated, thanks in advance.

Ryan


Ryan Timmons
Software Engineer, LMSSC ATC
ryan.p.timmons at lmco.com<mailto:ryan.p.timmons at lmco.com>
Cell: 248-895-1935





_______________________________________________

Kepler-users mailing list

Kepler-users at kepler-project.org<mailto:Kepler-users at kepler-project.org>

http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-users/attachments/20101025/864c9ab8/attachment.html>


More information about the Kepler-users mailing list