Re: acceptCount in Tomcat 5.x and 6.x?

2009-04-02 Thread Jim Goodspeed
Can you tell me where in Apache I would configure the number of AJP connections? I'm using Apache 2.2.10 to load balance tomcat using mod_proxy. On Thu, Apr 2, 2009 at 11:27 AM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim

proxy: AJP: failed to make connection to backend

2009-01-27 Thread Jim Goodspeed
I am seeing the following error in my HTTP Apache error_log. I think this is OK (I assume the timeout has expired and that it will create a new connection when it is needed), but I wanted a second opinion. We are having a problem with some dropped connections and I think it is either network or

Re: PostgreSQL vs MySQL with Tomcat

2009-01-23 Thread Jim Cox
On Fri, Jan 23, 2009 at 6:23 AM, Leon Rosenberg rosenberg.l...@googlemail.com wrote: On Fri, Jan 23, 2009 at 11:45 AM, Chris Wareham cware...@visitlondon.com wrote: By it's very definition (see Codd or Date), an RDBMS should be capable of performing joins with good performance. MySQL

Re: PostgreSQL vs MySQL with Tomcat

2009-01-22 Thread Jim Cox
When creating tables with referential integrity in MySQL you still get gems like, e.g.: mysql create table jimtest ( colA varchar(32) NOT NULL, CONSTRAINT fk1 FOREIGN KEY(colA) REFERENCES jimtest2(colA) ON DELETE CASCADE ); ERROR 1005 (HY000): Can't create table './test/jimtest.frm' (errno:

Re: PostgreSQL vs MySQL with Tomcat

2009-01-16 Thread Jim Cox
As far as schemas in Postgres go, a normal way to handle them is to create schema-specific users with an appropriately-set default schema, e.g. something like: CREATE SCHEMA company_a ; CREATE USER company_a_user PASSWORD 'foo' ; ALTER USER company_a_user SET search_path TO company_a, public

WARNING: Error sending end packet - ajp

2009-01-08 Thread Jim Goodspeed
Hi, I am getting the following WARNING message in my catalina.out file. I am currently running Apache 2.2.10, Tomcat 6.0.16 and Sun's JDK 1.6.0_07. I can't tell if this is causing a problem or not. Thanks in advance for the help. Jan 8, 2009 1:40:10 PM org.apache.jk.core.MsgContext action

Re: WARNING: processCallbacks status 2

2009-01-06 Thread Jim Goodspeed
Thanks for the quick response - I'm glad it's nothing to worry about. On Mon, Jan 5, 2009 at 9:41 PM, Bill Barker wbar...@wilshire.com wrote: Jim Goodspeed goodspeeds...@gmail.com wrote in message news:84347690901051317o3824afa1t7de752b2026a1...@mail.gmail.com... I am seeing the following

WARNING: processCallbacks status 2

2009-01-05 Thread Jim Goodspeed
I am seeing the following Warning in my catalina.out log file - it is being spit out every couple of seconds. It's not causing a problem that I can see, but I'm curious as to why it is happening. Jan 5, 2009 3:27:09 PM org.apache.jk.common.ChannelSocket processConnection WARNING:

Re: How to prevent Tomcat redirect my request

