Web Client and Middleware blocks deployed on the same application server and Web Portal block on different server

Hi,

We’re trying to deploy Web Client and Middleware blocks on the same application server and Web Portal block on a DMZ host with some troubles. We didn’t achieve that Web Portal block access to Middleware block.
Is it possible with Cuba applications this kind of application scaling?.
If it’s possible, which application properties values will have to be set in every block?

Any information would be very appreciated.
Best regards.

Xavier Lorente

Hi,

  1. You need to build separate WARs for all blocks.
  2. On web client and web portal blocks, set:
cuba.useLocalServiceInvocation = false
cuba.connectionUrlList = http://core-host:8080/app-core

Web client and middleware blocks can be deployed on the same Tomcat, but connection between them still needs to be set up like for remotely deployed blocks.

1 Like