Re: httpd/Tomcat load balancing question

2010-12-23 Thread Rainer Jung
On 23.12.2010 00:08, Pid * wrote: On 22 Dec 2010, at 23:02, Jeffrey Jannerjeffrey.jan...@polydyne.com wrote: Definitely the culprit. Now, I just have to convince the Dev team that they are, once again, a bunch of idiots. Fail. I'm sure it's some framework/tool they are using. The

Problem connecting to tomcat6 service via JConsole on Windows Server 2008

2010-12-23 Thread Adib
Hi, I am having a problem connecting to Tomcat 6 running as a service on Windows Server 2008 R2. Here are the details of my setup. 32 Bit JDK 1.6._23 64 Bit Windows Server 2008 R2 My jakarta service log shows that I am setting the jvm properties to turn on jmx remote access to the JVM

Re: Problem connecting to tomcat6 service via JConsole on Windows Server 2008

2010-12-23 Thread André Warnier
Shortly : If you are local, then you can use the Local process option in jconsole. Otherwise : as far as I remember, the jmx connection really uses 2 ports, not only the one you obviously connect to. And that second port is random, which is what makes it difficult to connect through a firewall

RE: java.lang.ClassCastException: com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader cannot be cast to com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader

2010-12-23 Thread spring
running under W2K3, tomcat 6.0.26 and java 1.6_22 I get after a while: java.lang.ClassCastException: com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader cannot be cast to com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader at: Iterator it =

Re: Problem connecting to tomcat6 service via JConsole on Windows Server 2008

2010-12-23 Thread Adib
The local process option seems to be a hit and miss on various versions of windows, it was not working. Also the local process option only works if jconsole is running the same userid as process you want to connect to, which is not the case in my tomcat setup which is running as a service. I

Re: unable to configure SSL in Tomcat 7.0

2010-12-23 Thread Pid
On 23/12/2010 02:43, Christopher Schultz wrote: Filip, On 12/22/2010 6:03 PM, Filip Hanik - Dev Lists wrote: I'd definitely consider it a bug if tomcat continues startup in HTTP mode instead, when the file is not found. I seem to remember a recent bugfix that won't allow a connector to

Re: httpd/Tomcat load balancing question

2010-12-23 Thread Pid
On 23/12/2010 07:49, André Warnier wrote: Pid * wrote: On 22 Dec 2010, at 23:38, André Warnier a...@ice-sa.com wrote: Pid * wrote: On 22 Dec 2010, at 23:02, Jeffrey Janner jeffrey.jan...@polydyne.com wrote: Definitely the culprit. Now, I just have to convince the Dev team that they are,

Re: java.lang.ClassCastException: com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader cannot be cast to com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader

2010-12-23 Thread Pid
On 23/12/2010 09:39, spr...@gmx.eu wrote: running under W2K3, tomcat 6.0.26 and java 1.6_22 I get after a while: java.lang.ClassCastException: com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader cannot be cast to com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader at: Iterator it

Re: Problem connecting to tomcat6 service via JConsole on Windows Server 2008

2010-12-23 Thread Pid
On 23/12/2010 09:20, André Warnier wrote: Shortly : If you are local, then you can use the Local process option in jconsole. But usually not if you're using the service wrapper, which masks* the JVM process from the Attach API used in Java 6 to provide the local processes. * for want of a

RETomcat Load Balancing

2010-12-23 Thread Singh, Harsimranjit (NSN - IN/Bangalore)
Hi I am able to test load balancing and clustering with multiple tomcat instances using rule.xml.but when tomcat balancer redirect requests to tomcat cluster instance ist displays port of tomcat cluster.So am not able redirection display clearly details of new tomcate How I can resolve it!

Re: httpd/Tomcat load balancing question

2010-12-23 Thread Konstantin Kolinko
2010/12/23 Pid p...@pidster.com: On 23/12/2010 07:49, André Warnier wrote: Pid * wrote: On 22 Dec 2010, at 23:38, André Warnier a...@ice-sa.com wrote: Pid * wrote: On 22 Dec 2010, at 23:02, Jeffrey Janner jeffrey.jan...@polydyne.com wrote: Definitely the culprit.  Now, I just have to

