Problem with authentication through mod_webapp

2002-06-18 Thread Markus Kirsten
Hi, I've successfully set up a JDBC Realm for my application that works perfectly when I'm going straight to Tomcat (that is using port 8080) but not when I'm trying to access it trough Apache (with mod_webapp). Authentication always fails when I'm going through mod_webapp, but work just as

Re: Problem with authentication through mod_webapp

2002-06-18 Thread Markus Kirsten
(Apache 1.3.23 and Tomcat 4.0.3)? Markus On tisdag, juni 18, 2002, at 01:57 , Richard Plukker wrote: Do you use the basic authentication method? Maybe try the form authentication method. Because apache also has a basic authentication method, maybe these two don't get along. Markus

Re: ho to precompile alls jsps of a webapp with jspc (or jikes ?)

2002-06-18 Thread Markus Kirsten
Hi, I havn't used jspc but your error points out that it can't find the SAX package. Go to http://java.sun.com and download a SAX parser and see if it won't work then. Markus On tisdag, juni 18, 2002, at 03:02 , Ekkehard Gentz wrote: hi, who can help me ? I want to pre-compile all jsp's

Re: Null Pointer Exception - would you please take a look?

2002-06-18 Thread Markus Kirsten
Hi Eddie, Have you tried accessing Tomcat directly and not going through Apache? I was having too much trouble using mod_webapp together with Apache and Tomcat due to that form-based authentication didn't work through Apache but it did directly with Tomcat. Maybe we should all use mod_jk

Re: web.xml how-to

2002-06-14 Thread Markus Kirsten
Check the DTD for web.xml or RTFM. http://jakarta.apache.org/tomcat Markus On fredag, juni 14, 2002, at 03:34 , Scott Seidl wrote: Can someone give me a good resource on how to create the web.xml file for a web application using servlets? Thanks Scott -- To unsubscribe, e-mail:

Re: Tomcat and servlet

2002-06-11 Thread Markus Kirsten
Hi Med, Deploy your servlet in the ROOT context instead. Markus On tisdag, juni 11, 2002, at 10:08 , Thébault, Médérick wrote: Hi again, I would like to change the URL of my servlet. It can be access thru http://localhost/servlet/MyServlet; but I would like to avoid servlet part. In

Re: AJPV13 + BASIC authentication bug fixed?

2002-06-11 Thread Markus Kirsten
Hi Mirko, I didn't know that. 4.0.3 seems to work fine for me with BASIC authentication as well as form based through Apache as well as directly. Or do you mean if you set up HTTP Authentication in Apache? Markus On tisdag, juni 11, 2002, at 09:18 , Klemm, Mirko wrote: Hi, Tomcat 4.0.1

Re: Tomcat and servlet

