typically,
http://yourhost.com:8080/manager/stop?path=/app2
you can also check your docs under tomcatdir/webapps/tomcat-docs
At 09:36 PM 3/17/02 -0500, you wrote:
I have 3 applications in my webapps directory called app1, app2, and app3
when I start tomcat all 3 applications start up as they
public class TestTomcat extends Thread{
private static int request=0;
public void run() {
try{
String inputLine;
URL url = new
URL(http://localhost:8080/examples/servlet/TestTomcat?request=; + ++request);
URLConnection connection = url.openConnection();
Here's a short script that may help you:
start of tomcat4.sh
#!/bin/sh -
#
# TOMCAT STARTUP CONFIG
# YOU CAN TAKE THIS OFF, IF YOU DONT WANT TO KILL OTHER
# TOMCAT INSTANCES PRIOR TO LOADING..
killall java
#FORCE THE APP TO START IN THE WEB APPS DIRECTORY
#DONE SO THE APPS CAN READ
You are right, this is not very efficient, I strongly suggest using
servlets.If you do you can
place all user info you would possibly need in an httpsession.
You can in fact create a new session after athentication, you can also
create a class
containing the attributes you want to save
No its completely different. Unlike the sample JSP code you included we do
not verify the user on
subsequent pages, you rely on the fact that you have already assigned a
unique session code
to the session and have presumably authenticated the user, therefore all
you need to do is check
if
Hi,
First you can try placing it in your
TOMCATDIR/webapps/contextname/WEB-INF/lib directory or if you're running
several contexts (all using the same mm.mysql driver), then you might want
to place it in the
TOMCATDIR/common/lib directory. If all things fail you can do the
following:
1)
Hi
It should be:
jdbc:mysql://localhost/authority?user=testpassword=test
json
At 01:51 PM 11/1/01 +0100, you wrote:
Hello,
What's the correct MySQL jdbc connection url? I'm trying to setup
jdbcRealm on tomcat 4.0.1,
and using this url pattern :
Hi,
Has anybody experienced having their web.xml entries (e.g. servlet,
sevlet-mapping)
run twice during start-up? I've checked my entries and they've only been
entered once.
What's happening? tia!
jayson
hi, I was wondering if anybody can provide me some leads on how to deal
with this
problem... I have a servlet that queries a database and churns out (in
response) a
data populated html, however after some time and several hits on the
servlet, I get
the Tomcat error that ThreadPool: pool