on 08-24-2016 8:11 AM
Hi,
I´m currently running 2 different Java Applications on 2 different lite compute units. As testing and developing does not work in this kind of situation, I want to upgrade to additional compute units, to be able to run 2 dev version applications and 2 stable versions. There´s a choice of one professional compute unit (2 cores), and 2 lite units. The pricing is quite different, so I´d like to know if I´d be able to use a professional compute unit to realize this issue.
Can I run 2 different Java Applications on a professional compute unit, or am I only able to run one and create a "maintenance" copy of that application in case of a downtime, or do I need to switch to the more expensive way of renting 2 additional lite compute units?
Thanks in advance
Hi,
It's my understanding that for productive use of HCP it is not possible to purchase or use lite computes.
Only one war per compute, so one app.
Cheers,
Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I´m currently running on a Partner Edge HCP Account, so I´m able to purchase lite compute units.
Thanks for the info about one .war per compute unit. That solves the problem.
Edit: The documentation states that I can deploy multiple war files to one Application (SAP HANA Cloud Platform)
Did I miss something there or is it just an error in the documentation?
Hi Ricardo,
The documentation is correct, you can deploy multiple .war files to a single application. You can use the console client for this and simply separate by commas (use the deploy command). Deploying with the cockpit only allows a single application deployment.
SAP HANA Cloud Platform - Console Client deploy
[EDIT]: Sorry, the web.xml will be any additional URI path depending if used a framework for building an API, the name of the war file is what follows the application URI defined by creating a new Java Application
[EDIT]: This will give all applications the same URI and then whatever you have defined for the names of war files will be what follows.
- hana.ondemand.com/service/application1
- hana.ondemand.com/service/application2
etc
Regards,
Ryan
I tried deploying both applications this way, but I had the following problem:
Both applications are Servlet based. If I launch a servlet in application 1, no servlet of application 2 is launched and vice-versa. Is this problem solved, if I let those two war files run on a professional compute unit?
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.