Re: httpd/Tomcat load balancing question

2010-12-22 Thread André Warnier
Pid * wrote: On 22 Dec 2010, at 23:38, André Warnier wrote: Pid * wrote: On 22 Dec 2010, at 23:02, Jeffrey Janner wrote: Definitely the culprit. Now, I just have to convince the Dev team that they are, once again, a bunch of idiots. Fail. Pid, why /do/ the "static objects" links embedde

Re: unable to configure SSL in Tomcat 7.0

2010-12-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 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 partial

Re: httpd/Tomcat load balancing question

2010-12-22 Thread Pid *
On 22 Dec 2010, at 23:38, André Warnier wrote: > Pid * wrote: >> On 22 Dec 2010, at 23:02, Jeffrey Janner wrote: >>> Definitely the culprit. Now, I just have to convince the Dev team that >>> they are, once again, a bunch of idiots. >> Fail. > Pid, > why /do/ the "static objects" links embedde

Re: httpd/Tomcat load balancing question

2010-12-22 Thread André Warnier
Pid * wrote: On 22 Dec 2010, at 23:02, Jeffrey Janner wrote: Definitely the culprit. Now, I just have to convince the Dev team that they are, once again, a bunch of idiots. Fail. Pid, why /do/ the "static objects" links embedded in the login page get back to the browser with a jsessioni

Re: httpd/Tomcat load balancing question

2010-12-22 Thread Pid *
On 22 Dec 2010, at 23:02, Jeffrey Janner 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 question now is, if I > can't get them to not use it in this case

Re: unable to configure SSL in Tomcat 7.0

2010-12-22 Thread Filip Hanik - Dev Lists
I'd definitely consider it a bug if tomcat continues startup in HTTP mode instead, when the file is not found. Filip On 12/22/2010 3:35 PM, Pid * wrote: On 22 Dec 2010, at 18:07, Ajay TS wrote: I am new to Tomcat and am trying to install Apache Tomcat 7.0.5 on Windows 7 with java version "1.

Re: unable to configure SSL in Tomcat 7.0

2010-12-22 Thread Pid *
Please just reply to the list. On 22 Dec 2010, at 22:49, "ajayts1...@gmail.com" wrote: > thats the thing. the keystore file is there. I tried the real path as well. > Regardless of what path I put, the error messages shows it is lookin at a > different path. Does the user you're running Tomca

RE: httpd/Tomcat load balancing question

2010-12-22 Thread Jeffrey Janner
Definitely the culprit. Now, I just have to convince the Dev team that they are, once again, a bunch of idiots. I'm sure it's some framework/tool they are using. The question now is, if I can't get them to not use it in this case, is there some way to modify httpd to strip the ;jsessionid stu

RE: httpd/Tomcat load balancing question

2010-12-22 Thread Jeffrey Janner
In the specific case I mention below, this is the source from the jsp: " /> I'm not a jsp programmer, but I'm betting it has something to do with the encapsulation. Jeff > -Original Message- > From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] > Sent: Wednesday, December

Re: exception fixing docbase [/axis2]

2010-12-22 Thread Pid *
On 22 Dec 2010, at 10:39, "Nuria Sánchez Almodóvar" wrote: > Good morning, > > We are trying to run axis2/Apache on Windows 7. If we try to launch Tomcat > as Administrator it works fine and the service we have developed is shown as > part of the available services for axis2. Apache version?

Re: httpd/Tomcat load balancing question

2010-12-22 Thread André Warnier
Addendum. You could also write the links as (without leading "/"). That would keep them relative to the current app, and cause less work if you ever want to call the application other than "Portal". You could also put the static elements in your app under Tomcat. Unless there are lots of the

RE: httpd/Tomcat load balancing question

2010-12-22 Thread Jeffrey Janner
Thanks, that was what I was thinking. Since the only JSP I have access to is the welcome-file, I'm not sure I can verify. Q: I would think the getContextPath would be desirable, in case we change the war-file name, etc., but I wouldn't think that would cause the jsessionID string to get appende

Re: unable to configure SSL in Tomcat 7.0

2010-12-22 Thread Pid *
On 22 Dec 2010, at 18:07, Ajay TS wrote: I am new to Tomcat and am trying to install Apache Tomcat 7.0.5 on Windows 7 with java version "1.6.0_21". I am able to install it fine but unable to configure SSL. I am configuring it on port 8443 based on documentation provided. After configuration and r

