Re: manually stopping one application

2002-03-17 Thread Jayson Yu
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

Re: Connection refuse

2002-03-12 Thread Jayson Yu
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();

Re: how to set env varible

2002-03-06 Thread Jayson Yu
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

Re: Session

2001-12-18 Thread Jayson Yu
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

Re: Session

2001-12-18 Thread Jayson Yu
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

Re: Installing the MM MySQL driver

2001-12-09 Thread Jayson Yu
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)

Re: MySQL jdbc connection url

2001-11-02 Thread Jayson Yu
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 :

web.xml being loaded twice

2001-06-27 Thread Jayson Yu
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

Help on: ThreadPool: pool exhausted with 100 threads

2001-06-18 Thread Jayson Yu
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