Re: [sgg-l] XBaya Quick Start Tutorial is in Airavata wiki

2014-12-01 Thread Shameera Rathnayaka
Hi Sudhakar,

I also face the same issue with my home network where localhost doesn't​
correctly map to 127.0.0.1. When we build with test derby start with
127.0.0.1 and test server properties file has it as localhost. This is why
this happen. Interesting thing is when i build the source with test at Lab
it works without an issue.

Thanks,
Shameera.

On Mon, Dec 1, 2014 at 12:59 PM, Pamidighantam, Sudhakar V 
spami...@illinois.edu wrote:



 Begin forwarded message:

  *From: *Marlon Pierce marpi...@iu.edu
  *Subject: * *Re: [sgg-l] XBaya Quick Start Tutorial is in Airavata wiki*
  *Date: *December 1, 2014 at 10:14:52 AM CST
  *To: *sg...@list.indiana.edu
  *Reply-To: * sg...@list.indiana.edu

  Please take this to dev@airavata. Looks like

 * Some services (derby) were not properly shutdown from a previous test,
 and/or

 * Not all services were started correctly (zookeeper)

 Marlon

 On 12/1/14, 11:05 AM, Pamidighantam, Sudhakar V wrote:

 The version was from just before break. I get the following errors…

  (Apache Derby 10.9.1.0 - (1344872) ,Apache Derby Network Client JDBC
 Driver 10.9.1.0 - (1344872)).

 file:/Users/spamidig/Applications/XBayaDocTest/airavata/apache-airavata-server-0.14-SNAPSHOT/bin/airavata-server.properties
 Mon Dec 01 09:48:19 CST 2014 : Could not listen on port 1527 on host
 0.0.0.0:
  java.net.BindException: Address already in use
 [INFO] Database already created for App Catalog!
 [INFO] Starting Airavata API Server on Port 8930
 [

 and


 [INFO] Initiating client connection, connectString=localhost:2181
 sessionTimeout=6000
 watcher=org.apache.airavata.api.server.AiravataAPIServer@2b27cc70
 [INFO] Opening socket connection to server /0:0:0:0:0:0:0:1:2181
 [WARN] Session 0x0 for server null, unexpected error, closing socket
 connection and attempting reconnect
 java.net.ConnectException: Connection refused
 at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
 at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:716)
 at
 org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:286)
 at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1041)
 [INFO] Opening socket connection to server /fe80:0:0:0:0:0:0:1%1:2181
 [ERROR] KeeperErrorCode = ConnectionLoss for /experiment-catalog
 Mon Dec 01 09:48:19 CST 2014 : Apache Derby Network Server - 10.9.1.0 -
 (1344872) shutdown
 [ERROR] Server Start Error:
 AiravataSystemException(airavataErrorType:INTERNAL_ERROR)
 at
 org.apache.airavata.api.server.AiravataAPIServer.storeServerConfig(AiravataAPIServer.java:233)
 at
 org.apache.airavata.api.server.AiravataAPIServer.startAiravataServer(AiravataAPIServer.java:111)
 at
 org.apache.airavata.api.server.AiravataAPIServer.start(AiravataAPIServer.java:256)
 at
 org.apache.airavata.server.ServerMain.startAllServers(ServerMain.java:297)
 at
 org.apache.airavata.server.ServerMain.performServerStart(ServerMain.java:146)
 at org.apache.airavata.server.ServerMain.main(ServerMain.java:129)
 [INFO] connected to rabbitmq: amqp://guest@127.0.0.1:5672/ for
 airavata_rabbitmq_exchange
 [INFO] setting basic.qos / prefetch count to 64 for
 airavata_rabbitmq_exchange
 [INFO] Initiating client connection, connectString=localhost:2181
 sessionTimeout=6000
 watcher=org.apache.airavata.orchestrator.server.OrchestratorServerHandler@d71adc2
 [INFO] Opening socket connection to server /0:0:0:0:0:0:0:1:2181
 [WARN] Session 0x0 for server null, unexpected error, closing socket
 connection and attempting reconnect
 java.net.ConnectException: Connection refused
 at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
 at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:716)
 at
 org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:286)
 at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1041)
 [INFO] Opening socket connection to server /127.0.0.1:2181
 [WARN] Session 0x0 for server null, unexpected error, closing socket
 connection and attempting reconnect


 Is there a way to correct this.

 Thanks,
 Sudhakar.



 On Dec 1, 2014, at 9:51 AM, Eroma Abeysinghe eroma.abeysin...@gmail.com
 mailto:eroma.abeysin...@gmail.com eroma.abeysin...@gmail.com wrote:

 Couldn't launch Airavata server? Did you take the latest from git?

 No problem at all.
 Lets edit as we go on  thanks again for the comments and input.

 On Mon, Dec 1, 2014 at 10:46 AM, Pamidighantam, Sudhakar V 
 spami...@illinois.edumailto:spami...@illinois.edu spami...@illinois.edu
 wrote:
 I am still working on this.. as I could not launch the server… More edits
 possible.

 Thanks,
 Sudhakar.

 On Dec 1, 2014, at 9:17 AM, Eroma Abeysinghe eroma.abeysin...@gmail.com
 mailto:eroma.abeysin...@gmail.com eroma.abeysin...@gmail.com wrote:

 Hi,

 Thank you Sudhakar and Shameera for reviewing the quick start
 documentation.
 Modified the tutorial baed on your comments and now its in


 https://cwiki.apache.org/confluence/display/AIRAVATA/XBAYA+Quick

