Re: PooledConnection.getConnection - Tomcat JDBC Pool

2014-03-25 Thread John Smith
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

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
-example-tutorial Best, John

Concurrency - Servlet created instances accessing static classes

2014-03-24 Thread John Smith
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: Effects of turning off sendFile in the NIO connector

2014-03-23 Thread John Smith
level and within the SWF, if turning off sendFile will have negative consequences. Tomcat 7.0.42 RHEL6 ~4T outbound traffic/day Best, John Your first link refers to using sendFile for asynchronous writes from a servlet. Any servlet can instruct Tomcat to perform a sendfile call

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%. The only way you will know

Effects of turning off sendFile in the NIO connector

2014-03-22 Thread John Smith
. Tomcat 7.0.42 RHEL6 ~4T outbound traffic/day Best, John

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 second or

Hosting recommendations

2014-03-17 Thread John Smith
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 are in

Re: Hosting recommendations

2014-03-17 Thread John Smith
On Mon, Mar 17, 2014 at 9:55 AM, Mark Thomas ma...@apache.org 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 amount. Our daily

Re: Hosting recommendations

2014-03-17 Thread John Smith
On Mon, Mar 17, 2014 at 10:25 AM, Mikolaj Rydzewski m...@ceti.pl 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 loading levels and replays

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: 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 knst.koli...@gmail.comwrote: 2014-03-09 2:08 GMT+04:00 John

Executor thread pool

2014-03-10 Thread John Smith
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 connections that use my web application code waiting

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. - Chuck

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 tomcat.ran...@gmail.com 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

NIO connector - connections and threads

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

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 on RHEL6. Assume that Tomcat is serving

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

Tomcat 8 appears slow to process jsp pages

2014-02-12 Thread John . Kieffer
, 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

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

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: using log4j in a webapp using embedded tomcat

2014-01-28 Thread John Cartwright - NOAA Federal
the log4j.properties file in WEB-INF/classes and that works. It's just that in this case being able to override the logging properties when executing the webapp-runner would have been convenient. --john

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

2014-01-28 Thread John Palmer
On Tue, Jan 28, 2014 at 12:11 PM, Konstantin Kolinko knst.koli...@gmail.com wrote: 2014-01-28 John Palmer johnpalm...@gmail.com: We have two similar production environments which use: request.getAttribute(javax.servlet.request.X509Certificate) for several purposes. These use tomcat behind

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

2014-01-28 Thread John Palmer
Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 John, On 1/28/14, 12:41 PM, John Palmer wrote: We have two similar production environments which use: request.getAttribute(javax.servlet.request.X509Certificate) for several purposes. These use

using log4j in a webapp using embedded tomcat

2014-01-25 Thread John Cartwright - NOAA Federal
! --john

Re: running packed WAR files with embedded tomcat

2014-01-22 Thread John Cartwright - NOAA Federal
to me that the WAR is still needing to be unpacked prior to running. --john On Wed, Jan 22, 2014 at 12:16 AM, Valery Shyshkin vns.shysh...@gmail.comwrote: The code below works fine on my Win 7 PC final Tomcat tomcat = new Tomcat(); tomcat.setPort(9191); //File baseDir = new File

Re: running packed WAR files with embedded tomcat

2014-01-21 Thread John Cartwright - NOAA Federal
Thanks for the suggestion Valery, but swapping the arguments doesn't work. --john On Tue, Jan 21, 2014 at 8:12 AM, Valery Shyshkin vns.shysh...@gmail.comwrote: May be tomcat.addWebapp(contextName,pathToWarFile) instead of tomcat.addWebapp(pathToWarFile, contextName) will help yoo. 2014/1

running packed WAR files with embedded tomcat

2014-01-20 Thread John Cartwright - NOAA Federal
#addWebapp not appropriate if hosting a packed WAR file? Thanks! --john

RE: Tomcat 7 SEVERE: Invalid message received with signature

2013-12-06 Thread John Beaulaurier -X (jbeaulau - ADVANCED NETWORK INFORMATION INC at Cisco)
Yes, I did mean Apache httpd. I'll be more detailed going forward. You were right. I found the AJP connector enabled by default, and disabled it. Thanks again. -John Apache is not running and in fact has been uninstalled. Presumably you mean Apache httpd, not Apache Tomcat (both are from

Tomcat 7 SEVERE: Invalid message received with signature

