RE: java.lang.OutOfMemoryError: PermGen space

2009-09-16 Thread Jeffrey Janner
Bruce - You don't say if the JVM is 32-bit or 64-bit, but assuming the latter: 1) By splitting the Heap in half between NewGen and PermGen, you are leaving no room for OldGen, and I'm sure java is going to want to set aside some space for OldGen. So you are probably getting the error because

RE: java.lang.OutOfMemoryError: PermGen space

2009-09-16 Thread Jeffrey Janner
: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Sent: Wednesday, September 16, 2009 9:31 AM To: Tomcat Users List Subject: RE: java.lang.OutOfMemoryError: PermGen space Chuck - I couldn't tell from the post if the Architecture line meant hardware, OS, or JVM. And I'm under the impression from

RE: java.lang.OutOfMemoryError: PermGen space

2009-09-16 Thread Jeffrey Janner
Charles - Of course, a quick review of the doc I provided, proved me wrong on the Heap/PermGen issue. I admit not having re-read the memory tuning guide in a while (maybe since 1.4 days). Jeff -Original Message- From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Sent: Wednesday

RE: java.lang.OutOfMemoryError: PermGen space

2009-09-16 Thread Jeffrey Janner
See my other posts, I did re-read the tuning guide and it specifically states PermGen is part of Heap. -Original Message- From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Sent: Wednesday, September 16, 2009 9:34 AM To: Tomcat Users List Subject: RE: java.lang.OutOfMemoryError

RE: java.lang.OutOfMemoryError: PermGen space

2009-09-16 Thread Jeffrey Janner
-Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Wednesday, September 16, 2009 9:51 AM To: Tomcat Users List Subject: RE: java.lang.OutOfMemoryError: PermGen space From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Subject: RE

RE: java.lang.OutOfMemoryError: PermGen space

2009-09-16 Thread Jeffrey Janner
early to tell, I will have to let the app run for 24 hours. JAVA_OPTS=$JAVA_OPTS -Djava.awt.headless=true -Dfile.encoding=UTF-8 -server -Xms1024m -Xmx3012m -XX:NewSize=512m -XX:MaxNewSize=1024m -XX:PermSize=512m -XX:MaxPermSize=1024m On Wed, Sep 16, 2009 at 10:44 AM, Jeffrey Janner jeffrey.jan

RE: java.lang.OutOfMemoryError: PermGen space

