I am trying to upload my Java Based application on the open shift cloud. The step which i had followed are:
1) Sign Up for the Open Shift account.
2) Logged in to my Account.
3) Created an new application with the following cartridges
a) Tomcat 7 (JBoss EWS 2.0)
b) MySQL 5.5
c) phpMyAdmin 4.0
4) Installed the ruby version and git bash for windows.
6) Both are installed correctly when i saw their version number.
7) Installed OpenShift Client Tool rhc through ruby gem. The command is gem install --source http://rubygems.org
8) Setup openshift account to work from Bash using rhc setup
command.
For the 1st time it asked me my openshift username and password. Then it generated a tokens and saved it in my .ssh folder.
9) Using putty generator i created the private key.
10) I created the WAR file for my application with the changed connection url as jdbc:http://mysql${OPENSHIFT_MYSQL_DB_HOST}:${OPENSHIFT_MYSQL_DB_PORT}/affablebean
and updated the username and password as per open shift MySQL credentials.
11) Renamed the war file as ROOT.war.
12) I am using FileZilla FTP for deploying WAR file. I placed ROOT.war file in app-root/dependencies/jbossews/webapps/ folder.
13) Then i am restarted the application server using command:
ctl_all restart
14). Now i am accessing the application by my url.I am getting the same "Welcome to your JBossEWS (Apache/Tomcat) application on OpenShift".
Why this is happening? Is there any way to track whether the WAR file is deployed or not?. Or tomcat server file?
Please help me.Had i followed the above mentioned step correctly or not?
Aucun commentaire:
Enregistrer un commentaire