2013-12-05 Thread John Beaulaurier -X (jbeaulau - ADVANCED NETWORK INFORMATION INC at Cisco)
with signature Tomcat 7.0.39 jdk1.6.0_45 Apache 2.2.3-43 (not currently running or installed Thanks -John

Tomcat 7 - requested resource is not available

2013-10-25 Thread Donaldson, John
of a Tomcat newbie. Any suggestions? It's just some big, basic error I think. John D. Here is an example Eclipse console log (heavily edited). The Tomcat logs (if I create a WAR and run outside of Eclipse seem to show the same). 25-Oct-2013 10:42:21

RE: Tomcat 7 - requested resource is not available

2013-10-25 Thread Donaldson, John
there is no D drive in scope. Thanks for your suggestion. In such a case as this, knowing where to look is a big help. John D. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h

Re: minIdle not being respected (tomcat thread pool)

2013-10-09 Thread John Rellis
On Tue, Oct 8, 2013 at 5:42 AM, Daniel Mikusa dmik...@gopivotal.com wrote: On Oct 7, 2013, at 11:14 PM, John Rellis john.d.rel...@gmail.com wrote: Hi, Tomcat : 7.0.33 Java : 6 JDBC Pool : 1.0.9.3 Grails : 1.3.9 We are running a grails app that is using the tomcat JDBC thread pool, what

Does maxActive limit the size of threadpool?

2013-10-08 Thread John Rellis
: 6 minEvictableIdleTimeMillis : 360 Validation Query : SELECT 1 Thanks, John -- John Rellis

Re: Does maxActive limit the size of threadpool?

2013-10-08 Thread John Rellis
On Tue, Oct 8, 2013 at 10:14 AM, Daniel Mikusa dmik...@gopivotal.com wrote: On Oct 8, 2013, at 12:31 PM, John Rellis john.d.rel...@gmail.com wrote: Hi, Tomcat : 7.0.33 Java : 6 JDBC Pool : 1.0.9.3 Grails : 1.3.9 I am having difficulty understanding some of the documentation

minIdle not being respected (tomcat thread pool)

2013-10-07 Thread John Rellis
timeBetweenEvictionRunsMillis : 6 minEvictableIdleTimeMillis : 360 Validation Query : SELECT 1 -- John Rellis

Heap recommendations for Tomcat 7

2013-09-06 Thread John Beaulaurier -X (jbeaulau - ADVANCED NETWORK INFORMATION INC at Cisco)
Hello, Is there a good formula for JDK Heap parameters for Tomcat 7 as it relates to hardware, or should ergonomics be allowed to define, or is it more application driven? OS: RHEL 5.5 Kernel: 2.6.18-194.8.1.el5 Apache Tomcat: 7.0.39 JDK: 1.6.0_45 Thank you -John

JVM options (where to configure)

2013-09-05 Thread John Beaulaurier -X (jbeaulau - ADVANCED NETWORK INFORMATION INC at Cisco)
is the preferred? Also I've seen configurations with JAVA_OPS and CATALINA_OPS. Which is the preferred there? OS: RHEL 5.5 Kernel: 2.6.18-194.8.1.el5 Apache Tomcat: 7.0.39 JDK: 1.6.0_45 Thank you -John - To unsubscribe, e-mail: users

Re: Moving Tomcat to work externally.

2013-07-11 Thread john Matlock
. 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 its_toas...@yahoo.com wrote: On 7/10/2013 6:08 PM, Caldarale, Charles R wrote: From: john

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

2013-07-10 Thread John Renne
? 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...@tomcat.apache.org

Moving Tomcat to work externally.

2013-07-10 Thread john Matlock
) to the HP machine. Is there something else I'm supposed to do? Did I do something stupid? John

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 10:54 AM, John Rellis wrote: I am using apache 2.2.3

Strange Faulty Member Exception

2012-10-02 Thread John Rellis
=org.apache.catalina.ha.session.ClusterSessionListener/ /Cluster -- John Rellis

Re: Static Membership Session Replication

2012-09-29 Thread John Rellis
On Sep 28, 2012 3:42 PM, Konstantin Kolinko knst.koli...@gmail.com wrote: 2012/9/28 John Rellis john.d.rel...@gmail.com: (...) Keiichi, Thanks. OK so, when my tomcat starts it says : INFO: Receiver Server Socket bound to:localhost/127.0.0.1:4110 You reckon this should say

Re: Static Membership Session Replication

2012-09-28 Thread John Rellis
=org.apache.catalina.tribes.transport.nio.NioReceiver address=localhost port=4210 autoBind=100 selectorTimeout=5000 maxThreads=6/ Is it not address=localhost but address=tomcattwo ? 2012/9/21 John Rellis john.d.rel...@gmail.com: Hey, Really hoping somebody can help. I am attempting a cluster with session replication. Tomcat

