Project

General

Profile

Actions

Task #6345

closed

Create new VM for hosting SocialNetworking service

Added by Massimiliano Assante over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
High
Category:
Application
Target version:
Start date:
Jan 16, 2017
Due date:
Jan 18, 2017
% Done:

100%

Estimated time:
Infrastructure:
Development

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.

Actions #1

Updated by Massimiliano Assante over 8 years ago

  • Description updated (diff)
Actions #2

Updated by Massimiliano Assante over 8 years ago

SSH Access to me, Costantino and Roberto

Actions #3

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

Actions #4

Updated by Andrea Dell'Amico over 8 years ago

  • % Done changed from 0 to 40

The server will have the Oracle JDK 8 installed.

Actions #5

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.

Actions #6

Updated by Massimiliano Assante over 8 years ago

"/gcube/" is not a valid scope, is a typo. Should be "/gcube"

Actions #7

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 "
Actions #8

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?

Actions #9

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)

Actions #10

Updated by Andrea Dell'Amico over 8 years ago

Ah OK. @lucio.lelii@isti.cnr.it is it the expected behaviour?

Actions #11

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.

Actions #12

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.

Actions #13

Updated by Andrea Dell'Amico over 8 years ago

  • Status changed from Feedback to Closed
  • % Done changed from 80 to 100
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 8.91 MB)