StandardContext is added to host but won't start

2005-05-04 Thread Erik Hellman \(KA/EAB\)
I'm trying to create and deploy a StandardContext (i.e., a webapp) inside my Servlet: StandardContext theContext = new StandardContext() theContext.setDisplayName(thePath); theContext.setDocBase(myBaseDir + thePath); theContext.setName(thePath); theContext.setPath(thePath);

Deply/undeploy applications from a Servlet

2005-05-03 Thread Erik Hellman \(KA/EAB\)
I've managed to figure out how to list all installed applications by callind findChildren() on the current Host-object. However, now I wish to be able to deploy/undeply applications through this servlet. Basically, I need a reload command for a set of applications. First, all application with a

List all installed web applications from Servlet

2005-04-28 Thread Erik Hellman \(KA/EAB\)
Is it possible to retrieve a list of all currently installed web applications through a Servlet? I also need to be able to deploy/undeploy web applications through a Servlet. I can't seem to find any appropriate classes in the Tomcat API for this purpose. regards, Erik

RE: List all installed web applications from Servlet

2005-04-28 Thread Erik Hellman \(KA/EAB\)
installed web applications from Servlet See the manager application - it lists all webapps runnign as well as exposes a way to stop and start each of them. -Tim Erik Hellman (KA/EAB) wrote: Is it possible to retrieve a list of all currently installed web applications through a Servlet? I also

RE: contextAdmin question

2001-05-09 Thread Erik Hellman
Title: RE: contextAdmin question Ok. I need to create a war-file? But that can't be all. I must somehow tell tomcat to read that war-file also. How/where do I do that? (Ok, this answer could probably be found in a doc somewhere, but I'm quite lazy.. ;). // Erik -Original

trusted application

2001-05-07 Thread Erik Hellman
I get the following error when accessing the /admin pages and trying to view all contexts: Error: 500 Location: /admin/contextAdmin/contextAdmin.jsp You must mark the administration application as trusted How and where do i do this? // Erik

contextAdmin question

2001-05-07 Thread Erik Hellman
Here's another question regarding the contextAdmin application that comes with Tomcat. Is it possible to save the new context created to server.xml in any way so that it will exists when I restart tomcat, or do I have to write this code myself? // Erik

connectors problem in tomcat4b (latest nightly build)

2001-05-04 Thread Erik Hellman
Downloaded latest tomcat 4 beta. Installed it successfully. Trying to compile everything in the connectors directory (like mod_webapp.so). I get this error when running make: Compiling sources in lib... make[1]: Entering directory `/usr/java/jakarta/jakarta-tomcat-4.0/connectors/lib' -

contextAdmin

2001-05-04 Thread Erik Hellman
Ok, I give up. How do I log into the contextAdmin that comes with jakarta? // Erik

Tomcat 4b3 with apache

2001-05-02 Thread Erik Hellman
Ok, since i didn't recieve any response to my last question I try it again. Where can I find the source for mod_jk.do in the tomcat 4.0 b3 source? If it isn't there, where can I find it? // Erik

RE: Tomcat 4b3 with apache

2001-05-02 Thread Erik Hellman
:16:06 +0200 Erik Hellman [EMAIL PROTECTED] wrote: Ok, since i didn't recieve any response to my last question I try it again. Where can I find the source for mod_jk.do in the tomcat 4.0 b3 source? If it isn't there, where can I find it? // Erik -- [Patxi Echarte Ayerra

More tomcat4 apache2 problems

2001-05-02 Thread Erik Hellman
Since I couldn't compile mod_webapp.so on tomcat4.0b3 I downloaded 4.0-dev (latest) and tried that one. Installed tomcat without any problem. Ran the configure-script in the connectors-directory with the correct paths in --with-apache and --with-apr. Got myself a cute little lib in the lib-dir.

Livin' on the edge...

2001-04-30 Thread Erik Hellman
(or will it be) much faster than 3.x? rgds Erik Hellman

Tomcat 4.0 b3 installation on Apache

2001-04-27 Thread Erik Hellman
and found it to be way to slow. rgds Erik Hellman

Compileproblem with Jakarta 4.0b3

2001-04-27 Thread Erik Hellman
provided. Any idea what's wrong? I use the jakarta-servletapi-4.0. rgds Erik Hellman