2009-09-16 Thread Jeffrey Janner
Subject: RE: java.lang.OutOfMemoryError: PermGen space From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Subject: RE: java.lang.OutOfMemoryError: PermGen space See my other posts, I did re-read the tuning guide and it specifically states PermGen is part of Heap. The total heap (NewGen

RE: java.lang.OutOfMemoryError: PermGen space

2009-09-16 Thread Jeffrey Janner
16, 2009 9:54 AM To: Tomcat Users List Subject: RE: java.lang.OutOfMemoryError: PermGen space From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Subject: RE: java.lang.OutOfMemoryError: PermGen space Something else Bruce can look into is if his apps are using common jar files that can

RE: java.lang.OutOfMemoryError: PermGen space

2009-09-16 Thread Jeffrey Janner
I stated before, I don't think the MaxNewSize option is available anymore. You should be using NewRatio instead. MaxNewSize is still functional in 1.6; haven't looked in 1.7. Chuck, what good does it do to set this value? Is it any better than setting NewRatio? ***

RE: Virtual host configuration - best practise?

2009-09-21 Thread Jeffrey Janner
Someone correct me if I'm wrong, but just changing server.xml does not require an immediate restart of Apache, correct? Hepabolu could use the host-manager to add his hosts on-the-fly, and then add the necessary changes to the server.xml so that the next time he does restart his server/Tomcat, the

RE: Log4j

2009-09-22 Thread Jeffrey Janner
I had a similar problem with log4j. We host our webapp for various customers, an instance (host) per customer, therefore the same code for each customer. I tried sharing log4j.jar in shared/lib, but found all customer loading into the same log file - very confusing. My solution was to put

RE: Expiration date on static content?

2009-10-06 Thread Jeffrey Janner
http://onjava.com/pub/a/onjava/2004/03/03/filters.html -Original Message- From: pieroxy [mailto:pier...@gmail.com] Sent: Tuesday, October 06, 2009 12:03 PM To: Tomcat Users List Subject: Expiration date on static content? Hello, I do have a tomcat working for several years on my

RE: Adding a new webapps directory

2009-10-19 Thread Jeffrey Janner
Charles - On a related note, is the appBase required? I deploy strictly using the conf/[Engine]/[Host]/[appName].xml method and have no actual use for the appBase directory. However, all my hosts end up pointing to an empty directory. I'd prefer not to have it just sitting around since it's not

RE: Adding a new webapps directory

2009-10-19 Thread Jeffrey Janner
: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Subject: RE: Adding a new webapps directory On a related note, is the appBase required? I think I tried it at 4.x and Tomcat wouldn't come up without it. I'm at 5.5.x now, going to 6.x in the near future. Is it still required? In 6.0.20

RE: How to install Tomcat 5.5.28 32-bit version on Windows 64-bit version?

2009-10-19 Thread Jeffrey Janner
The only reason I can think of for wanting to run 32-bit on 64-bit O/S is too test against a production setup that is still 32-bit (for memory limits, etc.) Personally, I'm glad the 5.5.28 implemented this change, as those were some significant hoops to jump through to get the 64-bit binaries for

RE: How to install Tomcat 5.5.28 32-bit version on Windows 64-bit version?

2009-10-19 Thread Jeffrey Janner
Users List' Subject: RE: How to install Tomcat 5.5.28 32-bit version on Windows 64-bit version? -Original Message- From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Sent: Monday, October 19, 2009 10:28 AM To: Tomcat Users List Subject: RE: How to install Tomcat 5.5.28 32-bit

RE: question about using tomcat on a remote machine

2009-10-22 Thread Jeffrey Janner
He doesn't mention anything about his environment, but I'm betting he's on Windows Server 2008 and running the APR native libraries. I had the same problem when I first installed on this environment. For some reason, it doesn't open an IPv4 any address listener. I changed the connector tag in

RE: question about using tomcat on a remote machine

2009-10-22 Thread Jeffrey Janner
Oops, just re-read the original post and noticed he did say Ubuntu for hte OS. Still, try specifying the IPv4 any address specifically and see if it helps. Jeff -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Wednesday, October 21, 2009 1:07 PM

RE: question about using tomcat on a remote machine

2009-10-22 Thread Jeffrey Janner
And I just realized the funny thing reason. http://localhost will use the IPv6 loopback. Doh! But it did look like it was working. My money is on the APR only starting one *any* address, and defaulting to IPv6 for some reason. Jeff -Original Message- From: Jeffrey Janner

RE: question about using tomcat on a remote machine

2009-10-22 Thread Jeffrey Janner
machine From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Subject: RE: question about using tomcat on a remote machine He doesn't mention anything about his environment, but I'm betting he's on Windows Server 2008 and running the APR native libraries. What part of: i have a dedicated

RE: question about using tomcat on a remote machine

2009-10-22 Thread Jeffrey Janner
- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Thursday, October 22, 2009 2:57 PM To: Tomcat Users List Subject: RE: question about using tomcat on a remote machine From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Subject: RE: question about using tomcat

RE: question about using tomcat on a remote machine

2009-10-22 Thread Jeffrey Janner
: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Subject: RE: question about using tomcat on a remote machine I was referring back to my original post where I mentioned to modify the server.xml. FTR: Try connector address='0.0.0.0' port='8080' . or connector address='x.x.x.x' port

RE: Subdomains and Wars...

2009-10-22 Thread Jeffrey Janner
Rant OK time to pick nits here! I really wish folks would quit referring to these things as subdomains - they're not! They are hostnames! Only if I can type marco.polo.explorer.org is polo.explorer.org a subdomain. Otherwise, it's a host. Plain and simple. I don't care what some idiot trying

RE: Subdomains and Wars...

2009-10-22 Thread Jeffrey Janner
And Andre said it much more classily. Thanks Andre. -Original Message- From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Sent: Thursday, October 22, 2009 5:15 PM To: Tomcat Users List Subject: RE: Subdomains and Wars... Rant OK time to pick nits here! I really wish folks would

filter-mapping syntax question

2009-10-22 Thread Jeffrey Janner
OK, time for me to ask a newbie question. (And I did do some research, but didn't locate a definitive answer.) Can a filter-mapping entry have more than one url-pattern entries? For example: filter-mapping filter-nameImageFilter/filter-name url-pattern*.gif/url-pattern

RE: filter-mapping syntax question

2009-10-23 Thread Jeffrey Janner
List Subject: Re: filter-mapping syntax question 2009/10/23 Jeffrey Janner jeffrey.jan...@polydyne.com: OK, time for me to ask a newbie question. (And I did do some research, but didn't locate a definitive answer.) Can a filter-mapping entry have more than one url-pattern entries? For example

RE: How to Connect Remotely?

2009-10-23 Thread Jeffrey Janner
What Version of Tomcat? Are you running native/APR? What does your Connector tag look like? Vista supports IPv6 IPv4 by default, what is Tomcat listening on? Jeff (see Chuck, I'm learning) -Original Message- From: maximf83 [mailto:maxim...@gmail.com] Sent: Friday, October 23, 2009

RE: How to Connect Remotely?

2009-10-26 Thread Jeffrey Janner
: André Warnier [mailto:a...@ice-sa.com] Sent: Friday, October 23, 2009 5:11 PM To: Tomcat Users List Subject: Re: How to Connect Remotely? Jeffrey Janner wrote: What Version of Tomcat? Are you running native/APR? What does your Connector tag look like? Vista supports IPv6 IPv4 by default

RE: Tomcat 6.0 x64

2009-10-26 Thread Jeffrey Janner
And if you you want to run with the native-mode libraries, you need the 64-bit APR/native dll. I've heard that the Tomcat 5.5.28 installer for Windows can distinguish the bitness of the OS and install appropriately. Does anyone know which Tomcat 6 installer does the same? -Original

RE: Tyson Beffa is out of the Office

2009-10-26 Thread Jeffrey Janner
Well one can always set the auto-responder to not send them out to certain users (depending on mail client/server, of course.) You could self-filter with your client. But then again, it would be nice if the list operator could filter for all of us. -Original Message- From: Martin

RE: Tomcat 6.0 x64

2009-10-26 Thread Jeffrey Janner
fart while I was typing. -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Monday, October 26, 2009 3:41 PM To: Tomcat Users List Subject: RE: Tomcat 6.0 x64 From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Subject: RE: Tomcat 6.0 x64 I've

RE: Tomcat 6.0 x64

2009-10-26 Thread Jeffrey Janner
To: Tomcat Users List Subject: RE: Tomcat 6.0 x64 From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Subject: RE: Tomcat 6.0 x64 I've heard that the Tomcat 5.5.28 installer for Windows can distinguish the bitness of the OS and install appropriately. Careful; it's not the bitness of the OS

Compression and SSL

2009-11-02 Thread Jeffrey Janner
OK, another newbie-ish question here. I am using Tomcat 5.5.x with APR/native libraries on Windows 2003 x32 or Windows 2008 x64 to serve applications from the US to Asia-based clients. We encrypt everything using SSL, from Login page onward, with transport-guarantee of CONFIDENTIAL. All

RE: Compression and SSL

2009-11-02 Thread Jeffrey Janner
] Sent: Monday, November 02, 2009 12:12 PM To: Tomcat Users List Subject: Re: Compression and SSL On 02/11/2009 16:48, Jeffrey Janner wrote: OK, another newbie-ish question here. I am using Tomcat 5.5.x with APR/native libraries on Windows 2003 x32 or Windows 2008 x64 to serve applications from

RE: Compression and SSL

2009-11-02 Thread Jeffrey Janner
To: Tomcat Users List Subject: Re: Compression and SSL Jeffrey Janner wrote: OK, another newbie-ish question here. Then a dummy-ish answer may be sufficient : Will setting the HTTPS connector compression=on actually compress the data for HTTPS? It will compress all data it would compress

RE: Compression and SSL

2009-11-02 Thread Jeffrey Janner
Peter - It's primarily the network bandwidth. The best-case latency to Asia from the US is about 150ms (assuming speed-of-light, no hardware delays). What we see on bi-directional traceroutes is an across-the-ocean delay of 200ms to 300ms on a good day. That translates to adding roughly 1 second

RE: Compression and SSL

2009-11-02 Thread Jeffrey Janner
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Will setting the HTTPS connector compression=on actually compress the data for HTTPS? Any reason to suspect it wouldn't? Some result from a Google search I did trying to find a solution to this issue led me to infer that it

RE: Compression and SSL

2009-11-02 Thread Jeffrey Janner
Thanks for all the suggestions so far guys. Are there any other tips I could provide to the developers that they can do to improve throughput? Should they hard-code the http:// for all the static elements to avoid passing them over SSL, or do my security constraints take care of that? (I doub it.)

RE: Compression and SSL

2009-11-03 Thread Jeffrey Janner
Well, we already have filters in place to make sure our images, javascript, and other statics go out as cacheable. In fact, the only thing that should not be cached at this point are the results of the jsp pages themselves. Did see something recently about combining images into a single file,

RE: Compression and SSL

2009-11-03 Thread Jeffrey Janner
André - Yep, it does sound quite elementary, but pointing out a good tool is appreciated. Since I am also the deployment god (we both host and distribute the app), I usually keep a tight a lid on these things. Nothing like having to make a bunch of changes to the installer to make my day. I

RE: webapps question

2009-11-05 Thread Jeffrey Janner
I'm not sure about commons-logging, but log4j is definitely not share-safe. I tried it, and in our case, ended up with messages from different webapps interleaving in seemingly random log files. That might have had more to do with how my developers were using log4j than the library itself, but I

RE: Error - Unable to open the service 'Tomcat6' on Windows 2003

2009-11-12 Thread Jeffrey Janner
Are you sure it says Tomcat6 and not Tomcat6w? Here is what's probably happening: Windows is trying to launch the Tomcat6w.exe (aka the Tomcat Monitor system tray object) because it's in the Run section of the registry. Since this tool allows changes to the registry, Windows probably requires

RE: 64bit Tomcat for Windows

2009-11-19 Thread Jeffrey Janner
Depends on your version of Tomcat. 5.5.28 will install to match your architecture. Not sure if there is a 6.0.x installer that will do the same yet. Mark? -Original Message- From: Bruce Foster [mailto:gis.fos...@gmail.com] Sent: Thursday, November 19, 2009 6:30 AM To: Tomcat Users List

RE: Error - Unable to open the service 'Tomcat6' on Windows 2003

2009-11-23 Thread Jeffrey Janner
I just had to remove one on one of my servers (I create one per instance and just deleted an instance). The registry path is HKLM\Software\Microsoft\Windows\CurrentVersion\Run. The default key name is ApacheTomcatMonitor. Jeff -Original Message- From: André Warnier

RE: ssl

2009-12-02 Thread Jeffrey Janner
Unfortunately, the ssl-howto.html does not cover the use of the SSLCertificateChainFile connector directive, which he will need to add if using the native APR library, since GoDaddy is a secondary CA. In fact, it doesn't mention anything about intermediate certificate chains for either JAVA or

RE: SSL only working on localhost

2009-12-02 Thread Jeffrey Janner
-Original Message- From: Pid [mailto:p...@pidster.com] Sent: Wednesday, December 02, 2009 6:51 AM To: users@tomcat.apache.org Subject: Re: SSL only working on localhost On 02/12/2009 12:41, Michael Dockery wrote: I have gotten ssl w/self-signed cert working on tomcat 6 a few times

RE: Logging with Log4J

2009-12-04 Thread Jeffrey Janner
Change your first line from DEBUG, cons to DEBUG, myAppender -Original Message- From: Bart Vandewoestyne [mailto:bart.vandewoest...@telenet.be] Sent: Friday, December 04, 2009 9:03 AM To: users@tomcat.apache.org Subject: Logging with Log4J Hello list, Up until now, I have used simple

RE: server.xml formatting guide

2009-12-14 Thread Jeffrey Janner
Aong those same lines, is it permissible to line-split items inside quotes? For example, the compressableMimeType list can get mighty long. Is it acceptible to write it like; compressableMimeType=text/html, text/xml,

Native binaries 1.1.18 are missing

2009-12-14 Thread Jeffrey Janner
The binaries for the 1.1.18 native libraries are missing. The links are there, but the files are not. I've tried several of the mirrors and this link: http://www.apache.org/dist/tomcat/tomcat-connectors/native/1.1.18/binari es/ Any idea when they might be available? Jeff

RE: Native binaries 1.1.18 are missing

2009-12-16 Thread Jeffrey Janner
Thanks. I've been looking for them for a few weeks now. Jeff -Original Message- From: Mladen Turk [mailto:mt...@apache.org] Sent: Monday, December 14, 2009 1:44 PM To: users@tomcat.apache.org Subject: Re: Native binaries 1.1.18 are missing On 12/14/2009 07:58 PM, Jeffrey Janner wrote

RE: Tomcat 6 and IIS 7

2009-12-16 Thread Jeffrey Janner
Tuan - What where your expected results on the netstats? Please post the results of each (all port 80 lines). The one you list below is the any address bind for IPv6. You may only be forcing config on IPv4, and that is causing the issue. I don't run an IIS7 here, so I can't tell how to force an

RE: Tomcat 5.0.28 JSessionID

2009-12-16 Thread Jeffrey Janner
Mark - Can you point to area in the documentation to read up on this. For some reason, it's not clear to me which section I should look for this. Jeff -Original Message- From: Mark Thomas [mailto:ma...@apache.org] Sent: Wednesday, December 16, 2009 10:19 AM To: Tomcat Users List Subject:

RE: Tomcat 5.0.28 JSessionID

2009-12-16 Thread Jeffrey Janner
Mark - Never mind. I finally found it. It's a Session Property. http://tomcat.apache.org/tomcat-5.5-doc/config/systemprops.html I'll be able to figure it out from here. Jeff -Original Message- From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Sent: Wednesday, December 16, 2009

5.5.28 Windows Installer issues

2010-01-03 Thread Jeffrey Janner
I've not had a successful download of the native libraries using the 5.5.28 Windows installer. Everything appears to go normally: screen says it's downloading, then goes on, but the file does not end up in the bin directory. Is there an install log file stored anywhere? I've done this on various

RE: Native binaries 1.1.18 are missing

2010-01-03 Thread Jeffrey Janner
Thanks for getting the files out there. It's much appreciated. Just one question: What is the smaller libtcnative-1.dll file? Jeff -Original Message- From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Sent: Wednesday, December 16, 2009 10:39 AM To: Tomcat Users List Subject: RE

RE: Native binaries 1.1.18 are missing

2010-01-03 Thread Jeffrey Janner
03, 2010 6:02 PM To: Tomcat Users List Subject: Re: Native binaries 1.1.18 are missing The tcnative-1.dll file is the one to be used. See http://markmail.org/message/oco5tbar2fuetekz Best regards, Konstantin Kolinko 2010/1/3 Jeffrey Janner jeffrey.jan...@polydyne.com: Thanks for getting

RE: 5.5.28 Windows Installer issues

2010-01-03 Thread Jeffrey Janner
Installer issues 2010/1/3 Jeffrey Janner jeffrey.jan...@polydyne.com: I've not had a successful download of the native libraries using the 5.5.28 Windows installer.  Everything appears to go normally: screen says it's downloading, then goes on, but the file does not end up in the bin directory

RE: 5.5.28 Windows Installer issues

2010-01-04 Thread Jeffrey Janner
and going on. (This is beginning to look like a problem on the download server.) Can't wait for the 5.5.29 version. -Original Message- From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Sent: Sunday, January 03, 2010 6:35 PM To: Tomcat Users List Subject: RE: 5.5.28 Windows

Tomcat crash dump on Windows

2010-01-15 Thread Jeffrey Janner
Is there any procedure for generating a memory dump for Tomcat running as a Windows service when the service dies and hangs? We had a production instance stop responding last night and then it refused to stop when the operator tried to shut it down using the services control panel. We had to use

RE: Tomcat crash dump on Windows

2010-01-18 Thread Jeffrey Janner
, January 15, 2010 9:39 AM To: Tomcat Users List Subject: Re: Tomcat crash dump on Windows -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeffrey, On 1/15/2010 10:21 AM, Jeffrey Janner wrote: Is there any procedure for generating a memory dump for Tomcat running as a Windows service when

RE: Tomcat crash dump on Windows

2010-01-18 Thread Jeffrey Janner
, January 18, 2010 2:53 PM To: Tomcat Users List Subject: Re: Tomcat crash dump on Windows -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeffrey, On 1/18/2010 10:59 AM, Jeffrey Janner wrote: Thanks Chris. Some useful info I can start looking at. Yes, it looked like a normal shutdown to me also

RE: Tomcat crash dump on Windows

2010-01-18 Thread Jeffrey Janner
Message- From: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: Monday, January 18, 2010 2:53 PM To: Tomcat Users List Subject: Re: Tomcat crash dump on Windows -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeffrey, On 1/18/2010 10:59 AM, Jeffrey Janner wrote: Thanks Chris. Some

RE: SSLv3/TLS man-in-middle vulnerability

2010-01-19 Thread Jeffrey Janner
Mark - For Steve to switch to the APR/native connectors, all he needs to do in this config is download the native libraries and restart, correct? Oh and make sure the following line is in the server.xml file to start the APR lifecycle listener. Listener

RE: SSLv3/TLS man-in-middle vulnerability

2010-01-19 Thread Jeffrey Janner
: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Subject: RE: SSLv3/TLS man-in-middle vulnerability For Steve to switch to the APR/native connectors, all he needs to do in this config is download the native libraries and restart, correct? No, the SSL config is completely different. Easier

RE: SSLv3/TLS man-in-middle vulnerability

2010-01-19 Thread Jeffrey Janner
vulnerability From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Subject: RE: SSLv3/TLS man-in-middle vulnerability In particular, he stated that switching to the NIO connector at this point wouldn't address it (from my reading of his post), as the fix will require a JDK/JRE fix from

Windows Thread dump issue

2010-01-20 Thread Jeffrey Janner
Is there a version where the Tomcat Monitor (Tomcat5w.exe) thread dump option doesn't work and one where it's been fixed? I have a Windows 2008 Server 64-bit running Sun JDK 1.6.0_13 64-bit and Tomcat 5.5.27. When I right-click on the Tomcat monitor in the system tray and select Thread Dump,

RE: Windows Thread dump issue

2010-01-20 Thread Jeffrey Janner
Sorry I wasn't clear. The file is empty. -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Wednesday, January 20, 2010 10:44 AM To: Tomcat Users List Subject: RE: Windows Thread dump issue From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com

RE: Windows Thread dump issue

2010-01-20 Thread Jeffrey Janner
dump issue 2010/1/20 Jeffrey Janner jeffrey.jan...@polydyne.com: Is there a version where the Tomcat Monitor (Tomcat5w.exe) thread dump option doesn't work and one where it's been fixed? I have a Windows 2008 Server 64-bit running Sun JDK 1.6.0_13 64-bit and Tomcat 5.5.27. When I right

PermGen question

2010-01-20 Thread Jeffrey Janner
I've got a really odd situation that I'm not understanding. I figured the gurus could explain it to me. I have two Tomcat instances deployed as services on the same 64bit Windows 2008 machine with Sun JDK 1.6.0_13 64bit. They are running the same apps but for different user bases and were

RE: PermGen question

2010-01-20 Thread Jeffrey Janner
And no, I'm not seeing out of PermGen errors -- yet. -Original Message- From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Sent: Wednesday, January 20, 2010 12:53 PM To: Tomcat Users List Subject: PermGen question I've got a really odd situation that I'm not understanding. I

RE: PermGen question

2010-01-20 Thread Jeffrey Janner
...@unisys.com] Sent: Wednesday, January 20, 2010 1:08 PM To: Tomcat Users List Subject: RE: PermGen question From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Subject: PermGen question Instance 1: PSPermGen total 43712K, used 43613K [0x7fff, 0x82aa

RE: Securing Tomcat Applications from Reverse Engineering

2010-01-21 Thread Jeffrey Janner
André - Welcome to the world of small business, for-profit software development. This is a more common attitude that you might be aware. Jeff -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Thursday, January 21, 2010 5:31 AM To: Tomcat Users List Subject: Re:

RE: CSV File Save as dialogue defaults to HTM file

2010-01-25 Thread Jeffrey Janner
Pid - Would adding the following mime-mapping to the web.xml file help? mime-mapping extension.csv/extension mime-typetext/csv/mime-type /mime-mapping There is no mapping for .csv in the Tomcat default web.xml file in the conf directory. I seem to remember addressing a

RE: [OT] Securing Tomcat Applications from Reverse Engineering

2010-01-25 Thread Jeffrey Janner
- From: André Warnier [mailto:a...@ice-sa.com] Sent: Thursday, January 21, 2010 4:56 PM To: Tomcat Users List Subject: Re: [OT] Securing Tomcat Applications from Reverse Engineering Jeffrey Janner wrote: André - Welcome to the world of small business, for-profit software development

RE: Adding/removing hosts dynamically?

2010-01-25 Thread Jeffrey Janner
Chuck said: Try the HTML version of host-manager to get familiar with it: http://localhost:8080/host-manager/html Note that the updates made by the HTML and plain text servlets are not persistent, so will be lost upon Tomcat restart. You'll need some additional means to preserve the added

RE: CSV File Save as dialogue defaults to HTM file

2010-01-25 Thread Jeffrey Janner
Ran - I'm unfamiliar with Jetspeed, so take what I say next with a grain of salt. When you say print a link to it, do you mean to say you add an A tag to the resulting page with the appropriate path? So the user is just clicking on a regular html A link? If so, then I would think adding a

Windows x64 Installer

2009-05-27 Thread Jeffrey Janner
Would anyone like to tackle post an installer for 64-bit Windows? The current installer is 32-bit only. I know that it is fairly simple to convert an installed 32-bit Tomcat to 64-bit: 1) Install a 64-bit Java. 2) Download the 64-bit Procrun executable and replace Tomcat5.exe Tomcat5w.exe with

RE: Windows x64 Installer

2009-05-27 Thread Jeffrey Janner
Thanks Mark. One more reason to hound my developers to move up. Any reason that an app written for 5.5 could not be moved wholesale to 6.x? Also, did I leave out anything in my manual steps? JEff Mark Thomas wrote: Already done and will be in 6.0.21 onwards. (didn't quite make 6.0.20) Mark

RE: Windows x64 Installer

2009-05-28 Thread Jeffrey Janner
Will - Based on our empirical testing, the tcnative-1.dll offers noticeable performance improvement. It also offers an improved and probably more secure SSL environment as it incorporates OpenSSL versus the built-in java SSL implementation. If you are using SSL, you will need to alter your SSL

RE: MaxPermSize, Tomcat startup trouble

2009-05-28 Thread Jeffrey Janner
Peter's option is a valid one. I use this approach myself to limit the size of PermGen. Of course, I may have more control over the apps than you do. If you do need to load different version, you should be able to put the alternate version in the apps WEB-INF/lib directory and the app's loader

RE: MaxPermSize, Tomcat startup trouble

2009-05-28 Thread Jeffrey Janner
Any ideas how we can get a much larger PermSpace going? I believe there are some java options that control how the memory is divided between the different generations. I seem to remember a ratio option that you could look into. I had to do this for one implementation. Check the java

RE: MaxPermSize, Tomcat startup trouble

2009-05-28 Thread Jeffrey Janner
Users List Subject: RE: MaxPermSize, Tomcat startup trouble From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Subject: RE: MaxPermSize, Tomcat startup trouble I believe there are some java options that control how the memory is divided between the different generations

RE: Windows x64 Installer

2009-05-28 Thread Jeffrey Janner
that needed to be replaced. Where do I find the 64-bit version of this file? Or is that just for Tomcat 5? I'm not that terribly familiar with the inner workings of Tomcat, so this is all new to me. Debbie Shapiro, Data Warehouse Manager Office: 425.402.2233 -Original Message- From: Jeffrey Janner

RE: MaxPermSize, Tomcat startup trouble

2009-05-28 Thread Jeffrey Janner
-XX:MaxPermSize=128m Since it's an XX option, you need to verify that it is available with your version of Java. Jeff -Original Message- From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Sent: Thursday, May 28, 2009 10:58 AM To: Tomcat Users List Subject: RE: MaxPermSize

RE: Windows x64 Installer

2009-05-28 Thread Jeffrey Janner
Mark - They may need some work. I installed them on Windows 2008 x64, and could not get a response from Tomcat, if coming from the net. The local browser would pull it up just fine. They worked fine on a Windows 2003 x64 box I have, and I got it to work with the 32-bit library that was downloaded

RE: Windows x64 Installer

2009-05-29 Thread Jeffrey Janner
Tested all those options before I sent the mail. Windows firewall: off. Symantec EP11 firewall: disabled Still no response off the wire. Running 32-bit version worked OK and well as 64-bit with 32-bit APR. Only 64-bit with 64-bit was a problem. Could not connect with telnet nor browser. With

RE: Windows x64 Installer

2009-05-29 Thread Jeffrey Janner
] Sent: Friday, May 29, 2009 12:54 PM To: Tomcat Users List Subject: RE: Windows x64 Installer From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Subject: RE: Windows x64 Installer Tested all those options before I sent the mail. Let me summarize to see if I understand this properly: 1) 32

