Here I attached Airavata standard out, property, and PGA config.

Thank you,
Heejoon.

On Tue, Oct 27, 2015 at 11:33 PM, Supun Nakandala <[email protected]
> wrote:

> can you provide more information or screenshot of the error
>
> On Tue, Oct 27, 2015 at 10:26 AM, 채희준 <[email protected]> wrote:
>
>> Thank you for the information.
>>
>> BTW, any suggestions for the connection refuse error?
>>
>> Heejoon.
>>
>> 2015. 10. 27. 오후 11:14 Supun Nakandala <[email protected]> 작성:
>>
>> You can continue using the default configuration for your use. But if you
>> plan to use in production I suggest you setup your own identity server
>> deployment.
>>
>> On Tue, Oct 27, 2015 at 9:51 AM, Heejoon Chae <[email protected]>
>> wrote:
>>
>>> Hi, Supun,
>>>
>>> I actually still use 'idp.scigap.org', but do I need to locally install
>>> this if I want to use local Airavata?
>>>
>>> Thank you,
>>> Heejoon.
>>>
>>> On Tue, Oct 27, 2015 at 10:40 PM, Supun Nakandala <
>>> [email protected]> wrote:
>>>
>>>> Hi Heejoon,
>>>>
>>>>
>>>> In addition to running the local airavata server if you change the wsis
>>>> section in the pga_config.php to use localhost you should also run a local
>>>> wso2 identity server instance(http://wso2.com/products/identity-server/).
>>>> Currently what we do is we are hosting a one instance of identity server
>>>> and using the same identity server in all PGAs. The identity server
>>>> supports tenant based isolation so every pga is configured to use a
>>>> separate tenant. The default configuration is the development related
>>>> tenant that we use.
>>>>
>>>> If you want your own wso2 identity server that can also be done.
>>>>
>>>> On Tue, Oct 27, 2015 at 2:47 AM, Heejoon Chae <[email protected]>
>>>> wrote:
>>>>
>>>>> Hi Supun,
>>>>>
>>>>> Thank you for the role setting information. Now the PGA seems working
>>>>> with hosted airavata.
>>>>>
>>>>> For testing with locally installed Airavata server, I cloned recent
>>>>> git and compile which generated 0.16 snapshot.
>>>>> I deployed it and when I ran it, I got following error and the PGA
>>>>> says unable to connect Airavata Server instance.
>>>>>
>>>>> [INFO] Unable to sendViaPost to url[
>>>>> https://localhost:9443/services/EntitlementPolicyAdminService]
>>>>> java.net.ConnectException: Connection refused
>>>>>
>>>>> BTW, I modified PGA property to localhost.
>>>>>
>>>>> Thank  you,
>>>>> Heejoon.
>>>>>
>>>>>
>>>>>
>>>>> On Sun, Oct 25, 2015 at 5:30 AM, Supun Nakandala <
>>>>> [email protected]> wrote:
>>>>>
>>>>>> Hi Heejoon,
>>>>>>
>>>>>> Based on your suggestion I have changed the pga_config.php.template
>>>>>> admin-username to only have the username part. I hope this will avoid
>>>>>> future user confusions.
>>>>>>
>>>>>> In addition to that if you create a new user you can provide access
>>>>>> to that user by assigning roles using the admin portal after logging in 
>>>>>> as
>>>>>> master. The three main roles are as follows.
>>>>>>
>>>>>> airavata-user => basic user who can run experiments
>>>>>> admin => user who can view/change application catalog data
>>>>>> admin-read-only => user who can only view the application catalog data
>>>>>>
>>>>>> Thank you,
>>>>>> Supun
>>>>>>
>>>>>> On Sat, Oct 24, 2015 at 9:10 AM, Heejoon Chae <[email protected]
>>>>>> > wrote:
>>>>>>
>>>>>>> Self-solved the issue.
>>>>>>>
>>>>>>> Interestingly, even though the pga_config is written as
>>>>>>>
>>>>>>> 'admin-username' => '[email protected]',
>>>>>>> 'admin-password' => 'master',
>>>>>>>
>>>>>>> I need to put admin username as 'master' and password 'master'
>>>>>>>
>>>>>>> It seems the 'admin-username' assumes containing tenant-domain and
>>>>>>> when to login, it is ignored.
>>>>>>> Now I can see the admin dashboard
>>>>>>>
>>>>>>> I think It would be helpful if the wiki tutorial explains this part
>>>>>>> a little bit more.
>>>>>>>
>>>>>>> Thank you,
>>>>>>> Heejoon.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Sat, Oct 24, 2015 at 6:05 PM, Heejoon Chae <
>>>>>>> [email protected]> wrote:
>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> I installed PGA, airavata server on local machine and it seems
>>>>>>>> working.
>>>>>>>>
>>>>>>>> I created my own account and changed the user role to
>>>>>>>> 'internal/everyone' to see the project and experiment menu.
>>>>>>>>
>>>>>>>> Now, as pga_config, I tried to login with '[email protected]'
>>>>>>>> and 'master', but failed to login as admin
>>>>>>>>
>>>>>>>> I tried this with both 'gw56.iu.xsede.org' and local host.
>>>>>>>>
>>>>>>>> How can I obtain admin privilege?
>>>>>>>>
>>>>>>>> Thank you,
>>>>>>>> Heejoon.
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Thank you
>>>>>> Supun Nakandala
>>>>>> Dept. Computer Science and Engineering
>>>>>> University of Moratuwa
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Thank you
>>>> Supun Nakandala
>>>> Dept. Computer Science and Engineering
>>>> University of Moratuwa
>>>>
>>>
>>>
>>
>>
>> --
>> Thank you
>> Supun Nakandala
>> Dept. Computer Science and Engineering
>> University of Moratuwa
>>
>>
>
>
> --
> Thank you
> Supun Nakandala
> Dept. Computer Science and Engineering
> University of Moratuwa
>
...._....................._..............._...._......................_.........
.../ \..._.__...__._..___| |__...___...../ \..(_)_.__.__.___...____._|.|_.__._..
../ _ \.| '_ \./ _` |/ __| '_ \./ _ \.../ _ \.| | '__/ _` \ \./ / _` | __/ _` |.
./ ___ \| |_) | (_| | (__| |.| |  __/../ ___ \| | |.| (_| |\ V / (_| | || (_| |.
/_/...\_\ .__/.\__,_|\___|_|.|_|\___|./_/...\_\_|_|..\__,_|.\_/.\__,_|\__\__,_|.
........|_|.....................................................................
................................................................................
................,+????++~..~~++..+????????+??++.++~...~+=???+++.................
..............:???????....:::...~??????????????.~..::...=????????...............
............????????..~~..?????..??????????????.?????..~~~.~???????.............
...........?????????I,~I~~??????.+????????????.~??????~=~..?????????~...........
.........?????++??????..????????:.??????????I..????????..????????+????..........
........??.....???????....???????...???????+..+??????+.I.????????.....?,........
........????==????????..??..?????..=???????=..?????,.=+?.?????????===??=........
......=??????????+????..+??=.???=.~??????????,.???=,???,.????=+??????????.......
....??????????+...+I++..???,=...:??????????????.....+??..++I?+..,??????????.....
....???????=??..........??..+??.:=:.???????......??..??=..........?=???????=....
....??????..?...........+?..???.....???????......???.??...........~=.??????=....
....~???~.~..............?..???.~=..,??????...7..???.?.:..............~????:....
...7....7 ...............?..????. ...??????... .????.?.?.............I ..:.:....
.....+7=,.+?................????:,I...?????..=.?????.?.............??~.=7+......
..........????..............??????~...~??..~~??????..?...........+???,..........
...........???............=.+???????,.?+:.?????????..+...........???+...........
............??............?,.??????.,??..??????????.,............???............
...........??,.............=.,????.?+....????????I.I..............=?............
..........I?..................+??.:?~.....=??????..................??...........
..........??...?...............??.:?=......??????..............?...??...........
............++?..............?.????...?....??????.+..............++I............
.............................?.??????~....???????.?.............................
............................~~.??????......??????...............................
.............................=???????......???????+.............................
..........................=I??++?+++?......?+++++++?+...........................
..........................,..77..77.........  ..  ...7..........................
................................................................................
[INFO] Settings loaded from 
file:/usr/local/apache2/htdocs/apache-airavata-server-0.16-SNAPSHOT/bin/airavata-server.properties
[INFO] Starting Zookeeper server...
[INFO] Airavata server instance starting...
Security module reached...
[INFO] connected to rabbitmq: amqp://[email protected]:5672/ for 
airavata_rabbitmq_exchange
[INFO] setting basic.qos / prefetch count to 64 for airavata_rabbitmq_exchange
Tue Oct 27 23:33:00 KST 2015 : Warning: UnknkownHostException: r410: r410: 
unknown error.
Tue Oct 27 23:33:00 KST 2015 : Apache Derby Network Server - 10.11.1.1 - 
(1616546) started and ready to accept connections on port 1528
[INFO] Database already created for Registry!
DriverClassName=org.apache.derby.jdbc.ClientDriver,Url=jdbc:derby://localhost:1528/experiment_catalog;create=true;user=airavata;password=airavata?autoReconnect=true,Username=airavata,Password=airavata,validationQuery=SELECT
 1 from CONFIGURATION
Tue Oct 27 23:33:04 KST 2015 : Warning: UnknkownHostException: r410: r410: 
unknown error.
Tue Oct 27 23:33:04 KST 2015 : Could not listen on port 1528 on host 0.0.0.0:
 java.net.BindException: Address already in use
[INFO] Database already created for App Catalog!
[INFO] Airavata API server starter over TLS on Port: 9930
[INFO] Unable to sendViaPost to 
url[https://localhost:9443/services/EntitlementPolicyAdminService]
java.net.ConnectException: Connection refused
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at 
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
        at 
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
        at 
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
        at java.net.Socket.connect(Socket.java:589)
        at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:668)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:497)
        at 
org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:140)
        at 
org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSocket(SSLProtocolSocketFactory.java:130)
        at 
org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
        at 
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)
        at 
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
        at 
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
        at 
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
        at 
org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:621)
        at 
org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:193)
        at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75)
        at 
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:449)
        at 
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:276)
        at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:443)
        at 
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:406)
        at 
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
        at 
