openshift


Openshift not displaying application at given URL


I've been trying to deploy my own application up to openshift, and I followed the instructions and have started the Tomcat 7 instance, MySql cartridge and all seems to be running.
When I hit the site url, it shows the default openshift information page, my application is written using JSP/Servlet, mySQL.
On pushing the code to git, as far as I can tell the push went ok. See attached output.
I have an index.jsp in my application, and have set a welcome file mapping to urlPattern /home, as shown in the web.xml below.
<?xml version="1.0" encoding="UTF-8"?>
<web-app
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" version="3.0">
<welcome-file-list>
<welcome-file>post/index.jsp</welcome-file>
</welcome-file-list>
The push to openshift/git:
remote: [INFO] BUILD SUCCESS
remote: [INFO] ------------------------------------------------------------------------
remote: [INFO] Total time: 52.392s
remote: [INFO] Finished at: Fri Apr 18 14:36:05 EDT 2014
remote: [INFO] Final Memory: 8M/77M
remote: [INFO] ------------------------------------------------------------------------
remote: Preparing build for deployment
remote: Deployment id is 527129b9
remote: Activating deployment
remote: + tmp=/var/lib/openshift/53516eaa4382ec7e990002c3/jbossews//tmp
remote: + '[' -d /var/lib/openshift/53516eaa4382ec7e990002c3/jbossews//tmp ']'
remote: + for d in '$tmp/*'
remote: + '[' -d '/var/lib/openshift/53516eaa4382ec7e990002c3/jbossews//tmp/*' ']'
remote: + '[' -d /var/lib/openshift/53516eaa4382ec7e990002c3/jbossews//work/ ']'
remote: + rm -rf /var/lib/openshift/53516eaa4382ec7e990002c3/jbossews//work/
remote: ++ ls /var/lib/openshift/53516eaa4382ec7e990002c3/app-root/runtime/repo//webapps
remote: + '[' ROOT.war ']'
remote: + rsync -r --delete /var/lib/openshift/53516eaa4382ec7e990002c3/app-root/runtime/repo//webapps/ /var/lib/opensh
ft/53516eaa4382ec7e990002c3/jbossews//webapps/
remote: Starting jbossews cartridge
remote: Found 127.6.235.1:8080 listening port
remote: -------------------------
remote: Git Post-Receive Result: success
remote: Activation status: success
remote: Deployment completed with status: success
Any help greatly appreciated. Sorry for the newbie approach, but its my 1st time :)

Related Links

Deploy a sub-directory from Travis CI to OpenShift
Haproxy issue with Openshift
OpenShift Error: CLIENT_ERROR: WSGI application was not found [closed]
Unable to access website hosted on openshift from united state
Disk quota exceeded - can't run “rhc app-tidy”
Rebuild openshift cartridge without deleting app
FreePascal & OpenShift
OpenShift custom domain sometimes returns 404
Openshift database gets truncated
How do you find the cartridge short names in Openshift?
Openshift access to phpMyAdmin?
Openshift domain shows instead of desired domain
JDK 8 support at DIY cartridge in OpenShift
Openshift Multiple Domains Apps
Can I tweak Openshift's haproxy.cfg using a file in my scalable app's git repository?
Can't download CXF artifacts on JBossFuse running on OpenShift

Categories

HOME
android-studio
verification
clearcase
jms
livecode
schema.org
haproxy
command-prompt
stacktrace.js
vsts-build
twitter-fabric
mosquitto
responsive-design
clickable-image
amazon-emr
clish
createjs
orange-api
pywinauto
rpmbuild
gmp
bluemix-mobile-services
sharedpreferences
code-climate
bobo-browse.net
sendmessage
fatfs
toad
windows2012
series
polyml
bean-validation
char-pointer
db2-luw
des
spinner
djcelery
unification
xll
django-smart-selects
oauth2
get-event-store
ejml
viewcontroller
elasticsearch-aggregation
type-inference
asihttprequest
flume-twitter
nothing
password-hash
sharpdx
visual-format-language
sigsegv
android-webservice
gnome-terminal
popen
mobile-angular-ui
email-forwarding
sesame
yui3
java-2d
jsf-2.3
between
maven-release-plugin
mnesia
trust
diawi
ui4j
gdl
screen-orientation
auto-generate
roxygen2
deque
sablecc
htmltidy
distributed-r
forio-contour
rails-api
refit
meteor-collections
gpu-programming
lsa
visual-c++-2005
progress-db
ggts
infinite
application-server
insertonsubmit
office-app
clrprofiler
thejit
series-40
liveconnect
sigar
snackjs
datacontracts
server-variables
net-use
qt-mobility
3des
cassini
uninstaller
android-input-method
principles
resharper-5.0
getimagesize
tacit-programming
version-control-migration
account-management

Resources

Database Users
RDBMS discuss
Database Dev&Adm
javascript
java
csharp
php
android
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App