RE: Ream authentication + Apache Web Server Authentication

2005-02-01 Thread SAG - Jose Antonio Tarifa
That's my configuration, Apache serves static pages and tomcat dynamic ones.

My problem is authenticate the user with servlets FORM mechanism, and at the 
same time, be authenticated in Apache.  Like a Single-Sign-On.

Is that posible? Is there a mechanism to do that with JK2 connector?

José Antonio Tarifa Lorenzo
SAGE-OMEL
Tfno. +34 91 659 89 79
 

-Mensaje original-
De: Jorge Davila [mailto:[EMAIL PROTECTED] 
Enviado el: lunes, 31 de enero de 2005 21:43
Para: Tomcat Users List
Asunto: Re: Ream authentication + Apache Web Server Authentication

try to configure ajp13 connector to put apache in front of tomcat.



SAG - Jose Antonio Tarifa wrote:
> Hi.
>  
> I have a question.  How can I mix authentication on both servers, Tomcat and 
> Apache?
>  
> I want to use Form authentication with Tomcat, also I need Apache Web Server 
> to be authenticated.  Is posible to authenticate a user in Tomcat and get 
> authenticated in Apache at the same time?
>  
> Thanks.
>  
> José Antonio Tarifa Lorenzo
> SAGE-OMEL
> Tfno. +34 91 659 89 79
>  
>  
> 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Ream authentication + Apache Web Server Authentication

2005-01-31 Thread SAG - Jose Antonio Tarifa
Hi.
 
I have a question.  How can I mix authentication on both servers, Tomcat and 
Apache?
 
I want to use Form authentication with Tomcat, also I need Apache Web Server to 
be authenticated.  Is posible to authenticate a user in Tomcat and get 
authenticated in Apache at the same time?
 
Thanks.
 
José Antonio Tarifa Lorenzo
SAGE-OMEL
Tfno. +34 91 659 89 79
 
 


RV: Tomcat 5.0.18: Error 1053: The service did not respond to...

2004-01-29 Thread SAG - Jose Antonio Tarifa
Ok, it runs now.  I only had to install JSDK plus JRE.  

Thanks Bill.

-Mensaje original-
De: SAG - Jose Antonio Tarifa 
Enviado el: jueves, 29 de enero de 2004 9:51
Para: Tomcat Users List
Asunto: RE: Tomcat 5.0.18: Error 1053: The service did not respond to...

I have tried to do that and I have upgraded the J2SDK, but it continues happening the 
same.

Any ideas?

-Mensaje original-
De: Bill McMilleon [mailto:[EMAIL PROTECTED] 
Enviado el: miércoles, 28 de enero de 2004 21:30
Para: SAG - Jose Antonio Tarifa; [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Asunto: RE: Tomcat 5.0.18: Error 1053: The service did not respond to...


At Wed, 28 Jan 2004 01:06:54 -0800 SAG - Jose Antonio Tarifa said:

>I have the same situation also on Win 2k.  I tried to uninstall the
>service and reinstall it with service.bat in bin directory, but didn't
>work.

>-Mensaje original-
>>De: Joshi, Vikas [mailto:[EMAIL PROTECTED] 
>>Enviado el: martes, 27 de enero de 2004 18:01
>>Para: 'Tomcat Users List'
>>Asunto: Tomcat 5.0.18: Error 1053: The service did not respond to...
>>
>>I installed Tomcat 5.0.18 on Win 2K.
>>
>>When I try to start the service Get following error:
>>
>>   Could not start Apache Tomcat Service on local computer
>>   Error 1053: The service did not respond to start or control request
>>   in a timely manner.
>>


I had the same problem on W2K and was able to fix it by upgrading from JSDK
1.4.2_02 to 1.4.2_03.  Hope this helps.




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat 5.0.18: Error 1053: The service did not respond to...

2004-01-29 Thread SAG - Jose Antonio Tarifa
I have tried to do that and I have upgraded the J2SDK, but it continues happening the 
same.

Any ideas?

-Mensaje original-
De: Bill McMilleon [mailto:[EMAIL PROTECTED] 
Enviado el: miércoles, 28 de enero de 2004 21:30
Para: SAG - Jose Antonio Tarifa; [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Asunto: RE: Tomcat 5.0.18: Error 1053: The service did not respond to...


At Wed, 28 Jan 2004 01:06:54 -0800 SAG - Jose Antonio Tarifa said:

>I have the same situation also on Win 2k.  I tried to uninstall the
>service and reinstall it with service.bat in bin directory, but didn't
>work.

>-Mensaje original-
>>De: Joshi, Vikas [mailto:[EMAIL PROTECTED] 
>>Enviado el: martes, 27 de enero de 2004 18:01
>>Para: 'Tomcat Users List'
>>Asunto: Tomcat 5.0.18: Error 1053: The service did not respond to...
>>
>>I installed Tomcat 5.0.18 on Win 2K.
>>
>>When I try to start the service Get following error:
>>
>>   Could not start Apache Tomcat Service on local computer
>>   Error 1053: The service did not respond to start or control request
>>   in a timely manner.
>>


I had the same problem on W2K and was able to fix it by upgrading from JSDK
1.4.2_02 to 1.4.2_03.  Hope this helps.




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Tomcat 5.0.18: Error 1053: The service did not respond to...

2004-01-28 Thread SAG - Jose Antonio Tarifa
I have the same situation also on Win 2k.  I tried to uninstall the
service and reinstall it with service.bat in bin directory, but didn't
work.

It depends on JVM parameters? I have J2SE 1.4.2, the last one.


-Mensaje original-
De: Joshi, Vikas [mailto:[EMAIL PROTECTED] 
Enviado el: martes, 27 de enero de 2004 18:01
Para: 'Tomcat Users List'
Asunto: Tomcat 5.0.18: Error 1053: The service did not respond to...

I installed Tomcat 5.0.18 on Win 2K.

When I try to start the service Get following error:

   Could not start Apache Tomcat Service on local computer
   Error 1053: The service did not respond to start or control request
in a
timely manner.

Any ideas ?  Can start tomcat by running startup.bat in a cmd window but
cannot start the service.

-V

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RV: Fix for SEVERE: Certificate convertion failed, bug in Tomcat-connectors-4.1.24

2003-03-26 Thread SAG - Jose Antonio Tarifa
This is the patched class.  It must be replaced at 
$(TOMCAT_HOME)/server/lib/tomcat-jk2.jar jar-file.

You simply need to un-jar the file tomcat-jk2.jar and replace JkCoyoteHandler.class 
with the patched one.

Thanks to Thorvald Natvig.

--
José Antonio Tarifa Lorenzo
Departamento de Desarrollo
Compañía Operadora del Mercado Español de Electricidad, S.A.
c/Alfonso XI, 6 4ª Planta. 28014 Madrid
email: [EMAIL PROTECTED]
--

-Mensaje original-
De: Ramsay Domloge [mailto:[EMAIL PROTECTED] 
Enviado el: martes, 25 de marzo de 2003 19:01
Para: Tomcat Users List
Asunto: Re: Fix for SEVERE: Certificate convertion failed, bug in 
Tomcat-connectors-4.1.24

Thank God!

I have been stuck on this for 10 days now, and I have been going a bit 
loopy!

I really need to apply this patch *today*, but I'm having difficulty 
getting hold of all the sourcecode that I need to apply the patch to

I would *really* appreciate it if you could help me out here and give me 
a little more info on what I need to do; where to get the sourcecode and 
what I need to build a new Tomcat, etc etc.

I am supposed to be delivering this project at the end of the week and 
this bug has held me back 10 days... my boss is going loopy!

Thanks in advance,

Ramsay


Thorvald Natvig wrote:

>For those that have been suffering problems using 2-way authenticating 
>with the JK2 Coyote connector, this patch should fix the problem. It's not 
>a good fix, but it's a fix nonetheless.
>
>  
>
>
>
>--- 
>jakarta-tomcat-connectors-4.1.24-src/jk/java/org/apache/jk/server/JkCoyoteHandler.java
> 2003-03-19 10:21:04.0 +0100
>+++ 
>jakarta-tomcat-connectors-4.1.24-src-new/jk/java/org/apache/jk/server/JkCoyoteHandler.java
> 2003-03-25 17:10:54.0 +0100
>@@ -384,7 +384,7 @@
> // Extract SSL certificate information (if requested)
> MessageBytes certString = 
> (MessageBytes)req.getNote(WorkerEnv.SSL_CERT_NOTE);
> if( certString != null ) {
>-byte[] certData = certString.getByteChunk().getBytes();
>+byte[] certData = certString.toString().getBytes();
> ByteArrayInputStream bais = new ByteArrayInputStream(certData);
>  
> // Fill the first element.
>  
>
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>





A R K E M E D I A   T E C H N O L O G I E S   L T D 

   VIEW POINTBASING VIEWBASINGSTOKEHAMPSHIRERG21 4RG

  http://www.arkemedia.com  

 mailto:[EMAIL PROTECTED]  

 Tel : +44 1256 869 200  Fax : +44 1256 329 119 



 The information in this e-mail and in any attachments is confidential and  
 is intended solely for the attention and use of the named addressee(s).



 If you are not the intended recipient, or a person responsible for passing 
 it on to the intended recipient, you are not authorised to hold a copy of  
 this information and you must therefore not disclose, copy, distribute, or 
 retain this message or any part of it. MAILTO:[EMAIL PROTECTED]  




jk.zip
Description: jk.zip
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

JK2 Problem

2003-03-24 Thread SAG - Jose Antonio Tarifa
Good day,

Just wondering if anyone at all has successfully gotten mod_jk2 to work
between Apache and Tomcat on W2K.

I have installed Apache 2.0.43 right out of the box and Tomcat 4.1.24
here
at the office. jk2.properties is as it comes in the installation.

worker2.properties is as follows

# Define the communication channel 
[channel.socket:localhost:8009]
info=Ajp13 forwarding over socket
tomcatId=localhost:8009

# Map the Tomcat examples webapp to the Web server uri space
[uri:/examples/*]
info=Map the whole webapp

I get the following in the apache error logs

[Wed Feb 05 10:31:23 2003] [error] workerEnv.init() create slot epStat.0
failed
[Wed Feb 05 10:31:23 2003] [error] lb.service() worker failed 12 for
ajp13:localhost:8009
[Wed Feb 05 10:31:23 2003] [error] lb.service() unrecoverable error...
[Wed Feb 05 10:31:23 2003] [error] mod_jk.handler() Error connecting to
tomcat 12
[Wed Feb 05 10:38:19 2003] [error] lb.getWorker() reenable
ajp13:localhost:8009
[Wed Feb 05 10:38:19 2003] [error] workerEnv.init() create slot epStat.0
failed
[Wed Feb 05 10:38:19 2003] [error] lb.service() worker failed 12 for
ajp13:localhost:8009
[Wed Feb 05 10:38:19 2003] [error] lb.service() unrecoverable error...
[Wed Feb 05 10:38:19 2003] [error] mod_jk.handler() Error connecting to
tomcat 12

What is wrong?

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Tomcat Connector JK2 + Apache + SSL

2002-11-25 Thread SAG - Jose Antonio Tarifa
Hello group.
 
I'm not able to configure Apache + SSL with Tomcat to make available to servlets the 
SSL data, such like are returned by request.getRemoteUser() function (always return 
NULL).
 
Apache runs correctly with HTTPS, but Tomcat no.
 
Any idea?
 
 
-
José Antonio Tarifa Lorenzo
Departamento de Desarrollo
Compañía Operadora del Mercado Español de Electricidad, S.A.
c/Alfonso XI, 6 4ª Planta. 28014 Madrid
email: [EMAIL PROTECTED]  
-
 



Apache 2.0.43 with SSL and Tomcat 4.1.12 problems

2002-11-22 Thread SAG - Jose Antonio Tarifa
I'm not able to configure Apache + SSL with Tomcat to make available to servlets the 
SSL data, such like are returned by request.getRemoteUser() function (always return 
NULL).
 
Apache runs correctly with HTTPS, but Tomcat no.
 
Apache ssl.conf file is like this:
--
Listen 443
 
AddType application/x-x509-ca-cert .crt
AddType application/x-pkcs7-crl.crl
 
SSLPassPhraseDialog  builtin
 
SSLSessionCache dbm:logs/ssl_scache
SSLSessionCacheTimeout  300
SSLMutex  file:logs/ssl_mutex
 
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
 

 
DocumentRoot "C:/apache2/paginas"
ServerName localhost:443
ServerAdmin [EMAIL PROTECTED]
ErrorLog logs/ssl_error.log
TransferLog logs/ssl_access.log
 
SSLEngine on
SSLProtocol all
SSLCipherSuite HIGH:MEDIUM
 
SSLCertificateFile C:/apache2/conf/ssl.crt/apache.crt
SSLCertificateKeyFile C:/apache2/conf/ssl.key/apache.key
SSLCACertificateFile C:/apache2/conf/ssl.ca/ca.cer
 
SSLVerifyClient require
SSLVerifyDepth 1
 

SSLOptions +StdEnvVars +ExportCertData


SSLOptions +StdEnvVars +ExportCertData


SSLOptions +StdEnvVars +ExportCertData

 
SetEnvIf User-Agent ".*MSIE.*" \
 nokeepalive ssl-unclean-shutdown \
 downgrade-1.0 force-response-1.0
 
JkMount /examples ajp13
JkMount /examples/* ajp13
 
  
-
José Antonio Tarifa Lorenzo
Departamento de Desarrollo
Compañía Operadora del Mercado Español de Electricidad, S.A.
c/Alfonso XI, 6 4ª Planta. 28014 Madrid
email: [EMAIL PROTECTED]  
-