RE: Problem with apache tomcat while running load test

2009-07-09 Thread Aneesha Pant
We have configured 2 tomcats with 1 Apache on the same box, but during performance testing, we are continuously getting these errors in the mod_jk log Please help [Thu Jul 09 18:50:53 2009] [13862:50960] [info] ajp_send_request::jk_ajp_common.c (1241): (worker2) all endpoints are disconnected [Thu

Re: Best practice to deply a web app

2009-07-09 Thread David Smith
Will Glass-Husain wrote: > I generate site-specific war files. I used to do this with an ant > script but now I use Maven. With ant you can specify system variables > with the -D option (I do -Ddeploy=sitename) and with Maven you can > choose profiles with the -P option. I keep setting files for

Re: Best practice to deply a web app

2009-07-09 Thread carlson weber filho
But in my case, the client would like to update its software and I have about 200 clients with different databases on different locations. If I understood well your solution, I would generate 200 hundred wars , one for each client? PS: I don't deploy the application on internet, only on my custo

Re: Best practice to deply a web app

2009-07-09 Thread Will Glass-Husain
I generate site-specific war files. I used to do this with an ant script but now I use Maven. With ant you can specify system variables with the -D option (I do -Ddeploy=sitename) and with Maven you can choose profiles with the -P option. I keep setting files for each server in source control an

Best practice to deply a web app

2009-07-09 Thread carlson weber filho
I always had a question that no one had answered me in a satisfactory manner. We are a comapny that develop desktop applications, using Delphi, and now we are migrating some products to Tomcat, using Wicket. When I want to update our software on a client, we replace the executable and run some

RE: high cpu usage by thread

2009-07-09 Thread Caldarale, Charles R
> From: news [mailto:n...@ger.gmane.org] On Behalf Of R.P. Aditya > Subject: high cpu usage by thread > > doing a thread dump, I see: > "TP-Processor30" daemon prio=1 tid=0x2aac610b5060 nid=0x27e7 > runnable [0x4a31..0x4a324c10] > at > com.sun.faces.context.MyHttpSe

high cpu usage by thread

2009-07-09 Thread R.P. Aditya
Tomcat 5.5.27 running on JVM 1.5.0_13 (64bit) on Linux 2.6 with 6GB heap -- single JVM per server occasionally we notice high cpu usage by the java process and using the SNMP agent we can find the offending thread by sorting on jvmThreadInstCpuTimeNs in the most recent example, I found: TP-Proce

Re: Question about CVE-2009-0033 DOS vulnerability

2009-07-09 Thread Swapan Gupta
Hi, I have a question about the applicability of the CVE-2009-0033DoS vulnerability in Tomcat 5.5.x. I have come across the description of the vulnerability at multiple places, but at most of the places it is mentioned that this vul

Re: Question about CVE-2009-0033 DOS vulnerability

2009-07-09 Thread Swapan Gupta
> > Hi, > > > > I have a question about the applicability of the > CVE-2009-0033DoS > vulnerability in Tomcat 5.5.x. > > > > I have come across the description of the vulnerability at multiple places, > but at most of the places it is m

Re: Filter RequestWrapper

2009-07-09 Thread Ivo Silva
Hello, guys! Pid, I understand this is a (weird looking) workaround and certainly not the best solution. The idea is to drop the "legacy" application and move on, but for the time being an intermediate solution is required. Anyway, after debugging through Tomcat source I found out why the Request

java.security.NoSuchAlgorithmException: No implementation for AES/CBC/NoPad

2009-07-09 Thread nitingautam
In my web application i am using ldap authentication. I am using tomcat 5.5 with jdk 1.4. From some days when I try to login it throw the following error and rest of the time it works fine. What can be the issue... javax.net.ssl.SSLException: Algorithm missing: at com.sun.net.ssl.inter

RE: Could not load com.mchange.v2.resourcepool.BasicResourcePool$1DestroyResourceTask

2009-07-09 Thread gasdia73
I'm gonna try that right now, thanx for the tip Caldarale, Charles R wrote: > >> From: gasdia73 [mailto:gasdi...@gmail.com] >> Subject: Could not >> loadcom.mchange.v2.resourcepool.BasicResourcePool$1DestroyResourceTask >> >> I periodically receive this exception in tomcat 6.0 with hibernate 3

Re: NotSerializableException MemoryUser?

2009-07-09 Thread Mark Thomas
Ronald Klop wrote: > Yep. I thought the same. The SecurityManager is needed for RMI as far as > I know. So I can't get rid of that one. The session clustering doesn't > mean the session is passivated every time I think, but I will take a > look on that one. It think it is when Tomcat shuts down.

Re: NotSerializableException MemoryUser?

2009-07-09 Thread Ronald Klop
Op donderdag, 9 juli 2009 14:22 schreef Mark Thomas : Ronald Klop wrote: > Op vrijdag, 3 juli 2009 17:48 schreef Mark Thomas :> >> Christopher Schultz wrote: >> > Ronald, >> > > On 7/3/2009 6:34 AM, Ronald Klop wrote: >> >> I'm running Tomcat 6.0.20 in a cluster on 3 nodes. If I restart one I

RE: Filter RequestWrapper

2009-07-09 Thread Martin Gainty
picture the http connection model http://en.wikipedia.org/wiki/HTTP then picture how your scenario would look like maintaining multiple sessions in 1 window http://www.coderanch.com/t/365848/Servlets/java/Multiple-session-objects-multiple-login The biggest problem with any redirect is how to st

Re: NotSerializableException MemoryUser?

2009-07-09 Thread Mark Thomas
Ronald Klop wrote: > Op vrijdag, 3 juli 2009 17:48 schreef Mark Thomas :> >> Christopher Schultz wrote: >> > Ronald, >> > > On 7/3/2009 6:34 AM, Ronald Klop wrote: >> >> I'm running Tomcat 6.0.20 in a cluster on 3 nodes. If I restart one I >> >> get this exception: >> > > >> Caused by: java.io.NotS

Re: [Tomcat not Running Error message]

2009-07-09 Thread André Warnier
Mozart_uno wrote: Can you tell what are the tricks in Unix, as I have a similar problem ..? I believe he referred to inetd's wait/nowait parameter. Read this for example : http://www.gsp.com/cgi-bin/man.cgi?section=5&topic=inetd.conf and particularly the wait/nowait parameter, and even more par

Re: Filter RequestWrapper

2009-07-09 Thread Pid
On 9/7/09 11:32, Ivo Silva wrote: Hi, there! To both browser and Tomcat it's only one session. My filter is what manages the "nested" sessions distribution and that's why an identifier is required. Each iframe should have it's own session since the application stores data on session. If I do no

Re: Filter RequestWrapper

2009-07-09 Thread Ivo Silva
Hi, there! To both browser and Tomcat it's only one session. My filter is what manages the "nested" sessions distribution and that's why an identifier is required. Each iframe should have it's own session since the application stores data on session. If I do not provide different sessions the var

Re: Filter RequestWrapper

2009-07-09 Thread Pid
On 9/7/09 11:04, Ivo Silva wrote: Hi, again! :) Sounds like a conflicting requirement to me. It's a very odd scenario indeed but it was working fine till I bumped into a forward. What version of Tomcat are you using, sorry? I'm using Tomcat 6.0.20. So, to be clear, you want the legacy app

