trying to use the JNDI datasource? Or are you not running Tomcat at all?
Best,
John
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
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
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
(); ?
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
-example-tutorial
Best,
John
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
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
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
.
Tomcat 7.0.42
RHEL6
~4T outbound traffic/day
Best,
John
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
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
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
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
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
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
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
simultaneous connections. Tomcat 7.0.42. RHEL6.
Best,
John
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
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
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
Xeon E5-2640 2.5GHz
32 GB RAM
RHEL 6
Best,
John
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
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
, 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
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
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
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
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
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
!
--john
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
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
#addWebapp not appropriate if hosting a packed WAR file?
Thanks!
--john
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
with signature
Tomcat 7.0.39
jdk1.6.0_45
Apache 2.2.3-43 (not currently running or installed
Thanks
-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
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
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
: 6
minEvictableIdleTimeMillis : 360
Validation Query : SELECT 1
Thanks,
John
--
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
timeBetweenEvictionRunsMillis : 6
minEvictableIdleTimeMillis : 360
Validation Query : SELECT 1
--
John Rellis
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
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
. 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
?
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
) to the HP machine.
Is there something else I'm supposed to do?
Did I do something stupid?
John
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
=org.apache.catalina.ha.session.ClusterSessionListener/
/Cluster
--
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
=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
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
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
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é
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
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
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
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
%u %t quot;%rquot; %s %b /
/Host
/Engine
/Service
/Server
--
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
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
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
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
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
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
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
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
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
with this?
Thank you,
John
John Byrne
System Administrator, IST
john_by...@apple.com
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
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
(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
-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
, 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
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
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
. 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
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
for SSL.
John
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
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
anyway)
John
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
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
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
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
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
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
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
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
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
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
://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
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
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
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
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
,
SERVER.catalina.out etc. rather than ${catalina.base}/logs
Can some body guide me , really appreciated
Regards
John
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
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
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
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
401 - 500 of 1071 matches
Mail list logo