airavata-server.properties file.

-------- Forwarded Message --------
Subject:        Re:
Date:   Mon, 14 Mar 2016 17:54:09 +0000
From:   Shameera Rathnayaka <[email protected]>
Reply-To:       [email protected]
To:     [email protected] <[email protected]>



As you can see there is an issue with rabbitmq configurations, can you share your airavata-server.properties file with us?


On Mon, Mar 14, 2016 at 1:39 PM Jatin Balodhi <[email protected] <mailto:[email protected]>> wrote:

   Its running "./airavata-server.sh" but with errors.


   Jatin



   -------- Forwarded Message --------
   Subject:     Re: Re:
   Date:        Mon, 14 Mar 2016 17:23:24 +0000
   From:        Shameera Rathnayaka <[email protected]>
   <mailto:[email protected]>
   Reply-To:    [email protected] <mailto:[email protected]>
   To:  [email protected] <mailto:[email protected]>
   <[email protected]> <mailto:[email protected]>



   try with "./airavata-server.sh" and see.

   On Mon, Mar 14, 2016 at 1:21 PM Jatin Balodhi
   <[email protected] <mailto:[email protected]>> wrote:

       Hi Shameera,

       I am also getting error with "sh airavata-server.sh start".


       Jatin

       -------- Forwarded Message --------
       Subject:         Re:
       Date:    Mon, 14 Mar 2016 16:36:57 +0000
       From:    Shameera Rathnayaka <[email protected]>
       <mailto:[email protected]>
       Reply-To:        [email protected] <mailto:[email protected]>
       To:      [email protected] <mailto:[email protected]>
       <[email protected]> <mailto:[email protected]>



       Hi Jatin,

       Can we see the startup error/s stack you are getting with
       airavata. use "sh airavata-server.sh" to get console outputs.


       On Mon, Mar 14, 2016 at 12:33 PM Pierce, Marlon <[email protected]
       <mailto:[email protected]>> wrote:

           Hi Jatin,

           I put you on the wrong track by recommending to run with
           just “airaveata-server.sh start”.  Stick with the
           instructions in the docs.

           Marlon


           From: Jatin Balodhi <[email protected]
           <mailto:[email protected]>>
           Reply-To: "[email protected]
           <mailto:[email protected]>" <[email protected]
           <mailto:[email protected]>>
           Date: Monday, March 14, 2016 at 12:21 PM
           To: "[email protected]
           <mailto:[email protected]>" <[email protected]
           <mailto:[email protected]>>
           Subject: <no subject>

           All of my prerequisites are running mysql, rabbitmq, mysql
           are running when i am executing "airavata-server.sh start"
           It starts in daemon mode, but when executing
           "airavata-server.sh" it's showing errors.

           Jatin

           -------- Forwarded Message --------
           Subject:     Re:
           Date:        Mon, 14 Mar 2016 09:54:54 -0400
           From:        Suresh Marru
           <mailto:[email protected]><[email protected]>
           <mailto:[email protected]>
           Reply-To:    [email protected]
           <mailto:[email protected]>
           To:  Airavata Dev
           <mailto:[email protected]><[email protected]>
           <mailto:[email protected]>



           Did you google this error?

           You will need to put some effort. Dev list is the last
           resort, not the first one. We are here to help, but you need
           to convince us that you exhausted all your tries before you
           seek help.

           Suresh

            On Mar 14, 2016, at 9:51 AM, Jatin Balodhi
            <[email protected] <mailto:[email protected]>>
            wrote:

            Yes I did now when i'm starting rabbitmq-server from
            terminal its showing
            "ERROR: node with name "rabbit" already running on"


            -------- Forwarded Message --------
            Subject:    Re:
            Date:       Mon, 14 Mar 2016 09:48:32 -0400
            From:       Suresh Marru
            <mailto:[email protected]><[email protected]>
            <mailto:[email protected]>
            Reply-To:   [email protected]
            <mailto:[email protected]>
            To:         Airavata Dev
            <mailto:[email protected]><[email protected]>
            <mailto:[email protected]>



            Did you do all the pre-requisites? Number 2 - Rabbit MQ
            and started it?

            Suresh

            On Mar 14, 2016, at 9:44 AM, Jatin Balodhi
            <[email protected] <mailto:[email protected]>>
            wrote:


            I'm following these
            