Re: tomcat 7.0.4 on MAC my app works on Windows get...

2010-12-22 Thread Joe Greenawalt
right, its definitely going in my pom, i just did that to get it to work, when i get back from vacation, im going to try and figure out the problem. thanks On Wed, Dec 22, 2010 at 3:55 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA

Re: tomcat 7.0.4 on MAC my app works on Windows get...

2010-12-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Joe, On 12/22/2010 1:57 PM, Joe Greenawalt wrote: > "interestingly its not" - not located in either place (mac/windows tomcat) > as a velocity-[version].jar > > I downloaded Velocity+V-Tools and added them to TOMCAT_HOME/lib folder and > now it works

Re: httpd/Tomcat load balancing question

2010-12-22 Thread André Warnier
Hi. Not knowing anything about JSP per se, I would nevertheless guess that the links are written using something like or similarly, instead of just plain html . That probably leads the JSP compiler to think it has to "relativise" the links to the app context and so on, while in this case it s

Re: IS that a good idea moving all the common libs?

2010-12-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sylvain, On 12/22/2010 12:54 PM, Sylvain Laurent wrote: > > On 22 déc. 2010, at 12:49, Mark Thomas wrote: >> >> It is do-able if you are prepared to accept the associated constraints: >> - all web apps must use the exact same version of every shared

httpd/Tomcat load balancing question

2010-12-22 Thread Jeffrey Janner
Httpd 2.2.17 Tomcat 6.0.29 Sun JDK 1.6.0_22 Spring Framework (3.0.2 I think) All on Windows The Dev team is creating a new app that we are planning to deploy using httpd as a load-balancer to two Tomcats on separate servers. Httpd is configured to serve static files - graphics, css, etc. - with

Re: tomcat 7.0.4 on MAC my app works on Windows get...

2010-12-22 Thread Joe Greenawalt
"interestingly its not" - not located in either place (mac/windows tomcat) as a velocity-[version].jar I downloaded Velocity+V-Tools and added them to TOMCAT_HOME/lib folder and now it works. Its not on my mac anywhere, that i can find in a self contained jar file. Plus we don't have the dependen

Re: IS that a good idea moving all the common libs?

2010-12-22 Thread Sylvain Laurent
On 22 déc. 2010, at 12:49, Mark Thomas wrote: > > It is do-able if you are prepared to accept the associated constraints: > - all web apps must use the exact same version of every shared library > - updating the shared libraries requires a Tomcat restart > - all of the shared web apps must be "we

Re: Tomcat Hangs with variable frequency

2010-12-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Konstantin, On 12/22/2010 11:56 AM, Konstantin Kolinko wrote: > If closing the result set requires reading it in full (as JTDS does), > it can take significant time. Especially if the queries are something like SELECT * FROM huge_table > You should

Re: Tomcat 6.0.18 related NIO questions.

2010-12-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Shri, On 12/22/2010 11:31 AM, shrikant patel wrote: > We are using tomcat connector as follows --> > http://enigmail.mozdev.org/ iEYEARECAAYFAk0SM60ACgkQ9CaO5/Lv0PBd+ACgo3giUiGcsdWOaosK9GpAWvcF yi0Ani6zwt8X9i2Gn3We5OHxlqlvalaJ =kaMC -END PGP SIGN

Re: How to put restrictions to mod_jk's log

2010-12-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kikuchi, On 12/21/2010 11:42 PM, Yu Kikuchi wrote: > I also think it's not good idea to make JkLogLevel ERROR. > I'll consider to use rotatelogs. You might miss important information if setting to ERROR. Good luck. > BTW, I think it's reasonable for

Re: Tomcat Hangs with variable frequency

