Skip to Content
avatar image
Former Member

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

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?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jan 25, 2018 at 01:50 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 08, 2018 at 04:55 PM

    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.


    Add comment
    10|10000 characters needed characters exceeded