Advanced / multiple worker configuration

2002-10-30 Thread Samuel Rochas
Hi there,

I am running tomcat 4 with IIS just fine.
Since we are hosting different java applications on the same server, we 
have trouble using the default configuration with only the ajp13 worker. 
If one application make the java process to crash, all sites crash :-(

I would like to define 1 worker for each application on the server.
How can I do this? Where can I find some manual since what I got from 
the tomcat page did not help? Is that a good way to solve my problem?

Thanx in advance

Sincerly
Samuel


--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org



Re: tomcat authentication with IIS

2001-11-26 Thread Samuel Rochas

Hi Joe, 

My experience on that topic says no. You have to use the one of the 3
ways for realm authentication (JDBC, LDAP, or simple, see
documentation). The JSP request is passed to tomcat without going thru
IIS.

Samuel 
-- 
SWIPe Software Engineering  Project Management GmbH

Solutions with Individual Profile

Web: http://www.swipe.de

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: integrate Tomcat/IIS

2001-11-26 Thread Samuel Rochas

Hi Chu, 

You'll need to configure your servlet in the server.xml file like this:
Context path=/servlet 
 docBase=[your path here like webapps/servlet or absolute]\ 
 crossContext=false
 debug=0 
 reloadable=true 
/Context

Put all the stuff you need for your servlet at the same place:
everything under %tomcat_jome%/... or under your local path.

The changes in uriworkermap.properties seen ok

Samuel
-- 
SWIPe Software Engineering  Project Management GmbH

Solutions with Individual Profile

Web: http://www.swipe.de

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: form authentication with IIS - j_security_check - error 405 - tomcat 3.2.3

2001-11-22 Thread Samuel Rochas

Hello Ingo, 

Of course I've tried your hint:
-I've defined a user on my workstation (Win2K): tomcat/tomcat. It is
member of almost all the local groups. I've defined the same user in the
tomcat-users.xml
-I've entered the groups into the security-constraint in web.xml
(Benutzer, ...)
-I have defined no restriction into the IIS

This was without success. Do you miss something in my configuration?

The BASIC authentication did not work, even accessing the pages directly
with tomcat. The EXPERIMENTAL_FORM worked only without IIS.

Sincerly 
Samuel
-- 
SWIPe Software Engineering  Project Management GmbH

Solutions with Individual Profile

Web: http://www.swipe.de

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: form authentication with IIS - j_security_check - error 405 - tomcat 3.2.3

2001-11-22 Thread Samuel Rochas

Hi Ingo, 

 role-namesynthmagguest/role-name
So the user defined in tomcat-users.xml was member of this group:
user name=tomcat  password=tomcat roles=synthmagguest  /

Did you define a group synthmagguest within Win2k?

 realm-namesynthMAG/realm-name
And synthMAG is the Win2k user name?

 You mean through port 8080 it did not work either? Sounds strange.
Right. It sounds strange to me too ;)
That's why I concentrate on FORM authentication which is working at
least with tomcat.

Do you have any hint to further web resources?

Sincerly
Samuel
-- 
SWIPe Software Engineering  Project Management GmbH

Solutions with Individual Profile

Web: http://www.swipe.de

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




basic authentication with IIS - error 404 - tomcat 3.2.3

2001-11-22 Thread Samuel Rochas

Hello Ingo, 

Now I can use the BASIC authentication too, but only within tomcat.
The dialog poped up while trying to log the protected area is slightly
different, depending if I use tomcat (localhost:8080) or IIS
(localhost). The dialog shown in the first case is generated from
tomcat, this one show the information 'realm'. In the second case,  the
dialog is, as you indicated, generated from the IIS itself.

Unfortunatly, even I've defined a user on the IIS machine as you
proposed, no login is allowed.

BUT:
Using tomcat for the authentication is not working completely: the
authentication is going well, but the result of it is not the jsp page I
wanted to see, but a 404 error, saying the page does not exist.
If I switch off the authentication, the page can be displayed very well.
Any hint?

Samuel
-- 
SWIPe Software Engineering  Project Management GmbH

Solutions with Individual Profile

Web: http://www.swipe.de

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: basic authentication with IIS - error 404 - tomcat 3.2.3

2001-11-22 Thread Samuel Rochas

Hello, 

Well, I just write a response to myself ;)

The following problem is not there with NT4/IIS 4. I have it only with
W2K/IIS 5.

 Using tomcat for the authentication is not working completely: the
 authentication is going well, but the result of it is not the jsp page I
 wanted to see, but a 404 error, saying the page does not exist.
 If I switch off the authentication, the page can be displayed very well.
-- 
SWIPe Software Engineering  Project Management GmbH

Solutions with Individual Profile

Web: http://www.swipe.de

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




form authentication with IIS - j_security_check - error 405 - tomcat 3.2.3

2001-11-21 Thread Samuel Rochas

Hello, 

I have troubles using the form authentication for an application running
on the IIS (4.0) with tomcat 3.2.3. 

The security example is running fine, that is because it is running
directly with tomcat and not through IIS first. The authentication
mechanism for my application running with the IIS brings an error 405
with the URL:
http://localhost/j_security_check

It seems the IIS does not recognize that it should pass the request to
the isapi_redirect.dll an tries to handle it itself, which brings the
error.

A workaround would be to set as URL for the login page something like:
form-login-pagehttp://localhost:8080/login.jsp/form-login-page
This would enforce the direct use of tomcat. I think it is quite tricky
an would prefer something cleaner here. Any hint?

Sincerly
Samuel Rochas
-- 
SWIPe Software Engineering  Project Management GmbH

