Re: using ant to start a servelet failed

2006-04-30 Thread Rolf Schumacher
Mark Thomas wrote: Rolf Schumacher wrote: http://localhost/manager"/> You should be starting a web application, not an individual servlet. Thanks for your answer, Mark. It was more simple than that: I just typed the password wrong (took me a long time to f

using ant to start a servelet failed

2006-04-29 Thread Rolf Schumacher
... with the error Server returned HTTP response code: 401 for URL: http://rolf2/manager/start?path=%2Fde.august.docvet1 this is ant's build.xml: ... password=".mypwd." url="http://localhost/manager"/> Why does StartTask substitute "/" by "%2F" or: why does manager not reco

Re: what about a server specific web.xml tailoring?

2006-04-20 Thread Rolf Schumacher
- don't even need ant. --David Rolf Schumacher wrote: Dear long time Tomcat operators, I get new versions of a war file very often. Due to authorization constrains I have to place some extra security-constraints clauses into it - every time I deploy a new version. Is there a way to

what about a server specific web.xml tailoring?

2006-04-18 Thread Rolf Schumacher
Dear long time Tomcat operators, I get new versions of a war file very often. Due to authorization constrains I have to place some extra security-constraints clauses into it - every time I deploy a new version. Is there a way to tell Tomcat to get the web.xml from a different place than WEB-INF

Re: calling ant launcher

2006-04-09 Thread Rolf Schumacher
ts = new Vector(); targets.addElement(project.getDefaultTarget()); // execute the project project.executeTargets(targets); } catch( Throwable t ) { log.error( FAILED, t ); } finally {} } Rolf Schumacher wrote: Dear Tomcat professionals, I tried t

calling ant launcher

2006-04-08 Thread Rolf Schumacher
Dear Tomcat professionals, I tried to automate some installation over the Web I got a class cast exception when trying to launch Ant from a servlet. The program works fine if I execute it from the command line. In a servlet under Tomcat it causes a java.lang.ClassCastException: org.apache.tools.