Re: Cluster Logging Options

2012-09-24 Thread John Rellis
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: Cluster Logging Options Hi, Curious to how people deal with logging in a horizontally clustered

Re: Cluster Logging Options

2012-09-24 Thread John Rellis
On Mon, Sep 24, 2012 at 10:57 AM, André Warnier a...@ice-sa.com 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 - syslog server That way you can look at the server and also

Re: Cluster Logging Options

2012-09-24 Thread John Rellis
On Mon, Sep 24, 2012 at 1:36 PM, Joseph wutong...@gmail.com 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 a...@ice-sa.com 写道: John Rellis wrote: On Mon, Sep 24, 2012 at 10:57 AM, André

Static Membership Session Replication

2012-09-20 Thread John Rellis
org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler [http-bio-8080] Sep 20, 2012 5:17:55 PM org.apache.coyote.AbstractProtocol start INFO: Starting ProtocolHandler [ajp-bio-8009] Sep 20, 2012 5:17:56 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 70803 ms -- John

Re: Verifying mod_jk is installed

2012-09-18 Thread John Rellis
JkMount /jkmanager/* jkstatus . And I can now hit host/jkmanager/ and I get a UI. Is this the expected behaviour??? Many thanks again! John On Tue, Sep 18, 2012 at 3:05 PM, André Warnier a...@ice-sa.com wrote: John Rellis wrote: Hey, I would very much appreciate some help, flying blind

Re: Verifying mod_jk is installed

2012-09-18 Thread John Rellis
On Tue, Sep 18, 2012 at 3:56 PM, André Warnier a...@ice-sa.com wrote: John Rellis wrote: André, Thanks! OK, so I put JkMount /jkmanager/ jkstatus JkMount /jkmanager/* jkstatus Into apache2.conf and no success. I did however put it in sites-available/default

Re: Clustering Question

2012-09-18 Thread John Rellis
On Sep 18, 2012 7:26 PM, Christopher Schultz ch...@christopherschultz.net 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 dinner :) From what I

Clustering Question

2012-09-17 Thread John Rellis
%u %t quot;%rquot; %s %b / /Host /Engine /Service /Server -- John Rellis

Re: Clustering Question

2012-09-17 Thread John Rellis
: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 John, On 9/17/12 3:50 PM, John Rellis wrote: Location /jk-status # Inside Location we can omit the URL in JkMount JkMount jk-status Order deny,allow Deny from all Allow from all /Location Location /jk-manager # Inside Location we can omit

Re: Unable to change version of Apache Tomcat

2012-08-28 Thread John Byrne
We call a script that sets variables (See below) and then this script calls ...tomcat/startup.sh (See below) John Byrne System Administrator, IST john_by...@apple.com AppName=Service INST=$1 export SPLUNK_ACCESS_LOGS=/ngs/app/`whoami`/var/`hostname`/accessLogs/$AppName export CATALINA_LOGS

Re: Unable to change version of Apache Tomcat

2012-08-28 Thread John Byrne
I figured it out. It was a library issue. Thank you for your help. John Byrne System Administrator, IST john_by...@apple.com On Aug 28, 2012, at 9:42 AM, John Byrne wrote: We call a script that sets variables (See below) and then this script calls ...tomcat/startup.sh (See below

RE: Custom Header Fields are Missing after SiteMinder Redirect (UNCLASSIFIED)

2012-08-28 Thread Lowman, John Mr CTR USA AMC
Classification: UNCLASSIFIED Caveats: NONE Chris, It looks to me like the policy server is sending an HTTP request using the GET method. John -Original Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Tuesday, August 28, 2012 12:13 PM To: Tomcat

Custom Header Fields are Missing after SiteMinder Redirect (UNCLASSIFIED)

2012-08-27 Thread Lowman, John Mr CTR USA AMC
I can't think of anything else at the moment. If anyone knows what's causing this, please help me. I'd be very grateful. Thanks! John Lowman, Java SCP, CIW, A+, Security+ (Contractor) Programmer CALIBRE 256.217.1648 www.calibresys.com Classification: UNCLASSIFIED Caveats: NONE

Unable to change version of Apache Tomcat

2012-08-27 Thread John Byrne
org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet Engine: Apache Tomcat/7.0.8 . . . Thank you for any help. John Byrne System Administrator, IST john_by...@apple.com - environment variables below - BASH=/bin/sh

Re: %{xxx}t not working

2012-08-21 Thread John Byrne
Thank you Rainer, It turns out I was still using 7.0.8 even though I switched the soft link to the new version. Now I just need to find out how the switch mechanism works. John John Byrne System Administrator, IST john_by...@apple.com On Aug 21, 2012, at 1:10 AM, Konstantin Kolinko wrote

Re: %{xxx}t not working

2012-08-21 Thread John Byrne
Even though I've downloaded 7.0.29 the Servlet Engine is still 7.0.8. Is this a configuration problem or is the latest version not being distributed by Apache? I can't find anything that points to the old version in shell scripts. Please help. Thanks, John John Byrne System Administrator

Re: %{xxx}t not working

2012-08-21 Thread John Byrne
Greetings. It must be a configuration issue because I setup the 7.0.29 Tomcat version on my system and it is giving me the right version. Sorry to take up your time. So half of a false alarm on my last email. I just need to find out how they're configuring it here. Thanks, John Byrne

%{xxx}t not working

2012-08-20 Thread John Byrne
with this? Thank you, John John Byrne System Administrator, IST john_by...@apple.com

Re: %{xxx}t not working

2012-08-20 Thread John Byrne
I've tried both 7.0.29 and 7.0.8. Thank you for the help. John Byrne John Byrne System Administrator, IST john_by...@apple.com On Aug 20, 2012, at 12:43 PM, Konstantin Kolinko wrote: 2012/8/20 John Byrne john_by...@apple.com: I was wondering if you could help me with a server.xml

Possible issue with Tomcat 7.0.27 SSL keystore configuration

2012-07-06 Thread Arun John (arujohn)
Hi Team, I am currently facing an issue with SSL configuration in Tomcat 7.0.27. I have one keystore with three private keys to be used by different components . The password I am using for the keystore file is changed. The requirement is such that I should be using three different password

RE: Possible issue with Tomcat 7.0.27 SSL keystore configuration

2012-07-06 Thread Arun John (arujohn)
(JSSESocketFactory.java:449) Regards, Arun From: Arun John (arujohn) [mailto:aruj...@cisco.com] Sent: Friday, July 06, 2012 2:35 PM To: users@tomcat.apache.org Subject: Possible issue with Tomcat 7.0.27 SSL keystore configuration Hi Team, I am currently facing an issue with SSL configuration

RE: Possible issue with Tomcat 7.0.27 SSL keystore configuration

2012-07-06 Thread Arun John (arujohn)
-Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Friday, July 06, 2012 3:55 PM To: Tomcat Users List Subject: Re: Possible issue with Tomcat 7.0.27 SSL keystore configuration On 06/07/2012 10:04, Arun John (arujohn) wrote: Hi Team, I am currently facing an issue

RE: Possible issue with Tomcat 7.0.27 SSL keystore configuration

2012-07-06 Thread Arun John (arujohn)
, 2012 11:13 PM To: Tomcat Users List Subject: Re: Possible issue with Tomcat 7.0.27 SSL keystore configuration 2012/7/6 Arun John (arujohn) aruj...@cisco.com: Hi Mark, Thanks for your quick response. I should have been a little more clear. That snip was copied when I had only one key entry

Re: fronting tomcat with reverse proxy+SSL

2012-05-29 Thread John Renne
Anyone who considers AJP a secure protocol is clearly clueless when it comes to security. Anyone that thinks he can judge security without knowing any of the requirements is plain wrong. As I wrote in a previous answer. It all depends on requirements and what you want to accomplish. John

Re: fronting tomcat with reverse proxy+SSL

2012-05-28 Thread John Renne
at the apache level and let apache and tomcat communicate through AJP which you obviously consider insecure. Can I ask you what you consider insecure about AJP by the way? John - To unsubscribe, e-mail: users-unsubscr

Re: fronting tomcat with reverse proxy+SSL

2012-05-27 Thread John Renne
. Am I missing something? Personaly I wouldn't use SSL between de frontend proxy and Tomcat. In case of an apache server, I would rather let apache handle SSL offloading and use mod_proxy, mod_proxy_ajp and mod_cluster to address tomcat using the AJP protocol. John

Re: fronting tomcat with reverse proxy+SSL

2012-05-27 Thread John Renne
How about the security concerns in having HTTP between reverse proxy and Tomcat? You don't you can use AJP between HTTP and Tomcat. John - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional

Re: fronting tomcat with reverse proxy+SSL

2012-05-27 Thread John Renne
for SSL. John - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: LDAP connection issue

2012-02-22 Thread John Renne
actually don't see packets or no new connections? John - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: LDAP connection issue

2012-02-22 Thread John Renne
anyway) John - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: desperate for help to set up straightforward mod_jk connection between Apache2 webserver and web container

2012-02-11 Thread John Renne
you to go to a glassfish mailing list and try your luck there. John - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

Re: Running Tomcat on Port 80 with Fedora 16 without IP tables redirect

2012-02-07 Thread John Renne
confirm this? On each unix you will need root privileges to bind to a socket below 1024. Tomcat is no different so it will need either root privileges, or a port over 1024 (default indeed 8080) John - To unsubscribe, e-mail

Re: How can I access tomcat's logs using my jsp?

2012-02-03 Thread John Renne
I've done this before but always used the apache in front of tomcat to serve the logfiles. If you're sure you want to let tomcat do the fileserving, I'ld suggest making a symlink in one of the application folders to the logsdirectory. That should do the trick. John On Feb 3, 2012, at 2:53

Re: Tomcat 6 - How to make an application available at www.mydomain.com

2012-01-29 Thread John Renne
deploying it as ROOT.war? If I remember well, you could accomplish this by adding a line like this in the server.xml: Context path= docbase=myApplication /Context I've always considered it a bit ugly but it should do the trick John

Re: Tomcat 6 - How to make an application available at www.mydomain.com

2012-01-29 Thread John Renne
do realize the downsides of modifying the server.xml and including a context element, but it might be a working approach and answers the question the original poster has. John

Tomcat AJP Thread Spike and System Hang

2011-12-21 Thread John Minchuk
Quick overview of our setup. Http requests flow from our load balancers, to squid proxys, to Apaches, to our Tomcat servers. We migrated to this setup from an Oracle App Server. Apache: 2.2.3 Tomcat: 7.0.11.0 JVM: 1.6.0_22-b04 Linux: 2.6.18-194.17.1.el5 Our production environment has max

Re: Maximum memory that can be assigned to Tomcat on windows platform

2011-11-30 Thread john
On Wed, 30 Nov 2011 16:14:45 +0530, Choudhury wrote Hello , The question is not why I would use 32 bit JVM , the question is whether there is any maximum limit on memory for Tomcat and if yes why ? Regards, It depends on the windows version used actually. From what I remember this

Tomcat dependency setup

2011-11-21 Thread John Hinnegan
Hi, I'm looking for a resource for how to set dependencies on tomcat. I'm using SBT and looking to replace Jetty with Tomcat in the test/build phase. I already deploy to tomcat in prod. Here's the jetty dependency. 15 org.eclipse.jetty % jetty-webapp % 7.4.5.v20110725 % container, 16

RE: How do I build tomcat native for windows x64?

2011-11-17 Thread John Wilkinson
but SSLCACertificateFile is not. Our build is different from the build distributed by apache in that either both or neither of these parameters must be set. Otherwise, it seems to work. -John -Original Message- From: John Wilkinson Sent: November-16-11 4:02 PM To: 'users@tomcat.apache.org' Subject

How do I build tomcat native for windows x64?

2011-11-16 Thread John Wilkinson
://www.openssl.org/support/faq.html [prog]1), and tried various combinations of libraries. How does the tomcat project do this for tcnative releases? Thanks, John - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional

Tomcat 6 7 logging to rsyslog

2011-10-27 Thread John Schwartzman
Can anyone point me to some documentation about logging authentication information (login, logout, lockout) to a remote syslog in Tomcat 6 7? Many thanks! -- John Schwartzman Forte Systems, Inc. - To unsubscribe, e-mail

Tomcat 6 7 Logging to rsyslog

2011-10-27 Thread John Schwartzman
Can anyone point me to documentation concerning logging of authentication information (login, logout, lockout) to a remote syslog in Tomcat 6 7? Many thanks! -- John Schwartzman Forte Systems, Inc. - To unsubscribe, e-mail

Re: AJP Errors. Apache + Tomcat

2011-10-19 Thread john
to backend: localhost Can you please help me find out where the problem lies. Have you checked the port is listening? (netstat -an) and the firewall permits the connection (telnet localhost 8009) John -- /(bb|[^b]{2

Clustering / High Availability edge cases?

2011-09-13 Thread John Bass
a long running calculation, I'm assuming that there's no way to persist that execution state. Are those assumptions correct? If anyone has any other comments on further scenarios where clustering and session persistence will not be useful in an HA context, i'd love to hear them. thanks, John

tomcat log server

2011-07-30 Thread John Smith
, SERVER.catalina.out etc. rather than ${catalina.base}/logs Can some body guide me , really appreciated Regards John

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

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 JMS topics like

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 m

How to dynamically create JNDI Context Resources

2011-05-20 Thread John Fletcher
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

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