Solutions with Individual Profile

Web: http://www.swipe.de

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: R: form authentication with IIS - j_security_check - error 405 - tomcat 3.2.3

2001-11-21 Thread Samuel Rochas

Hello, 

 Supposed you did all that's said in the tomcat-iis-howto (see docs), you
 have to adjust the conf/uriworkermap.properties file, that's where
 isapi_redirect.dll gets informations from ...
I've written an entry to this file for the j_security_check, but it is
still not recognized. 

Who has experience in combining tomcat and IIS? Who did some FORM
authentication within IIS?
Does anybody have an idea where to search informations to the problem?

Samuel
-- 
SWIPe Software Engineering  Project Management GmbH

Solutions with Individual Profile

Web: http://www.swipe.de

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: CVS

2001-11-20 Thread Samuel Rochas

Bonjour, 

Laurent Michenaud wrote:
 
 Would be CVS a good thing for our environnment ?
CVS, or any other configuration management tool is a must while having a
team working on a project. You can use some free tools, like the CVS
with clients like WinCVS. You can use some (mostly quite expensive)
commercial tools if you like.

 Are there any model of organisation that we would use ?
all what you need is a file system and a network connection between the
users.
Take a look at http://www.gnu.org/manual/cvs-1.9/cvs.html and
http://www.cvshome.org/

Slts
Samuel Rochas
-- 
SWIPe Software Engineering  Project Management GmbH

Solutions with Individual Profile

Web: http://www.swipe.de

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: CVS

2001-11-20 Thread Samuel Rochas

Bonjour, 

Laurent Michenaud wrote:
 
 We prefer to use cvs rather than Ms SafeSource.
That _is_ a good decision!

 
 - What's better ? a repository for each project or a module for
 each project ?
I prefer one module for each project.

 - Is it a good idea to use CVS for binary files ? i was thinking
 about class files, and all the jpeg/gif files...
It is usefull to have every not generated files in CVS. A new developper
will only need to checkout the project to have anything he needs. The
file generated while compiling, and all generated file should not be
included in CVS.

 - I think we will need differents branches :
Maybe it is a bit too much, you need something simple for the developper
too (CVS is a help). I find their use something tricky and we don't use
them often.

Slts
Samuel Rochas
-- 
SWIPe Software Engineering  Project Management GmbH

Solutions with Individual Profile

Web: http://www.swipe.de

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: JSP/Servlet Web Hosting?

2001-11-19 Thread Samuel Rochas

Hello Chris,

  Anyone know or can recommend a reasonable priced web
  hosting company that
  supports JSP/servlets?
Well, I can recommand our Hosting Service at SWIPe.

Contact me if you have any question to that topic.

Sincerly
Samuel
-- 
SWIPe Software Engineering  Project Management GmbH

Solutions with Individual Profile

Web: http://www.swipe.de

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Authentication with Tomcat 3.2 and IIS4

2001-11-19 Thread Samuel Rochas

Hello, 

Thank you for the help. Your messages helped me to understand better how
the thing is working, but the problem is still there.

I am now able to make FORM authentication (with both Tomcat 3.2 and 3.3)
but the BASIC authentication is NOT working. 

I've tried the MemoryRealm only (thanks Craig, I've tried neither
JDBCRealm nor JNDIRealm yet, maybe later, I want to make work the simple
things first).

Does anybody have an Idea?

Sincerly
Samuel
-- 
SWIPe Software Engineering  Project Management GmbH

Solutions with Individual Profile

Web: http://www.swipe.de

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Authentication with Tomcat 3.2 and IIS4

2001-11-16 Thread Samuel Rochas

Hello, 

Using Jakarta on IIS makes the authentication through IIS not working.

I have to configure Jakarta in order to allow the access to some
directories only after an authentication. I don't want to change my
application for that, furthermore I want to use Jakarta-Features for it. 

I am also looking for information how to customize the configuration
files (*.xml) and I did not find much in some FAQs 'till now. Can
anybody tell me which configuration files are involved? Which changes
are needed in these files?

Is there an online source for my request?

Thanks
Samuel
-- 
SWIPe Software Engineering  Project Management GmbH

Solutions with Individual Profile

Web: http://www.swipe.de

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Authentication with Tomcat 3.2 and IIS4

2001-11-16 Thread Samuel Rochas

Hello Hamish, 

Thanks for your answer.
Do you mean, the authentification and user management with Jakarta runs
with the help of a database? Do I have other possibilities like using a
config file instead of a database?

Sincerly
Samuel
-- 
SWIPe Software Engineering  Project Management GmbH

Solutions with Individual Profile

Web: http://www.swipe.de

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]




Re: Authentication with Tomcat 3.2 and IIS4

2001-11-16 Thread Samuel Rochas

Hello, 

Ok, I am now able to prompt for a dialog box, asking for username and
password. So far, exactly what I wanted.

I have configured a user in the file /conf/tomcat-users.xml according to
the role defined in the role defined in the security constraint for the
application. 
The trouble is that Jakarta does not regognize any of the defined user
and I can't access the page. Can somebody tell me why? Should I make
further changes in other config files?

Sincerly
Samuel

Barney Hamish wrote:
 
 There is also a simple xml file authentication method that Tomcat uses by
 default. You just add log-ins to an xml file. I believe there is an example
 included with the Tomcat download (examples/jsp/security I think)
 
 Hamish
 
-- 
SWIPe Software Engineering  Project Management GmbH

Solutions with Individual Profile

Web: http://www.swipe.de

--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]