RE: [Tomcat not Running Error message]

2009-07-09 Thread Mozart_uno
Can you tell what are the tricks in Unix, as I have a similar problem ..? Thank you Oscar Peter Crowther wrote: > >> From: jaypee [mailto:jp.mcy...@gmail.com] >> my tomcat server is running on Windows Xp. > > OK. That's a shame - there are some tricks you could pull with inetd on > Unix tha

Re: Filter RequestWrapper

2009-07-09 Thread Ivo Silva
Hello, Pid! The target pages are part of a "legacy" application that is not to be changed but now it must be possible to have several instances on the same page (requiring each application to be contextualized). Each instance is placed on an iframe with a unique URL (/context/dummy_url_1/page1.js

Re: NotSerializableException MemoryUser?

2009-07-09 Thread Ronald Klop
Op vrijdag, 3 juli 2009 17:48 schreef Mark Thomas :> Christopher Schultz wrote: > Ronald, > > On 7/3/2009 6:34 AM, Ronald Klop wrote: >> I'm running Tomcat 6.0.20 in a cluster on 3 nodes. If I restart one I >> get this exception: > > >> Caused by: java.io.NotSerializableException: >> org.apa

Re: Filter RequestWrapper

2009-07-09 Thread Pid
On 8/7/09 19:30, Ivo Silva wrote: Sure, no problemo! :) This is in fact very simple. My web.xml has a normal filter configuration: Test Filter tests.TestFilter Test Filter /* The RequestWrapper

Re: jsp:forward adds params to query-string

2009-07-09 Thread Yves Glodt
Thanks Bill for clarifying 2009/7/8 Bill Barker : > > "Yves Glodt" wrote in message > news:abd6c6120907070628v26c8b1d3jbd7e31708e30d...@mail.gmail.com... >> Hi, >> >> I have a simple jsp-page whose only purpose is to jsp:forward to my >> main controller-servlet, here it is: >> >> <%@ page session