2010-12-22 Thread Konstantin Kolinko
If closing the result set requires reading it in full (as JTDS does), it can take significant time. You should take thread dumps to see what the threads are doing and what they are waiting for. (Three thread dumps taken several seconds apart). Post them inline, or somewhere else (like pastebin si

Re: Tomcat 6.0.18 related NIO questions.

2010-12-22 Thread Filip Hanik - Dev Lists
hi shrikant, there are many benefits of NIO in a tomcat 6, the main being there is no longer a thread-per-connection limit. Note in Tomcat 7, even with the blocking connector, you can have more connections than threads. The NIO connector will read your request headers in a non blocking fashion,

Re: Tomcat 6.0.18 related NIO questions.

2010-12-22 Thread Mark Thomas
On 22/12/2010 16:31, shrikant patel wrote: > We are using tomcat connector as follows --> > > Based on the documentation we are using the blocking call, right? It depends. Probably the BIO connector but it could also bee the APR connector. The logs will tell you which. > I have basic understand

Tomcat 6.0.18 related NIO questions.

2010-12-22 Thread shrikant patel
We are using tomcat connector as follows -->

RE: IOException: Invalid chunk header

2010-12-22 Thread Aggarwal, Ajay
Tomcat version is: 6.0.20 Platform: CentOS 5.5 Java: Java(TM) SE Runtime Environment (build 1.6.0_11-b03) It happens in the middle. But its not always the same point where it happens. -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Hi. 1) Please provide Tomcat version,

Re: IOException: Invalid chunk header

2010-12-22 Thread André Warnier
Hi. 1) Please provide Tomcat version, Java version, platform OS. 2) The exception message seems pretty clear : Tomcat does not like the looks of one of the "chunk headers" of what it receives. A protocol analyser may be the only way to see what is really being sent/received here, although with

IOException: Invalid chunk header

2010-12-22 Thread Aggarwal, Ajay
I am using standard HTTP 1.1 connector. This is what I see from tomcat output Ø INFO [main] 2010-12-22 07:43:03,071 org.apache.coyote.http11.Http11Protocol - Initializing Coyote HTTP/1.1 on http-9080 And here is the connector configuration element from server.xml I have a

Re: Tomcat Hangs with variable frequency

2010-12-22 Thread Rhonny David
I won't support your reasoning, because the same JTDS driver version we are using for our other site and there the number of concurrent users of the application is more than 800 and therefore the volume of concurrent requests is very high, but we never faced the issue of this nature. Secondly, w

Re: Tomcat stops responding

2010-12-22 Thread André Warnier
Hi. K J.Sreekumar wrote: Hello Andre TCP0.0.0.0:8080 0.0.0.0:0 LISTENING 5356 [tomcat6.exe] Apart from the above and the other ports in LISTEN state, when "tomcat freezes", do you have any other ports in the netstat listing, shown as "CLOSE_WAIT" for example ?

Re: Tomcat Hangs with variable frequency