<http://airavata.readthedocs.org/en/latest/Airavata-Installation/>"http://airavata.readthedocs.org/en/latest/Airavata-Installation/";
            <http://airavata.readthedocs.org/en/latest/Airavata-Installation/>.

            Jatin

            -------- Forwarded Message --------
            Subject:    Re:
            Date:       Mon, 14 Mar 2016 09:40:27 -0400
            From:       Suresh Marru
            <mailto:[email protected]><[email protected]>
            <mailto:[email protected]>
            Reply-To:   [email protected]
            <mailto:[email protected]>
            To:         Airavata Dev
            <mailto:[email protected]><[email protected]>
            <mailto:[email protected]>



            Which installation documentation are you following?

            Suresh

            On Mar 14, 2016, at 9:38 AM, Jatin Balodhi
            <[email protected] <mailto:[email protected]>>
            wrote:

            I started server again but got so many errors.

            Jatin


            -------- Forwarded Message --------
            Subject:    Re:
            Date:       Mon, 14 Mar 2016 13:32:57 +0000
            From:       Pierce, Marlon
            <mailto:[email protected]><[email protected]>
            <mailto:[email protected]>
            Reply-To:   [email protected]
            <mailto:[email protected]>
            To:         [email protected]
            <mailto:[email protected]><[email protected]> 
<mailto:[email protected]>




            I notice now the docs do recommend using “sh”. Did you
            use step 15 from
            http://airavata.readthedocs.org/en/latest/Airavata-Installation/ to
            examine the logs?

            Marlon


            From: Jatin Balodhi <[email protected]
            <mailto:[email protected]>>
            Reply-To: "[email protected]
            <mailto:[email protected]>"
            <[email protected] <mailto:[email protected]>>
            Date: Monday, March 14, 2016 at 9:30 AM
            To: "[email protected]
            <mailto:[email protected]>"
            <[email protected] <mailto:[email protected]>>
            Subject: Fwd: Re:


            Hi Marlon

            Its showing "starting airavata server in daemon mode"
            how should i check its working or not.

            Thanks
            jatin
            -------- Forwarded Message --------
            Subject:    Re:
            Date:       Mon, 14 Mar 2016 13:15:17 +0000
            From:       Pierce, Marlon
            <mailto:[email protected]><[email protected]>
            <mailto:[email protected]>
            Reply-To:   [email protected]
            <mailto:[email protected]>
            To:         [email protected]
            <mailto:[email protected]><[email protected]> 
<mailto:[email protected]>




            You shouldn’t need to preface the command with “sh”. Just directly 
invoke it.




            On 3/14/16, 5:12 AM, "Jatin Balodhi"<[email protected]> 
<mailto:[email protected]>  wrote:

            >Hi
            >
            >I'm getting error while executing airavata-server.sh in terminal.
            >Please help.
            >
            >Jatin




            <2.png>









-- Shameera Rathnayaka

-- Shameera Rathnayaka


--
Shameera Rathnayaka


#
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements.  See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership.  The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License.  You may obtain a copy of the License at
#
#   http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied.  See the License for the
# specific language governing permissions and limitations
# under the License.
#

###########################################################################
#
#  This properties file provides configuration for all Airavata Services:
#  API Server, Registry, Workflow Interpreter, GFac, Orchestrator
#
###########################################################################

###########################################################################
#  API Server Registry Configuration
###########################################################################

#for derby [AiravataJPARegistry]
registry.jdbc.driver=org.apache.derby.jdbc.ClientDriver
registry.jdbc.url=jdbc:derby://localhost:1527/experiment_catalog;create=true;user=airavata;password=airavata
# MySql database configuration
registry.jdbc.driver=com.mysql.jdbc.Driver
registry.jdbc.url=jdbc:mysql://localhost:3306/experiment_catalog
registry.jdbc.user=airavata
registry.jdbc.password=airavata
#FIXME: Probably the following property should be removed.
start.derby.server.mode=true
validationQuery=SELECT 1 from CONFIGURATION
cache.enable=true
jpa.cache.size=5000
#jpa.connection.properties=MaxActive=10,MaxIdle=5,MinIdle=2,MaxWait=60000,testWhileIdle=true,testOnBorrow=true

# Properties for default user mode
default.registry.user=admin
default.registry.password=admin
default.registry.password.hash.method=SHA
default.registry.gateway=php_reference_gateway

###########################################################################
#  Application Catalog DB Configuration
###########################################################################
#for derby [AiravataJPARegistry]
appcatalog.jdbc.driver=org.apache.derby.jdbc.ClientDriver
appcatalog.jdbc.url=jdbc:derby://localhost:1527/app_catalog;create=true;user=airavata;password=airavata
# MySql database configuration
appcatalog.jdbc.driver=com.mysql.jdbc.Driver
appcatalog.jdbc.url=jdbc:mysql://localhost:3306/app_catalog
appcatalog.jdbc.user=airavata
appcatalog.jdbc.password=airavata
appcatalog.validationQuery=SELECT 1 from CONFIGURATION

##########################################################################
#  Data Catalog DB Configuration
###########################################################################
#for derby [AiravataJPARegistry]
datacatalog.jdbc.driver=org.apache.derby.jdbc.ClientDriver
datacatalog.jdbc.url=jdbc:derby://localhost:1527/data_catalog;create=true;user=airavata;password=airavata
# MySql database configuration
datacatalog.jdbc.driver=com.mysql.jdbc.Driver
datacatalog.jdbc.url=jdbc:mysql://localhost:3306/data_catalog
datacatalog.jdbc.user=airavata
datacatalog.jdbc.password=airavata
datacatalog.validationQuery=SELECT 1 from CONFIGURATION

###########################################################################
#  Workflow Catalog DB Configuration
###########################################################################
#for derby [AiravataJPARegistry]
workflowcatalog.jdbc.driver=org.apache.derby.jdbc.ClientDriver
workflowcatalog.jdbc.url=jdbc:derby://localhost:1527/workflow_catalog;create=true;user=airavata;password=airavata
# MySql database configuration
workflowcatalog.jdbc.driver=com.mysql.jdbc.Driver
workflowcatalog.jdbc.url=jdbc:mysql://localhost:3306/workflow_catalog
workflowcatalog.jdbc.user=airavata
workflowcatalog.jdbc.password=airavata
workflowcatalog.validationQuery=SELECT 1 from CONFIGURATION

###########################################################################
#  Server module Configuration
###########################################################################
servers=apiserver,orchestrator,gfac,credentialstore


###########################################################################
#  API Server Configurations
###########################################################################
apiserver=org.apache.airavata.api.server.AiravataAPIServer
apiserver.name=apiserver-node0
apiserver.host=localhost
apiserver.port=8930
apiserver.min.threads=50

###########################################################################
#  API Server SSL Configurations
###########################################################################
apiserver.tls.enabled=false
apiserver.keystore=/usr/local/LocalAiravata/apache-airavata-server-0.16-SNAPSHOT/bin/airavata.jks
apiserver.keystore.password=airavata

###########################################################################
#  Orchestrator Server Configurations
###########################################################################
orchestrator=org.apache.airavata.orchestrator.server.OrchestratorServer
orchestrator.server.name=orchestrator-node0
orchestrator.server.host=localhost
orchestrator.server.port=8940
orchestrator.server.min.threads=50
job.validators=org.apache.airavata.orchestrator.core.validator.impl.BatchQueueValidator,org.apache.airavata.orchestrator.core.validator.impl.ExperimentStatusValidator
submitter.interval=10000
threadpool.size=10
start.submitter=true
embedded.mode=true
enable.validation=true


###########################################################################
#  GFac Server Configurations
###########################################################################
gfac=org.apache.airavata.gfac.server.GfacServer
gfac.server.name=gfac-node0
gfac.server.host=localhost
gfac.server.port=8950
gfac.thread.pool.size=50
host.scheduler=org.apache.airavata.gfac.impl.DefaultHostScheduler



###########################################################################
# Airavata Workflow Interpreter Configurations
###########################################################################
workflowserver=org.apache.airavata.api.server.WorkflowServer
enactment.thread.pool.size=10

#to define custom workflow parser user following property
#workflow.parser=org.apache.airavata.workflow.core.parser.AiravataWorkflowBuilder



###########################################################################
#  Job Scheduler can send informative email messages to you about the status of 
your job.  
# Specify a string which consists of either the single character "n" (no mail), 
or one or more
#  of the characters "a" (send mail when job is aborted), "b" (send mail when 
job begins), 
# and "e" (send mail when job terminates).  The default is "a" if not specified.
###########################################################################

job.notification.enable=true
#Provide comma separated email ids as a string if more than one
job.notification.emailids=
job.notification.flags=abe

###########################################################################
# Credential Store module Configuration
###########################################################################
start.credential.store=true
credential.store.keystore.url=/usr/local/LocalAiravata/apache-airavata-server-0.16-SNAPSHOT/airavata_sym.jks
credential.store.keystore.alias=airavata
credential.store.keystore.password=airavata
credential.store.jdbc.url=jdbc:derby://localhost:1527/credential-store;create=true;user=airavata;password=airavata
credential.store.jdbc.user=airavata
credential.store.jdbc.password=airavata
credential.store.jdbc.driver=org.apache.derby.jdbc.ClientDriver
credential.store.server.host=localhost
credential.store.server.port=8960
credentialstore=org.apache.airavata.credential.store.server.CredentialStoreServer

