RE: syntax question

2009-10-23 Thread Jeffrey Janner
mcat Users List Subject: Re: syntax question 2009/10/23 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 entry have more than one 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 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 3:34 PM To:

RE: How to Connect Remotely?

2009-10-26 Thread Jeffrey Janner
work on being more specific in the future. Jeff -Original Message- From: 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?

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 Message

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 Gainty

RE: Tomcat 6.0 x64

2009-10-26 Thread Jeffrey Janner
ust had a brain 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] > Subjec

RE: Tomcat 6.0 x64

2009-10-26 Thread Jeffrey Janner
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 heard that the Tomcat 5.5.28 installer for Windows can distinguish > the bitness of the OS and install appropriately. Careful; it&#

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 of CONFIDENTIAL. All URLs are configured as

RE: Compression and SSL

2009-11-02 Thread Jeffrey Janner
r.com] 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 > Wi

RE: Compression and SSL

2009-11-02 Thread Jeffrey Janner
PM 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 w

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

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, an

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 do

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

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 A

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 Su

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 [mailto:a...@ice-sa.

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

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 simpl

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, text/plai

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

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, Decembe

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 Subjec

RE: Native binaries 1.1.18 are missing

2010-01-03 Thread Jeffrey Janner
nuary 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 : > Thanks for getting the files out there.  I

RE: 5.5.28 Windows Installer issues

2010-01-03 Thread Jeffrey Janner
ndows Installer issues 2010/1/3 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 director

RE: 5.5.28 Windows Installer issues

2010-01-04 Thread Jeffrey Janner
nload 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.

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
@christopherschultz.net] Sent: Friday, 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 runnin

RE: Tomcat crash dump on Windows

2010-01-18 Thread Jeffrey Janner
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 useful info I can start looking at. > Ye

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 Ch

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. Steve, you can download the latest APR lib fro

RE: SSLv3/TLS man-in-middle vulnerability

2010-01-19 Thread Jeffrey Janner
esday, January 19, 2010 9:29 AM To: Tomcat Users List Subject: RE: SSLv3/TLS man-in-middle vulnerability > From: 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

RE: SSLv3/TLS man-in-middle vulnerability

2010-01-19 Thread Jeffrey Janner
-in-middle 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 fi

RE: SSLv3/TLS man-in-middle vulnerability

2010-01-19 Thread Jeffrey Janner
As Charles said, move up to 6.0.20 and switch to the NIO connector. If you have to stay with 5.5.23, you'll need to go with the ARP SSL connector. (slap me if I'm still wrong Charles, but I checked the doc and there doesn't appear to be support for NIO in 5.5.x) Jeff -Original Message

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...@poly

RE: Windows Thread dump issue

2010-01-20 Thread Jeffrey Janner
dump issue 2010/1/20 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. &

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 deploy

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 un

RE: PermGen question

2010-01-20 Thread Jeffrey Janner
es R [mailto:chuck.caldar...@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 [

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: Securin

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? .csv text/csv There is no mapping for ".csv" in the Tomcat default web.xml file in the conf directory. I seem to remember addressing a similar problem many, many moons ago for our app by adding those l

RE: [OT] Securing Tomcat Applications from Reverse Engineering

2010-01-25 Thread Jeffrey Janner
ssage- 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 tag to the resulting page with the appropriate path? So the user is just clicking on a regular html link? If so, then I would think adding a for the

RE: Tomcat/JDBC Thin Client and Oracle SQL Parsing

2010-01-26 Thread Jeffrey Janner
Dan - I'd look into why Oracle took an "improper" index (whatever that means). There is nothing in Tomcat/JDK that would mess with your queries that I'm aware of. I'd also investigate all the standard reasons why Oracle recomputes explain plans for queries - most of which are related to the query.

RE: Tomcat/JDBC Thin Client and Oracle SQL Parsing

2010-01-28 Thread Jeffrey Janner
t happened after a tomcat restart. -Original Message- From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] Sent: Tuesday, January 26, 2010 11:55 AM To: Tomcat Users List Subject: RE: Tomcat/JDBC Thin Client and Oracle SQL Parsing Dan - I'd look into why Oracle took an "improper&

RE: Can't Disable Apache Tomcat

2010-02-02 Thread Jeffrey Janner
>From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] >Sent: Tuesday, February 02, 2010 3:36 PM >To: Tomcat Users List >Subject: RE: Can't Disable Apache Tomcat > >> From: A. Wolf [mailto:a.lup...@gmail.com] >> Subject: Can't Disable Apache Tomcat >> >> Tomcat is set to "disabled" on my

RE: Updating CRL in Tomcat 6 without taking it down

2010-02-05 Thread Jeffrey Janner
Praveen Pat said: The problem I have is how to update the CRL. If I do not update the CRL, Tomcat does not let any of my users in. It blocks all the users. To update the CRL, I have to stop the Tomcat, and I am trying to avoid it. Reply: Call me naive, but if nobody can get in, what is wrong w

RE: Java heap size limit