2002-06-11 Thread Markus Kirsten
Objet : Re: Tomcat and servlet Marek, Tomas a écrit : Could give more details, please. tom -Original Message- From: Markus Kirsten [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 10:36 AM To: Tomcat Users List Subject: Re: Tomcat and servlet Hi Med, Deploy your servlet

Customize Tomcat error pages

2002-06-11 Thread Markus Kirsten
How do I configure standard error pages like 403, 404 etc. for Tomcat? I've gone through the Tomcat documentation breifly but can't find anything about it. Markus -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: newbie question urgent plz

2002-06-11 Thread Markus Kirsten
Hi, Check your tomcat-users file located in /conf/ and add an account with the role manager or change an existing one. Good luck! Markus On tisdag, juni 11, 2002, at 01:32 , Vikramjit Singh wrote: yeah the directory structure is exactly the same. how do i check the mananger list i am

Re: newbie question urgent plz

2002-06-11 Thread Markus Kirsten
been forbidden. Regards, Vikramjit Singh, Systems Engineer, GTL Ltd. Ph. 7612929-1031 -Original Message- From: Markus Kirsten [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 11, 2002 4:43 AM To: Tomcat Users List Subject: Re: newbie question urgent plz Hi, Check your tomcat

Mapping *.jsp to Tomcat with webapp

2002-06-11 Thread Markus Kirsten
Hi, I've seen some posts about this here. One earlier from me and now from some other users. Is it possible to make the most intuitive mapping to Tomcat - *.jsp in the Apache directory? Markus -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail:

System.out.println

2002-06-11 Thread Markus Kirsten
What's the most easy way to print out debug messages in Tomcat? The ability to use System.out.println() seems to have gone in version 4. Is there any easy way of logging my debug messages to a log file (which is just used for this)? Markus -- To unsubscribe, e-mail: mailto:[EMAIL

Re: I want close one session in JSP

2002-06-09 Thread Markus Kirsten
Hi Owen I'm not sure I understand you. Isn't the bean stored in the session? In that case it will get garbage collected because the session scope doesn't exist after you've called session.invalidate(). Markus On söndag, juni 9, 2002, at 09:37 , Anibal Constante Brito wrote: I want destroy

Re: web.xml parsing error on startup.

2002-06-09 Thread Markus Kirsten
Hi Nik, Read the error message carfully and change the order of the elements to conform to the error message (i.e. servlet before welcome-file-list). I had the same problem some time ago. Order do matter! Markus On söndag, juni 9, 2002, at 04:01 , [EMAIL PROTECTED] wrote: Hello, I am

Re: changing Tomcat's Document Root

2002-06-08 Thread Markus Kirsten
Hi Chris, Just set the docBase attribute for that particular webapp context to your arbitrary directory. Hope this helps! Markus On lördag, juni 8, 2002, at 02:46 , Chris Ruegger wrote: I want to deploy a web app to an arbitrary directory on my machine that is *not* under the Tomcat

Re: problem..plz help me out

2002-06-08 Thread Markus Kirsten
Does the example servlets and JSP work? Which platform do you use? Markus On lördag, juni 8, 2002, at 09:22 , puneet sachar wrote: Hi friends, this is my 4th mail regarding my single complain.. I have install the tomcat 4.0.3 and its doing fine as far .html files are concern but no

Re: Socrates (slightly off topic)

2002-06-07 Thread Markus Kirsten
Somewhat more off-topic: wget was originally included with Mac OS X and was later replaced with curl. Curl has got pretty many features and works just as wget if you give curl the -o flag. Basiclly curl is a browser without support for rendering HTML. Markus On torsdag, juni 6, 2002, at

Encrypted passwords in a JDBC Realm

2002-06-07 Thread Markus Kirsten
I've just went through the documentation concerning setting up a JDBC Realm as well as some of the MySQL documentation. It seems to me that to use encrypted passwords I need to manually encrypt them before I store them in my database since it is not possible to set the digest attribute in the

Logout using FORM based authentication

2002-06-07 Thread Markus Kirsten
Hi, I use a JDBC Realm with FORM based authentication but haven't figured out a way for users to log out. Is it just to call session.invalidate() or is there any better way to do it? Markus -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL

Re: Logout using FORM based authentication

2002-06-07 Thread Markus Kirsten
Hi Eric, Thank you for verifying that. I've actually made my own authentication before but when I read about container-managed authentication I realised that that was exactly what I was looking for. Is there any reason for keeping the users login as a session attribute or is it better to use

Re: Find Tomcat training classes

2002-06-07 Thread Markus Kirsten
http://www.google.com/search?q=tomcat+training+course Markus On fredag, juni 7, 2002, at 08:27 , Jack Li wrote: Hello, Does anyone know where to have tomcat training classes? Thanks, Jack -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail:

Re: Running JavaBeans

2002-06-07 Thread Markus Kirsten
Hi Juan, There's no need to edit the deployment descriptor but you need to restart Tomcat (or redeploy the application). The compiled bean should be placed in the /app/WEB-INF/classes directory. If you still don't get it to work send over your directory structure and the important part of

Re: Active Directory

2002-06-06 Thread Markus Kirsten
Check with your Active Directory documentation how to make AD accessible from a LDAP client. Then just access the AD tree as a normal LDAP tree. Good hunting! Markus On torsdag, juni 6, 2002, at 09:17 , Chris Shen wrote: i know this is kind of off the topic, but i am trying to write to an

Re: ??? Using JSPs to Send Not-Modified-Since Header ???

2002-06-04 Thread Markus Kirsten
Hi Tony, Isn't it possible to put in the method after the jsp file has been rewritten (by Tomcat) to a standard java source code file? Maybe it's quick and dirty but I can't see why it shouldn't work. Best of luck! Markus On Tuesday, June 4, 2002, at 09:28 AM, Tony LaPaso wrote: Hi all,

Re: File download with Tomcat 4.0.2

2002-06-01 Thread Markus Kirsten
Hi Alex, I think that's actully up to the browser to determinate wheter the browser should display the data, if a helper application should do so or if the user should be prompted to download the file without displaying or executing it. So, in other words, what you need to do is to say on the

Authentication with Tomcat + Apache

2002-05-31 Thread Markus Kirsten
What would be the best sollution if I have resources (non-HTML like movies etc.) which I want to protect with a custom made authentication? I have a servlet which takes care of my authentication and I want this servlet to be able to either grant or permit access to a resource based on wheter

Directing .jsp requests to Tomcat

2002-05-31 Thread Markus Kirsten
Is it possible to use the mod_webapp for Apache to let Tomcat serve .jsp files that are located in my Apache web folder? I've tried mounting a complete webapp that's located in my Tomcat directory and that's working fine but I would want my jsp files to be distributed all over my site and not

Re: Help: URL's redirection (maybe a little off-topic).

2002-05-31 Thread Markus Kirsten
Hi Luca, If you just need to do this with servlets you can either use a sendRedirect or a RequestDispatcher. SendRedirect tells the user to request another page, in oppose to a RequestDispatcher which lets another Servlet return the data requested. The best way (if you need to use the data

Re: Authentication with Tomcat + Apache

2002-05-31 Thread Markus Kirsten
Thank you. This was exactly what I was looking for. I thought that by opening a file for a servlet and then returning it like a stream to the client whould take too much resources but it also seemed like the only way I could whink of except for some kind of HTTP Authentication. But I haven't