# these properties used by credential store email notifications
email.server=smtp.googlemail.com
email.server.port=465
email.user=airavata
email.password=xxx
email.ssl=true
[email protected]

# SSH PKI key pair or ssh password can be used SSH based sshKeyAuthentication 
is used.
# if user specify both password sshKeyAuthentication gets the higher preference

################# ---------- For ssh key pair sshKeyAuthentication 
------------------- ################
#ssh.public.key=/path to public key for ssh
#ssh.private.key=/path to private key file for ssh
#ssh.keypass=passphrase for the private key
#ssh.username=username for ssh connection
## If you set "yes" for ssh.strict.hostKey.checking, then you must provide 
known hosts file path
#ssh.strict.hostKey.checking=yes/no
#ssh.known.hosts.file=/path to known hosts file
### Incase of password sshKeyAuthentication.
#ssh.password=Password for ssh connection

################ ---------- BES Properties ------------------- ###############
#bes.ca.cert.path=<location>/certificates/cacert.pem
#bes.ca.key.path=<location>/certificates/cakey.pem
#bes.ca.key.pass=passphrase

###########################################################################
# Monitoring module Configuration
###########################################################################

#This will be the primary monitoring tool which runs in airavata, in future 
there will be multiple monitoring
#mechanisms and one would be able to start a monitor
monitors=org.apache.airavata.gfac.monitor.impl.pull.qstat.QstatMonitor,org.apache.airavata.gfac.monitor.impl.LocalJobMonitor

#These properties will used to enable email base monitoring
email.based.monitor.host=imap.gmail.com
[email protected] 
email.based.monitor.password=SamplePassword
email.based.monitor.folder.name=INBOX
# either imaps or pop3
email.based.monitor.store.protocol=imaps
#These property will be used to query the email server periodically. value in 
milliseconds(ms).
email.based.monitoring.period=10000

###########################################################################
# AMQP Notification Configuration
###########################################################################
#for simple scenarios we can use the guest user
rabbitmq.broker.url=amqp://localhost:5672
#for production scenarios, give url as 
amqp://userName:password@hostName:portNumber/virtualHost, create user, 
virtualhost
# and give permissions, refer: 
http://blog.dtzq.com/2012/06/rabbitmq-users-and-virtual-hosts.html
rabbitmq.broker.url=amqp://airavata:airavata@localhost:5672/messaging
status.publisher=org.apache.airavata.messaging.core.impl.RabbitMQStatusPublisher
task.launch.publisher=org.apache.airavata.messaging.core.impl.RabbitMQProcessLaunchPublisher
rabbitmq.status.exchange.name=airavata_rabbitmq_exchange
rabbitmq.task.launch.exchange.name=airavata_task_launch_rabbitmq_exchange
durable.queue=false
prefetch.count=200
launch.queue.name=launch.queue
cancel.queue.name=cancel.queue
activity.publisher=org.apache.airavata.messaging.core.impl.RabbitMQStatusPublisher
rabbitmq.exchange.name=airavata_rabbitmq_exchange

###########################################################################
# Zookeeper Server Configuration
###########################################################################
embedded.zk=false
zookeeper.server.connection=localhost:2181
zookeeper.timeout=30000

########################################################################
## API Security Configuration
########################################################################
api.secured=false
security.manager.class=org.apache.airavata.api.server.security.DefaultAiravataSecurityManager
### TLS related configuration ####
TLS.enabled=false
TLS.api.server.port=9930
TLS.client.timeout=10000
#### keystore configuration ####
keystore.path=airavata.jks
keystore.password=airavata
#### trust store configuration ####
trust.store=client_truststore.jks
trust.store.password=airavata
#### remote authorization server url ####
remote.oauth.authorization.server=https://localhost:9443/services/
#### xacml based authorization policy ####
authorization.policy=airavata-default-xacml-policy
#### authorization cache related configuration ####
authz.cache.enabled=true
authz.cache.manager.class=org.apache.airavata.api.server.security.authzcache.DefaultAuthzCacheManager
in.memory.cache.size=1000
#### admin user credentials of authorization server ####
admin.user.name=admin
admin.password=admin

Reply via email to