[kepler-users] launch kepler 2.0 with proxy settings

Jianwu Wang jianwu at sdsc.edu
Fri Jul 30 13:11:52 PDT 2010


Hi Chris,

     I updated Kepler trunk to enable property setting at kepler.sh or 
kepler.bat. You can find more information at 
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5115. With this 
update, you can set as

java -classpath build-area\lib\ant.jar;kepler.jar org.kepler.build.runner.Kepler -Dhttp.proxyHost=proxy -Dhttp.proxyPort=8080 "-Dhttp.nonProxyHosts=host1|host2" "%1" "%2" "%3" "%4" "%5" "%6" "%7" "%8"
"%9".

     Hopefully, it will be in our upcoming Kepler 2.1 release.

Best wishes

Sincerely yours

Jianwu Wang
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 7/28/2010 2:14 PM, Chris Weed wrote:
> Actually, I see now that you can set it for a particular java executable,
> but it still doesn't work. I'll have to play with it some more.
> Chris
>
> On Wed, Jul 28, 2010 at 5:05 PM,<chrisweed at gmail.com>  wrote:
>    
>> That didn't seem to do anything, and I suspect that page is only describing
>> setting these for Java Plug-ins and not the general JVM.
>> Chris
>>
>> On Jul 28, 2010 4:34pm, Jianwu Wang<jianwu at sdsc.edu>  wrote:
>>      
>>>
>>>
>>>
>>>
>>>
>>> Hi Chris,
>>>
>>>
>>>
>>>      From org.kepler.build.Run class, you can see it started another JVM
>>> to start org.kepler.Kepler class without accepting properties from
>>> org.kepler.build.runner.Kepler class. I think it is why the properties
>>> you set works for org.kepler.Kepler, but not
>>> org.kepler.build.runner.Kepler. David, please correct me if I am wrong.
>>>
>>>
>>>
>>>
>>>      Another possible solution to work around is to setting proxy for
>>> Java itself (http://www.java.com/en/download/help/proxy_setup.xml). It
>>> should set proxy for all java processes. Please have a try to see
>>> whether it works.
>>>
>>>
>>>
>>>
>>>
>>> Best wishes
>>>
>>> Sincerely yours
>>>
>>> Jianwu Wang
>>> 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 7/28/2010 10:38 AM, chrisweed at gmail.com wrote:
>>> actually this is what I put in kepler.bat, I am using
>>> windows
>>>
>>>
>>>
>>> On Jul 28, 2010 1:37pm, chrisweed at gmail.com wrote:
>>>
>>>        
>>>> Hi,
>>>>          
>>>        
>>>> Does anyone have any ideas how to launch kepler with proxy
>>>>          
>>> settings?
>>>
>>>        
>>>> I tried adding them to the java command in the kepler.sh file, but
>>>>          
>>> that doesn't seem to work.
>>>
>>>        
>>>> I can launch it fine from source in Eclipse using
>>>>          
>>> org.kepler.Kepler, but not from the binary distribution.
>>>
>>>        
>>>>          
>>>        
>>>> Here is what I tried:
>>>>          
>>>        
>>>> java -Xmx1524m -Dhttp.proxyHost=proxy -Dhttp.proxyPort=8080
>>>>          
>>> "-Dhttp.nonProxyHosts=host1|host2" -classpath
>>> build-area\lib\ant.jar;kepler.jar org.kepler.build.runner.Kepler "%1"
>>> "%2" "%3" "%4" "%5" "%6" "%7" "%8" "%9"
>>>
>>>        
>>>> Chris
>>>>          
>>>
>>> _______________________________________________
>>> Kepler-users mailing list
>>> Kepler-users at kepler-project.org
>>> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users
>>>
>>>
>>>
>>>
>>>        



More information about the Kepler-users mailing list