Re: Problem connecting to tomcat6 service via JConsole on Windows Server 2008

2010-12-23 Thread Pid
On 23/12/2010 10:01, Adib wrote: The local process option seems to be a hit and miss on various versions of windows, it was not working. Also the local process option only works if jconsole is running the same userid as process you want to connect to, which is not the case in my tomcat setup

RE: java.lang.ClassCastException: com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader cannot be cast to com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader

2010-12-23 Thread spring
java.lang.ClassCastException: com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader cannot be cast to com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader at: Iterator it = ImageIO.getImageReadersByFormatName(TIF); r = (TIFFImageReader)it.next(); //==BANG I solved that

Re: httpd/Tomcat load balancing question

2010-12-23 Thread André Warnier
I'll top post and reply to an earlier message at the same time, although I'm sure that this is frowned upon in both cases. Considering the sum of the answers so far : 1) According to Pid*, yes, the c:url .. encapsulation is the reason for the added ;jession-id suffix, which interferes when

httponly cookies

2010-12-23 Thread Venky Vasant
  My client application failing to read cookies set as httponly by .net server.   what lines do i need add to read them and send it to the server.     Regards Venky

Re: exception fixing docbase [/axis2]

2010-12-23 Thread Nuria Sánchez Almodóvar
Thank you for the response, we have activated the write permissions for this user and now it works. BR, El 22/12/2010 23:50, Pid * escribió: On 22 Dec 2010, at 10:39, Nuria Sánchez Almodóvarn...@gatv.ssr.upm.es wrote: Good morning, We are trying to run axis2/Apache on Windows 7. If we

RE: httpd/Tomcat load balancing question

2010-12-23 Thread Jeffrey Janner
-Original Message- From: Konstantin Kolinko [mailto:knst.koli...@gmail.com] Sent: Thursday, December 23, 2010 5:07 AM To: Tomcat Users List Subject: Re: httpd/Tomcat load balancing question 2010/12/23 Pid p...@pidster.com: On 23/12/2010 07:49, André Warnier wrote: Pid *

Re: httponly cookies

2010-12-23 Thread Konstantin Kolinko
2010/12/23 Venky Vasant venkat...@yahoo.com: My client application failing to read cookies set as httponly by .net server. what lines do i need add to read them and send it to the server. 1. Do you know what Httponly means? (The basics) 2. What your application is? (What technology) 3. You

Re: httponly cookies

2010-12-23 Thread Venky Vasant
Imagin my client application as browser , i am trying to read through a cookies for another web app which is hosted on .NET, which was all working fine and now cookies have httponly attribute which is actually new to me at this time but from what i went through over the net, these are more

Session replication question

2010-12-23 Thread Jorge Santiago Cruz Lambert
Hi! I'm not an expert on Tomcat and we purchase a load balancer service with two tomcat 6.0.29 instances in separate Ubuntu servers with JVM version 1.6.0_22-b04. This instances have been configured to replicate the session as follow: Cluster className=org.apache.catalina.ha.tcp.SimpleTcpCluster

RE: httpd/Tomcat load balancing question

2010-12-23 Thread Jeffrey Janner
I think I'm going to have to eventually go the mod-rewrite route. The team doesn't want to remove the c:url tag on all the pages, just the login page. If they don't remove them from all, then someone who is really running in cookie-off mode will have problems on all the rest of the pages.

Re: Session replication question

2010-12-23 Thread Filip Hanik - Dev Lists
make sure your clocks are synced across all machines, since session expiration is time based Filip On 12/23/2010 8:22 AM, Jorge Santiago Cruz Lambert wrote: Hi! I'm not an expert on Tomcat and we purchase a load balancer service with two tomcat 6.0.29 instances in separate Ubuntu servers

Re: httponly cookies