2010-02-11 Thread Jeffrey Janner
>From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] >Sent: Thursday, February 11, 2010 7:37 AM > >> From: Hadole, Nishant IN BOM SISL [mailto:nishant.had...@siemens.com] >> Subject: RE: Java heap size limit >> >> For 32 bit system, maximum memory pool can easily increased upto 2 GB. >

RE: Tomcat dies suddenly

2010-02-12 Thread Jeffrey Janner
I've been following this thread with interest, but haven't weighed in since I'm doing much development these days. I have to say that I'm agreeing with Chuck and Chris that it is a resource issue - especially since it doesn't appear to be a problem unless under load. Also, the OOP mentioned th

RE: [OT] Tomcat dies suddenly

2010-02-16 Thread Jeffrey Janner
Reminds me of a story from an old-timer friend of mine. This was back in the day of text-based terminals. The company he worked for had a military contract to install bunch of terminals in an office building at a local airbase. A few days after the workers moved in, his company got a call that s

Session id is invalid occurs randomly

2010-02-23 Thread Jeffrey Janner
Hi - I need a little help here. We are running Tomcat 5.5.17 APR/SSL, Sun JDK 1.5.0_06, Windows 2000 SP4 32-bit. We have a customer running IE as the client passing through an unknown proxy server. Sometimes they are running IE via a remote desktop, sometimes from their own desktop (if I

RE: Session id is invalid occurs randomly

2010-02-23 Thread Jeffrey Janner
PM To: Tomcat Users List Subject: Re: Session id is invalid occurs randomly On 23/02/2010 19:54, Jeffrey Janner wrote: > Hi - > > I need a little help here. We are running Tomcat 5.5.17 APR/SSL, Sun > JDK 1.5.0_06, Windows 2000 SP4 32-bit. > > We have a customer running IE as the cl

RE: Session id is invalid occurs randomly

2010-02-23 Thread Jeffrey Janner
effrey, On 2/23/2010 2:54 PM, Jeffrey Janner wrote: > It seems that they can login just fine and work just fine, most of the > time. However, every now and then, they will get kicked out with an > "invalid session" error. That is our software's error message to them, >

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: Add a properly configured tag group to your web.xml

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 ente

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 this

RE: avoiding ssl vulnerabilities in tomcat

2009-08-12 Thread Jeffrey Janner
characters 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

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: and found that every page was being marked no-cache. Therefore the browser kept going back to the server for every image (really annoying w

RE: Db connection issue due to firewall

2009-08-26 Thread Jeffrey Janner
Chandra - The question is better suited for an Oracle group. However, I happen to know the solution - since I do it all here. On your Oracle server, add the following line your sqlnet.ora file: SQLNET.EXPIRE_TIME= 10 Then restart your oracle databases. Jeff -Original Message- From: chand

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 include

RE: Multiple data centers and redundency?

2009-08-26 Thread Jeffrey Janner
See comments [Jeff] below: -Original Message- From: George Sexton [mailto:geor...@mhsoftware.com] Sent: Wednesday, August 26, 2009 2:39 PM To: 'Tomcat Users List' Subject: RE: Multiple data centers and redundency? > -Original Message- > From: Jeffrey Janner [ma

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 there

RE: java.lang.OutOfMemoryError: PermGen space

2009-09-16 Thread Jeffrey Janner
ubject: RE: java.lang.OutOfMemoryError: PermGen space > From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] > Subject: RE: java.lang.OutOfMemoryError: PermGen space > > You don't say if the JVM is 32-bit or 64-bit Actually, he did: > Architecture: amd64 > JVM Version:1

RE: java.lang.OutOfMemoryError: PermGen space

2009-09-16 Thread Jeffrey Janner
riginal Message- From: 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

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
self. Jeff -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]

RE: java.lang.OutOfMemoryError: PermGen space

2009-09-16 Thread Jeffrey Janner
mGen errors as of yet, although it's too 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,

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.

RE: java.lang.OutOfMemoryError: PermGen space

2009-09-16 Thread Jeffrey Janner
sday, September 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 us

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, th

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 log4j.ja

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 producti

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 n

RE: Adding a new webapps directory

2009-10-19 Thread Jeffrey Janner
gt; From: 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.

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 p

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

2009-10-19 Thread Jeffrey Janner
x27;Tomcat 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: H

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 ser

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 To:

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: Jeff

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 librar

RE: question about using tomcat on a remote machine

2009-10-22 Thread Jeffrey Janner
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 on a remote machine > > try specifying the IPv4 any address specifically and > see if it helps. Note the fol

RE: question about using tomcat on a remote machine

2009-10-22 Thread Jeffrey Janner
gt; From: 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 >or > instead of the accepting the default

RE: Subdomains and Wars...

2009-10-22 Thread Jeffrey Janner
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 to s

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... OK time to pick nits here! I really wish folks would

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 entry have more than one entries? For example: ImageFilter *.gif *.jpg *.png Or do I have to specify 3 mappings, one for each file type? Jeff

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 conn

  1   2   3   4   5   6   >