org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
        at 
org.wso2.carbon.identity.entitlement.stub.EntitlementPolicyAdminServiceStub.getPolicy(EntitlementPolicyAdminServiceStub.java:2042)
        at 
org.apache.airavata.api.server.security.xacml.DefaultPAPClient.isPolicyAdded(DefaultPAPClient.java:65)
        at 
org.apache.airavata.api.server.security.DefaultAiravataSecurityManager.initializeSecurityInfra(DefaultAiravataSecurityManager.java:65)
        at 
org.apache.airavata.api.server.AiravataAPIServer.startAiravataServer(AiravataAPIServer.java:164)
        at 
org.apache.airavata.api.server.AiravataAPIServer.start(AiravataAPIServer.java:198)
        at 
org.apache.airavata.server.ServerMain.startAllServers(ServerMain.java:292)
        at 
org.apache.airavata.server.ServerMain.performServerStart(ServerMain.java:141)
        at org.apache.airavata.server.ServerMain.main(ServerMain.java:124)
[INFO] Authorization policy is published in the authorization server.
[INFO] connected to rabbitmq: amqp://[email protected]:5672/ for 
airavata_rabbitmq_exchange
[INFO] setting basic.qos / prefetch count to 64 for airavata_rabbitmq_exchange
[INFO] connected to rabbitmq: amqp://[email protected]:5672/ for null
[INFO] setting basic.qos / prefetch count to 64 for null
[INFO] Unable to sendViaPost to 
url[https://localhost:9443/services/EntitlementPolicyAdminService]
java.net.ConnectException: Connection refused
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at 
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
        at 
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
        at 
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
        at java.net.Socket.connect(Socket.java:589)
        at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:668)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:497)
        at 