2010-12-23 Thread Konstantin Kolinko
2010/12/23 Venky Vasant venkat...@yahoo.com: Imagin my client application as browser , i am trying to read through a cookies for another web app which is hosted on .NET, which was all working fine and now cookies have httponly attribute which is actually new to me at this time 1. You

Re: Session replication question

2010-12-23 Thread Jorge Santiago Cruz Lambert
Thanks for replying, I'm cheking the time in our machines and they are the same, but in different time zones: Machine 1: Thu Dec 23 17:18:40 CET 2010 Machine 2: Thu Dec 23 16:18:40 UTC 2010 Do I need to change the timezone in Machine 2? I think the time is the same and ntp is running as process.

Re: Session replication question

2010-12-23 Thread Jorge Santiago Cruz Lambert
Thanks for replying, I'm cheking the time in our machines and they are the same, but in different time zones: Machine 1: Thu Dec 23 17:18:40 CET 2010 Machine 2: Thu Dec 23 16:18:40 UTC 2010 Do I need to change the timezone in Machine 2? I think the time is the same and ntp is running as

RE: RETomcat Load Balancing

2010-12-23 Thread Caldarale, Charles R
From: Singh, Harsimranjit (NSN - IN/Bangalore) [mailto:harsimranjit.si...@nsn.com] Subject: RETomcat Load Balancing How I can resolve it! Start by not hijacking other people's threads. If you have a new topic, start a new thread - do not just reply to a random one from the list. You

Re: httponly cookies

2010-12-23 Thread Pid
On 23/12/2010 14:06, Venky Vasant wrote: My client application failing to read cookies set as httponly by .net server. what lines do i need add to read them and send it to the server.` Please start a new email, rather than adding to or editing a reply to an existing email thread - which

tomcat errors starting after upgrade from cent5.3 to 5.5 (/rebuild-jar-repository: error: Could not find)

2010-12-23 Thread Frank Even
We just upgraded Cent from 5.3 to 5.5 on a bunch of servers with little to no issues (kudos to you guys) except on a few servers where it appears we are having a problem w/ the Tomcat upgrade.  Previously our application server was working fine under 5.3 with Tomcat/Java installed as such:

Re: Problem connecting to tomcat6 service via JConsole on Windows Server 2008

2010-12-23 Thread Adib
Pid thanks or your comments below. Any idea why it was working just fine on a windows Vista machine but not on Windows 2008 R2. One of the main differences between the two machines is that the windows server has multiple IP addresses on the same network card, could that be causing the agent to

RE: httpd/Tomcat load balancing question

2010-12-23 Thread Caldarale, Charles R
From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Subject: RE: httpd/Tomcat load balancing question servlet-mapping servlet-namedefault/servlet-name url-pattern/static/*/url-pattern /servlet-mapping This is supposed to send anything that comes in as

RE: tomcat errors starting after upgrade from cent5.3 to 5.5 (/rebuild-jar-repository: error: Could not find)

2010-12-23 Thread Caldarale, Charles R
From: list...@elitists.org [mailto:list...@elitists.org] On Behalf Of Frank Even Subject: tomcat errors starting after upgrade from cent5.3 to 5.5 (/rebuild-jar-repository: error: Could not find) Now that we've run the full update, we have this installed:

RE: httpd/Tomcat load balancing question

2010-12-23 Thread Jeffrey Janner
Chuck - Thanks for the info. I'll pass it on to my Dev team to see if they can come up with a better way of doing this. I'm pretty sure they were just following the Spring documentation. You've given me more ammunition to use for branding them with the Scarlet I. Jeff BTW: The bug entry

Re: How to put restrictions to mod_jk's log

2010-12-23 Thread Yu Kikuchi
Mr.Schultz, I'm using JkMount in some Virtual Hosts as below. [httpd.conf] Listen 8108 VirtualHost XXX.XXX.19.40:8108 : JkMount /xxx_api/* worker1 : /VirtualHost When I tried to set JkUnmount * worker1, such message printed out and Apache was failed to start. Syntax error on line 425 of