Thank you Nooshin, for the quick response and the great stuff you guys are 
doing cloudsuite3.0. 

I pulled newly, and downloaded the new run.sh on github. However, the problem 
persists just as before. 

Exception in thread "main" java.io.IOException: Server returned HTTP response 
code: 502 for URL: http://172.18.0.2:8080/


Curiously, I tried this and got the associated error message in the web_server 
container 
curl localhost:8080 —> '502 Bad Gateway'

Then I tried :
curl localhost:80 —> 'Welcome to nginx!’

So I changed port fields in run.sh to 80 instead of 8080 and then attempted to 
run again, and the executions changed to this 
Exception in thread "main" java.io.FileNotFoundException: 
http://172.18.0.2:80/action/login
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
… … 
Caused by: java.io.FileNotFoundException: http://172.18.0.2:80/action/login
        at 
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1626)
......
 [java] java.io.FileNotFoundException: /faban/users.list (No such file or 
directory)
     [java]     at java.io.FileInputStream.open(Native Method)
     [java]     at java.io.FileInputStream.<init>(FileInputStream.java:146)
     [java]     at java.io.FileReader.<init>(FileReader.java:72)
     [java]     at workload.driver.Web20Driver.<init>(Web20Driver.java:229)
…. ….
cat: /faban/output/*/summary.xml: No such file or directory

Yet again inside the web_server container I tried to ensure the application 
files are properly deployed, but I received an error message too
curl localhost/elgg/ —> '301 Moved Permanently'

I checked the Dockerfile for the web_server on github and I could see that 8080 
is actually exposed. 

Do you have an idea of what could be wrong? 

> On 01 Mar 2016, at 09:35, Nooshin Mirzadeh <[email protected]> wrote:
> 
> Dear Olumuyiwa,
> 
> There was a bug in the naming. Would you please pull the images again, and 
> rerun the benchmark? 
> Please let me know if there is a problem.
> 
> Regards,
> Nooshin
> 
> On Sat, Feb 27, 2016 at 11:04 PM, Muyi Ibidun <[email protected] 
> <mailto:[email protected]>> wrote:
> Hello, 
> I am settling up Cloudsuite 3.0 for academic experiments but keep getting the 
> following exceptions when trying to run the web-serving benchmark:
> (The same exceptions are thrown regardless if I do pull from repo or build 
> from Dockerfile)
>> ~/cloudsuite# ./run.sh
>> Exception in thread "main" java.io.IOException: Server returned HTTP 
>> response code: 502 for URL: http://172.18.0.2:8080/ <http://172.18.0.2:8080/>
>>      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>>      at 
>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
>>      at 
>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>>      at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
>>      at 
>> sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1677)
>>      at 
>> sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1675)
>>      at java.security.AccessController.doPrivileged(Native Method)
>>      at 
>> sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1673)
>>      at 
>> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1246)
>>      at 
>> com.sun.faban.driver.transport.sunhttp.SunHttpTransport.fetchResponse(SunHttpTransport.java:673)
>>      at 
>> com.sun.faban.driver.transport.sunhttp.SunHttpTransport.fetchURL(SunHttpTransport.java:383)
>>      at 
>> com.sun.faban.driver.transport.sunhttp.SunHttpTransport.fetchURL(SunHttpTransport.java:402)
>>      at 
>> com.sun.faban.driver.transport.sunhttp.SunHttpTransport.fetchURL(SunHttpTransport.java:440)
>>      at setup.UserGenerator.createUsers(UserGenerator.java:100)
>>      at setup.UserGenerator.main(UserGenerator.java:147)
>> Caused by: java.io.IOException: Server returned HTTP response code: 502 for 
>> URL: http://172.18.0.2:8080/ <http://172.18.0.2:8080/>
>>      at 
>> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1628)
>>      at 
>> java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468)
>>      at 
>> com.sun.faban.driver.transport.sunhttp.SunHttpTransport.fetchResponse(SunHttpTransport.java:654)
>>      ... 5 more
>> Buildfile: /web20_benchmark/build.xml
>> 
>> init:
> 
> 
> ___________________________
> Olumuyiwa Ibidunmoye 
> Department of Computing Science,
> Umeå University.
> SE-901 87 Umeå.
> Sweden.
> 
> 

/muyi




Reply via email to