Two authentication mechanisms in a webapp.

2003-12-30 Thread Ilari Kontinen
Hello, I have a web-application that has a JSP-based UI and an AXIS-based web service. I need to use FORM-based authentication for the UI users and BASIC-authentication for web service users. Is it possible to have the two authentication mechanisms in one webapp, or do I need to separate the UI

Re: Problems with Tomcat 4.1.27 and MySQL J/Connector 3.0.9 (stable)

2003-12-03 Thread Ilari Kontinen
ke, 2003-12-03 kello 04:19, Doug Parsons wrote Had the same problem on 4.1.29 and 3.23.58 Try adding this to the Web.xml servlet-mapping servlet-nameinvoker/servlet-name url-pattern/servlet/*/url-pattern /servlet-mapping Does not make sense, since I do not have servlets in my web

Re: Problems with Tomcat 4.1.27 and MySQL J/Connector 3.0.9 (stable)

2003-12-03 Thread Ilari Kontinen
Realm className=org.apache.catalina.realm.DataSourceRealm debug=99 dataSourceName=jdbc/TestDB userTable=UserTBL userNameCol=userid userCredCol=pass userRoleTable=RoleTBL roleNameCol=role/ The Realm did not change. Sorry, the Realm indeed changed. I had to change the

RE: Global Variables

2003-12-03 Thread Ilari Kontinen
-Original Message- From: Duncan [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 03, 2003 11:50 AM To: Tomcat Users List Subject: Re: Global Variables Thanks for the replies, but what do I define servletContext as? An easy way to get the ServletContext from JSP-page is to

Re: PLEASE HELP! How can I make Tomcat see DB2 jdbc driver?

2003-12-03 Thread Ilari Kontinen
ke, 2003-12-03 kello 22:09, Sarah Zou wrote: Hi All, I am using Tomcat 4.1.29 and DB2 8.1. I try to use the servlet below to see if it can find DB2 jdbc driver: ... I have tried to put db2java.zip in Tomcat common\lib or webapp\web-inf\lib. Also I tried to add db2java.zip to set

Problems with Tomcat 4.1.27 and MySQL J/Connector 3.0.9 (stable)

2003-12-02 Thread Ilari Kontinen
Hello, I am developing a JSP-based web application that uses database (MySQL) to preserve data. I am using a datasource (javax.sql.DataSource) as a global resource and a datasource realm (org.apache.catalina.realm.DataSourceRealm) as a realm for authenticating the users of my web application. I