RE: Windows x64 Installer

2009-06-01 Thread Jeffrey Janner
Oops, on 3) I should have said I was using the APR, but for HTTP only, not HTTPS. I was thinking AJP for some reason. -Original Message- From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Sent: Friday, May 29, 2009 5:53 PM To: Tomcat Users List Subject: RE: Windows x64 Installer

RE: Windows x64 Installer

2009-06-02 Thread Jeffrey Janner
party software running, there are a number of these [::] addresses in the list, so MS possibly hasn't ported all their services yet. Really wondering what else isn't working correctly. Jeff -Original Message- From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Sent: Monday, June 01

RE: Windows x64 Installer

2009-06-08 Thread Jeffrey Janner
Subject: RE: Windows x64 Installer From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Subject: RE: Windows x64 Installer Now the reason why 4) below was not working (all 64-bit), is that I didn't have an address specified in my connector tag. Apparently, at all windows revs prior

RE: Windows x64 Installer

2009-06-08 Thread Jeffrey Janner
Did the double-check. IPv6 protocol is disabled on the active network connection. So it shouldn't be an IPv6 issue. Jeff -Original Message- From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Sent: Monday, June 08, 2009 9:02 AM To: Tomcat Users List Subject: RE: Windows x64

RE: Windows x64 Installer