2008-11-21 Thread jim ma
On Fri, Nov 21, 2008 at 10:53 AM, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: jim ma [mailto:[EMAIL PROTECTED] Subject: Re: How to prevent Tomcat redirect my request If I get 302 response and write some code to resend quest to the redirected location The point everyone's

Re: How to prevent Tomcat redirect my request

2008-11-21 Thread jim ma
Tell your clients to generate URLs like: http://host/your_servlet?url=url_to_fetch In other words you should implemet proxy that will handle redirects itself. Finally, your clients will not see any 302 redirects. I like this idea. It is greatly helpful , I think it works for my problem.

How to prevent Tomcat redirect my request

2008-11-20 Thread jim ma
://localhost:8080/foo/; to get what I want . I see web browser can automcatically resend the request to redirected location but httpclient can not. Is there configurations for that ? Could anyone shed some lights ? Thanks Jim

Re: How to prevent Tomcat redirect my request

2008-11-20 Thread jim ma
Great thanks , Kees. I will try httpunit . I still want to know if it is possible to stop Tomcat from redirecting. If yes, that will be zero code effort for our current implementation. Thanks Jim On Thu, Nov 20, 2008 at 5:51 PM, Kees Jan Koster [EMAIL PROTECTED] wrote: Dear Jim, I

Re: How to prevent Tomcat redirect my request

2008-11-20 Thread jim ma
On Thu, Nov 20, 2008 at 6:19 PM, Mikolaj Rydzewski [EMAIL PROTECTED] wrote: jim ma wrote: I still want to know if it is possible to stop Tomcat from redirecting. If yes, that will be zero code effort for our current implementation. Why is it a problem for you to use http://localhost:8080

Re: How to prevent Tomcat redirect my request

2008-11-20 Thread jim ma
On Thu, Nov 20, 2008 at 6:48 PM, André Warnier [EMAIL PROTECTED] wrote: Mikolaj Rydzewski wrote: jim ma wrote: I still want to know if it is possible to stop Tomcat from redirecting. If yes, that will be zero code effort for our current implementation. Why is it a problem for you

Re: How to prevent Tomcat redirect my request

2008-11-20 Thread jim ma
On Thu, Nov 20, 2008 at 6:48 PM, André Warnier [EMAIL PROTECTED] wrote: Mikolaj Rydzewski wrote: jim ma wrote: I still want to know if it is possible to stop Tomcat from redirecting. If yes, that will be zero code effort for our current implementation. Why is it a problem for you

Re: returning error messages from tomcat to http clients?

2008-11-20 Thread jim ma
The simple way is returning the http OK 200 status code instead of 500 , and set the error message to response body. Does it work for you ? On Thu, Nov 20, 2008 at 9:20 PM, Padraig O'Dowd [EMAIL PROTECTED] wrote: Hi, I'm encountering the following problem and just wanted to find out if

Re: How to prevent Tomcat redirect my request

2008-11-20 Thread jim ma
On Thu, Nov 20, 2008 at 10:24 PM, André Warnier [EMAIL PROTECTED] wrote: jim ma wrote: On Thu, Nov 20, 2008 at 6:48 PM, André Warnier [EMAIL PROTECTED] wrote: Mikolaj Rydzewski wrote: jim ma wrote: I still want to know if it is possible to stop Tomcat from redirecting. If yes

Re: Browser Limited web application

2008-09-17 Thread Jim Cox
On Wed, Sep 17, 2008 at 6:58 AM, karthikn [EMAIL PROTECTED]wrote: Question 1 : How to implement a Filter in the application for Browsers limitation The web application should be visible only in IE-6 or Fire Fox 2.0 ? You can write deploy a Filter that examines

Re: Using tabbed browsers causes session sharing

2008-08-18 Thread Jim Cox
FWIW, you can create distinct profiles with mozilla/firefox: firefox -ProfileManager And then start distinct processes with: firefox -P profile name On Mon, Aug 18, 2008 at 8:19 AM, David Smith [EMAIL PROTECTED] wrote: In my experience, Internet Explorer starts a new process (and has a

Re: Application failed to start - debug suggestions wanted

2008-08-12 Thread Jim Cox
On Tue, Aug 12, 2008 at 8:09 PM, [EMAIL PROTECTED] [EMAIL PROTECTED]wrote: Can you suggest ways to troubleshoot the problem I am having? I can neither get my war file, nor an exploded dir tree to start (tomcat 5.5) In the [catalina] log file I see these errors, which I believed related to

receiving 404 page not found from godaddy.com

2008-07-29 Thread jim stone
I have a small jsp application which I packaged as a war file and deployed to my godaddy user account. The war exploded as expected. In my webapp, under the newly exploded context root, I am able to hit the html files, however, the jsp's are giving me a 404 not found. I have tested this locally

Re: jsp compile question

2008-07-29 Thread Jim Cox
On Tue, Jul 29, 2008 at 5:05 PM, Jq [EMAIL PROTECTED] wrote: How can I simulate the way tomcat builds a jsp file? I need to debug a .jsp that fails to build when requested. Thanks. If you mean debugging why JSP compilation fails, you can look at the generated servlet code (the .java file)

Re: compile failed: Tomcat-6.0.16 with jdk-1.6.0_06 - bcp/BasicDataSource.java:44 error

2008-07-28 Thread Jim Cox
Alas, poor Yorick! No. (sorry, couldn't resist). On Mon, Jul 28, 2008 at 7:56 PM, Poor Yorick [EMAIL PROTECTED] wrote: compiling tomcat-6.0.16 on LInux kernel 2.4.21-50.ELhugemem with jdk-1.6.0_06, I run into the following error: build-tomcat-dbcp: [copy] Copying 63 files to

Can I pass values to application configuration file on command line

2008-07-23 Thread Jim Cant
with something like $TOMCAT_HOME/bin/startup ... -DAPP_PATH=/my/app/lives/here ... and have the value for the variable replace the placeholder in the config file. Thanks a lot, Jim Cant - To start a new topic, e

Re: Tomcat 6 Secure Connection to Database

2008-07-14 Thread Jim Cox
On Mon, Jul 14, 2008 at 5:27 PM, jcarey03 [EMAIL PROTECTED] wrote: I am working with Tomcat 6 for a Java web application, and I was wondering if Tomcat provides the capability to connect to a database, let's say Sybase's ASE, using SSL. Is there any documentation describing how to do this?

Re: Excess whitespace generated

2008-07-10 Thread Jim Cox
On Thu, Jul 10, 2008 at 12:51 PM, Jonathan Mast [EMAIL PROTECTED] wrote: I'm writing a jsp to return out a simple xml document and it is being preceded by quite a few line breaks, causing my test parser to fail. The page simply calls out.println(xmlstring); Is there another way to control

Re: logging

2008-07-08 Thread Jim Cox
Googling for Tomcat syslog logging seems to return some useful links, e.g.: http://kbase.redhat.com/faq/FAQ_68_8798.shtm On Tue, Jul 8, 2008 at 9:29 AM, Lynn Hollerman [EMAIL PROTECTED] wrote: I have been asked to see about redirecting the output logs from the various tomcat instances(all

Re: jsp:include versus % include %

2008-06-05 Thread Jim Cox
That's not really what I see here. I think of %@ include=file% directives as akin to a C compiler's #include, or a shell's source, directive in that the content of the file is interpreted as if it were directly typed into the containing file. On the old-ish version of Tomcat that I have, changes

Re: Requests being processed at a certain moment

2008-06-04 Thread Jim Cox
-Processor10 21437 userD 0s 2008-06-04 12:35:06,151 '/jsp/portal/sub_tx.jsp' On Wed, Jun 4, 2008 at 7:51 AM, Álvaro Morillas (Sortes Ing. Inf. S. L. ) [EMAIL PROTECTED] wrote: Thank you, Jim and David. I've been trying setting a Filter and it works ok. Now I must figure out how to research

Re: tomcat performance issue.

2008-06-04 Thread Jim Cox
Are you maxing out your database connection pool? On Wed, Jun 4, 2008 at 1:29 PM, Zufeng Huang [EMAIL PROTECTED] wrote: proxool: house-keeping-sleep-time9/house-keeping-sleep-time prototype-count20/prototype-count maximum-connection-count450/maximum-connection-count

Re: Requests being processed at a certain moment

2008-06-03 Thread Jim Cox
I use a filter servlet to log entry/exit timestamps for requests along with some shell scripting to process the logs looking for still open requests. I've been using it for over a year for a production site, it's been very useful for debugging unexplained slowdowns, hangs, etc. Filter is pretty

Re: Tomcat 5.5 Serve HTML Pages direct several hosts

2008-05-30 Thread Jim Willeke
Thanks to all. -jim On Tue, May 27, 2008 at 12:15 PM, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Jim Willeke [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat 5.5 Serve HTML Pages direct several hosts I managed to get the default.com domain to work, but I could no longer get

JNDI Realm

2008-05-28 Thread Jim Willeke
would you find such a ldap.jar file as JNDI has been built into the base Java since 1.4? -- -jim Jim Willeke - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Long freeze during tomcat start

2008-05-23 Thread Jim Cox
dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:236606 (231.0 KiB) TX bytes:236606 (231.0 KiB) Jim Cox on 22/05/08 14:05, wrote: I'm assuming the pause you saw was at the following line? connect(11, {sa_family=AF_INET6, sin6_port=htons(48669), inet_pton

Re: Long freeze during tomcat start

2008-05-22 Thread Jim Cox
I'd think it's more likely to be timing out while resolving a hostname via DNS, but starting tomcat via strace should show you exactly where it is pausing. On Thu, May 22, 2008 at 5:08 AM, Adam Hardy [EMAIL PROTECTED] wrote: I'm still frustrated by this freeze. Looking at this thread dump, I

Re: Long freeze during tomcat start

2008-05-22 Thread Jim Cox
, {sa_family=AF_INET6, sin6_port=htons(48669), inet_pton(AF_INET6, ::1, sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, 28) = -1 ETIMEDOUT (Connection timed out) close(10) = 0 close(11) = 0 Jim Cox on 22/05/08 11:23, wrote: I'd think

Re: Long freeze during tomcat start

2008-05-22 Thread Jim Cox
accept(10, {sa_family=AF_INET6, sin6_port=htons(51175), inet_pton(AF_INET6, ::1, sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [28]) = 12 shutdown(11, 2 /* send and receive */) = 0 Jim Cox on 22/05/08 13:38, wrote: Can you compare that output to a capture from the box where you don't see

error 1067 at start

2008-05-09 Thread jim murray
I just had to restore my OS (windows XP) and re-install Apache 6. When I start the service I get an error 1067 and it wont start. Help anyone? jim murray - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe

error 1067

2008-05-09 Thread jim murray
I just had to restore my OS (windows XP) and re-install Apache 6. When I start the service I get an error 1067 and it wont start. Help anyone? Prior to the restore it worked fine. jim murray - To start a new topic, e-mail

Re: Tomcat takes 2 hours to start

2008-04-30 Thread Jim Cox
when i start the server in normal mode with command /opt/tomcat/in/catalina.sh run it starts in almost 2 hours. FWIW, your log excerpt shows a 2-minute delay, not a 2-hour delay as your originally reported. In any case, re your question on starting via truss, it should be as simple as

Re: Tomcat takes 2 hours to start

2008-04-29 Thread Jim Cox
On Tue, Apr 29, 2008 at 7:16 AM, jitesh sharma [EMAIL PROTECTED] wrote: without my web application it does not takes more then 5-6 seconds. Peter Crowther wrote: From: jitesh sharma [mailto:[EMAIL PROTECTED] I have successfully installed Tomcat 5.5.27 over my Solaris system with x86

Re: Performace - long time to release connection

2008-04-18 Thread Jim Cox
Do you see the same behavior if you make a static .html page containing a hard-coded JSON response and point your browser client at that URL? On Wed, Apr 16, 2008 at 12:25 PM, Danilo Luiz Rheinheimer [EMAIL PROTECTED] wrote: Jim, Thanks for your help. I am not setting the content-length

RE: sessionListener.sessionDestroyed is called on shutdown of a node in the cluster

2008-04-17 Thread Petruzella, Jim
Please remove me from this list... Thanks!! Jim Petruzella Windows System Administrator Distributed Systems Perdue Farms Inc. Corporate Office Salisbury Md. 21802 www.perdue.com [EMAIL PROTECTED] (410) 341-2176 -Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED

Re: Problem with datasource connecting to postgresql

2008-04-17 Thread Jim Cox
Do you use the same version of Java and run as the same user Tomcat runs under when you run it statically outside of Tomcat? On Thu, Apr 17, 2008 at 9:53 AM, Ken Bowen [EMAIL PROTECTED] wrote: Hi all, I've successfully built a number of Tomcat projects using MySQL, but now I have to also use

Re: Performace - long time to release connection

2008-04-16 Thread Jim Cox
Does the client get a Content-length header, and if so does the actual length of the response body match? If not it has to either timeout or wait for the server to close the connection. On Wed, Apr 16, 2008 at 11:33 AM, Danilo Luiz Rheinheimer [EMAIL PROTECTED] wrote: Hi, I have a Java

starting tomcat as a service

2008-04-16 Thread Jim Daley
. This seems to be a problem of HOW long it takes to start the first time after a reboot. Any help would be appreciated. [cid:image001.jpg@01C89FB3.C8ACF680]http://www.intervoice.com Jim Daley SENIOR MANAGER SWS CONTINUING ENGINEERING INTERVOICE, INC. P: (972) 454

Re: How to stop having to put :8080 in the url?

2008-04-11 Thread Jim Cox
You've lost me a bit on what servers are running -- you have IIS serving port 80, and Tomcat serving 8080? If so, can't you simply configure IIS to proxy the requests to your Tomcat on port 8080? On Fri, Apr 11, 2008 at 9:40 AM, Gary Opela (Corporate) [EMAIL PROTECTED] wrote: Thanks, but that

Unable to open the service Tomcat5

2008-04-09 Thread Jim Babatzanis
Hello all. Tomcat 5.5.17 has been installed on our developers Windows workstations. While running as an administrator, there are no problems when logging in. However, when logging in as a standard user, we receive the error box titled “Application System Error” with text “Access is denied.

Force All Requests to a single servlet

2008-03-28 Thread Jim Willeke
every incoming request to use the servlet. I never want a request to get a Not found error Thanks -jim - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: Force All Requests to a single servlet

2008-03-28 Thread Jim Willeke
is close (and probably able to live with) but looks like I am loosing anything from ...Wiki.jsp? beyond. I am using the request.getRequestURL() method to get the the incoming URL. Do I need to do something different? thanks -jim

RE: DelegatingCallableStatement.getInnermostDelegate() -- NoSuchMethodError

2008-03-17 Thread Jim Garrison
-Original Message- From: Phil Steitz [mailto:[EMAIL PROTECTED] Sent: Saturday, March 15, 2008 5:09 PM To: Tomcat Users List Subject: Re: DelegatingCallableStatement.getInnermostDelegate() -- NoSuchMethodError This looks like a signature from dbcp 1.1. Are you sure you used dbcp

DelegatingCallableStatement.getInnermostDelegate() -- NoSuchMethodError

2008-03-14 Thread Jim Garrison
I'm getting a NoSuchMethodError on org.apache.commons.dbcp.DelegatingCallableStatement.getInnermostDelegate (). AFAICT DelegatingCallableStatement inherits ultimately from DelegatingStatement, which DOES have such a method. I've examined the commons-dbcp-1.2.1.jar file that's in the classpath,

Re: ProxyPaths and mod_proxy_ajp

2008-03-05 Thread Jim Jagielski
Seems to me you are using Apache as a front-end to TC. In which case you are telling Apache that whatever is under /examples should be handled by TC, everything else is local... Right so far? If so, then you for SURE do not what to configure Apache as a forward proxy, which is what you are doing

Re: Trying to know why tomcat shuts down

2008-02-20 Thread Jim Cox
Is Tomcat getting killed by the OOM Killer? http://linux-mm.org/OOM_Killer On Feb 20, 2008 8:12 AM, David Delbecq [EMAIL PROTECTED] wrote: Hello, our tomcat, in a test environment, is shutting down unexpectedly. There is no messages about stopping webapp, or even receiving SHUTDOWN message

Re: OT: a java question - static initialization

2008-02-20 Thread Jim Cox
On Feb 20, 2008 10:47 AM, Dave [EMAIL PROTECTED] wrote: class Foo { private static int; static { a = 100; } Foo() { } } Class.forName(package.Foo).newInstance(); The static init block of Foo is not called. I am using Java 1.5

RE: Error when shutting down Tomcat

2008-01-11 Thread Jim Brikman (ybrikman)
Is there any way to prevent this error? We use the windows service panel to start/stop Tomcat, and if we get this error, the stop command times out, the service panel shows an error and assumes the service has stopped, so you can't push stop again. Thanks, Jim -Original Message

Error when shutting down Tomcat

2008-01-10 Thread Jim Brikman (ybrikman)
Tomcat keeps running and my webapp's shutdown code is never called. Any ideas? Thanks, Jim

RE: Tomcat 6 UTF-8 GET and POST - please Help..

2008-01-10 Thread Jim Brikman (ybrikman)
be simplified. Jim -Original Message- From: Aleksandar Matijaca [mailto:[EMAIL PROTECTED] Sent: Thursday, January 10, 2008 3:25 PM To: Tomcat Users List Subject: Re: Tomcat 6 UTF-8 GET and POST - please Help.. The Filter worked -- now it works well with the POST as well as the GET. David

RE: Tomcat + HttpClient + SSL + tcnative-1.dll issues?

2008-01-07 Thread Jim Brikman (ybrikman)
Good find Mark! It definitely does sound like the issue you linked. We'll try building the code ourselves and see if it takes care of the issue. Thanks, Jim -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Friday, January 04, 2008 5:39 PM To: Tomcat Users List

RE: Apache Portable Runtime and Tomcat?

2008-01-04 Thread Jim Brikman (ybrikman)
that is necessary? Thanks, Jim -Original Message- From: Rainer Jung [mailto:[EMAIL PROTECTED] Sent: Friday, January 04, 2008 4:34 PM To: Tomcat Users List Subject: Re: Apache Portable Runtime and Tomcat? Hi Jim, APR and OpenSSL are maintained by other projects (apr.apache.org resp

Apache Portable Runtime and Tomcat?

2008-01-04 Thread Jim Brikman (ybrikman)
instructions on where/how to download/build these shared dlls for OpenSSL, APR and libtcnative-1 and configure Tomcat to use them? Thanks, Jim Yevgeniy (Jim) Brikman Software Engineer Voice Technology Group [EMAIL PROTECTED] Phone :978-936-0510 Mobile :617-538-2632 500 Beaver Brook Road

Tomcat + HttpClient + SSL + tcnative-1.dll issues?

2008-01-02 Thread Jim Brikman (ybrikman)
), but on the Tomcat side (with tcnative-1.dll) we are seeing the message twice. This only happens with https and not http. Jim Yevgeniy (Jim) Brikman Software Engineer Voice Technology Group [EMAIL PROTECTED] Phone :978-936-0510 Mobile :617-538-2632 500 Beaver Brook Road Boxborough, MA 01719

Re: [Announce] Enhanced ISAPI Redirector + Tomcat Connector Binaries

2007-12-21 Thread Jim Jagielski
On Dec 21, 2007, at 9:56 AM, Rainer Jung wrote: Hi Tim, Tim Whittington wrote: There's one in particular that we feel is very useful that hasn't been accepted though, which is the addition of chunked encoding support to the ISAPI Redirector, which allows IIS to use HTTP keep alives

Duplicate messages?

2007-12-18 Thread Jim Brikman (ybrikman)
messages somehow make Tomcat think it got a second copy of the message? Thanks, Jim Yevgeniy (Jim) Brikman Software Engineer Voice Technology Group [EMAIL PROTECTED] Phone :978-936-0510 Mobile :617-538-2632 500 Beaver Brook Road Boxborough, MA 01719 United States www.cisco.com http

Re: Tomcat hangs on writing JSP page to socket

2007-11-28 Thread Jim Cox
On Nov 28, 2007 1:50 PM, Adam Feuer [EMAIL PROTECTED] wrote: Folks, We're getting intermittent problems where one tomcat thread hangs for up to 10 minutes writing JSP pages to a socket. We think the socket is an HTTP TCP socket. The stack trace from a thread dump for the hung thread is below.

Re: Tomcat becomes non-response for ~30 seconds

2007-11-27 Thread Jim Cox
On Nov 27, 2007 3:30 PM, jnedzel [EMAIL PROTECTED] wrote: Thanks, I'll look at maxing out the logging. A simple thing to do would be to grab a stack dump with a kill -QUIT tomcat pid during one of these slow periods and see if anything jumps out at you, compare it to one from a normal period,

Re: mod_proxy_ajp TIME_WAIT

2007-11-21 Thread Jim Jagielski
for 2.2.6 ? Thanks D On Tue, 2007-11-20 at 14:39 -0500, Jim Jagielski wrote: I'm hoping to get it out the top of December :) On Nov 20, 2007, at 3:57 AM, David Cassidy wrote: Hi Jim !!! This is fantastic news ! When is 2.2.7 going to be released ? :) Many many thanks David On Mon, 2007

Re: mod_proxy_ajp TIME_WAIT

2007-11-20 Thread Jim Jagielski
I'm hoping to get it out the top of December :) On Nov 20, 2007, at 3:57 AM, David Cassidy wrote: Hi Jim !!! This is fantastic news ! When is 2.2.7 going to be released ? :) Many many thanks David On Mon, 2007-11-19 at 15:27 -0500, Jim Jagielski wrote: 2.2.6 has a nasty bug were AJP

Re: mod_proxy_ajp TIME_WAIT

2007-11-19 Thread Jim Jagielski
Is this worker or prefork MPM? On Nov 15, 2007, at 4:03 AM, David Cassidy wrote: Guys, I'm using mod_proxy in apache 2.2.6 with the ajp connector in tomcat. apache config - Proxy balancer://myclusterclear BalancerMember ajp://localhost:8009 route=server1 min=0

Re: Upgrade from mod_jk to mod_proxy_ajp

2007-11-19 Thread Jim Jagielski
On Nov 17, 2007, at 5:15 PM, Pid wrote: Gmail User wrote: On Nov 9, 2007 11:19 PM, Gmail User [EMAIL PROTECTED] wrote: Any ideas would be appreciated. Just a follow-up since I never got a reply to this--or Gmail is hiding replies from me again. As I found out, Tomcat always worked and

Re: mod_proxy or mod_jk?

2007-11-19 Thread Jim Jagielski
It almost sounds like it's more a config issue than a module one... Using mod_proxy_ajp is nice because you use normal httpd directives (ProxyPass. etc..) to handle the stuff that TC needs to handle. On Nov 17, 2007, at 8:20 PM, Rocco Scappatura wrote: Hello. I would like to publish a Web

Re: mod_proxy_ajp TIME_WAIT

2007-11-19 Thread Jim Jagielski
2.2.6 has a nasty bug were AJP connections are being closed when they shouldn't. 2.2.7 will fix that. In the meantime, trying building httpd with USE_ALTERNATE_IS_CONNECTED defined as 0 (proxy_util.c). On Nov 19, 2007, at 9:07 AM, Rainer Jung wrote: Hi David, TIME_WAIT is a normal TCP state

RE: Listener Shutdown Order?

2007-11-15 Thread Jim Garrison
-Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 14, 2007 12:34 PM To: Tomcat Users List Subject: Re: Listener Shutdown Order? -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim, Jim Garrison wrote: From: Christopher Schultz

Listener Shutdown Order?

2007-11-14 Thread Jim Garrison
When starting up, Listeners are started before load-on-startup servlets, so we use this mechanism to initialize Spring. On shutdown, Tomcat seems to shutdown listeners BEFORE the servlets. This results in the Spring context being discarded while it is still needed. If context listeners start

RE: Listener Shutdown Order?

2007-11-14 Thread Jim Garrison
-Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 14, 2007 11:43 AM Notification that the servlet context is *about* to be shut down. All servlets and filters have been destroy()ed before any ServletContextListeners are notified of

Re: PermGen Out of memory exception

2007-11-12 Thread Jim
-by-side, plus some extra memory to handle the number of hot-deploys you expect yourself having to make at some point -- and then just remember to restart the server when you can after a hot-deploy or two. Jim Kanchana Welagedara wrote: Hi All I have developed 4 war files using Appfuse frame

Re: PermGen Out of memory exception

2007-11-12 Thread Jim
Caldarale, Charles R wrote: From: Jim [mailto:[EMAIL PROTECTED] Subject: Re: PermGen Out of memory exception PermGen space, on the other hand, doesn't get garbage collected As Peter C indicated, this is utter BS. Why do people keep propagating this fallacy? Easier to blame the JVM

Re: PermGen Out of memory exception

2007-11-12 Thread Jim
that their classloaders were not being garbage collected, they'd have already found that link. We should put some marquee and blink tags around it! : ) Mostly I'm just being defensive, but I do truly appreciate the correction. Jim - To start

Re: Tomcat - threads / throughput limits?

2007-11-08 Thread Jim Cox
On Nov 8, 2007 10:41 AM, [EMAIL PROTECTED] wrote: Hi, We have an architecture where we have many tomcat app servers load balanced by apache at the front. In resolving our current bottleneck i used JProfiler to see what the tomcat applications were doing and when under high load there are a

Re: Tomcat fronted with apache best practices?

2007-10-25 Thread Jim Jagielski
On Oct 25, 2007, at 7:17 AM, Dragan Jotanovic wrote: Mark Thomas wrote: It all depends on your application. You need to profile it, understand what resources are required per user / session / request (which ever makes sense for your application) and then scale the system appropriately.

Re: RES: How can I ensure that client access servlets via HTTPS?

2007-10-24 Thread Jim Cox
On 10/23/07, Christopher Schultz [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Marcus, Milanez, Marcus wrote: I think you could configure your server so that the 80 port is not available, only the 443 one. Programaticaly, you can invoke the request.isSecure()

Re: Too Many Open Files error

2007-10-19 Thread Jim Cox
On 10/19/07, Daniel M Garland [EMAIL PROTECTED] wrote: Thanks Jim, It was previously set to 1024, and I quadrupled it. When you say ulimit is persistent will it persist across a reboot? I don't seem to have the command lsof, I'll try and apt-get it. Cheers Dan The settings should persist

Re: Too Many Open Files error

2007-10-19 Thread Jim Cox
On 10/19/07, Daniel M Garland [EMAIL PROTECTED] wrote: Should I then place ulimit -n in the catalina startup scripts? Setting a limit with ulimit is sticky (i.e. persistent), so there's no need to stick it in the startup script. However, you didn't answer the previous two questions about

Re: Too Many Open Files error

2007-10-18 Thread Jim Cox
On 10/18/07, Daniel M Garland [EMAIL PROTECTED] wrote: Hi all I'm seeing a problem on a Tomcat instance: 18-Oct-2007 12:41:47 org.apache.tomcat.util.net.AprEndpoint$Acceptor run SEVERE: Socket accept failed org.apache.tomcat.jni.Error: Too many open files at

Re: Copying large files around

2007-10-13 Thread Jim Cox
On 10/13/07, Christopher Schultz [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David, David Kerber wrote: Let me give a bit more detail: I am working on a utility function in my webapp that will periodically copy the database file from the db server to a

Re: Problem with compiling tomcat native

2007-10-05 Thread Jim Roycroft
version, same bash version (3.1.17) etc... except I'm using jdk 1.5.0 Jim Orlando Reis wrote: That's right, debian 4 comes with 3.x and debian comes with 2.x. *Where it worked (deb 3.1r3):* Last login: Tue Apr 24 16:43:54 2007 from x.y.z.w [EMAIL PROTECTED]:~$ bash -version *GNU bash

Re: Problem with compiling tomcat native

2007-10-05 Thread Jim Roycroft
for the 1.1.2 and 1.1.6 versions (on that site). Here's the link: http://tomcat.heanet.ie/native/1.1.6/binaries/linux/ After dropping libtcnative-1.so in place, it works like a charm. I'd love to see a Debian package for this... Jim Jim Roycroft wrote: Did you have any luck getting this to work? I am

Re: Tomcat hangs, what to do to diagnose the problem?

2007-09-27 Thread Jim Cox
On 9/27/07, Wm.A.Stafford [EMAIL PROTECTED] wrote: Our Tomcat 4.1.30 instance seems to hang about once a week. i.e. the application is unresponsive and it can not be restarted from the management console. Tomcat must be restarted to restore functionality. There is nothing in the logs to

Re: Tomcat crash @ midnight - but why?

2007-09-26 Thread Jim Cox
snippet Each time when Tomcat has crashed, it has been at midnight. At exactly midnight my program changes log directorys - from 20-09-2007 to 21-09-2007. This is a TimerTask. A thread which runs at exactly midnightat each of these crashes it has reported Can't create directory

Re: 100% cpu usage by VM Thread in tomcat

2007-09-21 Thread Jim Cox
On 9/21/07, Lindsay Patten [EMAIL PROTECTED] wrote: [ ...stuff elided...] If I look at the system status using the Tomcat manager webapp there are often requests listed with ridiculously large values in the Time column, several hundred seconds for jsp pages that only take a fraction of a

Filter mapped to /* not seeing Axis requests (Tomcat 5.0.19)

2007-09-20 Thread Jim Cox
I developed a simple logging filter to debug some performance problems on a Tomcat 5.0.19 installation. It works well for the requests it sees, but the filter does not see requests serviced by a .wsdd-deployed Axis servlet. Anyone have any help/info/pointers to offer? Only one webapp is defined

Re: Filter mapped to /* not seeing Axis requests (Tomcat 5.0.19)

2007-09-20 Thread Jim Cox
during an axis request (either by making a fault during axis response, either by using a slow response and sneding signal 3 to JVM) En l'instant précis du 20/09/07 16:47, Jim Cox s'exprimait en ces termes: I developed a simple logging filter to debug some performance problems on a Tomcat

Re: Very Slow Startup with APR

2007-08-22 Thread Jim Jagielski
On Aug 21, 2007, at 11:26 AM, Markus Schönhaber wrote: Rainer Jung wrote: There's an addition in tcnative 1.1.10: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jni/native/ src/ssl.c?view=diffrev=524725r1=524724r2=524725

Re: Very Slow Startup with APR

2007-08-22 Thread Jim Jagielski
On Aug 22, 2007, at 11:32 AM, Markus Schönhaber wrote: 2. If tcnative 1.1.10 is used, set the environment variable RANDFILE to point to some random source which can be accessed without danger of blocking (for example /dev/urandom) or create a static random file in the home dir of the user

Re: Very Slow Startup with APR

2007-08-22 Thread Jim Jagielski
On Aug 21, 2007, at 10:02 AM, Rainer Jung wrote: Followup to self: There's an addition in tcnative 1.1.10: Looks like this went through further refactoring in: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jni/native/ src/ssl.c?r1=524725r2=525163 I just checked HEAD on trunk

Re: ajp through ProxyPass is sending HTTP HEAD requests as HTTPGET to servlets.

2007-08-08 Thread Jim Jagielski
Added as PR: 43060 Thanks for the info and the analysis... I'll take a look and tune as required. On Aug 8, 2007, at 5:46 AM, Rainer Jung wrote: Hi Chad, yes, it looks like that's a bug in mod_proxy_ajp. You should log a bug in bugzilla for httpd. I checked the code for Apache httpd

Re: Quality check mod_jk 1.2.25-dev

2007-08-06 Thread Jim Jagielski
So far, so good. +1 On Aug 3, 2007, at 2:40 AM, Rainer Jung wrote: Hi all, unfortunately we had to withdraw mod_jk 1.2.24. It had a serious regression bug. To ensure the quality of the new 1.2.25 we invite you to actively participate in testing. A code snapshot (revision 562250) is

Re: iPlanet / SunONE web server tomcat connector connection re-use disabled

2007-07-11 Thread Jim Jagielski
On Jul 6, 2007, at 4:45 AM, [EMAIL PROTECTED] wrote: QUESTION: Can anyone confirm or deny whether the Netscape connector should not have connection re-use enabled as the other connectors do. Some overview of any reason would also be much appreciated. It does not, but would be a good

Re: proxy_balancer_module modules/mod_proxy_balancer.so in httpd-2.0.52-28.ent.i386 ??

2007-04-11 Thread Jim Jagielski
The balancer code is only part of httpd 2.2.x On Apr 11, 2007, at 4:01 AM, Paresh Mutha wrote: The feature I am looking for proxy_balancer_module modules/mod_proxy_balancer.so. Can some one tell me if this is available on RHEL4 ie in

Re: Root context setup

2007-03-07 Thread Jim Goodspeed
: Jim Goodspeed [mailto:[EMAIL PROTECTED] Subject: Re: Root context setup Is there another way to accomplish this though? Don't put the .war file in Tomcat's directory structure. Instead, put a ROOT.xml file in conf/Catalina/[hostname] that contains a Context element with a docBase attribute

<    1   2   3   >