• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

web app question  RSS feed

 
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
i have one application which has its context path set in server xml (ie the app is not a folder from the tomcat ROOT directory),
eg /f/http/web/webapps/WEB-INF/...
only this app is set in teh context path of the server.xml file. should i also set the second app i am now building which is created simply via putting the folder in the server root directory ie webapps/ROOT/library -
$TOMCAT4.0.4/webapps/Root/newapp/WEB-INF/...
only this app is set in teh context path of teh server.xml file. should i also set the first ?
cheers
chris
 
Author and ninkuma
Marshal
Posts: 66806
168
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To tell you the truth, I'm having difficulty figuring out what exactly you are asking.
 
Chris Davies
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi
i'm asking should it cause any problems running to apps from the standalone server ? will the app which isn't referenced in the context path and is in
$TOMCAT4.0.4/webapps/Root/newapp/WEB-INF/... be ok
its because i'm getting teh following error when i try to stop tomcat 4.1

and i am trying to figure what it might be.
cheers
chris
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66806
168
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can run as many apps as you want as long as each has a unique context path. I don't think the number of apps has anything to do with the zip exception.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!