Re: [sgg-l] XBaya Quick Start Tutorial is in Airavata wiki

2014-12-01 Thread Pamidighantam, Sudhakar V
I am not sure if that alone is the issue. I see these errors in both places. 
Could we have a chat to resolve this later this afternoon.

Thanks,
Sudhakar.
On Dec 1, 2014, at 12:08 PM, Shameera Rathnayaka 
shameerai...@gmail.commailto:shameerai...@gmail.com wrote:

Hi Sudhakar,

I also face the same issue with my home network where localhost doesn't​ 
correctly map to 127.0.0.1. When we build with test derby start with 127.0.0.1 
and test server properties file has it as localhost. This is why this happen. 
Interesting thing is when i build the source with test at Lab it works without 
an issue.

Thanks,
Shameera.

On Mon, Dec 1, 2014 at 12:59 PM, Pamidighantam, Sudhakar V 
spami...@illinois.edumailto:spami...@illinois.edu wrote:


Begin forwarded message:

From: Marlon Pierce marpi...@iu.edumailto:marpi...@iu.edu
Subject: Re: [sgg-l] XBaya Quick Start Tutorial is in Airavata wiki
Date: December 1, 2014 at 10:14:52 AM CST
To: sg...@list.indiana.edumailto:sg...@list.indiana.edu
Reply-To: sg...@list.indiana.edumailto:sg...@list.indiana.edu

Please take this to dev@airavata. Looks like

* Some services (derby) were not properly shutdown from a previous test, and/or

* Not all services were started correctly (zookeeper)

Marlon

On 12/1/14, 11:05 AM, Pamidighantam, Sudhakar V wrote:
The version was from just before break. I get the following errors…

 (Apache Derby 10.9.1.0 - (1344872) ,Apache Derby Network Client JDBC Driver 
10.9.1.0 - (1344872)).
file:/Users/spamidig/Applications/XBayaDocTest/airavata/apache-airavata-server-0.14-SNAPSHOT/bin/airavata-server.properties
Mon Dec 01 09:48:19 CST 2014 : Could not listen on port 1527 on host 
0.0.0.0http://0.0.0.0/:
 java.net.BindException: Address already in use