2010-12-22 Thread Konstantin Kolinko
> net.sourceforge.jtds.jdbc.JtdsResultSet.close ( JtdsResultSet.java:486 ) I think it is an issue with implementation of JtdsResultSet.close(), [1] 0485:if (!getConnection().isClosed()) { 0486:// Skip to end of result set 0487:

Re: Tomcat stops responding

2010-12-22 Thread K J.Sreekumar
Hello Andre >>> TCP0.0.0.0:8080 0.0.0.0:0 LISTENING >>> 5356 >>> >>> [tomcat6.exe] >>> >>> >> Apart from the above and the other ports in LISTEN state, when "tomcat >> freezes", do you have any other ports in the netstat listing, shown as >> "CLOSE_WAIT" for example ?

Re: Tomcat stops responding

2010-12-22 Thread K J.Sreekumar
Hello All, Thank you for the suggestions. We noted that we have these errors in the logs - SEVERE: The web application [/rel] registered the JBDC driver [oracle.jdbc.OracleDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been f

Re: Different context path of deployed application

2010-12-22 Thread Petr Prochazka
Cool, I created context config file attendance.xml and after application was deployed to right context path Thanks very much Petr P. On 17.12.2010 17:13, Caldarale, Charles R wrote: >> From: Petr Prochazka [mailto:pprocha...@gk-software.com] >> Subject: Different context path of deployed appli

Re: Tomcat Hangs with variable frequency

2010-12-22 Thread Rhonny David
I think i have already provided these except tomcat. Anyways we are using Tomcat 6.0.29, which is pointed to jre 1.5.0_10. And the OS is Microsoft Windows Server 2003, R2 , Standard Edition, Service Pack2. Regards, David From: Mark Thomas To: Tomcat Users

Re: Where does my stderr go?

2010-12-22 Thread Thomas Kloeber
Konstantin Kolinko wrote on 22.12.2010 12:44: 2010/12/22 Thomas Kloeber: Some additional info, which I just saw and which looks strange to me: the stdout_XXX.log doesn't change it's date. That is to say that I have stdout_20101221.log which also contains log entries from today, 12-22. I was unde

Re: Tomcat Hangs with variable frequency

2010-12-22 Thread Mark Thomas
On 22/12/2010 11:48, Rhonny David wrote: > Hi ALL, > > > > We are using tomcat 6.0 in production environment Exactly which version? Also exact versions for JDK and OS please. Mark - To unsubscribe, e-mail: users-unsubscr...@t

Re: IS that a good idea moving all the common libs?

2010-12-22 Thread Mark Thomas
On 21/12/2010 23:49, George Sexton wrote: >> -Original Message- >> From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] >> Sent: Monday, December 20, 2010 1:08 PM >> To: Tomcat Users List >> Subject: Re: IS that a good idea moving all the common libs? >> >> On Dec 20, 2010, at 12:

Tomcat Hangs with variable frequency

2010-12-22 Thread Rhonny David
Hi ALL, We are using tomcat 6.0 in production environment and facing a critical problem that tomcat hangs with variable frequency in a week. We have tried to figure out the problem but couldn't reach the root cause. To investigate the cause we used the lambda probe tool. Lamba probe shows mu

Re: Where does my stderr go?

2010-12-22 Thread Konstantin Kolinko
2010/12/22 Thomas Kloeber : > Some additional info, which I just saw and which looks strange to me: the > stdout_XXX.log doesn't change it's date. > That is to say that I have stdout_20101221.log which also contains log > entries from today, 12-22. I was under the impression that Tomcat > automatic

Re: Where does my stderr go?

2010-12-22 Thread Thomas Kloeber
Some additional info, which I just saw and which looks strange to me: the stdout_XXX.log doesn't change it's date. That is to say that I have stdout_20101221.log which also contains log entries from today, 12-22. I was under the impression that Tomcat automatically closes the file at midnight an

Re: Getting detailed list of active sessions for a Context

2010-12-22 Thread Jean-Noël Colin
Many thanks Konstantin. I'll look into the Valve idea Cheers Jean-Noël On 22 Dec 2010, at 12:23, Konstantin Kolinko wrote: > 2010/12/22 Jean-Noël Colin : >> >> I also tried casting the HttpSession retrieved in the HttpSessionListener, >> without success. > > That would be StandardSessionFaca

Re: Getting detailed list of active sessions for a Context

2010-12-22 Thread Konstantin Kolinko
2010/12/22 Jean-Noël Colin : > > I also tried casting the HttpSession retrieved in the HttpSessionListener, > without success. That would be StandardSessionFacade, not a StandardSession. > Would you have any further suggestion? The manager webapp (aka HTMLManagerServlet) uses JMX. You may try u

exception fixing docbase [/axis2]

2010-12-22 Thread Nuria Sánchez Almodóvar
Good morning, We are trying to run axis2/Apache on Windows 7. If we try to launch Tomcat as Administrator it works fine and the service we have developed is shown as part of the available services for axis2. However, if we try the same but with a different user (also with administrator priv

Re: Getting detailed list of active sessions for a Context

2010-12-22 Thread Jean-Noël Colin
Hi Thanks for the feedback; actually, jsp or servlet is not really the point, since I'm using icefaces anyway. So it seems that I can't get access to the list of sessions connected to my webapp, except the limited information provided by HttpSession? Cheers Jean-Noël On 22 Dec 2010, at 10:19

Re: Getting detailed list of active sessions for a Context

2010-12-22 Thread Pid *
On 22 Dec 2010, at 08:49, "Jean-Noël Colin" wrote: > Hi, > > I'm developing a webapp and I would like to be able to display the list of > active sessions for that specific webapp, in a specific page, and I'd like to > get a detailed view: Session Id, Creation time, last activity, IP address, >

Getting detailed list of active sessions for a Context

2010-12-22 Thread Jean-Noël Colin
Hi, I'm developing a webapp and I would like to be able to display the list of active sessions for that specific webapp, in a specific page, and I'd like to get a detailed view: Session Id, Creation time, last activity, IP address, username (in case he's authenticated) I searched forums and th