permaculture playing cards*
The moose likes JBoss/WildFly and the fly likes Hosting website on jboss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Hosting website on jboss" Watch "Hosting website on jboss" New topic
Author

Hosting website on jboss

aida haslinda
Ranch Hand

Joined: Jun 10, 2010
Posts: 36
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

Joined: Jun 10, 2010
Posts: 36
i can only access by [ip]:8080/letbuy
localhost:8080/letbuy

can anyone help me
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9953
    
161

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?

[My Blog] [JavaRanch Journal]
aida haslinda
Ranch Hand

Joined: Jun 10, 2010
Posts: 36
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

Joined: Jul 20, 2005
Posts: 9953
    
161

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

Joined: Jun 10, 2010
Posts: 36
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

Joined: Sep 22, 2003
Posts: 190
You can find a detailed wiki here too: http://community.jboss.org/wiki/HowdoIoverridethewebcontextroot
regards
Francesco


WildFly 8 Administration Book - JBoss Tutorials
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Hosting website on jboss
 
Similar Threads
Class Loading Configuration
how to set domain namin on jboss as 4.0.5
How to deploy a working WAR file into JBOSS
Multiple IP Configuration to one web server (tomcat) in JBoss AS 4.0.5ga
Problem in creation of Virtual host in JBoss.