org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:140)
        at 
org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSocket(SSLProtocolSocketFactory.java:130)
        at 
org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
        at 
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)
        at 
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
        at 
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
        at 
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
        at 
org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:621)
        at 
org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:193)
        at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75)
        at 
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:449)
        at 
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:276)
        at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:443)
        at 
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:406)
        at 
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
        at 
org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
        at 
org.wso2.carbon.identity.entitlement.stub.EntitlementPolicyAdminServiceStub.addPolicy(EntitlementPolicyAdminServiceStub.java:1320)
        at 
org.apache.airavata.api.server.security.xacml.DefaultPAPClient$1.run(DefaultPAPClient.java:82)
[ERROR] Connection refused
org.apache.axis2.AxisFault: Connection refused
        at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
        at 
org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:197)
        at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75)
        at 
org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:449)
        at 
org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:276)
        at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:443)
        at 
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:406)
        at 
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
        at 
org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
        at 
org.wso2.carbon.identity.entitlement.stub.EntitlementPolicyAdminServiceStub.addPolicy(EntitlementPolicyAdminServiceStub.java:1320)
        at 
org.apache.airavata.api.server.security.xacml.DefaultPAPClient$1.run(DefaultPAPClient.java:82)
Caused by: java.net.ConnectException: Connection refused
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at 
java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
        at 
java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
        at 
java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
        at java.net.Socket.connect(Socket.java:589)
        at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:668)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:497)
        at 
org.apache.commons.httpclient.protocol.ReflectionSocketFactory.createSocket(ReflectionSocketFactory.java:140)
        at 
org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.createSocket(SSLProtocolSocketFactory.java:130)
        at 
org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
        at 
org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)
        at 
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
        at 
org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
        at 
org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
        at 
org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:621)
        at 
org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:193)
        ... 9 more
[INFO] connected to rabbitmq: amqp://[email protected]:5672/ for 
airavata_rabbitmq_exchange
[INFO] Starting
[INFO] Starting Orchestrator Server on Port 8940
[INFO] Listening to Orchestrator Clients ....
[INFO] State change: CONNECTED
[INFO] Starting
[INFO] State change: CONNECTED
[INFO] connected to rabbitmq: amqp://[email protected]:5672/ for 
airavata_task_launch_rabbitmq_exchange
[INFO] connected to rabbitmq: amqp://[email protected]:5672/ for 
airavata_rabbitmq_exchange
[INFO] setting basic.qos / prefetch count to 64 for airavata_rabbitmq_exchange
[INFO] Starting Gfac Server on Port 8950
[INFO] Listening to Gfac Clients ....
[ERROR] The Credential Store Server did not start!!!
[ERROR] Error stopping the Credential Store Server!!!
[INFO] Gfac Server Stopped.
[INFO] Waiting for Orchestrator Server to stop...
[INFO] Orchestrator Server Stopped.
[ERROR] Error stopping the Airavata API Server!!!

<<attachment: pga_config.php>>

Attachment: airavata-server.properties
Description: Binary data

Reply via email to