Re: Tomcat and Apache 2

2002-04-22 Thread Michael Delamere
Hi All, Sorry it´s me replying to my own mail again :-). Found the solution. Instead of stating the port in the virtualhost tag, I put it behind the server name and then it worked! Like so: VirtualHost 192.168.10.1 ServerAdmin [EMAIL PROTECTED] DocumentRoot /www/servtest/java

Apache 2.0 and Tomcat 4.0.3 integration help need

2002-04-22 Thread Boon K. Chee
Is there anybody who has managed to integrate Apache 2.0 and Tomcat 4.0.3 successfully? I have tried to follow all the instructions, but fail to integrate them on both Win 2000 and Redhat 7.2. I tried both mod_jk and mod_webapp. But Apache will always complain with some errors. I can run both

Re: How to logout for the browser based authentication?

2002-04-22 Thread Phillip Morelock
i know that IE on the Mac (any version) doesn't actually dump session data until you've QUIT the browser, not just closed the window. IE on windows displays the behavior indicated in the previous responseit's based on parent-child relationships between windows. IE on win32: 1. File--New

Re: Apache 2.0 and Tomcat 4.0.3 integration help need

2002-04-22 Thread Michael Delamere
Simon Burr has come up with an excellent mini-tutorial: http://www.pubbitch.org/jboss.html I managed to get it set up in no time (almost) with his how-to. bye Michael Delamere - Original Message - From: Boon K. Chee [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, April 22, 2002

RE: How to logout for the browser based authentication?

2002-04-22 Thread Alvin Wang
So is there any JavaScript or Java API that has the write access to the username/password stored in the browser? Thanks! -Original Message- From: Phillip Morelock [mailto:[EMAIL PROTECTED]] Sent: Monday, April 22, 2002 5:06 PM To: Tomcat Users List Subject: Re: How to logout for the

Re: How to logout for the browser based authentication?

2002-04-22 Thread Phillip Morelock
i am not sure i understand the question. what are you trying to do / afraid of others trying to do? there probably is full access to remote users, for all we know, knowing MSIE ;) On 4/22/02 2:19 PM, Alvin Wang [EMAIL PROTECTED] wrote: So is there any JavaScript or Java API that has the

Do I have to use j_security_check to authenticate?

2002-04-22 Thread Benjamin Drasin
Hello all- I have a servlet based application running on Tomcat 3.2. It uses a homespun security system which I would like to replace with standard J2EE security. However, when the user logs in there are a number of server-side tasks which have to be performed both before and after

Re: Do I have to use j_security_check to authenticate?

2002-04-22 Thread Rick Fincher
Hi Ben, Someone else today had similar questions so you might want to check for the subject initializing Session state during realm login. This was in Tomcat 4.0.x which has this built in. If you use FORM level security you submit your own jsp page as the login page and another as the page to

Re: Do I have to use j_security_check to authenticate?

2002-04-22 Thread Benjamin Drasin
Thanks Rick, Some of my business code has to run before authentication takes place (the details are very specific to my application). Right now the code works like this, all in one servlet: 1)pre-authentication code 2)if ok to proceed 3) authentication code 4) post-authentication code

Re: Do I have to use j_security_check to authenticate?

2002-04-22 Thread Craig R. McClanahan
On Mon, 22 Apr 2002, Benjamin Drasin wrote: Date: Mon, 22 Apr 2002 22:06:25 + From: Benjamin Drasin [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Do I have to use j_security_check to authenticate? Hello all- I have a servlet based

Re: initializing Session state during realm login

2002-04-22 Thread Craig R. McClanahan
On Mon, 22 Apr 2002, Tim Cronin wrote: Date: Mon, 22 Apr 2002 10:46:58 -0500 From: Tim Cronin [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject: initializing Session state during realm login I'm trying to use a custom Realm

empty xml page using tomcat4.0

2002-04-22 Thread Mathy V Arumugam
Hello, I am new to this group. I have just installed tomcat 4.0. I am trying to create a xml document using servlet. I have copied all the style sheets and .xml files into the ..\webapps\ROOT dir, and servlet into ..\webapps\ROOT\WEB-INF\classes dir. I have also copied all the needed jar

Tomcat 4.02 ASP files

2002-04-22 Thread Arzhang Saman
Hi - Is it possible to get my Win 2k server to run ASP pages without using IIS. I have tried to set the MIME type in the web.xml page by adding the following - mime-mapping extensionasp/extension mime-typeapplication/asap/mime-type /mime-mapping But have been unsuccessful. Can

Same context, two services

2002-04-22 Thread Oki DZ
Hi, Would it be possible to load a single context into two services? I mean, the webapp would be run by two different services (two engines that run on different ports; same host, of course). Thanks in advance, Oki -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands:

Re: Tomcat 4.02 ASP files

2002-04-22 Thread Anthony W. Marino
You can with Apache2. Anthony Hi - Is it possible to get my Win 2k server to run ASP pages without using IIS. I have tried to set the MIME type in the web.xml page by adding the following - mime-mapping extensionasp/extension mime-typeapplication/asap/mime-type

How to logout for the browser based authentication?

2002-04-22 Thread Alvin Wang
Is there anyway other than closing the browser rudely? And is it clean enough to close the browser? Thanks! -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]

FIXED: Mapping plain directories in Tomcat

2002-04-22 Thread apache
I just uncommented: Context path= docBase=ROOT debug=0/ ... and pointed it to the directory I wanted. Security may still be an issue, but something I can worry about later. I'm using Tomcat 4.0.1 and have finally gotten everything running. I just have some fine-tuning to do. Images,

Bad to have multiple contexts for one servlet?

2002-04-22 Thread apache
If I want for 3 or 4 paths to all point to the same servlet, is it wise to declare multiple contexts, like the following? Context path=/english docBase=x2o/ Context path=/spanish docBase=x2o/ If not a good idea, how should I do it? Thanks -- To unsubscribe: mailto:[EMAIL PROTECTED] For

Why is JDK needed to install Apache Tomcat 4.0 on WinNT?

2002-04-22 Thread Kiran Kumar N (RBIN/DCA-NMS)
I am trying to create a setup an application of mine for distribution among my associates. But during the installation of Tomcat 4.0, it initially checks if JDK is installed and if not, it exits the installation. Why does it need the JDK? All my target PCs have JREs installed. What should be

Re: Html/jpg from db to client?

2002-04-22 Thread john-paul delaney
Are there any examples of these techniques available? thanks /j-p. On Mon, 22 Apr 2002, Jeffrey Bonevich wrote: Nope. Only need two at most. Each of them sets their own content type (image streamer sets it to image/jpg, HTML producer to text/html). And in answer to your other question,

Re: session expiree

2002-04-22 Thread Joel Rees
When Venkata Sudhir Kurapati asked Can anybody tell me if the user closed the window without logging out but pressing the X button of the browser, how do we close the session. [EMAIL PROTECTED] suggested You can try with ONUNLOAD event. I assume this is referring to the Javascript

Re: Security

2002-04-22 Thread Joel Rees
Timothy Fisher commented: I think that most of the responses I've seen here to the original question are missing the point. I understand the question as he's wondering whether or not you could programatically authenticate a user, such that the container would then recognize the user as

<    1   2