JDBCRealm: change password without logging out

2001-08-19 Thread Taavi Tiirik
Dear tomcat users, Can you please guide me how to let tomcat know that I have changed user password in database (JDBCRealm, Tomcat 3.2.3, form based login). I am currently altering session variable j_password but I realize this is very tomcat 3.2.3 specific and can possibly not work with future v

mod_jk.log messages

2001-08-19 Thread Aravind Naidu
I have got TC 3.2.3 with AJP13 connector to Apache on RedHat 7.1 Everything is working fine. I have these messages in the log file for mod_jk [jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close, NULL par ameter [jk_uri_worker_map.c (185)]: In jk_uri_worker_map_t::uri_worker_m

Problem with ajp13

2001-08-19 Thread Roy K. Mayr R.
When using ajp13, I get the exception; java.net.SocketException: Connection reset by peer: Connection reset by peer Is there a problem with my ajp13? Roy

Can't stop tomcat.exe windows service

2001-08-19 Thread Michael Chen
I'm running TC 4.0 (7) as a service on win2k. I just can't stop it. I've tried both the shutdown shortcut from start|program and also the shutdown script under /bin. C:\Program Files\Jakarta Tomcat 4.0\bin>C:\jbuilder5\jdk1.3\bin\java -jar -Dcatalina.home="C:\Program Files\Jakarta Tomcat 4.0"

Tomcat and Apache, can't get it up and running

2001-08-19 Thread Gero Vermaas
Hi, I'm trying to get the combination of Apache and Tomcat 3.3-b1 up and running, but without success till now. Both run OK themselves but when I try to access TomCat webapps via Apache nothing happens. I following the HOWTO on the jakarta site but without luck. - Accessing JSP pages by con

RE: Can't stop tomcat.exe windows service

2001-08-19 Thread Rob S.
Did you happen to change the value of the port between startup and attempted shutdown? - r > -Original Message- > From: Michael Chen [mailto:[EMAIL PROTECTED]] > Sent: Sunday, August 19, 2001 10:40 AM > To: [EMAIL PROTECTED] > Subject: Can't stop tomcat.exe windows service > > > > I'm r

RE: Tomcat and Apache, can't get it up and running

2001-08-19 Thread Rob S.
Hi Gero, > - Accessing JSP pages by connection to port 8080 (TomCat) works fine > - Accessing plain HTML via port 80 (Apache web server) is also no problem. Ok, this is a good start =) > When I try to access the examples I get the following messages in the > apache log > [Sun Aug 19 17:33:14 20

RE: Can't stop tomcat.exe windows service

2001-08-19 Thread Michael Chen
I did not change any of the values for the default install as service. My server tag is: >Reply-To: [EMAIL PROTECTED] > "Rob S." <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> RE: Can't stop >tomcat.exe windows serviceDate: Sun, 19 Aug 2001 12:02:43 -0400 > >Did you happen to change the value of the

RE: Can't stop tomcat.exe windows service

2001-08-19 Thread Rob S.
Hmm... the only time I've gotten that when shutting down is: 1) Ajp12 port commented out (in Tomcat 3.x) 2) Value of port changed between startup and shutdown (in TC3 and TC4) 3) Server is already shutdown =) 4) Firewall or something not allowing connections to that port. HTH! - r > -Orig

Re: Can't stop tomcat.exe windows service

2001-08-19 Thread Pier P. Fumagalli
Michael Chen at [EMAIL PROTECTED] wrote: > > I'm running TC 4.0 (7) as a service on win2k. I just can't stop it. > I've tried both the shutdown shortcut from start|program and also > the shutdown script under /bin. If you're running it as a service, the only way in which you'll be able to stop

Re: Can't stop tomcat.exe windows service

2001-08-19 Thread Pier P. Fumagalli
Michael Chen at [EMAIL PROTECTED] wrote: > > I did not change any of the values for the default install as > service. My server tag is: > > This directive is ignored when running Tomcat 4.0 as a Service. Pier

Re: Can't stop tomcat.exe windows service

2001-08-19 Thread Pier P. Fumagalli
Rob S. at [EMAIL PROTECTED] wrote: > Hmm... the only time I've gotten that when shutting down is: > > 1) Ajp12 port commented out (in Tomcat 3.x) > 2) Value of port changed between startup and shutdown (in TC3 and TC4) > 3) Server is already shutdown =) > 4) Firewall or something not allowing c

RE: Can't stop tomcat.exe windows service

2001-08-19 Thread Rob S.
> If you're running it as a service, the only way in which you'll be able to > stop Tomcat is from the services control panel... As a security > precaution, > when running as a Service, Tomcat will not respond to shutdown thru the > network interface. A definite FAQ entry! Thanks for the tip ;)

Re: http vs https

2001-08-19 Thread John Baker
On Saturday 18 August 2001 17:17 pm, you wrote: > > without the SSL engine. They want to use their own SSL > > accelarator however > > No doubt one they're going to charge your company for! > You must be joking. We're charging them :) It's just the twisted way they like to deploy things. > > It

RE: Help Installing Tomcat on Win95

2001-08-19 Thread Sheila Ratnam
Rob & Pier, thanks for the help in getting my Tomcat server going. Now it's my first servlet that's not compiling! I have set the CLASSPATH to c:jakarta-tomcat-4.0-b7\common\lib\servlet.jar; where the "servlet.jar" file is. But when I try to compile the servlet, the error message says "javax.s

RE: Help Installing Tomcat on Win95

2001-08-19 Thread Dmitri Colebatch
I'm assuming its a type.. but you have c:jakarta-tomcat-4.0-b7\common\lib\servlet.jar rather than c:\jakarta-tomcat-4.0-b7\common\lib\servlet.jar - from memory that will be resolved from the current c dir... so may not even be finding servlet.jar then again - if its just an email typo weird..

RE: Help Installing Tomcat on Win95

2001-08-19 Thread Sheila Ratnam
Sorry, it was a typo in my email (unfortunately!). I do have the correct path specified. But thanks for your sharp eyes :). Do I have to place the servlet.java file in any specific directory to compile it? I have placed it inside a directory under ROOT, and from dos prompt made it the current

RE: Help Installing Tomcat on Win95

2001-08-19 Thread Dmitri Colebatch
On Mon, 20 Aug 2001, Sheila Ratnam wrote: > Do I have to place the servlet.java file in any specific directory to > compile it? I have placed it inside a directory under ROOT, and from dos > prompt made it the current directory and am trying to compile. Is that > correct? Ok - shouldn't make an

RE: More understanding on startup.sh and shutdown.sh

2001-08-19 Thread Kennice Low
Hi Rob and Larry, Thank you for yours advice. Your are right, I shouldn't set tomcat-internal-related and the webapps. I have remove the unnecessary setting on CLASSPATH and the jsp and servlet work fine. But, the message still displayed when I shutdown and startup tomcat : Exception in threa

RE: More understanding on startup.sh and shutdown.sh

2001-08-19 Thread Rob S.
Hi Kennice, Unsetting your CLASSPATH before starting Tomcat is a good idea. You really shouldn't need to bother with the startup and shutdown scripts. If you want to mess with the Java command line used to start Tomcat, you can export TOMCAT_OPTS to those options. - r > Hi Rob and Larry, > Th

RE: http vs https

2001-08-19 Thread Rob S.
> You must be joking. We're charging them :) It's just the twisted way they > like to deploy things. "their own SSL accelerator" sounded like they had their own... my bad =) > but of course that needs to be: > > https://whatever > > if the accelarator is in use. Wouldn't *any* web server be

RE: More understanding on startup.sh and shutdown.sh

2001-08-19 Thread Kennice Low
Hi Rob, Can you enlightened me on TOMCAT_OPTS :-? TQ. regards, Kennice >From: "Rob S." <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: "Kennice Low" <[EMAIL PROTECTED]> >CC: <[EMAIL PROTECTED]> >Subject: RE: More understanding on startup.sh and shutdown.sh >Date: Sun, 19 Aug 2001 22:15:0

RE: More understanding on startup.sh and shutdown.sh

2001-08-19 Thread Rob S.
Hey Kennice, Coincidentally, the C-man just sent out an email about them to the dev list: You can tell Tomcat to start with this variable, without modifying the startup scripts, by setting TOMCAT_OPTS (Tomcat 3.x) or CATALINA_OPTS (Tomcat 4.x) to the set of options you want to pass to the JVM.

ClassLoader & Reloading issues

2001-08-19 Thread Andrés Aguiar
I have a JAR file in my web-inf\lib directory that has an object pool. The pool is kept as a singleton, so, I have a static member with it. The problem is that when a class in web-inf\classes is reloaded, it seems to use a new classloader, so the static member is gets not the same as it was, and

Re: ClassLoader & Reloading issues

2001-08-19 Thread Dmitri Colebatch
On Mon, 20 Aug 2001, [iso-8859-1] Andrés Aguiar wrote: > Now, in the servlet spec says: > > 'Although a Container Provider implementation of a class reloading scheme > for ease of development is not required, any such implementation must ensure > that all servlets, and classes that they may use,

Re: ClassLoader & Reloading issues

2001-08-19 Thread Craig R. McClanahan
On Mon, 20 Aug 2001, Andrés Aguiar wrote: > I have a JAR file in my web-inf\lib directory that has an object pool. The > pool is kept as a singleton, so, I have a static member with it. > And because the class itself is loaded by the webapp class loader, the static is in fact global *only* wi

Error-Log file ?

2001-08-19 Thread Kenny Ma
I am using Tomcat 3.2.3/Redhat 7.1 I have a servlet program, the program line 1 is System.err.println("TEST") when i run the servlet, the output goes into console I want the err.println output to a file , what can I do ? or how to config Tomcat ? ps. I checked /usr/local/tomcat/logs/ It havent

Re: Error-Log file ?

2001-08-19 Thread Dmitri Colebatch
On Mon, 20 Aug 2001, Kenny Ma wrote: > I have a servlet program, the program line 1 is System.err.println("TEST") you would be better off using log("TEST"); > when i run the servlet, the output goes into console stderr will... are you running linux or windows? afaik tomcat doesn't do anything to

RE: Help Installing Tomcat on Win95

2001-08-19 Thread Sheila Ratnam
Dmitri, I tried your method, but it didn't work. So it doesn't seem to be the long name problem. I also checked and confirmed that there is no other version of servlet.jar on my pc. Infact I am surprised that (both the servlet & jsp) examples at http://localhost:8080/ work perfectly! Could th

RE: Help Installing Tomcat on Win95

2001-08-19 Thread Artigas, Ricardo Y.
Isn't "c:jakarta-tomcat-4.0-b7\common\lib\servlet.jar;" supposed to be: "c:\jakarta-tomcat-4.0-b7\common\lib\servlet.jar;"? HTH. :~) Ricky Y. Artigas Analyst/Programmer / Database Administrator Information Technology Division Easycall Communications Phils., Inc. > ---

RE: Help Installing Tomcat on Win95

2001-08-19 Thread Dmitri Colebatch
On Mon, 20 Aug 2001, Sheila Ratnam wrote: > I tried your method, but it didn't work. So it doesn't seem to be the long > name problem. I also checked and confirmed that there is no other version of > servlet.jar on my pc. > > Infact I am surprised that (both the servlet & jsp) examples at > ht

Re: ClassLoader & Reloading issues

2001-08-19 Thread Vladimir Grishchenko
somewhat related issue I've found with T3.2.2. After class reloading the old class isn't GC'ed, is a reference to previous class that's kept around somewhere? Actually I noticed it because I had a cleanup thread running infinitely, and after the class reload I ended up having two threads running.

tomcat and jdbc

2001-08-19 Thread e.chan
Hi I am using tomcat in a win 98 environment. I registered my db as an ODBC data source. I have tried to go to the tomcat conf file looking for server.xml To enable the jdbc realm to be loaded but Tomcat is not connecting to jdbc. Please help... I have checkd with friends with same settings as

hi....

2001-08-19 Thread Raju Ram
hi, This is raju. I need ur help. This is the first time i am working on tomcat server and i am not using apache. I want to work on jsp,servelts so let me know how to configure the server. And how to deploy jsp,servlets in tomcat. I placed jsp file in .../jsp/webapps/jsp/.jsp directory but whe

HELP newbie tomcat...

2001-08-19 Thread Dave Lopez
how do you setup tomcat to work with apache?