Deploy the sample-akkount portal to Jelastic ?

Hello , i have succeed to deployed the sample-akkount portal to Jelastic .But i don’t known how to access the portal.
My hosting is:
http://cubaplatform.j.scaleforce.net/
this adresse don’t work:
http://cubaplatform.j.scaleforce.net/app-portal
Thanks!

Hello,

Please share the definition of jelasticBuildWar and jelasticDeployWar tasks from your build.gradle.

Hello , thanks for your reply
this my informations:


task jelasticBuildWar(type: CubaWarBuilding) {
    appHome = '..'
    webXmlPath = 'modules/web/web/WEB-INF/single-war-web.xml'
    appProperties = ['cuba.automaticDatabaseUpdate':'true']
    includeJdbcDriver = true
    includeContextXml = true
    coreContextXmlPath = 'modules/core/web/META-INF/production-context.xml'
}

task jelasticDeployWar(type: CubaJelasticDeploy, dependsOn: jelasticBuildWar) {
    email = rootProject.hasProperty('jelasticEmail') ? rootProject['jelasticEmail'] : ''
    password = rootProject.hasProperty('jelasticPassword') ? rootProject['jelasticPassword'] : ''
    hostUrl = 'app.j.scaleforce.net'
    environment = 'cubaplatform'
}

The problem is that the jelasticBuildWar builds a single WAR with core and web modules. It doesn’t include portal module because the CubaWarBuilding can build portal only as a separate WAR.

You can set up regular WAR building on the Deployment settings > WAR tab. The project already has a suitable buildWar task, so you need only to adjust the appHome parameter. Then press Alt+/ and run buildWar. As a result, you will have 3 WARs in the build/distributions/war folder, which you should upload to Jelastic manually using its console.

hi, I am succes to deployed my portal , this is the adresses:
http://test972.j.layershift.co.uk/app/
and the portal
http://test972.j.layershift.co.uk/app-portal/#login
the user/password is admin/admin
thanks for your help!
But when I run buildwar twice , it give the message “A ZIP FILE CANNOT INCLUDE ITSELF"
To resolve it, I delete the “temp” folder in the “build” folder” !!!

Hi,

CubaWarBuilding uses temp folders to assemble files, which are going to be packed to WARs. Temp folders should be deleted automatically after the archives creation.

Could you please say if the issue occurred once? Or do you need to delete temp folders after each WAR building?

I haved the studio 6.3.3 but I upgrade to CUBA Studio Version 6.3.4 , and no problem , it works great!! thanks