Task #6345
closedCreate new VM for hosting SocialNetworking service
100%
Description
The new VM doesn't require high processing capabilities :
- 2 vCPU
- 2 GB of RAM.
- the latest smartgears-distribution
Web Application context path: social-networking-library-ws/ it will work on work on scopes:
- /gcube
- /gcube/devNext
- /gcube/devsec
- /gcube/preprod
In addition it is very important that this node has a postfix configured to send email by using the same SMTP Relay of the Gateways.
Updated by Massimiliano Assante over 8 years ago
SSH Access to me, Costantino and Roberto
Updated by Andrea Dell'Amico over 8 years ago
- Status changed from New to In Progress
Hostname and IP are going to be: socialnetworking-d-d4s.d4science.org, 146.48.122.216
Updated by Andrea Dell'Amico over 8 years ago
- % Done changed from 0 to 40
The server will have the Oracle JDK 8 installed.
Updated by Andrea Dell'Amico over 8 years ago
- Status changed from In Progress to Feedback
- % Done changed from 40 to 80
The VM is available and accessible via http and via https (no http -> https redirection is in place).
The whn-manager gives errors:
18:13:09.382 [pool-1-thread-1] ERROR ProfileManager: cannot publish container (see details) java.lang.IllegalStateException: a map for /gcube/ is undefined 18:13:11.458 [pool-2-thread-1] ERROR ProfileManager: cannot publish container (see details) java.lang.IllegalStateException: a map for /gcube/ is undefined
but the resource is published: http://socialnetworking-d-d4s.d4science.org/whn-manager/gcube/resource/
About the smtp service: the webapp can connect to localhost without authentication, the same as the portals.
Last: it could be useful to add the new app to the provisioning. If you can give a maven URL, I will create the role.
Updated by Massimiliano Assante over 8 years ago
"/gcube/" is not a valid scope, is a typo. Should be "/gcube"
Updated by Andrea Dell'Amico over 8 years ago
Massimiliano Assante wrote:
"/gcube/" is not a valid scope, is a typo. Should be "/gcube"
Thanks, fixed. Now the scopes list is correct, but the same errors remain:
SCOPES_LIST="/gcube /gcube/devNext /gcube/devsec /gcube/preprod "
Updated by Massimiliano Assante over 8 years ago
18:13:11.458 [pool-2-thread-1] ERROR ProfileManager: cannot publish container (see details)
java.lang.IllegalStateException: a map for /gcube/ is undefined
Don't know why this is happening then if SCOPES_LIST="/gcube /gcube/devNext /gcube/devsec /gcube/preprod "
@roberto.cirillo@isti.cnr.it and/or @lucio.lelii@isti.cnr.it any idea?
Updated by Costantino Perciante over 8 years ago
I tried to stop the container, clean the state and restart it and it seems there is no longer that error (at least no error is reported into ghn.log/catalina.out)
Updated by Andrea Dell'Amico over 8 years ago
Ah OK. @lucio.lelii@isti.cnr.it is it the expected behaviour?
Updated by Lucio Lelii over 8 years ago
no, the initial problem seems to be a wrong scope "/gcube/" instead of "/gcube". Probably the container was initially started in that scope and this scope saved in the state of the RI.
Updated by Andrea Dell'Amico over 8 years ago
Lucio Lelii wrote:
no, the initial problem seems to be a wrong scope "/gcube/" instead of "/gcube". Probably the container was initially started in that scope and this scope saved in the state of the RI.
Yes, that's what happened. I was asking if it's one of the cases that need the state to be wiped to go back to a proper behaviour.
Updated by Andrea Dell'Amico over 8 years ago
- Status changed from Feedback to Closed
- % Done changed from 80 to 100