Hi Chathuri, On registring sample scripts and local host by running sh registerSample.sh(or ./registerSample.sh) following https://cwiki.apache.org/confluence/display/AIRAVATA/XBAYA+Quick-Start+Tutorial (Step 10), I get the following error Exception in thread "main" AiravataSystemException(airavataErrorType:INTERNAL_ERROR) at org.apache.airavata.api.Airavata$registerGatewayResourceProfile_result$registerGatewayResourceProfile_resultStandardScheme.read(Airavata.java) at org.apache.airavata.api.Airavata$registerGatewayResourceProfile_result$registerGatewayResourceProfile_resultStandardScheme.read(Airavata.java) at org.apache.airavata.api.Airavata$registerGatewayResourceProfile_result.read(Airavata.java) at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:78) at org.apache.airavata.api.Airavata$Client.recv_registerGatewayResourceProfile(Airavata.java:5017) at org.apache.airavata.api.Airavata$Client.registerGatewayResourceProfile(Airavata.java:5004) at org.apache.airavata.client.samples.RegisterSampleData.registerGatewayProfile(RegisterSampleData.java:93) at org.apache.airavata.client.samples.RegisterSampleData.register(RegisterSampleData.java:81) at org.apache.airavata.client.samples.RegisterSampleData.main(RegisterSampleData.java:64)
and the main server running throws the following error simultaneously [ERROR] Gateway does not exist.Please provide a valid gateway id... Can you please tell me why is it so? Thanks On Fri, Mar 27, 2015 at 10:26 PM, Chathuri Wimalasena <[email protected]> wrote: > Hi Priyanshu, > > Please refer this. > https://cwiki.apache.org/confluence/display/AIRAVATA/XBAYA+Quick-Start+Tutorial. > The document that you refer is out of date. For OutOfMemoryError error, > you can increase heap memory using JAVA_OPTS (export set > JAVA_OPTS=”-Xms256m -Xmx512m). > > Thanks.. > Chathuri > > On Fri, Mar 27, 2015 at 12:50 PM, priyanshu patra <[email protected]> > wrote: > >> Hello Supun, >> >> Sir, now I am able to run the server but it throws OutOfMemoryError >> [ERROR] Thread Thread[pool-4-thread-5,5,main] died >> java.lang.OutOfMemoryError: Java heap space >> at >> org.apache.thrift.protocol.TBinaryProtocol.readStringBody(TBinaryProtocol.java:339) >> at >> org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:202) >> at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:27) >> at >> org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:225) >> at >> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) >> at >> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) >> at java.lang.Thread.run(Thread.java:745) >> >> Morover, the server doesn't run on port 8080 as mentioned in Quick Start >> Tutorials >> <https://airavata.apache.org/documentation/quickstart-tutorials.html> . >> [INFO] Starting Orchestrator Server on Port 8940 >> [INFO] Starting Gfac Server on Port 8950 >> >> Which of these should I use as Server Port to setup Airavata Registry in >> XBaya Dashboard. >> >> Thanks, >> Priyanshu >> >> >> On Fri, Mar 27, 2015 at 1:02 PM, Supun Nakandala < >> [email protected]> wrote: >> >>> Hi Priyanshu, >>> >>> If you want to run the binaries that you build from maven do as follows. >>> >>> 1. Go to $HOME/gsoc/airavata/modules/distribution/server/target >>> 2. There you will find a *.tar.gz and .zip distributions extract one of >>> your choice >>> 3. Inside the extracted folder you will find the bin folder. Go to that >>> folder and run ./airavata-server.sh (start - to run in daemon mode) >>> >>> To run XBaya >>> 1. Go to $HOME/gsoc/airavata/modules/distribution/xbaya-gui/target and >>> follow steps similar to the previous one >>> >>> -Supun >>> >>> On Fri, Mar 27, 2015 at 12:50 PM, priyanshu patra <[email protected]> >>> wrote: >>> >>>> Hi everyone, >>>> >>>> After building distribution source following build from source >>>> <https://airavata.apache.org/development/build.html> , I followed the >>>> steps here Quick Tutorials >>>> <https://airavata.apache.org/documentation/quickstart-tutorials.html> to >>>> start Airavata Server and Launch GUI. >>>> The server and GUI work fine when I download the binaries from Downloads >>>> page <https://airavata.apache.org/about/downloads.html> ,extract the >>>> distributions, and run *airavata-server.sh* (or *xbaya-gui.sh*) >>>> >>>> But here is what happens when I try to do the same using binaries >>>> generated from source >>>> running >>>> >>>> - $AIRAVATA_SERVER_HOME/bin/airavata-server.sh >>>> >>>> throws the following error- >>>> Error: Could not find or load main class >>>> org.apache.airavata.server.ServerMain >>>> and running the same with sudo throws- >>>> You must set the JAVA_HOME variable before running Airavata Scripts. >>>> >>>> I setup the following in *.bashrc* file >>>> export AIRAVATA_XBAYA_HOME= >>>> $HOME/gsoc/airavata/modules/distribution/xbaya-gui/src/main/resources >>>> >>>> export AIRAVATA_SERVER_HOME= >>>> $HOME/gsoc/airavata/modules/distribution/server/src/main/resources >>>> >>>> export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 >>>> export PATH=$PATH:$JAVA_HOME/bin >>>> >>>> Can anyone pointt me in which step did I go wrong. >>>> >>>> Thanks, >>>> Priyanshu >>>> >>> >>> >>> >>> -- >>> Thank you >>> Supun Nakandala >>> Dept. Computer Science and Engineering >>> University of Moratuwa >>> >> >> >
