Вопрос

i have j2ee project on netbeans7.2, i copy .war file in apache tomcat 7 (web app folder) and it deploy, and work good,

how to deply and fire a simple netbeans j2ee project(like hello word) in open shift???

i do some instruction but can not complete it,

please leave answer step by step,

thanks

Это было полезно?

Решение

I would suggest

  1. Create a new application in OpenShift
  2. Install rhc client tools https://developers.openshift.com/en/getting-started-client-tools.html
  3. Download the project using GIT Open the project in netbeans as Maven Project
  4. Now you can run the project in you local environment also.
  5. You can deploy the code to openshift from netbeans via Git push.

Другие советы

If you want to use a Java EE application on OpenShift, then you need to use an application server that can handle Java EE, such as JBoss AS 7, JBoss EAP, or WildFly. Try creating a gear with one of those cartridges then your application should work. If it does not, try giving us some information from the error logs about why it is not working, or what you tried that did not work.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top