RES: Problems with gzip compression with Apache/Tomcat cluster and Firefox

2005-09-21 Thread Acácio Furtado Costa
Hi

We're having problems to configure gzip using TC559/Apache Cluster...

We moved the compression=on and others gzip declarations from connector 80 
to 8009 in all Tomcat Servers but it seems that Apache isn't serving 
gzipped html...

Do we also need to make any gzip configurations (mod_gzip?) in the Apache 
Server itself? 

Thanks in advance!

Acacio Furtado Costa
Pesquisa e Tecnologia

GIA - Magnesita S/A
((0xx31) 3368-1349
*  [EMAIL PROTECTED]


-Mensagem original-
De: B.J. Guillot [mailto:[EMAIL PROTECTED] 
Enviada em: sexta-feira, 20 de maio de 2005 13:15
Para: tomcat-user@jakarta.apache.org
Assunto: Problems with gzip compression with Apache/Tomcat cluster and Firefox

We have recently been experimenting with enabling gzip/deflate compression via 
our Apache/Tomcat cluster, but have encountered some problems with the way the 
compression works with the Firebox browser.

 

When Firefox brings up a compressed page for the first time, it looks fine.
If they reload a static html page, bizarre things start to happen.  In some 
cases, garbage just gets displayed on screen (looks like the actual gzip 
encoded stream), and other times Firefox displays a dialog box asking if you 
want to download the html files.  When IE is used, it works fine.

 

Some background: Running two-node Tomcat 5.5.4 cluster using JK2 2.0.4 protocol 
to communicate back to Apache2 2.0.52 for load balancing.  Browsers tried were 
Firefox 1.0.3 and Internet Explorer 6.0.

 

If I use Tomcat's gzip compression alone with Firefox, it works fine.  It's 
only when we through in Apache and JK2 into the mix with the cluster that 
Firefox displays charged.  It seems to be an issue related to the way that 
compressed pages get cached.

 

I'm not sure if the problem lies with Tomcat, Apache, JK2, or Firefox itself.  
Can anyone provide some pointers?  Thanks.

 

Regards,

B.J. Guillot

 


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



Intel Dual Core tech with Tomcat 5.5.9 (windows JVM)

2005-08-30 Thread Acácio Furtado Costa
We intended to use the new DUAL CORE technology by Intel (and AMD with other 
name) to running WEB applications (j2ee) with Tomcat 5.5 9 in cluster.  
  
To larger trust in the solution, We go through the list to verify somebody 
already adopted this Processor type with tomcat and windows (XP or 2003)  
and to prove really the windows system (task manager)  appear multi cpu´s (dual 
core with hiper threading) and tell us something about performance and 
compatibility.  
  
Regards
 

Acacio Furtado Costa
Pesquisa e Tecnologia

GIA - Magnesita S/A




using disks SATA against SCSI in tomcat 5.5.9 cluster servers

2005-08-26 Thread Acácio Furtado Costa
Respected friends of the list, I am specifying Cluster nodes (hosts) to use 
with tomcat 5.5.9 with an apache server as dispatcher.  
  
In the specification of the disks I have doubts because the new disks SATA has 
great performance and speed and with cost comparative minor to the SCSI Disks.  
  
Considering applications WEB, where the WAR files are loaded in memory and 
having enough memory (2 Gbytes) so that there is not use of virtual memory 
(windows XP), would there be some advantage to use disks SCSI?  or can we wait 
for the same performance considering disks sata 7200 rpm against disks scsi of 
7200 rpm?  
  
Could anybody explain to myself this doubts?
 
Regards
 

Acacio Furtado Costa
Pesquisa e Tecnologia

GIA - Magnesita S/A
((0xx31) 3368-1349
*  [EMAIL PROTECTED]

 


TomCat Proxied by WebServer´s

2005-03-14 Thread Acácio Furtado Costa
HI List.
 
Does anyone know if is it possible to use two Webserver´s (Proxies, one 
external and other internal) connected to multiples TomCat application Server´s 
(Grouped in Cluster) ? Better , Is it possible to have two connectors in 
operation at same time connected in same group of TomCat server´s?
 
Cause, we´ll need to provide access to external user´s by Webserver (Proxy 1) 
placed in DMZ and  will provide access to internal user´s by Webserver (Proxy2) 
placed inside of our network but the Application nodes (tomCat 5.0.x)  are in 
the same cluster (grouped by).
 
Figure  to  Ilustrate the situation
 
 
  BY++ +-+  
  +--+
+-+  ++ 
  By
Internet  -Firewall  --- Webserver1 ---  
Firewall   Tomcat Nodes in Cluster 1,2,3   --  Webserver2  
 Internal User´s
  ++ +-+
+---+
+-+ ++

 

External User´s DMZ 
  
Internal Network 

 


Other Server´s in the  Internal 
network -Oracle DB, Crystal Reports, WebDav Files


used by J2EE aplication´s  
Aplication Monitor, Email , LDAP

 

 

 

Thanks in advance

 

Acacio Furtado Costa
GIA - Magnesita S/A
*  [EMAIL PROTECTED]

 


ENC: TomCat Proxied by WebServer´s - correction

2005-03-14 Thread Acácio Furtado Costa


HI List.
 
Does anyone know if is it possible to use two Webserver´s (Proxies, one 
external and other internal) connected to multiples TomCat application Server´s 
(Grouped in Cluster) ?

 Better , Is it possible to have two connectors (AJP) in operation at same time 
connected in same group of TomCat server´s? 
 
Cause, we´ll need to provide access to external user´s by Webserver 
(Proxy 1) placed in DMZ and  will provide access to internal user´s by 
Webserver (Proxy2) placed in internal network and the Application nodes (tomCat 
5.0.x)  are in the same cluster (grouped by).
 
Figure  to  Ilustrate the situation
 
 ==  ==      
=   == 
Internet ---Firewall --- Webserver1 --- Firewall --- Tomcat Nodes in 
Cluster 1,2,3 --- Webserver2---Internal
 ==  ==      
=   ==  user´s
External User´s  DMZ   Internal 
Network 
 


Other Server´s in the 
Internal network -  Oracle DB, Crystal Reports, WebDav Files. Email, LDAP, 
Aplication Monitor


Thanks in advance


Acacio Furtado Costa
GIA - Magnesita S/A
*  [EMAIL PROTECTED]

 

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



Tomcat5.0.x - Proxy (pippoProxy)

2005-03-11 Thread Acácio Furtado Costa
Hi list,

 
Does anyone know about Pippo Proxy?. This is a 100% pure Java HTTP proxy 
designed and implemented for TomCat.
 
IF so, Is it using in production environment ?  what a result ? and about a 
security? 
 
 
Thanks
 

Acacio Furtado Costa
Pesquisa e Tecnologia

GIA - Magnesita S/A
((0xx31) 3368-1349
*  [EMAIL PROTECTED]

 


TOMCAT 5.0.28 applications using https in 443 port and other appliction with https and computer certificate in the same server.

2005-03-08 Thread Acácio Furtado Costa
 

We are using TomCat 5.0.28 with about six deployed applications. These 
applications are using JNDI realm with https on port 443. The connector on port 
443 is using a valid digital certificate. We are now designing a new 
application that will use a machine certificate and https access into a two 
level authentication process.

 

 Does anyone know how to do so?

 

Thanks you for any help,

Acacio Furtado Costa
Pesquisa e Tecnologia

GIA - Magnesita S/A
((0xx31) 3368-1349
*  [EMAIL PROTECTED]



wrong time in Java Applications to my location (new Date())

2004-11-17 Thread Acácio Furtado Costa
Hi  everybody

 

We have a Tom Cat application Server 5.0.19 running in a Windows 
2003 with a Sun JDK 1.4.2.

We are having problems with  time of our Applications . The time is 
correct under SO but we have 3 hours of difference in the applications (+3).

 

Our offset time is Brasilia -3:00 in the Windows 2003 and Regional settings is 
Portuguese, Brazil.

 

The method TO GET SYSTEM TIME is new Date()

 

Any suggestion, How we setup server parameters or application (JVM) parameters 
to solve this problem?

 

Thanks a lot in advance

 

Acacio Furtado Costa
Pesquisa e Tecnologia

GIA - Magnesita S/A
*(0xx31) 3368-1349
*  [EMAIL PROTECTED]

 



is it possible to go to https and return to http?

2004-11-03 Thread Acácio Furtado Costa
We need to use https  for authentication and in 1 or to 2 url´s in our application.

 

In other case we prefer to stay in http mode . To do this we need to redirect the 
connection to https and return to http . 

 

How can we do this?

 

 

Acacio Furtado Costa
Pesquisa e Tecnologia

GIA - Magnesita S/A
*(0xx31) 3368-1349
*  [EMAIL PROTECTED]

 



Resticting Access via a Request Filter

2004-10-29 Thread Acácio Furtado Costa
HI all,

 

I have only one TomCat Application Server and I need to offer some 
Applications to the Internet and deny to others. I look for some Valves and found a 
RemoteAddrValve, but looking in the documentation, it is Setup in the SERVER.XML and 
it is valid for all host and all applications.

 

Is it possible to have the same option but only for one application ?

 

Example:

 

APP1 it is offer for all world by Internet - allow to everybody

 

APP2 it is offer only for 192.168.1.2, 192.168.2.3, etc

 

Thanks 

 

Acacio Furtado Costa
Pesquisa e Tecnologia

GIA - Magnesita S/A
*  [EMAIL PROTECTED]

 



User authentication in multi repositories

2004-09-29 Thread Acácio Furtado Costa
We would like to know, if it is possible for an application to authenticate users in 
multiple LDAP Services. For instance, one sub-group of users will authenticate on  our 
corporate domain (Active Directory) and  another sub-group (clients, supliers) in 
other repository (ADAM- Active Directory Application Mode, NDS, etc).

 

Can anyone give us a direction to look at, or point us to some information.

 

Thanks

 

Acacio Furtado Costa
Magnesita S/A

 



Windows XP X Windows 2003 . What are the advantages to use with the same JVM.

2004-05-18 Thread Acácio Furtado Costa
Title: Windows XP  X Windows 2003 . What are the advantages to use with the same JVM.






Hello, 


I´d like to use the Windows Operational System with Tom Cat 5.0.24. 

I intend to use one Pentium III 700 MHz , 2 CPU´s (DP) with 2 Gb RAM and SCSI Disk´s 9x5 Raid 5 by Hardware only for this purpose

I need to download the JVM from Sun Site because neither XP and W2003 contains JVM and the JVM is the same for both.


I have license for windows XP and one doubt.Will I have some advantages to use Windows 2003 Server?? IF Yes, what are they ??

Thanks


Acacio Furtado Costa

[EMAIL PROTECTED]

(31)3368-1349