2009-06-08 Thread Jeffrey Janner
[mailto:chuck.caldar...@unisys.com] Sent: Monday, June 08, 2009 10:19 AM To: Tomcat Users List Subject: RE: Windows x64 Installer From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Subject: RE: Windows x64 Installer IPv6 protocol is disabled on the active network connection. So it shouldn't

RE: Windows x64 Installer

2009-06-08 Thread Jeffrey Janner
-Original Message- From: Mladen Turk [mailto:mt...@apache.org] Sent: Monday, June 08, 2009 10:26 AM To: Tomcat Users List Subject: Re: Windows x64 Installer Jeffrey Janner wrote: Did the double-check. IPv6 protocol is disabled on the active network connection. So it shouldn't be an IPv6

RE: Tomcat JVM configuration

2009-06-16 Thread Jeffrey Janner
You could try booting Windows with the /3G option. That will get you a little more - say 100 to 200 Mb (VOE) - not what you would really expect. Everyone else is correct. If you really need a significantly larger heap, you will need to go to a 64-bit OS and Java implementation. I am in the process

RE: IP-based virtual hosting with Tomcat(6)

2009-07-29 Thread Jeffrey Janner
Well, Chris is almost correct here. But Connectors are nested as the Service level, not at the Engine level. The engine doc he refers you to even specifies this at the top of the page. Here is the way to do it correctly: Service name='Service1 Connector address=127.0.0.9 port=80 [options] /

