Hi guys,
I am trying to deploy a WAR-File programmaticaly via ANT or manually. Therefore I would like to have a Manager Servlet which supports deploying/undeploying.

My first try was something like this:

        Context ctx = server.addContext("/manager", baseDirectory);

        HTMLManagerServlet mgmt = new HTMLManagerServlet();

        mgmt.setWrapper(Tomcat.addServlet(ctx, "manager", mgmt));

I just get a 404 Error when visiting localhost:8080/manger and console output says:

org.apache.catalina.realm.JAASRealm setContainer
INFO: Set JAAS app name Tomcat

I am also not sure where to set the manger name and password?
Cheers and thanks in advance
Darky

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to