Re: Tomcat UserDB in MySQL

2007-04-27 Thread Jan Strauch
It still doesn´t work. this is what Catalina.out sais: INFO: Starting Coyote HTTP/1.1 on http-8080 27.04.2007 01:14:44 org.apache.jk.common.ChannelSocket init INFO: JK2: ajp13 listening on /0.0.0.0:8009 27.04.2007 01:14:44 org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/228 config

Tomcat UserDB in MySQL

2007-04-24 Thread Jan Strauch
I want to replace the "tomcat-users.xml" with two tables in MySQL: Database : auth table users :username varchar(15) primary key NN pass varchar(41) NN table roles : username varchar(15) primary key NN role varchar(10) NN Tried the solution from th

Re: yet another SSL question

2007-01-11 Thread Jan Strauch
first, thanks for your help. But now I got the next problem: Is it possible to have multiple different Login pages in one webapp? Scenario: - Two areas (DB,shop) in one webapp - two groups of users having access to one of the areas. - one member of both groups. When I am logged in to the DB-se

yet another SSL question

2007-01-05 Thread Jan Strauch
Hello world! My problem : I want some of my servlets to be accessible only when HTTPS is used: https:/ succeeds http:/ gives an error The first step seems to work, but when i have logged in into the secure area, load a page using https, delete the "s" and reload, the page is also loaded.

Databaseaccess speed

2006-07-28 Thread Jan Strauch
Hello world !!! I have a greater problem with delays between write and read-access using tomcat. The scenario: tomcat 5.0.28 mysql Ver 14.7 Distrib 4.1.10a, for suse-linux (x86_64) 1. a servlet inserts data given by user via browser into the database 2. a second servlet uses these data to crea