Max Sessions Across whole Server

2017-05-24 Thread Anthony, Clark R [US] (MS)
server? If not, is this something that might be considered for a new feature addition in the future? I'm using the SingleSignOn valve if that helps (or hinders). Thanks, Clark

RE: Tomcat JDBC connection pool: Using initSql together with validatorClassName

2014-12-03 Thread Wes Clark
These actions seems to incorrectly conflated in the code. I'd also like to do the same thing, so if you get it working, keep me posted. -Original Message- From: Iris Hupkens [mailto:i.hupk...@topdesk.com] Sent: Wednesday, December 03, 2014 5:14 AM To: 'users@tomcat.apache.org' Subject:

FW: Question on Tomcat JDBC Connection Pool

2014-08-18 Thread Wes Clark
to:ch...@christopherschultz.net] Sent: Tuesday, August 12, 2014 8:28 PM To: Tomcat Users List Subject: Re: Question on Tomcat JDBC Connection Pool -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Wes, On 8/12/14, 5:26 PM, Wes Clark wrote: > (If the answer differs between Tomcat 7 and Tomcat 8, please not

Question on Tomcat JDBC Connection Pool

2014-08-12 Thread Wes Clark
(If the answer differs between Tomcat 7 and Tomcat 8, please note that.) When a SQL exception occurs, often the database connection will be broken and should be evicted from the pool. In our code, we call this "marking the connection for death". We do this because we don't want to set the "te

RE: Tomcat JDBC Connection Pool initialization question

2014-07-24 Thread Wes Clark
lix.schumac...@internetallee.de] Sent: Tuesday, July 22, 2014 11:07 PM To: Tomcat Users List Subject: Re: Tomcat JDBC Connection Pool initialization question On 23. Juli 2014 01:20:27 MESZ, Wes Clark wrote: >I want to initialized a new connection being added to the pool with >more than

Tomcat JDBC Connection Pool initialization question

2014-07-22 Thread Wes Clark
I want to initialized a new connection being added to the pool with more than one SQL statement. I cannot see how to override the existing methods to do this. Has anyone done this, or have a suggestion for me?

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

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

How to Run a Single Application instead of all Applications under webapps

2010-12-02 Thread Johnny Clark
I have used Jboss for a long time, but recently we've removed our dependencies on a full blown J2EE container so that we can run in Tomcat. I am trying to modify my development environment to support our standard workflow, but I can't figure out how to get Tomcat to run a specific application a

RE: Apache Tomcat 6.0.18 on Windows Server 2008 R2 Changes RDP Port

2010-06-25 Thread Aaron Clark
Do you think its more likey that its a bug in the OS, or the server has been comprimised. Aaron K. Clark A+, Network+, CCNA Intellicom, Inc acl...@intellicominc.com 308-237-0684 x228 (Office) 308-440-5500 (Cell) 1700 2nd Ave Kearney, Ne 68847 From: André

RE: Apache Tomcat 6.0.18 on Windows Server 2008 R2 Changes RDP Port

