Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JBOSS Tomcat static web pages

 
Stanley Beamish
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

Is there a way to get tomcat running on JBOSS to dole out static html pages (I can only do this so far by sticking them in a web app's war file). I'm thinking of something similar to the use of the htdocs directory in tomcat running without JBOSS.

Cheers,
SB
 
B Wiley Snyder
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you just want static html pages use apache2 web server. You can run static html in tomcat just fine but you don't need jboss, just tomcat.
 
Stanley Beamish
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Um - and if I want Jboss services *and* static html pages?
 
Stanley Beamish
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
... in case I didn't explain myself - I have a J2EE app, and one of the components of the app creates an RSS feed and I want to stick it somewhere in the server so that it can be picked up by a reader (such as NewzCrawler). So ideally, I need an app server (JBOSS) and the ability to create static html pages (although in this case it's an XML file).

Thanks for your patience.
SB
 
Eric Schumacher
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can create an exploded directory rather than use a war file. In the JBoss deploy directory create a folder called "somename.war" and include a basic web.xml etc. Your pages will be <server>/somename/test.htm. The thing that got me the first time is the need to use a folder name with .war.
[ December 22, 2004: Message edited by: Eric Schumacher ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic