• Bug
  • Status: Closed
  • 2 Major
  • Resolution: Fixed
  • Sessions
  • alex
  • Reporter: teck
  • January 17, 2007
  • 0
  • Watchers: 0
  • July 27, 2012
  • February 20, 2007


Not sure if there is a problem here, but we might want to look at the code for the Cart demo to see if it too dependent on the case of the context path under which it is deployed. My guess is that you can get the context path /cart (lowercase ‘c’) if the war is named cart.war (lowercase ‘c’). The code in the app probably can use something on the request or what not to create it’s links.

The original report:

BTW, anyone else notice a problem with the cart demo application relating to case-sensitivity for Tomcat and Geronimo outside of the configurator environment? Seems that the button click results in an upper-case Cart which isn’t found… Replacing it with a lowercase c works fine..

Specifically… http://localhost:8080/Cart?item=X-files+movie&submit=add -vs- http://localhost:8080/cart?item=X-files+movie&submit=add


Fiona OShea 2007-02-07

Updating Due date to last day of Moraga dev iteration

Alex Voskoboynik 2007-02-20

currently, our dist comes with Cart.war, which is when deployed under Tomcat (outside of configurator, and in the absence of any manual config changes) deploys under /Cart context. This means that only URL’s with ‘C’ will work.
E.g. http://localhost:8080/cart?item=NIN+CD&submit=add is broken (as it should be); while http://localhost:8080/Cart?item=NIN+CD&submit=add works fine