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);
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
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
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
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
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
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
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'
-
Ok, I give up. How do I log into the contextAdmin that comes with jakarta?
// Erik
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
: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
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.
(or will it be) much faster than 3.x?
rgds
Erik Hellman
and found it to be way to slow.
rgds
Erik Hellman
provided.
Any idea what's wrong? I use the jakarta-servletapi-4.0.
rgds
Erik Hellman
15 matches
Mail list logo