[INFO] Database already created for App Catalog!
[INFO] Starting Airavata API Server on Port 8930
[

and


[INFO] Initiating client connection, connectString=localhost:2181 
sessionTimeout=6000 
watcher=org.apache.airavata.api.server.AiravataAPIServer@2b27cc70
[INFO] Opening socket connection to server /0:0:0:0:0:0:0:1:2181
[WARN] Session 0x0 for server null, unexpected error, closing socket connection 
and attempting reconnect
java.net.ConnectException: Connection refused
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:716)
at 
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:286)
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1041)
[INFO] Opening socket connection to server /fe80:0:0:0:0:0:0:1%1:2181
[ERROR] KeeperErrorCode = ConnectionLoss for /experiment-catalog
Mon Dec 01 09:48:19 CST 2014 : Apache Derby Network Server - 10.9.1.0 - 
(1344872) shutdown
[ERROR] Server Start Error:
AiravataSystemException(airavataErrorType:INTERNAL_ERROR)
at 
org.apache.airavata.api.server.AiravataAPIServer.storeServerConfig(AiravataAPIServer.java:233)
at 
org.apache.airavata.api.server.AiravataAPIServer.startAiravataServer(AiravataAPIServer.java:111)
at 
org.apache.airavata.api.server.AiravataAPIServer.start(AiravataAPIServer.java:256)
at org.apache.airavata.server.ServerMain.startAllServers(ServerMain.java:297)
at org.apache.airavata.server.ServerMain.performServerStart(ServerMain.java:146)
at org.apache.airavata.server.ServerMain.main(ServerMain.java:129)
[INFO] connected to rabbitmq: amqp://guest@127.0.0.1:5672/ for 
airavata_rabbitmq_exchange
[INFO] setting basic.qos / prefetch count to 64 for airavata_rabbitmq_exchange
[INFO] Initiating client connection, connectString=localhost:2181 
sessionTimeout=6000 
watcher=org.apache.airavata.orchestrator.server.OrchestratorServerHandler@d71adc2
[INFO] Opening socket connection to server /0:0:0:0:0:0:0:1:2181
[WARN] Session 0x0 for server null, unexpected error, closing socket connection 
and attempting reconnect
java.net.ConnectException: Connection refused
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:716)
at 
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:286)
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1041)
[INFO] Opening socket connection to server 
/127.0.0.1:2181http://127.0.0.1:2181/
[WARN] Session 0x0 for server null, unexpected error, closing socket connection 
and attempting reconnect


Is there a way to correct this.

Thanks,
Sudhakar.



On Dec 1, 2014, at 9:51 AM, Eroma Abeysinghe 
eroma.abeysin...@gmail.commailto:eroma.abeysin...@gmail.commailto:eroma.abeysin...@gmail.com
 wrote:

Couldn't launch Airavata server? Did you take the latest from git?

No problem at all.
Lets edit as we go on  thanks again for the comments and input.

On Mon, Dec 1, 2014 at 10:46 AM, Pamidighantam, Sudhakar V 
spami...@illinois.edumailto:spami...@illinois.edumailto:spami...@illinois.edu
 wrote:
I am still working on this.. as I could not launch the server… More edits 
possible.

Thanks,
Sudhakar.

On Dec 1, 2014, at 9

Re: [sgg-l] XBaya Quick Start Tutorial is in Airavata wiki

2014-12-01 Thread Raminder Singh
I am available on hipchat https://www.hipchat.com/gkzJyHoot if needed to debug. 

Thanks
Raminder
 
