I've created Tomcat7 application on openshift but now I want to change it to JBoss Application Server 7. Is it possible without recreating app (delete T7 and then create JB AS 7)?
Unfortunately no, you will have to delete your gear and redeploy with a JBoss Application Server cartridge. However the war files shouldn't need to be altered.
It should be noted that you can archive the app's deployments and deploy the resulting artifact to another application. So, for your use case, you would:
rhc snapshot save --deployment
(passing -a <app name>
if not in that application's git repo directory).rhc deploy --ref <path to archive>
(passing -a <app name>
if not in that application's git repo direcory).You could use this approach to test your app on another flavor of JBoss.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With