Skip to Content
0

How do I change the runtime from Java EE 6 to Java EE 7 on SAP Cloud platform?

Jan 24 at 09:11 AM

89

avatar image
Former Member

Hi colleagues,

I have deployed a java servlet app on the SAP Cloud Platform on the EU demo account. The runtime used is Java EE6. We have changed the underlying architecture and would like to use the new runtime, Java EE7, and hence thinking about migrating the app from EE6 to EE7. But in the SAP Cloud platform cockpit, I couldn't change the runtime version without deleting the older app and then creating the new app. The problem is that I have utilized the PasswordStorage service in the SAP CP, and from the documentation, we see that the Entries would be deleted if the app is undeployed and then redeployed again. Is there any way to preserve the values of the PasswordStorage entries across undeploying - redeploying?

Or, is there any way to change the runtime directly without undeploying and redeploying the app?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Richard Zhao
Jan 25 at 01:50 AM
0

Hello, Suhas. I would like give you a hint. Take a look at the screenshot below. I think you are able to update your APP JVM version in this popup. Find you APP and click Update button It allows you to modify some configurations of your App. thanks


1516844627797.jpg (66.6 kB)
1516844891370.jpg (40.2 kB)
Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hi Zhao,

The problem Suhas has stated is not about the JVM Version but it is about the change of Runtime version?

Thanks and Regards, Ajay

0
Ivan Mirisola
Feb 08 at 04:55 PM
0

Hi Suhas,

It depends on the change you want to perform. If it is a minor change (from 3.1 to 3.2) you can do it without redeploying the whole app. However, if you need to change from 2.x to 3.x - it would not be possible, since this implies on different runtime systems internally.

BTW: you could use neo command line to change the runtime. If you search SCN you will find a post I did related to that command line syntax.
But it wouldn't solve your issue about preserving the data stored on the PasswordStorage.

Regards,
Ivan

Share
10 |10000 characters needed characters left characters exceeded