• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Setting docbase for a web-application in JBoss 3.0.4 - Tomcat 4.1.12

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am running Tomcat 4.1.12 as a service of JBoss 3.0.4, and I want to
> deploy a web application.
> By default, my web application is deployed since I placed a directory
> named
> "my_web_app_name.war" under jboss/server/default/deploy.
> In Tomcat 3.2.3 there was a way to add in tomcat/conf/server.xml a Context
> element for each web application and define a different docbase other than
> the default.
> But it seems that Tomcat is ignoring tomcat4.1.x/conf/server.xml when
> running as a JBoss service. (I erased a closing tag causing it to be an illegal XML but neither Tomcat not JBoss were troubled.)
I tried to add such a Context element in jboss/server/default/deploy/tomcat41-service.xml but Tomcat would not serve requests to this web application.
To sum up: how can I set a web-application docBase when running Tomcat as
JBoss service.
 
reply
    Bookmark Topic Watch Topic
  • New Topic