TC 3.3 -- user authorization not working correctly.

2003-01-20 Thread Christopher Mark Balz
There seems to be some persistance of user authorization settings beyond Tomcat's global-users.xml and auth-users.xml file, and Tomcat startup and shutdown. I can't seem to get the authorization to work in a rational manner. I am only doing the simplest kind of authorization with roles and a

Re: How do I get the absolute path of a file in a directory aboveWEB-INF directory of my web application?

2003-01-20 Thread Christopher Mark Balz
I don't know offhand how you can do that, but if you want to reach up above the WEB-INF directory, you can use dot-dot (..). - CB Peter Lee wrote: I am using Tomcat for servlets. How do I get the absolute path of a file in a directory above WEB-INF directory of my web application? Thanks

TC 3.3 -- user authorization not working correctly.

2003-01-20 Thread Christopher Mark Balz
There seems to be some persistance of user authorization settings beyond Tomcat's global-users.xml and auth-users.xml file, and Tomcat startup and shutdown. I can't seem to get the authorization to work in a rational manner. I am only doing the simplest kind of authorization with roles and a

URL Mappings on Tomcat 3.3 must go between servlet and security sections.

2003-01-20 Thread Christopher Mark Balz
Apparently, this is the case. Yet another awful fact for those stuck with Tomcat 3.3. !-- URL Mapping. This must go between servlet and security sections. -- servlet-mapping servlet-name DynaFastSurv3 /servlet-name url-pattern /s3 /url-pattern /servlet-mapping

Re: Tomcat 4 - SSL - Client Authentication

2003-01-20 Thread Christopher Mark Balz
Have you checked the permissions to the directory where your keystore is held? The process running the webserver must of course be able to read the keystore. - CB Shiva.Devaguptapu wrote: Hi, I am using Tomcat 4 on a linux system. I am trying to enable SSL with client authentication enabled.

TC 3.3.1 authentication roles - what is going on?

2003-01-20 Thread Christopher Mark Balz
It seems that to get good authentication whilst tying one role to one web app (so only one designated user can use a given designated webapp), I must assign two roles to the designated user: an arbitary role, and a role of deployer, and omit or comment out the role of deployer in web.xml:

[Fwd: Mozilla 1.x/N6+ causes memory leak on Tomcat 3.2.4]

2002-11-29 Thread Christopher Mark Balz
-- . . . / This Cabinet is formd of Gold / And Pearl Crystal shining bright And within it opens into a World / . . . Another England there I saw / Another London with its Tower Another Thames other Hills / And another pleasant Surrey Bower . . . - from The Crystal Cabinet, a poem by William

Mozilla crashes Tomcat.

2002-11-29 Thread Christopher Mark Balz
Mozilla 1.x/N6+ causes a devastating memory leak on Tomcat 3.2.4. In side-by-side tests, IE 5.5 causes no such leak, but Moz1.x/N6+ cause Tomcat to simply start allocating memory until the heap size limit is exceeded by about 20MB, resulting in an eventual shutdown of the JVM. I'm pretty sure

Re: Mozilla crashes Tomcat.

2002-11-29 Thread Christopher Mark Balz
Mark Balz [mailto:[EMAIL PROTECTED]] Sent: Friday, November 29, 2002 9:21 AM To: [EMAIL PROTECTED] Subject: Mozilla crashes Tomcat. I'm pretty sure it's not my code since the leak starts immediately on secure (ssl) session log-in to a static page (no servlet action whatsoever). If a Moz/N6+ browser

Mozilla 1.x/N6+ causes memory leak on Tomcat 3.2.4

2002-11-29 Thread Christopher Mark Balz
In side-by-side tests, IE 5.5 causes no such leak, but Moz1.x/N6+ cause Tomcat to simply start allocating memory until the heap size limit is exceeded by about 20MB, resulting in an eventual shutdown of the JVM. I'm pretty sure it's not my code since the leak starts immediately on secure (ssl)

Re: Problems running Tomcat from command line

2002-11-25 Thread Christopher Mark Balz
You should set CLASSPATH as a Windows environment variable. I always make sure that the slashes in the CLASSPATH value should all point the same direction. - CB Steve Russell wrote: Hi; I just started a new job. The company is using MS Windows 2000 and Tomcat 3.2.4 ( not my choice -

Re: Problems running Tomcat from command line

2002-11-25 Thread Christopher Mark Balz
As you probably know, the icon shows what command it actually issues in the properties dialogue (right-click on it) along with a directory to start in property. What are these poperties? Julius Davies wrote: Steve Russell, Perhaps this link will help:

SSL request Mozilla browser causes memory leak on Tomcat 3.2.1

2002-11-24 Thread Christopher Mark Balz
In repeated, side by side trials doing https requests (ssl), there is no problem and behavior is normal with requests from Internet Explorer 5.5 (memory allocation stays at about 22 megabytes), but Mozilla 1.0 seems to send some kind of request that causes Tomcat to just go on allocating

Re: Failed JDBC connection hangs Tomcat

2002-07-17 Thread Christopher Mark Balz
Here is some sample init() method code that I use to test the db connection on context startup: try { /*- * The driver objects register themselves with the driver manager * at the time of loading,

Re: Running SSL on IIS/Tomcat 3.3.1

2002-07-17 Thread Christopher Mark Balz
installed the certificate in the keystore using keytool. Jose. -Original Message- From: Christopher Mark Balz [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 16, 2002 9:44 PM To: Tomcat Users List Subject: Re: Running SSL on IIS/Tomcat 3.3.1 You have to use the Java 'keytool' tool

Re: Running SSL on IIS/Tomcat 3.3.1

2002-07-16 Thread Christopher Mark Balz
You have to use the Java 'keytool' tool to make the JVM aware of your certificate. Then you need to edit your web.xml file appropriately. - CB Jose Aguilera wrote: I have an SSL certificate already installed on IIS and would like my web pages to be displayed in HTTPS mode using Tomcat.

Servlet dying silently under SSL; was working fine.

2002-07-16 Thread Christopher Mark Balz
Running Tomcat 3.2 on Win2K. Can anyone tell me what the following error messages from tomcat.log might imply is wrong with my web application or dev environment? 2002-07-13 22:25:46 - Ctx( ): 400 R( /) null 2002-07-13 22:25:46 - Ctx( ): IOException in: R( /) error while writing to socket

3 exquisite lines from my tomcat.log beg for your interpretation.

2002-07-13 Thread Christopher Mark Balz
Running Tomcat 3.2 on Win2K. Using Emacs and Cygwin dev tools. Can anyone tell me what the following error messages from tomcat.log might imply is wrong with my web application or dev environment? 2002-07-13 22:25:46 - Ctx( ): 400 R( /) null 2002-07-13 22:25:46 - Ctx( ): IOException in: R(

Servlet dying silently under ssl.

2002-07-12 Thread Christopher Mark Balz
Running tomcat 3.2 on Win2K with MySql. Use Cygwin and Emacs dev tools. I have a simple servlet running under ssl (public-private key) that is dying silently and unexpectedly. It was working flawlessly and then stopped working without there being any change anywhere on my entire machine