Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hosting website on jboss

 
aida haslinda
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi expert,

currently i want to hosting a website on jboss.
i have JBoss 4.0.5.ga, bind9 (dns server) and jdk1.6.0_20

web app run on deployment dir.
-shopping.war

registered domain names
--letbuy.com

I want to access the web apps by www.letbuy.com / let'sbuy.com and it could acccess from my machine, internal network and from outside network.

C:\jboss-4.0.5.GA\server\default\deploy\letbuy.war\WEB-INF



i have start the bin9 service and jboss...but still could not access the web application.
really appreciate if you guys could help me out.
maybe i'm not clear enough with this since i'm new to web apps

may God bless you
 
aida haslinda
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i can only access by [ip]:8080/letbuy
localhost:8080/letbuy

can anyone help me
 
Jaikiran Pai
Marshal
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I haven't (yet) paid attention to the details of your post, but the contents in your jboss-web.xml are commented out. You do realize that right?
 
aida haslinda
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jai,
i don't understand
contents in your jboss-web.xml are commented out


if its going to expose to vulnerability please delete it
 
Jaikiran Pai
Marshal
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
aida haslinda wrote:Jai,
i don't understand
contents in your jboss-web.xml are commented out


if its going to expose to vulnerability please delete it


No. I meant this in your jboss-web.xml:


The contents within <!-- --> is considered as a comment in XMLs. Which effectively means that those lines are completed ignored.
 
aida haslinda
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i don't realize it Jai,
sorry for the not-so clever codes..
so i'll configure it again..
let you know about the update

Thanks Jai

 
Francesco Marchioni
author
Ranch Hand
Posts: 194
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can find a detailed wiki here too: http://community.jboss.org/wiki/HowdoIoverridethewebcontextroot
regards
Francesco
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic