help with context fragments (+virtual hosts) under windows

2006-03-04 Thread Tim Diggins
Hi - I've never used context fragments to deploy before (have either put context fragments into the server.xml, old tomcat4 style, or have used web/ant interface for deployment, or just dropped wars into webapps). so I'm now trying to use the context fragment method and have been tearing my

Re: Help in server.xml

2006-03-06 Thread Tim Diggins
Hi Nagendra - This won't work - two hosts means two hosts, so they have to have different names (this is virtual hosting). If what you want to do is set up two different Contexts (Context is a webapp) under the same host, but you don't want to put the two contexts as subfolders of the same d

Re: Tomcat (5.0.25 & 5.5.15) manager webapp and UserDatabaseRealm and browser caching

2006-03-11 Thread Tim Diggins
firefox can cache passwords as well - and particularly seems to cache them in a unexpected way, when moving from different arees on the same host. Try (in firefox 1.5 anyway) in Options: Privacy : Passwords : View Saved passwords Tarang Patel wrote: I suddenly encountered Http 403 problem wh

Re: forward to webapps/learning application

2006-03-13 Thread Tim Diggins
The solution I found to this kind of issue* was to setup virtual hosting in tomcat. Provided that your tomcat & your apache install are on the same machine, this is actually straightforward, just add an extra element to your server.xml representing imlearning.de with its own webapps dir... see

Re: Looking for upgrade info

2006-03-13 Thread Tim Diggins
http://www.google.com/search?q=tomcat+5.5+upgrade first link looks useful http://www.brandxdev.net/misc/tomcat_upgrade_50_55.site hmm e-Denton Subscriber wrote: Hi! I am still using Tomcat 5.028 and am considering moving to the latest version. Can someone steer me to some good info

Re: Mapping different different folders in a webapp to different urls

2006-03-13 Thread Tim Diggins
If you are planning to use apache anyway, then you could use mod_rewrite for this (see apache docs on mod_rewrite - but basically rewrite (internally) the "a.abc.com" to "abc.com/a" and connect "abc.com/a" via mod_jk to tomcat "/a" and then tomcat doesn't need to know about the rewrite). don'

Re: some functions are called twice

2006-03-13 Thread Tim Diggins
If you read around, you'll find that IE automatically (and non-standardly) asks for (GETs) favicon.ico in various standard places - even if you have no links to it from your served html. Sounds like your servlet mapping is including some of these favicon.ico requests. So I'd tighten up your s

servlet-mapping and DefaultServlet unexpected behaviour

2006-03-29 Thread Tim Diggins
Hi - I've set up servlet-mappings of: default /data/* default *.gif ... others... mydispatcher / the intention was: * when I request anything ending .gif, the default servlet deals with it. * when I request anyth

Re: Character behaviour Unix vs Windows ß

2006-04-05 Thread Tim Diggins
Hmm, I'm not sure about this in encoding-land, but as a linguist - I know that there are (graphically distinct) characters esstset (ß) - used in German for "ss" and beta (β) used in Modern Greek for the sound "v". They look quite similar to each other. It is fairly legitimate in German ortho

Re: catalina.out

2006-04-30 Thread Tim Diggins
kalin mintchev wrote: hi all... how come if i raname catalina.out to catalina.out.OLD and the create a new catalina.out tomcat still writes to catalina.out.old?! I believe that's really to do with the magic of the underlying filesystem and not tomcat-related (think of filesystem names un