RE: IP-based virtual hosting with Tomcat(6)

2009-08-03 Thread Jeffrey Janner
Uma - If you are really serious about using 1 SSL certificate for all your connections, you need to understand SSL much better than it appears you do at the moment. Some things to note: 1) The Common Name of the SSL *must* match the name the user gives in the hostname portion of the URL he

RE: avoiding ssl vulnerabilities in tomcat

2009-08-12 Thread Jeffrey Janner
*** NOTICE * This message is intended for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of

RE: avoiding ssl vulnerabilities in tomcat

2009-08-12 Thread Jeffrey Janner
got all wonky. At least coy-paste still works :) On 8/12/2009 10:51 AM, Jeffrey Janner wrote: Just to clarify some things: This CVE only applies to the default SSL connector functionality. It doesn't apply to the APR/OpenSSL connector. Correct? I would guess not, since APR uses openssl which

RE: caching query

2009-08-14 Thread Jeffrey Janner
Just a word of warning: your mileage might vary with SSL/APR. We deployed our app using tomcat 5.5 with the following valve implemented in the context: Valve className=org.apache.catalina.authenticator.SSLAuthenticator securePagesWithPragma=false / and found that every page was being marked

RE: Multiple data centers and redundency?

2009-08-26 Thread Jeffrey Janner
George - This is why I hate statistics. You can make them say anything. Wouldn't the better calculation be based on the average number of currently active sessions at one data center, since when it goes down, that is the number of users which will be affected. The calculation should also

  1   2   3   4   5   6   >