Re: Verifying mod_jk is installed

2012-09-18 Thread John Rellis
On Tue, Sep 18, 2012 at 3:56 PM, André Warnier wrote: > John Rellis wrote: > >> André, >> >> Thanks! OK, so I put >> >> JkMount /jkmanager/ jkstatus >> JkMount /jkmanager/* jkstatus >> >> Into apache2.conf and no succes

Re: Clustering Question

2012-09-18 Thread John Rellis
On Sep 18, 2012 7:26 PM, "Christopher Schultz" wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > John, > > On 9/17/12 5:20 PM, John Rellis wrote: > > Thanks Chris. > > > > My replies will be a little sporadic as I am cooking a 10 pm

Static Membership Session Replication

2012-09-20 Thread John Rellis
dler ["ajp-bio-8009"] Sep 20, 2012 5:17:56 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 70803 ms -- John Rellis

Re: Cluster Logging Options

2012-09-24 Thread John Rellis
; I keep my per server syslogs for 4-7 days and the on the syslog server for > months .. > > A > > > -Original Message- > > From: John Rellis [mailto:john.d.rel...@gmail.com] > > Sent: Monday, 24 September 2012 6:49 PM > > To: users > > Subject: Clust

Re: Cluster Logging Options

2012-09-24 Thread John Rellis
On Mon, Sep 24, 2012 at 10:57 AM, André Warnier wrote: > John Rellis wrote: > >> On Mon, Sep 24, 2012 at 10:12 AM, Alex Samad - Yieldbroker < >> alex.sa...@yieldbroker.com> wrote: >> >> Been thinking about >>> >>> Log4j -> syslog -> s

Re: Cluster Logging Options

2012-09-24 Thread John Rellis
On Mon, Sep 24, 2012 at 1:36 PM, Joseph wrote: > Or you could just use a simple socketappender from log4j and let all > instances write to configured host port > > 在 2012-9-25,0:29,André Warnier 写道: > > > John Rellis wrote: > >> On Mon, Sep 24, 2012 at 10:57 AM, An

Re: Static Membership Session Replication

2012-09-28 Thread John Rellis
; > *tomcat2 server.xml* > address="localhost" port="4210" autoBind="100" > selectorTimeout="5000" maxThreads="6"/> > > Is it not address="localhost" but address="tomcattwo" ? > > 2012/9/21 John Rel

Re: Static Membership Session Replication

2012-09-29 Thread John Rellis
On Sep 28, 2012 3:42 PM, "Konstantin Kolinko" wrote: > > 2012/9/28 John Rellis : > >> (...) > >> > > Keiichi, > > > > Thanks. OK so, when my tomcat starts it says : > > > > INFO: Receiver Server Socket bound to:localhost/127.0

Strange Faulty Member Exception

2012-10-02 Thread John Rellis
ter Config* -- John Rellis

Re: worker not marked as in error when shutdown with ping mode enabled

2013-01-06 Thread John Rellis
On Fri, Jan 4, 2013 at 9:24 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Pid, > > On 1/4/13 3:22 PM, Pid wrote: > > On 04/01/2013 20:08, Christopher Schultz wrote: > >> On 1/3/13 1

Problem with standard taglibs after precompiling a web app with TCD in 7.0.6 & no support for "addWebXmlMappings" in jasper

2011-01-30 Thread John Bargos
xml is pretty spartan as well:   datasource fun       datasource fun               index_jsp         index_jsp                 index_jsp         /index.jsp      postgreSQL Datasource fun  jdbc/postgres  javax.sql.DataSource  Container so what'

Re: Problem with standard taglibs after precompiling a web app with TCD in 7.0.6 & no support for "addWebXmlMappings" in jasper

2011-01-31 Thread John Bargos
On Mon, Jan 31, 2011 at 2:04 PM, Konstantin Kolinko wrote: > 2011/1/31 John Bargos : >> Hi, >> >> last week, I was having fun with trivial examples accessing a >> datasource with the standard taglibs with success. >> Since everything was working perfectly in j

Re: Problem with standard taglibs after precompiling a web app with TCD in 7.0.6 & no support for "addWebXmlMappings" in jasper

2011-01-31 Thread John Bargos
On Mon, Jan 31, 2011 at 5:06 PM, Konstantin Kolinko wrote: > 2011/1/31 John Bargos : >> 1) I checked the libs in ant 1.8.2. >> apparently ant ships with: >> >> jasper-compiler.version=4.1.36 >> jasper-runtime.version=${jasper-compiler.version} >> >>

Re: Problem with standard taglibs after precompiling a web app with TCD in 7.0.6 & no support for "addWebXmlMappings" in jasper

2011-01-31 Thread John Bargos
: -> -> -> b. and into the javac task: -> -> -> Thanks for all your help! John On Mon, Jan 31, 2011 at 5:23 PM, John Bargos wrote: > On M

Trouble connecting Tomcat 7.0 with Apache Server 2.2

2011-03-03 Thread John C
I am trying to connect Tomcat 7.0 and Apache Server 2.2 using Windows 7.0. I created a .jsp file to test if my setup was correct under "C:\Program Files (x86)\Apache Software Foundation\Tomcat 7.0\webapps\sitepoint\count.jsp". I can successfully load the count.jsp file by entering http://local

Trouble connecting Tomcat 7.0 with Apache Server 2.2 (reposting question - hopefully this formats better)

2011-03-03 Thread John C
Reposting the same question I posted a minute ago due to weird formatting issues. Hopefully this email fixes it. I am trying to connect Tomcat 7.0 and Apache Server 2.2 using Windows 7.0. I created a .jsp file to test if my setup was correct under "C:\Program Files (x86)\Apache Software Foundatio

RE: Trouble connecting Tomcat 7.0 with Apache Server 2.2 (reposting question - hopefully this formats better)

2011-03-03 Thread John C
I fixed my own problem. I changed the workers.properties file to this: workers.tomcat_home=C:\Program Files (x86)\Apache Software Foundation\Tomcat 7.0workers.java_home=C:\Program Files (x86)\Java\jdk1.6.0_17ps=\worker.list=myworkerworker.myworker.port=8009worker.myworker.host=localhostworker.my

Cannot create a link to a file - suspecting tomcat is the issue

2011-03-10 Thread John C
I am trying to create a link to a file in my webpage. The anchors href for the link is "file:///C:/Users/OEM/Desktop/testa.txt". When I run my webpage from file I can click the link (file:///C:/Users/OEM/Documents/NetBeansProjects/WebApp/web/main.htm). However when I run my webpage using Apach

RE: Cannot create a link to a file - suspecting tomcat is the issue

2011-03-10 Thread John C
In case I did not explain myself well. I am trying to create a link to a file in a webpage. The link works fine using Apache + Tomcat if the file and link are both relative. This means that the html file containing the link to the text file is located in the same directory as the file itself. H

RE: Cannot create a link to a file - suspecting tomcat is the issue

2011-03-10 Thread John C
Although you stated the obvious you also answered my naive question :). Thank you > Subject: RE: Cannot create a link to a file - suspecting tomcat is the issue > Date: Thu, 10 Mar 2011 09:29:42 -0600 > From: joseph.mor...@ignitesales.com > To: users@tomcat.apache.org > > John

RE: Cannot create a link to a file - suspecting tomcat is the issue

2011-03-10 Thread John C
RE: Cannot create a link to a file - suspecting tomcat is the issue > > Date: Thu, 10 Mar 2011 09:29:42 -0600 > > From: joseph.mor...@ignitesales.com > > To: users@tomcat.apache.org > > > > John, > > > > Think about what the browser is doing. When the brow

mod_jk / AJP and compression

2011-04-01 Thread John Baker
Hello, The Tomcat AJP Connector does not support compression. Why has this been ommitted? Of course, Apache can do compression but this leaves data running uncompressed between Apache and Tomcat. John - To unsubscribe, e

Re: mod_jk / AJP and compression

2011-04-01 Thread John Baker
Given it's a quick fix, I was curious to why it hadn't been done before now? John On Fri, 01 Apr 2011 11:20 +0100, "Mark Thomas" wrote: > On 01/04/2011 11:15, John Baker wrote: > > Hello, > > > > The Tomcat AJP Connector does not support compression. Wh

Tomcat GzipOutputFilter

2011-04-01 Thread John Baker
Hello, I note there's a GzipOutputFilter in the Tomcat (and JBoss) jar files: http://tomcat.apache.org/tomcat-6.0-doc/api/org/apache/coyote/http11/filters/GzipOutputFilter.html Yet I can't load it in the web.xml file using . Is there some pre-defined filter name for this filt

Re: Tomcat GzipOutputFilter

2011-04-01 Thread John Baker
The AJP connector doesn't support compression (a missing useful feature in my opinion) so I found myself looking for a filter. Thanks for letting me know it won't work. I'll look at the example filter. On Fri, 01 Apr 2011 16:28 +0400, "Konstantin Kolinko" wrote: > 201

Tomcat6 Cookies

2011-04-06 Thread John Clark
I recently upgraded my Tomcat cluster from 5 to 6 and am no longer able to use getCookie() to retrieve our Omniture cookie data using request.getCookies(). We are still able to access the cookie name and value via a request header so we're using this as a work around but I'm still curious as to why

Re: Tomcat 6 Context not created, deployment fails

2011-04-25 Thread John G .
iles accepted but ignored - The Manager indicates only one application available, located at the path of the 'context.xml' - Errors generated if there are more then 1 (one) context / file (i.e. context.xml) - the war file: contains all contexts - we are using NetBeans for de

(Issue) Tomcat 7.0.12 silent install

2011-04-27 Thread John Marcinek
the location of the JRE the text field is blank. But when I run the installer on a Windows XP 32 bit system, the path of JRE 6 is displayed in the text field. Regards, John

RE: (Issue) Tomcat 7.0.12 silent install

2011-04-27 Thread John Marcinek
ation that will run under Tomcat uses JSPs that have not been compiled and tested with a 64 bit JDK. I assume a JDK for compiling the JSPs under Tomcat can be specifed separately from the JVM that Tomcat runs on. I guess I should look at the Tomcat docs before pestering you and the rest of the e

How to dynamically create JNDI Context Resources

2011-05-20 Thread John Fletcher
cessary. I found this, not sure if it could solve my problem? http://tomcat.apache.org/tomcat-7.0-doc/jndi-resources-howto.html#Adding_Custom_Resource_Factories . I'm no expert on JNDI so if there is an altogether better solution to my problem I'm open to it. John

Re: How to dynamically create JNDI Context Resources

2011-05-23 Thread John Fletcher
Resending this as it didn't arrive in my inbox... sorry if you received it already... 2011/5/20 John Fletcher > In my application I'm using a library which uses JNDI to locate JMS topics > and then operates with them. > > I successfully configured JNDI references to the J

Re: How to dynamically create JNDI Context Resources

2011-05-23 Thread John Fletcher
Thanks... I thought the answer was along those lines but the library I'm using was constraining me to use JNDI. However I now looked into their source code and found a clean way around JNDI. Your answer got me motivated in the right direction, thankyou. John 2011/5/23 Mikolaj Rydzewski

Drop message SESSION-EXPIRED inside GET_ALL_SESSIONS

2011-06-14 Thread John Clark
I am experiencing an issue with my cluster I have been unable to figure out. My cluster contains 4 servers each with 4 instances of Tomcat segregated by mod_jk directives. Server1 Directives: / - tomcat.server1 /app1 - tomcat-app1.server1 /app2 - tomcat-app2.server1 /app3 - tomcat-app3.server1 S

java.lang.NoSuchMethodError: javax.el.ExpressionFactory.newInstance()Ljavax/el/ExpressionFactory

2010-08-24 Thread Brochu, John
ose the problem but I'm nearly certain 6.0.29 is now referencing EL 2.1 and not JSP 2.0 - is anyone else having the same issue? Thanks, John

2 second delays in mod_jk while "maintaining workers"

2010-09-06 Thread John Baker
be at fault. The JBoss (5.1, but also a problem with 4.2.3) server.xml file has connectionTimeout="9" set on the AJP connetor. Can anyone offer some advice? Or if I need to provide more information, please detail what is required. Many thanks, John --

Re: 2 second delays in mod_jk while "maintaining workers"

2010-09-06 Thread John Baker
On Monday 06 September 2010 18:56:20 you wrote: > On 09/06/2010 04:16 PM, John Baker wrote: > > > > I've set the Jk logging to trace and you can see the debug statements and > > the 2s delays: > > > > Do you use NFS share by any chance to store the > m

Re: 2 second delays in mod_jk while "maintaining workers"

2010-09-06 Thread John Baker
On Monday 06 September 2010 22:57:21 you wrote: > I didn't look at the code now, but the 2 seconds remind me of the > connection draining during socket shutdown, which could be related to > jk_maintain? What's jk_maintain? - To

Re: 2 second delays in mod_jk while "maintaining workers"

2010-09-07 Thread John Baker
On Tuesday 07 September 2010 06:28:33 you wrote: > On 09/06/2010 11:59 PM, John Baker wrote: > > What's jk_maintain? > > > > Function that maintains the workers > (closes excess connections inactive for a long time) > > Anyhow, like Rainer said, if that

Re: 2 second delays in mod_jk while "maintaining workers"

2010-09-07 Thread John Baker
On Tuesday 07 September 2010 08:59:27 you wrote: > It means that socket shutdown failed. > Do you have firewall between mod_jk and JBoss or some non-standard > network driver (e.g running under some VM)? We are using VMs but there should be no firewall. I should probably re-iterate that the prob

Re: 2 second delays in mod_jk while "maintaining workers"

2010-09-07 Thread John Baker
ssion=0 worker.list=lb-jboss51-integration Also, I've tried setting: worker.basic.lock=0 but that does not solve the problem. Thanks John - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: 2 second delays in mod_jk while "maintaining workers"

2010-09-07 Thread John Baker
ring bytes in 2 sec" messages as before. John - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: 2 second delays in mod_jk while "maintaining workers"

2010-09-07 Thread John Baker
fire and take the node out of load balancing. > > > worker.basic.connect_timeout=1000 > > worker.basic.prepost_timeout=1000 > > You might want to add max_reply_timeouts, otherwise one single reply > timeout can take a node out of load balancing. > > > worker.basic.re

Re: 2 second delays in mod_jk while "maintaining workers"

2010-09-07 Thread John Baker
On Tuesday 07 September 2010 11:13:07 you wrote: > It's obvious that > > shutdown(socket, SHUT_WR) > poll(socket, 2 seconds) > close(socket) > > caused poll call to time out, meaning that > the JBoss side didn't respond to the > shutdown(socket, SHUT_WR) call by > closing it's side of the conne

Re: 2 second delays in mod_jk while "maintaining workers"

2010-09-07 Thread John Baker
c (813): Shutdown socket 152 and read 0 lingering bytes in 2 sec. [Tue Sep 07 11:29:24.868 2010] [364:47921619424608] [debug] wc_maintain::jk_worker.c (339): Maintaining worker lb-jboss51-integration John - To unsubscribe, e-mai

Re: 2 second delays in mod_jk while "maintaining workers"

2010-09-07 Thread John Baker
Where can I find documentation on JkWatchdog? On Tuesday 07 September 2010 13:51:23 you wrote: > - As a workaround: using a JkWatchdog moves the maintain into a separate > thread. But during the socket closing a lock is held, which blocks other > threads from accessing the same worker. ---

Re: 2 second delays in mod_jk while "maintaining workers"

2010-09-08 Thread John Baker
T_WR) method is blocking. Any thoughts, John - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: 2 second delays in mod_jk while "maintaining workers"

2010-09-08 Thread John Baker
don't want to wait 2s for a request to complete (ideally, socket clean up should not be done in this thread if any linger is required). John .. MAX_SECS_TO_LINGER= 30 SECONDS_TO_LINGER= 2 ... int jk_shutdown_socket(jk_sock_t sd, jk_logger_t *l) { ... /* Shut down the socket for write,

Re: 2 second delays in mod_jk while "maintaining workers"

2010-09-08 Thread John Baker
> On 09/08/2010 05:08 PM, John Baker wrote: > The code *is* required. > It is used when the client disconnects while the backend > still has some data in the AJP buffer. Drain is needed > to read that excess data. Why does it always report 0 bytes read? > If you can compile mo

Re: 2 second delays in mod_jk while "maintaining workers"

2010-09-08 Thread John Baker
Original Message-- From: John Baker To: Tomcat Users List ReplyTo: Tomcat Users List Subject: Re: 2 second delays in mod_jk while "maintaining workers" Sent: 8 Sep 2010 16:41 > On 09/08/2010 05:08 PM, John Baker wrote: > The code *is* required. > It is used when the client di

Re: Fwd: Tomcat 5.0 which gets stuck

2010-09-08 Thread John Baker
Looks like your application took too long to respond and by the time it tried to write to the output stream, it had been closed. Have you set any connection/socket timeouts? -Original Message- From: Sumeet Chitte Date: Wed, 8 Sep 2010 21:48:31 To: Reply-To: "Tomcat Users List" Subject

Re: Tomcat 5.0 which gets stuck

2010-09-08 Thread John Baker
I thought an illegal state exception would occur if an attempt was made to write to a socket that's now shut but you are right, it looks more like an attempt to perform an internal redirect after response has been committed (although that message should appear in the logs). -Original Messa

Re: 2 second delays in mod_jk while "maintaining workers"

2010-09-09 Thread John Baker
Thanks for the feedback. Can you tell me why this if statement exists: if (poll(&fds, 1, timeout) > 0) { ... } else break; It appears to be at fault. John - To unsu

Re: 2 second delays in mod_jk while "maintaining workers"

2010-09-09 Thread John Baker
On Thursday 09 September 2010 13:59:50 you wrote: > > > > If that doesn't help, it's obvious the Tomcat > > doesn't close the socket, so should be investigated > > why. Like said before, either the Tomcat doesn't > > respond to shutdown or the shutdown's FIN packet > > isn't send to the Tomcat or

Re: 2 second delays in mod_jk while "maintaining workers"

2010-09-09 Thread John Baker
On Thursday 09 September 2010 15:45:44 you wrote: > Nice. I spoke too soon. I'm now trying to figure out how to print out the IP address of the socket (I don't really do C) so I can log the socket that caused the poll to timeout, and compare with a tcpdump.

Re: 2 second delays in mod_jk while "maintaining workers"

2010-09-09 Thread John Baker
I would be happy to share all my evidence and write a report once we get to the bottom of this problem. Any hints on printing out the socket IP (i.e. of Tomcat)? On Thursday 09 September 2010 15:47:33 you wrote: > On 09/09/2010 03:22 PM, John Baker wrote: > > > > Do you fan

Re: 2 second delays in mod_jk while "maintaining workers"

2010-09-09 Thread John Baker
Interestingly, some of our JBoss instances are showing a large number ajp threads that seem to be in keep alive mode but are well beyond the connectionTimeout defined in server.xml (which is set to 9): Max threads: 40 Current thread count: 40 Current thread busy: 40 Max processing time: 5563

Re: 2 second delays in mod_jk while "maintaining workers"

2010-09-09 Thread John Baker
On Thursday 09 September 2010 16:08:04 you wrote: > On 09/09/2010 04:48 PM, John Baker wrote: > > > > > > On Thursday 09 September 2010 15:45:44 you wrote: > >> Nice. > > > > I spoke too soon. I'm now trying to figure out how to print out the IP

Re: 2 second delays in mod_jk while "maintaining workers"

2010-09-15 Thread John Baker
poll(..) fails, i.e. waited 2 seconds and discovered the socket was not being shut properly. Mladen has kindly added this to the next release. Thanks to everyone who's contributed and if I have any further updates, I will let you kn

How to prevent Apache decoding characters with mod_jk

2010-10-26 Thread John Lister
coded urls aren't valid (for example if they contain %20, the URI class - used within Jersey - complains that a space isn't valid in a URL). Is it possible to prevent this from happening and pass the original url straight through to tomcat? I'm using apache 2.2.14 and mo

Re: How to prevent Apache decoding characters with mod_jk

2010-10-26 Thread John Lister
Apologies, I came across this problem late last night and was probably too asleep to spot the solution, a quick recheck this morning after posting revealed forwardURICompat and forwardURIEscaped, the former was turned on. Problem solved, Thanks John On 26/10/2010 08:23, John Lister wrote

Tomcat 6 performance & multiple instances

2010-12-09 Thread John Goodleaf
Google is giving me too many different answers! I need to serve a single webapp to a lot of people with acceptable latency. There's no need for multiple contexts or any other funkines. Tomcat 6, JVM 1.6x. I have a hardware load balancer and two 64-bit machines (Windows 2003 Server--not my choice,

Re: Tomcat 6 performance & multiple instances

2010-12-09 Thread John Goodleaf
On Thu, Dec 9, 2010 at 1:28 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > John, > > On 12/9/2010 4:04 PM, John Goodleaf wrote: > > Google is giving me too many different answers! > > :( >

request.getAttribute("javax.servlet.request.X509Certificate") returns NULL for AJP connector

2014-01-28 Thread John Palmer
We have two similar production environments which use: request.getAttribute("javax.servlet.request.X509Certificate") for several purposes. These use tomcat behind IIS using the Jakarta connector (aka reverse proxy) and have been running since 2006 and 2011 respectively without significant issues

Re: request.getAttribute("javax.servlet.request.X509Certificate") returns NULL for AJP connector (possible Bon Code issue?)

2014-01-28 Thread John Palmer
response to him On Tue, Jan 28, 2014 at 12:11 PM, Konstantin Kolinko wrote: > 2014-01-28 John Palmer : > > We have two similar production environments which use: > > request.getAttribute("javax.servlet.request.X509Certificate") > > for several purposes. > &g

Re: request.getAttribute("javax.servlet.request.X509Certificate") returns NULL for AJP connector (possible Bon Code issue?)

2014-01-28 Thread John Palmer
nd making me feel that I'm not alone in this. On Tue, Jan 28, 2014 at 12:02 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > John, > > On 1/28/14, 12:41 PM, John Palmer wrote: > > We have t

request.getAttribute("javax.servlet.request.X509Certificate") returns NULL with APR connector on Tomcat 7.0.47 when using FireFox 26

2014-02-04 Thread John Palmer
Our installations have been working fine for several years, but we're having to replace the existing 32-bit Windows servers with 64-bit Windows servers, and I'm trying to take advantage of this effort to simply the configuration... we inherited this with IIS in front of Tomcat, using the Jakarta IS

Tomcat 8 appears slow to process jsp pages

2014-02-12 Thread John . Kieffer
erify, while composing this I opened a web page within the application and stared at a white screen for almost exactly sixty seconds. I have everything else configured exactly the same. The only difference I can see is the version of Tomcat. Has anyone else run into anything similar? Thanks, John

Optimization on simple requests

2014-03-04 Thread John Smith
Tomcat 7.0.42 on RHEL6. Assume that Tomcat is serving only one jsp page. Say it just rewrites a parameter value from the querystring to the html within the jsp. Also assume that there are ~200,000 users attempting to access that page - say "almost simultaneously". What are the most relevant opti

Re: Optimization on simple requests

2014-03-05 Thread John Smith
Chris, Thanks! Very helpful advice. Best, John On Tue, Mar 4, 2014 at 1:54 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > John, > > On 3/4/14, 1:17 PM, John Smith wrote: > > Tomcat 7.0.42

NIO connector - connections and threads

2014-03-07 Thread John Smith
Six Core Intel Xeon E5-2640 2.5GHz 32 GB RAM RHEL 6 Best, John

Re: NIO connector - connections and threads

2014-03-08 Thread John Smith
Sorry, forgot: Tomcat 7.0.42 On Fri, Mar 7, 2014 at 3:59 PM, John Smith wrote: > The NIO connector has two attributes from the standard HTTP Connector > implementation, maxConnections and maxThreads with defaults of 1 and > 200, respectively. > > Can anyone shine some lig

Re: NIO connector - connections and threads

2014-03-10 Thread John Smith
Thanks for your reply. So are the open HTTP connections that use my web application code waiting in line to be processed by the available threads specified in maxThreads? Best, John On Sun, Mar 9, 2014 at 12:44 PM, Konstantin Kolinko wrote: > 2014-03-09 2:08 GMT+04:00 John Smith : > &

Executor thread pool

2014-03-10 Thread John Smith
How dumb am I being by not using an Executor with a named thread pool? Currently I just have a Connector in server.xml: Assuming ~2000 simultaneous connections. Tomcat 7.0.42. RHEL6. Best, John

Re: NIO connector - connections and threads

2014-03-10 Thread John Smith
On Mon, Mar 10, 2014 at 11:48 AM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: John Smith [mailto:tomcat.ran...@gmail.com] > > Subject: Re: NIO connector - connections and threads > > Don't top post. > > > So are the open HTTP connec

Re: NIO connector - connections and threads

2014-03-10 Thread John Smith
> > > Collecting some peak usage data might be interesting. You definitely want > your max thread limit to be a bit above the number of concurrent requests > you're handling. Of course, that has to be balanced against limits on > other resources, such as memory and data base connections. > > - C

Site down for maintenance senario

2014-03-12 Thread John Smith
Is there a straightforward way to toggle or add something in Tomcat, in the event a webapp is intentionally taken 'offline for maintenance"? The user would receive the same single notification page saying as much, for any and all requests. Tomcat 7.0.42

Re: Site down for maintenance senario

2014-03-17 Thread John Smith
> Deploy a ROOT web application whose 404 page says "Down for > maintenance". You could even customize this kind of thing to only > respond to certain URL-prefixes (like [ROOT]/mywebapp/*). > > What will you do while Tomcat is restarting, though, if you have to > restart? > > Restarts take about a

Hosting recommendations

2014-03-17 Thread John Smith
#x27;s a little outside the scope of this group, but there's a lot of smart people on here and I am using Tomcat on the two webservers. Can anyone suggest a managed hosting company they like. Preferential to iron, but if a cloud has worked for you please let me know. My boss is going to stab me. Thanks, John

Re: tomcat-native libraries

2014-03-17 Thread John Smith
> > > Installing the native library will make a difference. Whether the > difference is large enough to notice depends very much on your > application. If you want to improve your application's performance I > suspect your time would be better spent with a profiler to see where the > bottlenecks ar

Re: Hosting recommendations

2014-03-17 Thread John Smith
On Mon, Mar 17, 2014 at 9:55 AM, Mark Thomas wrote: > On 17/03/2014 13:41, John Smith wrote: > > We're getting killed by our hosting provider (RS) over bandwidth issues. > I > > swear we scoped this out but somehow were over our agreement by an > alarming > > amo

Re: Hosting recommendations

2014-03-17 Thread John Smith
On Mon, Mar 17, 2014 at 10:25 AM, Mikolaj Rydzewski wrote: > On 17.03.2014 15:15, John Smith wrote: > > 1. Yes, we have ~500,000 visitors per day, and the site is based around a >> very popular game that is very data intensive (users creating, browsing >> and >>

Effects of turning off sendFile in the NIO connector

2014-03-22 Thread John Smith
ing off sendFile will have negative consequences. Tomcat 7.0.42 RHEL6 ~4T outbound traffic/day Best, John

Re: Effects of turning off sendFile in the NIO connector

2014-03-23 Thread John Smith
lly benefit from gzip and some binary data we send > > back and forth is already compressed. I could manually implement > > compression on XML at the application level and within the SWF, if > turning > > off sendFile will have negative consequences. > > > > Tomcat 7

Re: Effects of turning off sendFile in the NIO connector

2014-03-23 Thread John Smith
> > John > > The consequences for disabling sendFile are extremely hard to quantify > as there are so many variables. I would normally expect there to be more > CPU load but how much more? No idea. It might be impossible to detect, > it might leaver your CPUs pegged at 100%.

Concurrency - Servlet created instances accessing static classes

2014-03-24 Thread John Smith
e last few months it simply fell out of my brain :). I'm also aware that the answer to this is often "it depends" but I'm looking for the general case answer. TIA John

Re: PooledConnection.getConnection - Tomcat JDBC Pool

2014-03-25 Thread John Smith
ng Tomcat, but have some non-webapp application that's trying to use the JNDI datasource? Or are you not running Tomcat at all? Best, John

Re: Concurrency - Servlet created instances accessing static classes

2014-03-25 Thread John Smith
> > If the method is thread-safe - no issue. If it isn't thread-safe then > you have a problem. > > Mark > Thanks Mark - Clearly and succinctly explained. Best, John

Re: Concurrency - Servlet created instances accessing static classes

2014-03-25 Thread John Smith
> First terminology problem: class X isn't instantiated here, an object of > type class X is instantiated. > As Matisse once said, exactitude is not truth. This sort of hair splitting isn't helpful. Say "Class X is instantiated" to a thousand programmers and they'll understand that it means an ins

Re: Concurrency - Servlet created instances accessing static classes

2014-03-25 Thread John Smith
> You must have been fun to have as a student. > Student is a vague term. Student of which grade, which subject? Student of a trade? Student of life? Unfortunately your lack of exactness means I can't understand your joke :) (I was an even worse employee) - John

Re: PooledConnection.getConnection - Tomcat JDBC Pool

2014-03-25 Thread John Smith
> > Jonathan, Filip, If it is a bug then my answer is way off the mark. I'm sorry. If it's not a problem, could you explain, in this case, what acts as the connection pool manager when the Tomcat jdbc pool library is used outside of Tomcat? Best, John

Re: Can we increase the logging in localhost_access.log

2014-03-25 Thread John Smith
let-exception-and-error-handling-example-tutorial Best, John

Re: ColdFusion10 custom mod_jk difference

2014-04-08 Thread john Matlock
Recommendation: Switch away from Adobe CF 10 to Railo (www.getrailo.org). On Tue, Apr 8, 2014 at 2:44 PM, Doug Strick wrote: > We're moving from ColdFusion8 to CF10 where I work and ran into a strange > issue. We tried using mod_jk-1.2.39 and it compiled fine. We were able to > get the commun

SSL on one subdirectory only.

2014-05-27 Thread John Smith
ctor enabled, https://* is globally respected on the entire webapp. Do I need to manually check the URL/protocol to deny or redirect https to http outside of '/admin'? Is there any built in TC mechanism or suggested best practice to handle this? or should I not care? Best, John

Re: SSL on one subdirectory only.

2014-05-29 Thread John Smith
On Tue, May 27, 2014 at 2:21 PM, Mark Thomas wrote: > On 27/05/2014 17:31, John Smith wrote: > > Tomcat 7.0.42, RHEL6, JDK1.7.0_25, Standalone TC configuration. IPTABLES > > route port 80 to 8080 > > > > I've got a subdirectory like 'www.mysite.com/admin

Re: SSL on one subdirectory only.

2014-05-29 Thread John Smith
> > > >> 2. With the SSL connector enabled, https://* is globally respected on the >> entire webapp. Do I need to manually check the URL/protocol to deny or >> redirect https to http outside of '/admin'? Is there any built in TC >> mechanism or suggested best practice to handle this? or should I no

Re: Any recommendations on heap settings for Tomcat on an AS/400?

2014-06-17 Thread Wang, John
value of the max file descriptors if you run Tomcat in Linux/Unix. Setting up proper GC mode is also important for response time and throughput. John Wang On 6/17/14, 14:21, "James H. H. Lampert" wrote: >We launch Tomcat from a CL program, with a command front-end, and >curre

Re: server.xml socketBuffer setting

2014-06-20 Thread Wang, John
It was caused by a bug in Windows Server 2008 R2. Take a look at this http://support.microsoft.com/kb/2577795 On 6/18/14, 15:18, "David kerber" wrote: >On 6/17/2014 11:34 AM, David kerber wrote: >> Running TC 7.0.54 as a service with JRE 7u60, on Windows Server 2008 R2. >> >> What should I use

Re: Collision on port 8005 -- what to do about it?

2013-07-10 Thread John Renne
127.0.0.1:8005? > As far as I know, there's no way to bind the shutdown port to a specific IP-address, you can however change the shutdown port for every tomcat instance. John - To unsubscribe, e-mail: users-unsubscr..

Moving Tomcat to work externally.

2013-07-10 Thread john Matlock
to www.books-on-line.com - same result. I've set the IP address to match the IP address for our online server and simply moved the cable from the online server (which works using XP and IIS) to the HP machine. Is there something else I'm supposed to do? Did I do something stupid? John

Re: Moving Tomcat to work externally.

2013-07-11 Thread john Matlock
've tried to read the real Tomcat doc without success. I've worked in a dozen or so languages, but the Java world is new to me and it uses a lot of jargon making trying to get anything out of it very difficult. On Wed, Jul 10, 2013 at 7:09 PM, Mark Eggers wrote: > On 7/10/2013 6:

<    1   2   3   4   5   6   7   8   9   10   >