2010-06-25 Thread Aaron Clark
No offense taken. If I could handle this problem myself I wouldn't be asking for others help. I don't understand how a bug in the OS would cause the RDP port to change if (3rd Party Application A) is running. Aaron K. Clark Senior Technician A+, Network+ & CCNA Intellicom, Inc (3

RE: Apache Tomcat 6.0.18 on Windows Server 2008 R2 Changes RDP Port

2010-06-24 Thread Aaron Clark
The RDP port is in the registry. It's at HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp\PortNumber Bug or not, it only happens when Tomcat is running. Aaron K. Clark Senior Technician A+, Network+ & CCNA Intellicom, Inc (308) 237 - 0684 x 228

RE: Apache Tomcat 6.0.18 on Windows Server 2008 R2 Changes RDP Port

2010-06-24 Thread Aaron Clark
When we stop the service the port stops changing. It's a microcomputer system; Anything is possible. Aaron K. Clark Senior Technician A+, Network+ & CCNA Intellicom, Inc (308) 237 - 0684 x 228 (308) 234 - 6645 (Fax) 1700 2nd Ave Kearney, Ne 68847 -Original Message- From: Pid

RE: Apache Tomcat 6.0.18 on Windows Server 2008 R2 Changes RDP Port

2010-06-23 Thread Aaron Clark
showing tomcat running on 80 and svchost running on 3389. I haven't run this command after the switch yet. 4) Tomcat is what runs on port 80, yes. Aaron K. Clark Senior Technician A+, Network+ & CCNA Intellicom, Inc (308) 237 - 0684 x 228 (308) 234 - 6645 (Fax) 1700 2nd Ave Kearney,

Apache Tomcat 6.0.18 on Windows Server 2008 R2 Changes RDP Port

2010-06-22 Thread Aaron Clark
case with Microsoft and they are saying to contact Apache. Does anyone have any direction on where I might be able to go for help with this problem? Thank You, Aaron K. Clark Senior Technician A+, Network+ & CCNA Intellicom, Inc (308) 237 - 0684 x 228 (308) 234 - 6645 (Fax) 1700 2nd Ave Kea

Re: Significant change between 5.5 and 6.0 for Development

2010-04-01 Thread Clark
On 4/1/2010 5:23 PM, Pid wrote: On 01/04/2010 21:52, Clark wrote: The context.xml is in /ROOT/META-INF The server.xml, for both 5.5 and 6.0, is : < - <#> type="*org.apache.catalina.UserDatabase*" description="*User database that can be upda

Significant change between 5.5 and 6.0 for Development

2010-04-01 Thread Clark
6.0, this is just hitting the Trifecta of badness. So, is it that we have missed some new configuration parameter? This also appears to be related to Bug 47343 (introduced by 42747). In the mean time, back to 5.5.28. - Clark Wright.

Re: SECURITY breach in Tomcat

2009-01-22 Thread Brian Clark
I suggest removing all of the bundled web apps (in the webapps folder), including root, manager and host-manager. Also, upgrade your JVM to the latest 1.5.x version, which I think is 1.5.15 or something like that. Finally, scan your app/system for vulnerabilities with something like these: ht

Re: SECURITY breach in Tomcat

2009-01-22 Thread Brian Clark
What version of Tomcat are you using? What version of the JVM? What version of Windows? Are you up to date on your Windows patches? From: Toby Kurien To: users@tomcat.apache.org Sent: Thursday, January 22, 2009 9:16:46 AM Subject: SECURITY breach in Tomcat

Re: Monitor Tomcat

2009-01-21 Thread Brian Clark
I use Sun's Visual VM. https://visualvm.dev.java.net/ Brian From: Zaki Akhmad To: Tomcat Users List Sent: Tuesday, January 20, 2009 10:02:51 PM Subject: Monitor Tomcat Hello, I am deploying my web application on Tomcat. How do I monitor the tomcat perform

Re: "maxKeepAliveRequests" attribute configuration

2009-01-18 Thread Brian Clark
Do you monitor your tomcat server(s) for memory and CPU use? I'd get some baseline measurements and then incrementally increase your maxKeepAliveRequests value until your problem goes away, all the while making sure you don't have memory or CPU issues. Brian Clark VP, IS Omeda

Re: SSL Accelerator - Front ending Tomcat

2009-01-07 Thread Brian Clark
From: Rainer Jung To: Tomcat Users List Sent: Tuesday, October 14, 2008 9:46:56 AM Subject: Re: SSL Accelerator - Front ending Tomcat Mike Koponick schrieb: > Hello Everyone, > > I have not been a frequent administrator of Tomcat, but it seems that > I am b

Re: Optimizing Tomcat with Http11NioProtocol?

2008-12-30 Thread Brian Clark
5 minutes to tell you where the real problem is will be worth it. Other techniques (access logs, jmeter, etc) should point you in the right direction but you'll need to do soem more work to figure out exactly where the bottleneck(s) is(are). Mark > > -nodje > > > Brian Cla

Re: Optimizing Tomcat with Http11NioProtocol?

2008-12-29 Thread Brian Clark
good to know it's possible to use that much memory! cheers Brian Clark-10 wrote: > > Try using jconsole.exe (it is part of the Sun JDK) to review memory and > thread usage of your JVM. That should help you narrow down where the issue > is. One key thing to look at with Jconsole i

Re: Hints on upgrading from 6.0.14 to 6.0.18 on production server

2008-12-29 Thread Brian Clark
The only thing we found when going from 6.0.16 to 6.0.18 was an issue with some of our JSP's. The fix is described by "jroller" here: http://www.searchfull.net/1289260.html Since I had a real hard time getting to this website, I'll copy and paste the article here Tomcat 6.0.18 includes a f

Re: Optimizing Tomcat with Http11NioProtocol?

2008-12-29 Thread Brian Clark
Try using jconsole.exe (it is part of the Sun JDK) to review memory and thread usage of your JVM. That should help you narrow down where the issue is. One key thing to look at with Jconsole is the heap memory used figure. You are setting your -Xmx, but how much of it are you actually using? Heap

Re: SSL Accelerator - Front ending Tomcat

2008-10-13 Thread Brian Clark
I don't know if this will actually help Mike do what he wants to do. I don't think he needs to know about Tomcat SSL configuration. I think we do exactly what Mike wants to do...we have a network load balancer with SSL accelerator in front of all of our Tomcat instances. All of our incoming SSL

Re: jstack and Tomcat 6 on Windows

2008-09-22 Thread Brian Clark
Thanks again for all of our suggestions. The Eclipse Memory Analyzer Tool looks very interesting and helpful. It also calls out the JAVA_OPT -XX:+HeapDumpOnOutOfMemoryError to auto generate a heap dump for me. I was originally looking for a way to automatically generate a thread dump, but this

Re: jstack and Tomcat 6 on Windows

2008-09-19 Thread Brian Clark
Thanks everyone for their suggestions. Unfortunately, that doesn't help me with my particular issue. I have a memory leak in one of my apps, and when the system runs out of memory, it stops responding to new requests. I have a script that will detect this condition and automatically restart To

jstack and Tomcat 6 on Windows

2008-09-19 Thread Brian Clark
Hello, I run Tomcat 6.0.x as a service on Windows 2003, using Sun JDK 1.6. I was trying to use the jstack program, part of the JDK, to get a stack dump from Tomcat/Java on my server. However, I ran into a problem. First of all, Tomcat on Windows seems to "hide" the JVM instance. Java doesn't sh

Re: Non-Heap Memory always increasing during deployment for TC 5.5.26/Solaris/JVM 1.5.0_16

2008-09-16 Thread Brian Clark
I think you need to add one more line to your CATALINA_OPTS statement: -Dcom.sun.management.jmxremote=true If that does not help you, I'd try using port 6969 (the default) instead of . It should not matter, but I would at least give it a try as part of the troubleshooting process. You could

Re: Fw: Tomcat Patch Management

2008-09-11 Thread Brian Clark
"So, do you think Automatic windows patch management and manual tomcat patch management would ideal as patch releases from Tomcat is very rare?" Yes, that's the way we do it. We use WSUS for Windows patch management, and manually upgrade Tomcat as needed. This has not been an issue for us, as Tom

Re: Tomcat logging properties

2008-09-10 Thread Brian Clark
have a look here if you still need more info http://tomcat.apache.org/tomcat-6.0-doc/logging.html On Thu, Sep 11, 2008 at 2:10 AM, Brian Clark <[EMAIL PROTECTED]> wrote: > At the bottom of my Tomcat 6.0.16 logging.properties file, I have the

Tomcat logging properties

2008-09-10 Thread Brian Clark
At the bottom of my Tomcat 6.0.16 logging.properties file, I have the following entries: #org.apache.catalina.startup.ContextConfig.level = FINE #org.apache.catalina.startup.HostConfig.level = FINE #org.apache.catalina.session.ManagerBase.level = FINE #org.apache.catalina.core.AprLifecycleListener

Problems with running 64-bit Tomcat 6 as a Windows service

2008-09-03 Thread Brian Clark
Hello, I am trying to get Tomcat 6.0.18 to run on my Win2k3 x64 edition server. I basically did the same thing talked about here: http://markmail.org/message/kptleixb6duxgwhm but it didn't work for me. I didn't use the service.bat install though. I installed the service manually with the sc.exe

Re: Tomcat Native library for Windows

2008-09-02 Thread Brian Clark
day, September 2, 2008 7:19:32 PM Subject: RE: Tomcat Native library for Windows > From: Brian Clark [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat Native library for Windows > > Hmmm...on Windows, what is the difference between > java.library.path and the Windows environmental variabl

Re: Tomcat Native library for Windows

2008-09-02 Thread Brian Clark
t necessarily endorse content contained within this transmission. > Date: Tue, 2 Sep 2008 23:38:45 +0100 > From: [EMAIL PROTECTED] > To: users@tomcat.apache.org > Subject: Re: Tomcat Native library for Windows > > Brian Clark wrote: > > Hello, > > > > I am gett

Re: Tomcat Native library for Windows

2008-09-02 Thread Brian Clark
library for Windows Brian Clark wrote: > Hello, > > I am getting the following error when starting up Tomcat 6.0.16 on Windows > 2003: > > "Sep 2, 2008 4:18:13 PM org.apache.catalina.core.AprLifecycleListener init > INFO: The APR based Apache Tomcat > Native library which

Tomcat Native library for Windows

2008-09-02 Thread Brian Clark
t.apache.org/msg29111.html Any ideas on what is going on here? Brian Clark

Re: Re: Bending Jasper to My Will

2008-04-22 Thread Andy Clark
Alan Chaney wrote: Correct me if I am wrong but you want to have a > level of configuration which is more than just > appearance. It's mostly for appearance but that also ties in with functionality. For example, if a page displays the preferences that a user can change, a skin author can change

Re: Bending Jasper to My Will

2008-04-22 Thread Andy Clark
Lucas wrote: To answer the original question, there is a > mechanism that Tomcat provides to handle the > specific thing you want to achieve. The solution > is very Tomcat specific, so I do not really > recommend it, anyhow, if you really _need_to_have > _this_ then the way to achieve it is th

Re: Bending Jasper to My Will

2008-04-22 Thread Andy Clark
Hassan wrote: I think that this is a non-starter because the app is already written (quite nicely, I might add) in straight JSPs. If it's already "quite nicely" written, why doesn't > it do what you want? :-) Excellent point! But ultimately there are limitations in the extensibility of th

Re: Bending Jasper to My Will

2008-04-21 Thread Andy Clark
Thanks for everyone with their quick responses to my query regarding how to override tags/JSP files. My initial posts on the subject can be found here: http://mail-archives.apache.org/mod_mbox/tomcat-users/200804.mbox/[EMAIL PROTECTED] http://mail-archives.apache.org/mod_mbox/tomcat-users/200804

Re: Bending Jasper to My Will

2008-04-21 Thread Andy Clark
Pid wrote: Andy Clark wrote: I want Jasper to look for JSP and Tag files in a >> specific location (e.g. based on a request param); >> and then fall back to a default location if the >> file is not found. This would be extremely useful for skinning a webapp. Cascading S

Bending Jasper to My Will

2008-04-18 Thread Andy Clark
I have been going through the Jasper source code to figure out how to make it do what I want but have been unsuccessful. So I thought I would ask the experts. (Please let me know if there is a better forum for this particular question.) I want Jasper to look for JSP and Tag files in a specific lo

RE: Example Balancer Rules and Information

2006-06-13 Thread Ryan Clark
your question. Yes, one way that this can be done is with a web application running in tomcat. For example a Servlet or jsp can do a redirect or a forward of the request. ED -Original Message- From: Ryan Clark [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 13, 2006 10:35 AM To:

Example Balancer Rules and Information

2006-06-13 Thread Ryan Clark
problems with the webapp. I would prefer not to do this via JSP if possible. thanks Ryan Clark Senior Technical Consultant Perspicuity Ltd [EMAIL PROTECTED] This message and any attachments are confidential and should only be read by those to whom they are addressed. If you are not the

RE: Systems Architecture Pros and Cons

2005-10-13 Thread Matthew Clark
> -Original Message- > From: Peter Johnson [mailto:[EMAIL PROTECTED] > Sent: 13 October 2005 10:03 > To: Tomcat Users List > Subject: Re: Systems Architecture Pros and Cons > > > It will depend a great deal on the nature of your application and how > > many end users you think you may ha

RE: Systems Architecture Pros and Cons

2005-10-13 Thread Matthew Clark
> Hi All, > > I was discussing with someone two common system architectures for a web > application environment and thought I'd extend it to the Tomcat > community to see their views / thoughts. > > If we consider that there are 5 servers available, what is the best way > to utilise them assuming