On Dec 1, 2014, at 3:42 PM, Marlon Pierce marpi...@iu.edu wrote:

 Please use hipchat for this. See other email from me just now on this.
 
 Marlon
 
 On 12/1/14, 3:14 PM, Pamidighantam, Sudhakar V wrote:
 I am not sure if that alone is the issue. I see these errors in both places. 
 Could we have a chat to resolve this later this afternoon.
 
 Thanks,
 Sudhakar.
 On Dec 1, 2014, at 12:08 PM, Shameera Rathnayaka 
 shameerai...@gmail.commailto:shameerai...@gmail.com wrote:
 
 Hi Sudhakar,
 
 I also face the same issue with my home network where localhost doesn't​ 
 correctly map to 127.0.0.1. When we build with test derby start with 
 127.0.0.1 and test server properties file has it as localhost. This is why 
 this happen. Interesting thing is when i build the source with test at Lab 
 it works without an issue.
 
 Thanks,
 Shameera.
 
 On Mon, Dec 1, 2014 at 12:59 PM, Pamidighantam, Sudhakar V 
 spami...@illinois.edumailto:spami...@illinois.edu wrote:
 
 
 Begin forwarded message:
 
 From: Marlon Pierce marpi...@iu.edumailto:marpi...@iu.edu
 Subject: Re: [sgg-l] XBaya Quick Start Tutorial is in Airavata wiki
 Date: December 1, 2014 at 10:14:52 AM CST
 To: sg...@list.indiana.edumailto:sg...@list.indiana.edu
 Reply-To: sg...@list.indiana.edumailto:sg...@list.indiana.edu
 
 Please take this to dev@airavata. Looks like
 
 * Some services (derby) were not properly shutdown from a previous test, 
 and/or
 
 * Not all services were started correctly (zookeeper)
 
 Marlon
 
 On 12/1/14, 11:05 AM, Pamidighantam, Sudhakar V wrote:
 The version was from just before break. I get the following errors…
 
  (Apache Derby 10.9.1.0 - (1344872) ,Apache Derby Network Client JDBC Driver 
 10.9.1.0 - (1344872)).
 file:/Users/spamidig/Applications/XBayaDocTest/airavata/apache-airavata-server-0.14-SNAPSHOT/bin/airavata-server.properties
 Mon Dec 01 09:48:19 CST 2014 : Could not listen on port 1527 on host 
 0.0.0.0http://0.0.0.0/:
  java.net.BindException: Address already in use
 [INFO] Database already created for App Catalog!
 [INFO] Starting Airavata API Server on Port 8930
 [
 
 and
 
 
 [INFO] Initiating client connection, connectString=localhost:2181 
 sessionTimeout=6000 
 watcher=org.apache.airavata.api.server.AiravataAPIServer@2b27cc70
 [INFO] Opening socket connection to server /0:0:0:0:0:0:0:1:2181
 [WARN] Session 0x0 for server null, unexpected error, closing socket 
 connection and attempting reconnect
 java.net.ConnectException: Connection refused
 at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
 at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:716)
 at 
 org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:286)
 at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1041)
 [INFO] Opening socket connection to server /fe80:0:0:0:0:0:0:1%1:2181
 [ERROR] KeeperErrorCode = ConnectionLoss for /experiment-catalog
 Mon Dec 01 09:48:19 CST 2014 : Apache Derby Network Server - 10.9.1.0 - 
 (1344872) shutdown
 [ERROR] Server Start Error:
 AiravataSystemException(airavataErrorType:INTERNAL_ERROR)
 at 
 org.apache.airavata.api.server.AiravataAPIServer.storeServerConfig(AiravataAPIServer.java:233)
 at 
 org.apache.airavata.api.server.AiravataAPIServer.startAiravataServer(AiravataAPIServer.java:111)
 at 
 org.apache.airavata.api.server.AiravataAPIServer.start(AiravataAPIServer.java:256)
 at org.apache.airavata.server.ServerMain.startAllServers(ServerMain.java:297)
 at 
 org.apache.airavata.server.ServerMain.performServerStart(ServerMain.java:146)
 at org.apache.airavata.server.ServerMain.main(ServerMain.java:129)
 [INFO] connected to rabbitmq: amqp://guest@127.0.0.1:5672/ for 
 airavata_rabbitmq_exchange
 [INFO] setting basic.qos / prefetch count to 64 for 
 airavata_rabbitmq_exchange
 [INFO] Initiating client connection, connectString=localhost:2181 
 sessionTimeout=6000 
 watcher=org.apache.airavata.orchestrator.server.OrchestratorServerHandler@d71adc2
 [INFO] Opening socket connection to server /0:0:0:0:0:0:0:1:2181
 [WARN] Session 0x0 for server null, unexpected error, closing socket 
 connection and attempting reconnect
 java.net.ConnectException: Connection refused
 at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
 at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:716)
 at 
 org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:286)
 at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1041)
 [INFO] Opening socket connection to server 
 /127.0.0.1:2181http://127.0.0.1:2181/
 [WARN] Session 0x0 for server null, unexpected error, closing socket 
 connection and attempting reconnect
 
 
 Is there a way to correct this.
 
 Thanks,
 Sudhakar.
 
 
 
 On Dec 1, 2014, at 9:51 AM, Eroma Abeysinghe 
 eroma.abeysin...@gmail.commailto:eroma.abeysin...@gmail.commailto:eroma.abeysin...@gmail.com
  wrote