RE: Problem connecting to Tomcat from executable JAR file

2012-03-08 Thread Caldarale, Charles R
> From: David Sills [mailto:dsi...@datasourceinc.com] > Subject: Problem connecting to Tomcat from executable JAR file > I can call Tomcat perfectly well from my browser, but when I > try to connect using the same URL exactly from the executable > JAR file in my test client, the connection is ref

RE: tomcat6w.exe -- 32bit and 64bit versions identical?

2012-03-07 Thread Caldarale, Charles R
> From: Jim Garrison [mailto:jim.garri...@troux.com] > Subject: RE: tomcat6w.exe -- 32bit and 64bit versions identical? > > That is correct. The tomcat6w.exe program does not access the JVM, so it > > need not match the JVM's execution mode. > Is that a change from 6.0.20? No idea - that's alm

RE: tomcat6w.exe -- 32bit and 64bit versions identical?

2012-03-06 Thread Caldarale, Charles R
> From: Jim Garrison [mailto:jim.garri...@troux.com] > Subject: tomcat6w.exe -- 32bit and 64bit versions identical? > The two versions of tomcat6w.exe are identical. > Is this correct? That is correct. The tomcat6w.exe program does not access the JVM, so it need not match the JVM's execution

RE: RE : Tomcat7 OutOFMemoryError

2012-03-05 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: RE : Tomcat7 OutOFMemoryError > > Thread Stack Size (in Kbytes). (0 means use default stack size) > > [Sparc: 512; Solaris x86: 320 (was 256 prior in 5.0 and earlier); > > Sparc 64 bit: 1024; Linux amd64: 1024 (was 0

RE: RE : Tomcat7 OutOFMemoryError

2012-03-05 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Re: RE : Tomcat7 OutOFMemoryError > I found this page which may be of interest : > http://www.odi.ch/weblog/posting.php?posting=411 This one's also pretty interesting, especially the link to Cliff Click's blog: http://mail.openjdk.java.ne

RE: [Tomcat JDBC Pool] Close pooled connections via JMX

2012-03-03 Thread Caldarale, Charles R
> From: Brooke Hedrick [mailto:brooke.t.hedr...@gmail.com] > Subject: RE: [Tomcat JDBC Pool] Close pooled connections via JMX > You will see things like: select * emp@otherdb. Where @otherdb > is typically an entry that you would find in a tnsnames.ora. > I left out the FROM between the * and e

RE: [Tomcat JDBC Pool] Close pooled connections via JMX

2012-03-03 Thread Caldarale, Charles R
> From: Brooke Hedrick [mailto:brooke.t.hedr...@gmail.com] > Subject: Re: [Tomcat JDBC Pool] Close pooled connections via JMX > > Do you have testOnBorrow="true" and a validationQuery="SELECT 1 FROM > > DUAL" configured? > > > > This should suffice to ensure each connection is valid before use.

RE: make Tomcat reachable on internet

2012-03-01 Thread Caldarale, Charles R
> From: giovo87 [mailto:giovogio...@hotmail.com] > Subject: Re: make Tomcat reachable on internet > i know that exist some services like DYNDNS > I'd like to know if i can solve my problem with router > forewarding...DYNDNS service...and how. If you're using DynDNS or equivalent, configure you

RE: make Tomcat reachable on internet

2012-03-01 Thread Caldarale, Charles R
> From: Pierre Goupil [mailto:goupilpie...@gmail.com] > Subject: Re: make Tomcat reachable on internet > How do you deploy your webapp(s)? Do you use a context file in > conf/Catalina or do you use the webapp folder? Do you have any virtual > hosts or contexts? Do you use Apache httpd or just Tom

RE: logging failure with tomcat 6.0.29, jvm 1.6.0_30-b12, ubuntu 10.04.3 LTS

2012-02-29 Thread Caldarale, Charles R
> From: Alex Hooper [mailto:ahoo...@bmjgroup.com] > Subject: Re: logging failure with tomcat 6.0.29, jvm 1.6.0_30-b12, ubuntu > 10.04.3 LTS > We've not modified it, though, so should be as per dist. It appears to be as you say. Looking at the stack trace a bit more: > java.lang.ClassNotFoundE

RE: logging failure with tomcat 6.0.29, jvm 1.6.0_30-b12, ubuntu 10.04.3 LTS

2012-02-29 Thread Caldarale, Charles R
> From: Alex Hooper [mailto:ahoo...@bmjgroup.com] > Subject: logging failure with tomcat 6.0.29, jvm 1.6.0_30-b12, ubuntu 10.04.3 > LTS > With the software noted above Thanks for providing that. > I get the following when starting tomcat and no logs > other than catalina.are produced. > Can'

RE: Inconsistency in AprEndpoint.java and JIoEndpoint.java

2012-02-28 Thread Caldarale, Charles R
> From: Ken Cheung [mailto:msrbugzi...@gmail.com] > Subject: Re: Inconsistency in AprEndpoint.java and JIoEndpoint.java > you typecast "SocketWrapper" to "Long" and check if "socket.async" > is true while another one (JloEndpoint.java) you just typecast it > to "Socket" and execute the same piec

RE: Tomcat suddenly dies

2012-02-27 Thread Caldarale, Charles R
> From: Carl Kabbe [mailto:c...@etrak-plus.com] > Subject: Tomcat suddenly dies > Starting about a month ago, Tomcat would suddenly fail, no heap dump, > no indication of trouble in the log, no indication the JVM crashed Check the kernel logs (e.g., /var/log/messages, /var/log/warn), not just t

RE: parallel deployment: multiple applications responding

2012-02-26 Thread Caldarale, Charles R
> From: Aristedes Maniatis [mailto:amania...@apache.org] > Subject: Re: parallel deployment: multiple applications responding > What happens if our application defines a static class or > other resource? Not sure what you mean by "static class", unless you're referring to an inner class. Rega

RE: Threads Locking Monitors(61 Threads Locking)

2012-02-23 Thread Caldarale, Charles R
> From: Amol Puglia [mailto:amolcpug...@yahoo.com] > Subject: Threads Locking Monitors(61 Threads Locking) > I am analyzing thread dumps of tomcat What version? > Below is the description of the thread which is locking on monitor. > I do not understand what is causing this. The thread in ques

RE: Tomcat with mod_jk becomes irresponsive after working for awhile

2012-02-22 Thread Caldarale, Charles R
> From: Caldarale, Charles R > Subject: RE: Tomcat with mod_jk becomes irresponsive after working for awhile > You might want to take a thread dump of Tomcat and see just > what is going on. Also look in the Tomcat logs (there are several) to see if errors are being reported ther

RE: Tomcat with mod_jk becomes irresponsive after working for awhile

2012-02-22 Thread Caldarale, Charles R
> From: Ofer Israeli [mailto:of...@checkpoint.com] > Subject: RE: Tomcat with mod_jk becomes irresponsive after working for awhile > I am in the situation where the server is giving 503s for > all incoming requests, so I did a capture now to see what > the situation is and as mentioned above I s

RE: Free Memory vs. Total Memory vs. Max Memory

2012-02-21 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: Free Memory vs. Total Memory vs. Max Memory > Okay, so it sounds like if the environment is such that reducing the > heap at intervals is important (many JVMs, peak-memory-load events are > rare, etc.) then using Xms

RE: Free Memory vs. Total Memory vs. Max Memory

2012-02-21 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: Free Memory vs. Total Memory vs. Max Memory > I'll have to do some more reading about the JVM returning memory > to the OS after the heap shrinks: if the JVM does not return the > memory, then your most-recent peak

RE: Free Memory vs. Total Memory vs. Max Memory

2012-02-20 Thread Caldarale, Charles R
> From: Robinson, Eric [mailto:eric.robin...@psmnv.com] > Subject: RE: Free Memory vs. Total Memory vs. Max Memory > If what you described occurs, we would see OOMs in the > logs, correct? Only rarely. More typical is slow response and annoyed end users. > Also, if the machine has inadequate

RE: Info on PermSize and MaxPermSize

2012-02-19 Thread Caldarale, Charles R
> From: Geet Chandra [mailto:gee...@gmail.com] > Subject: Info on PermSize and MaxPermSize > What is the difference beween PermSize and MaxPermSize in Tomcat That is not a Tomcat question, it's a JVM one: http://lmgtfy.com/?q=jvm+permsize+maxpermsize - Chuck THIS COMMUNICATION MAY CONTAIN C

RE: Tomcat as Application Server

2012-02-17 Thread Caldarale, Charles R
> From: Anjib Mulepati [mailto:anji...@hotmail.com] > Subject: Re: Tomcat as Application Server > So can I say Tomcat is Web Server but doesn't not support as full > application Server? That rather depends on to whom you want to say it. Again, Tomcat is a servlet container (as defined in the

RE: Basic Authentication Valve not hitting on Tomcat7.0.20

2012-02-17 Thread Caldarale, Charles R
> From: Michela, Andrew J (LABOR) [mailto:andrew.mich...@labor.ny.gov] > Subject: RE: Basic Authentication Valve not hitting on Tomcat7.0.20 > I have that in the server.xml(see below) still no luck. > ??? Please read the servlet spec and the Tomcat doc, and show us where there's even a hin

RE: generic deployment question

2012-02-17 Thread Caldarale, Charles R
> From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] > Subject: RE: generic deployment question > But, really, I just wanted to know if my original suggestion > would cause issues with Tomcat. As Pid stated, it might work, but it's not a guaranteed deployment mechanism. > Essentially, I

RE: mod_jk doesn't map to software-generated web address, but maps to this address when I enter it into browser

2012-02-16 Thread Caldarale, Charles R
> From: modjkl...@comcast.net [mailto:modjkl...@comcast.net] > Subject: Re: mod_jk doesn't map to software-generated web > address, but maps to this address when I enter it into browser > Also interesting is the tcpdump I send out earlier reports two cksum > INCORRECTs when Adobe accesses port

RE: Using local EJBs in web application

2012-02-16 Thread Caldarale, Charles R
> From: Violeta Georgieva [mailto:miles...@gmail.com] > Subject: Re: Using local EJBs in web application > > It's probably just my issue but I am not seeing your > > war file as valid. > What do you mean? I think it means we've got another Martin G on our hands... In other words, all posts fr

RE: Application Scope Replication in 6.0.x

2012-02-15 Thread Caldarale, Charles R
> From: Gregory Werner [mailto:grjas...@gmail.com] > Subject: Re: Application Scope Replication in 6.0.x > Common data definitions which are used over and over and over again and > don't change. After the first time they are loaded, I want the info to be > remembered for all users to access unti

RE: org.apache.catalina.startup.ContextConfig checkHandlesTypes...

2012-02-14 Thread Caldarale, Charles R
> From: Julien Martin [mailto:bal...@gmail.com] > Subject: org.apache.catalina.startup.ContextConfig checkHandlesTypes... > Can anyone please help? Probably not, since you didn't bother to tell us the version of Tomcat you're using, where you got it from, the JVM level it's running under, and t

RE: Keystore password not masked in server.xml file

2012-02-14 Thread Caldarale, Charles R
> From: Luca Marchesano [mailto:luca.marches...@ericsson.com] > Subject: Keystore password not masked in server.xml file > Is there a way to specify the keystore's password in encrypted way? Think about it: where are you going to put the encryption key so Tomcat can get at it to decode the encr

RE: jkstatus page

2012-02-12 Thread Caldarale, Charles R
> From: Alex Samad - Yieldbroker [mailto:alex.sa...@yieldbroker.com] > Subject: jkstatus page > Why is it my con colum is in the negative ? Perhaps because you didn't bother to tell us _anything_ about what versions of httpd, mod_jk, and Tomcat you're using? - Chuck THIS COMMUNICATION MAY C

RE: Modifying requests and responses in a proxy

2012-02-12 Thread Caldarale, Charles R
> From: Warren Bell [mailto:warrenbe...@gmail.com] > Subject: Modifying requests and responses in a proxy > I am in the process of writing a servlet that acts as a proxy where I > can modify request post parameters and thought I better check and see if > I am trying to reinvent the wheel. Maybe.

RE: TOMCAT with multiple sites (one on https, others on http)

2012-02-12 Thread Caldarale, Charles R
From: mchirivi@gmail.com [mailto:mchirivi@gmail.com] On Behalf Of Massimo Chirivì - Ict Consultant Subject: Re: TOMCAT with multiple sites (one on https, others on http) i have a server with TOMCAT and i want to configure multiple sites, i can configure one site on https and others sites

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

2012-02-11 Thread Caldarale, Charles R
> From: modjkl...@comcast.net [mailto:modjkl...@comcast.net] > Subject: Re: desperate for help to set up straightforward > mod_jk connection between Apache2 webserver and web container > When I say GlassFish embeds Tomcat I just mean it's derived > from Tomcat (could be fork, etc.) It is a fo

RE: ServletException logging changes between 5.5 and 6.0/7.0?

2012-02-09 Thread Caldarale, Charles R
> From: ken dias [mailto:kend...@hotmail.com] > Subject: RE: ServletException logging changes between 5.5 and 6.0/7.0? > unsubscribe Zero-for-three... http://tomcat.apache.org/lists.html#tomcat-users - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL

RE: ServletException logging changes between 5.5 and 6.0/7.0?

2012-02-09 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: ServletException logging changes between 5.5 and 6.0/7.0? > In order to use log4j with Tomcat 6.0 and 7.0, you need to download > some Tomcat "extras" as described here: > http://tomcat.apache.org/tomcat-7.0-doc/logg

RE: Cores with FlushableGzipOutputStream

2012-02-09 Thread Caldarale, Charles R
> From: Allen Reese [mailto:are...@yahoo-inc.com] > Subject: RE: Cores with FlushableGzipOutputStream > I'm trying to determine what the next course of action should be here. > I have an Oracle Support contract, but they don't seem to see this as a > JVM issue, and blame it on a native lib. > #

RE: mod_jk and URL rewriting/proxying?

2012-02-09 Thread Caldarale, Charles R
> From: Jeffrey Janner [mailto:jeffrey.jan...@polydyne.com] > Subject: RE: mod_jk and URL rewriting/proxying? > does one still have to modify the server.xml if we want new hosts > to be there the next time we restart tomcat? A brief scan of the code indicates that you will have to maintain serv

RE: mod_jk and URL rewriting/proxying?

2012-02-09 Thread Caldarale, Charles R
> From: Casper Wandahl Schmidt [mailto:kalle.pri...@gmail.com] > Subject: mod_jk and URL rewriting/proxying? > I don't want the app to become ROOT since I have another app > that should be running as ROOT. And how is that one accessed? From what you described it sounds like you want the same

RE: Enabling JMX Remote Ports to connect Tomcat server remotelly with jconsole tool

2012-02-09 Thread Caldarale, Charles R
> From: Pid [mailto:p...@pidster.com] > Subject: Re: Enabling JMX Remote Ports to connect Tomcat server remotelly > with jconsole tool > > warning: [path] bad path element > > "C:\apache-tomcat-5.5.27\server\lib\catalina.jar:C:\apache-tomcat-5.5.27\bin\commons-logging-api-1.1.1.jar": > > no such

RE: Why am I Getting org.apache.catalina.realm.JDBCRealm getPassword SEVERE: Exception performing authentication?

2012-02-08 Thread Caldarale, Charles R
> From: shmol...@gmail.com [mailto:shmol...@gmail.com] > On Behalf Of Jonathan Rosenberg > Subject: Re: Why am I Getting org.apache.catalina.realm.JDBCRealm > getPassword SEVERE: Exception performing authentication? > there is no effective web.xml output in any of the log files. So what are you

RE: newbie having trouble with manager-gui sign in

2012-02-08 Thread Caldarale, Charles R
> From: Mark Potts [mailto:po...@hpcapplications.com] > Subject: Re: newbie having trouble with manager-gui sign in > Could you clarify what you mean by "using the toy". http://tomcat.apache.org/tomcat-6.0-doc/realm-howto.html#UserDatabaseRealm http://tomcat.apache.org/tomcat-6.0-doc/realm-howto

RE: Why am I Getting org.apache.catalina.realm.JDBCRealm getPassword SEVERE: Exception performing authentication?

2012-02-08 Thread Caldarale, Charles R
> From: shmol...@gmail.com [mailto:shmol...@gmail.com] > On Behalf Of Jonathan Rosenberg > Subject: Re: Why am I Getting org.apache.catalina.realm.JDBCRealm > getPassword SEVERE: Exception performing authentication? > From reading the docs, I expected to see something in catalina.out. It certai

RE: newbie having trouble with manager-gui sign in

2012-02-08 Thread Caldarale, Charles R
> From: Mark Potts [mailto:po...@hpcapplications.com] > Subject: newbie having trouble with manager-gui sign in > I've added the following lines: > >roles="standard,manager-gui" /> > between the and lines of the > appBase/conf/tomcat-user.xml file. And did you remove the surrounding co

RE: Web app calls JMS over SSL - certificates

2012-02-07 Thread Caldarale, Charles R
> From: Peter Kleczka [mailto:pklec...@gmail.com] > Subject: Re: Web app calls JMS over SSL - certificates > What I would like to do is tell my application where my keystore > files are located rather than load them through the JVM. So what stops you from doing that? There are numerous ways to

RE: Shutdown Hooks not firing when tomcat is shutdown from within a webapp

2012-02-07 Thread Caldarale, Charles R
> From: Andrew Kujtan [mailto:akuj...@evertz.com] > Subject: Shutdown Hooks not firing when tomcat is shutdown from within a > webapp > OS: Windows 7 32bit > Ver.: Apache Tomcat/7.0.25 > Jvm: 1.6.0_14-b08 Thanks for that. > I am attaching a shutdown hook from within my webapp to log > some

RE: Web app calls JMS over SSL - certificates

2012-02-07 Thread Caldarale, Charles R
> From: Peter Kleczka [mailto:pklec...@gmail.com] > Subject: Re: Web app calls JMS over SSL - certificates > I am using ActiveMQ and its activemq.xml file has a section where the > keystore and truststore point to those files. So I assume that means that > there is a way to set these at runtime.

RE: archived mailing list activity

2012-02-06 Thread Caldarale, Charles R
> From: Sanjeev Sharma [mailto:sanjeev.sha...@buchanan-edwards.com] > Subject: archived mailing list activity > Does anyone know if the messages on this mailing list are > archived anywhere? The archives for each mailing list are documented here: http://tomcat.apache.org/lists.html - Chuck

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

2012-02-06 Thread Caldarale, Charles R
> From: Lev A KARATUN [mailto:lev.kara...@raiffeisen.ru] > Subject: RE: How can I access tomcat's logs using my jsp? > when I'm copypasting the default servlet block to > $CATALINA_BASE/logs/WEB-INF/web.xml, the application > no longer works. There's an additional step required for Tomcat 6 tha

RE: tomcat 7.0.25 - tomcat7 //US//.... ++jmvOptions broken ??

2012-02-05 Thread Caldarale, Charles R
> From: Dan Tran [mailto:dant...@gmail.com] > Subject: Re: tomcat 7.0.25 - tomcat7 //US// ++jmvOptions broken ?? > it seems procrun already fixed this issue at its end. Only in SVN, no new commons-daemon releases yet. > does tomcat team has a tentative schedule date for 7.0.26? Usually abo

RE: unable to set MaxPermSize past 128MB

2012-02-05 Thread Caldarale, Charles R
> From: Josh Gooding [mailto:josh.good...@gmail.com] > Subject: Re: unable to set MaxPermSize past 128MB > your kidding me right? Why is tweaking the JVM for this so hard? Why are you still running on ancient hardware and software? Use a 64-bit OS and a 64-bit JVM and you don't have to be con

RE: unable to set MaxPermSize past 128MB

2012-02-05 Thread Caldarale, Charles R
> From: David Dabbs [mailto:dmda...@gmail.com] > Subject: RE: unable to set MaxPermSize past 128MB > > I just upgraded to 6.0.35 running on Win2K3 32 bit platform. > I believe you need to specify >-XX:MaxPermSize=256m > and not >-XX:MaxPermSize:256m Even when the OP gets the syntax ri

RE: Windows Service Start Fails at Command Line

2012-02-05 Thread Caldarale, Charles R
> From: Bill Rebey [mailto:bill.re...@isirona.com] > Subject: Windows Service Start Fails at Command Line > Using 6.35 of Tomcat, the line "tomcat6.exe //RS//Tomcat6" > fails to start Tomcat. That's as expected; the //RS option is only for use by the Windows service manager. If you want to sta

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

2012-02-03 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Re: How can I access tomcat's logs using my jsp? > - you can create a webapp named "tomcat-logs" (or whatever), just by > creating a new directory "tomcat-logs" (or whatever) under webapps. Nope. > - to protect access to it, you'll need

RE: Regarding compatibility

2012-02-02 Thread Caldarale, Charles R
> From: David Kerber [mailto:dcker...@verizon.net] > Subject: Re: Regarding compatibility > > > It will be open source, right? > > Both open *and* closed source. > But you won't know which until you download it and open the package... Furry source... Are we all going to be entangled in this?

RE: Java.lang.out.of.memory not clearly....

2012-01-30 Thread Caldarale, Charles R
> From: Luciano Andress Martini [mailto:777u...@gmail.com] > Subject: Re: Java.lang.out.of.memory not clearly You're top posting again - stop that. > By default 4GB per virtual machine with tomcat. But that's all funny money - how much _real_ memory is usable by each VM? If the underlying

RE: Java.lang.out.of.memory not clearly....

2012-01-30 Thread Caldarale, Charles R
> From: David kerber [mailto:dcker...@verizon.net] > Subject: Re: Java.lang.out.of.memory not clearly > Java can have memory leaks just as easily as C can Not really; leaks in C are much easier to create. > if the app is standalone, it will release them when the app > closes and the JRE sh

RE: Java.lang.out.of.memory not clearly....

2012-01-30 Thread Caldarale, Charles R
> From: Luciano Andress Martini [mailto:777u...@gmail.com] > Subject: Re: Java.lang.out.of.memory not clearly > Jeffrey im sorry, but i need to ask, my boss says that is impossible > to be a problem in the software cause java unalocate objects > automatically, is that true? A) Stop your top

RE: Apache Tomcat Native library

2012-01-30 Thread Caldarale, Charles R
> From: Paul Singleton [mailto:p...@jbgb.com] > Subject: Apache Tomcat Native library > Does this library offer any benefit to standalone systems, or is it > purely for use with Apache httpd + Tomcat? It's most beneficial when you don't have httpd in front of Tomcat and are processing a lot of

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

2012-01-28 Thread Caldarale, Charles R
> From: Dean Del Ponte [mailto:dean.delpo...@gmail.com] > Subject: Tomcat 6 - How to make an application available at www.mydomain.com > How can I make this application available at "http://www.mydomain.com"; > without deploying it as ROOT.war? Just save yourself much grief and go ahead and depl

RE: Path of log files changed in Tomcat 7.0.25 when installing as Windows Service

2012-01-27 Thread Caldarale, Charles R
> From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] > Subject: RE: Path of log files changed in Tomcat 7.0.25 when installing as > Windows Service > Haven't yet figured out why the ${catalina.base} references > in logging.properties aren't getting r

RE: Correct behavior while checking the thread binding in DirContextURLStreamHandler ?

2012-01-27 Thread Caldarale, Charles R
> From: Ivan [mailto:xhh...@gmail.com] > Subject: Correct behavior while checking the thread binding in > DirContextURLStreamHandler ? > result = threadBindings.get(currentThread); > <-- Here, the value from threadBindings is always ignored ? No, it's not always ignored. If

RE: TC7 very slow SessionIdGenerator SecureRandom initialization

2012-01-27 Thread Caldarale, Charles R
> From: Pid [mailto:p...@pidster.com] > Subject: Re: TC7 very slow SessionIdGenerator SecureRandom initialization > > that's why the setting of /dev/./urandom is important, even > > though it would seem to be equivalent. > So editing the file fixes this, or just using the system property? Good

RE: TC7 very slow SessionIdGenerator SecureRandom initialization

2012-01-27 Thread Caldarale, Charles R
> From: David Rees [mailto:dree...@gmail.com] > Subject: Re: TC7 very slow SessionIdGenerator SecureRandom initialization > Hmm, yes, the systems I've checked running Java 1.7.0_02 list > /dev/urandom as the securerandom.source. Unfortunately, there's a misguided part of the JRE that insists it'

RE: TC7 very slow SessionIdGenerator SecureRandom initialization

2012-01-27 Thread Caldarale, Charles R
> From: David Rees [mailto:dree...@gmail.com] > Subject: TC7 very slow SessionIdGenerator SecureRandom initialization > Google turns up lots of hits which suggest using > -Djava.security.egd=file:/dev/./urandom to work around the issue - but > I'd rather not give up security for start up speed.

RE: Path of log files changed in Tomcat 7.0.25 when installing as Windows Service

2012-01-27 Thread Caldarale, Charles R
> From: verlag.preis...@t-online.de [mailto:verlag.preis...@t-online.de] > Subject: Re: Path of log files changed in Tomcat 7.0.25 when installing as > Windows Service > So it seems the Tomcat logs are stored in > "C:\tomcat7\bin\${catalina.base}\logs\", whereas the Daemon > logs are stored in

RE: connection autoReconnect?

2012-01-26 Thread Caldarale, Charles R
> From: Jerry Malcolm [mailto:2ndgenfi...@gmail.com] > Subject: Re: connection autoReconnect? > Basically, TC grabs a handful of connections and > opens them up. The Tomcat JDBC pool (not sure about the commons one) opens up whatever is configured for initialSize. > Then when an app needs one,

RE: Problems after reinstall - Sorry, trying again.

2012-01-26 Thread Caldarale, Charles R
> From: Benjamin Madore [mailto:bc...@pitt.edu] > Subject: RE: Problems after reinstall - Sorry, trying again. > 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] > "POST /eli2121/login.jsp HTTP/1.1" 302 - The above looks ok. > 136.142.248.135 - - [24/Jan/2012:14:02:20 -0500] > "GET /eli2121/hom

RE: [OT] Inspecting JMX

2012-01-26 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: [OT] Inspecting JMX > Should I just give up and use JmxRemoteLifecycleListener? Yes. You really aren't get to get anywhere on EC2 without it. > Should I hack the code for check_jmx to use the Attach API. Maybe; migh

RE: ThreadLocals, context listeners and classloader leaks

2012-01-26 Thread Caldarale, Charles R
> From: Pid [mailto:p...@pidster.com] > Subject: Re: ThreadLocals, context listeners and classloader leaks > Imagine the fiendishly clever and machiavellian applications > we'd have to debug if you did that... Job security. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWIS

RE: ThreadLocals, context listeners and classloader leaks

2012-01-26 Thread Caldarale, Charles R
> From: Jess Holle [mailto:je...@ptc.com] > Subject: Re: ThreadLocals, context listeners and classloader leaks > That said, there could and arguably should be another choice: I'll suggest something more radical: define a class such as ScopeLocal where values are added to and removed from thread

RE: ThreadLocals, context listeners and classloader leaks

2012-01-26 Thread Caldarale, Charles R
> From: Patric Rufflar [mailto:pat...@rufflar.com] > Subject: RE: ThreadLocals, context listeners and classloader leaks > 1. contextInitializer() sets value A to the ThreadLocal X > in thread main > 2. childs threads get spawned from main thread, now we have > more than one ThreadLocal which re

RE: ThreadLocals, context listeners and classloader leaks

2012-01-26 Thread Caldarale, Charles R
> From: Patric Rufflar [mailto:pat...@rufflar.com] > Subject: ThreadLocals, context listeners and classloader leaks > It's unspecified in the servlet spec 2.5 if a servlet context > listener is allowed to take the use of ThreadLocals during > contextInitialized(). I have no idea what the phras

RE: somebody please help me

2012-01-24 Thread Caldarale, Charles R
> From: lukky 410 [mailto:lukky@gmail.com] > Subject: somebody please help me > am installing tomcat6.0,for that i download tomcat6.0 and unzip in C driver, > and next i set the environment variables , Set what environment variables to what values? > for starting apache tomcati used inthe f

RE: Unable to access images stored in webapps//WEB-INF/images ?

2012-01-23 Thread Caldarale, Charles R
> From: removeps-c...@yahoo.com [mailto:removeps-c...@yahoo.com] > Subject: Re: Unable to access images stored in webapps//WEB-INF/images > ? > Tomcat doesn't let you access anything in the META-INF or WEB-INF folders. It's not just Tomcat - the servlet spec forbids direct client access to any

RE: Tomcat 7 in Java 6 on V5R4 (. . . 3 . . . 2 . . . 1 . . . crash-on-takeoff)

2012-01-23 Thread Caldarale, Charles R
> From: James Lampert [mailto:jam...@touchtonecorp.com] > Subject: Tomcat 7 in Java 6 on V5R4 (. . . 3 . . . 2 . . . 1 . . . > crash-on-takeoff) > In catalina.sh, we have: > > # Java 6 settings if needed > > > > ex

RE: Restarting tomcat 7.0.23 on MAC OS X 10.6

2012-01-23 Thread Caldarale, Charles R
> From: Oliver Due Billing [mailto:o...@watagame.com] > Subject: Restarting tomcat 7.0.23 on MAC OS X 10.6 > I have a test-server on my macbook pro and it takes forever to > restart the server do anyone have a clue to whats happening. It may be collecting entropy. Take a thread dump, and see wh

RE: Cannot rid of expired Certificate ...

2012-01-23 Thread Caldarale, Charles R
> From: Andrew Erskine [mailto:a.ersk...@darasoft.com] > Subject: RE: Cannot rid of expired Certificate ... > Heres my server.xml .. Only part of it, unfortunately. > port="443" minProcessors="5" maxProcessors="75" > Jan 23, 2012 10:58:37 AM (main) (org.apache.coyote.http11.Htt

RE: Is SSL keystore with AJP connector possible?

2012-01-18 Thread Caldarale, Charles R
> From: mandg [mailto:gsca...@federatedinv.com] > Subject: Is SSL keystore with AJP connector possible? > I see that the AJP/1.3 connector is configured and not APR. APR will be used automatically for HTTP s if the tcnative-1.dll file is found in Tomcat's bin directory and the APR listener is p

RE: Changes to deployed .war file not copied to unpacked war directory at Tomcat startup?

2012-01-18 Thread Caldarale, Charles R
> From: Mark Thomas [mailto:ma...@apache.org] > Subject: Re: Changes to deployed .war file not copied to unpacked war > directory at Tomcat startup? > If you update a WAR file while Tomcat is shut down, you > *must* delete any associated unpacked directory as well. Best to clean out the webapp

RE: Sending email ( Tomcat 7 )

2012-01-17 Thread Caldarale, Charles R
> From: Lau Eng Huat [mailto:tomcath...@gmail.com] > Subject: Sending email ( Tomcat 7 ) > I need to send emails using tomcat servlet. First, read the docs: http://tomcat.apache.org/tomcat-7.0-doc/jndi-resources-howto.html#JavaMail_Sessions If that isn't sufficient, come back and ask specific

RE: Server starts but fails to get any reqs

2012-01-17 Thread Caldarale, Charles R
> From: deniz [mailto:denizdurmu...@gmail.com] > Subject: Re: Server starts but fails to get any reqs > Jan 18, 2012 10:43:57 AM org.apache.coyote.http11.AbstractHttp11Processor > process > SEVERE: Error processing request > java.security.AccessControlException: access denied > ("java.lang.Runtim

RE: JDK Version Mismatch

2012-01-12 Thread Caldarale, Charles R
> From: deniz [mailto:denizdurmu...@gmail.com] > Subject: JDK Version Mismatch > Unsupported major.minor version 51.0 Looks like your diagnosis is backwards. Version 51.0 is from a class built with JDK 7, trying to be loaded by an older version of the JVM - which means your Tomcat is actually

RE: tomcat session problem

2012-01-11 Thread Caldarale, Charles R
> From: Igor Cicimov [mailto:icici...@gmail.com] > Subject: Re: tomcat session problem > But you said you are using Apache as front end right? Actually, he didn't, but that's because it appears Selvakumar Subramanian didn't even bother to read the subject line, let alone stick to his unrelated

RE: Tomcat 7 service not starting

2012-01-11 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Re: Tomcat 7 service not starting > what caused it to try to start again repeatedly by itself ? Pretty much any Windows service can be configured to automatically restart when it terminates. You have to use the real service console, not

RE: SEVERE: Allocate exception for servlet helloworld Apache-Tomcat 7.0.23

2012-01-10 Thread Caldarale, Charles R
> From: Alastair Baldwin [mailto:alastairgbald...@yahoo.co.uk] > Subject: SEVERE: Allocate exception for servlet helloworld Apache-Tomcat > 7.0.23 > CLASSPATH= .;c:\apache-tomcat-7.0.23-windows-x86\apache-tomcat-7.0.23\servlet-api.jar  Probably not the cause of your problem, but don't set the C

RE: Tomcat 7 service not starting

2012-01-09 Thread Caldarale, Charles R
> From: Debbie Shapiro [mailto:dshap...@cardiacscience.com] > Subject: Tomcat 7 service not starting > I also upgraded Java from 1.6.0_20 to 1.6.0_30. Did you also perhaps change from a 32-bit to a 64-bit JVM (or vice-versa)? The mode of the JVM must match the mode of the Tomcat service wrappe

RE: Tomcat Shutdown

2012-01-06 Thread Caldarale, Charles R
> From: Kamal Sheikh [mailto:kama...@gmail.com] > Subject: Re: Tomcat Shutdown > I'm pasting some information from the logs: > # A fatal error has been detected by the Java Runtime Environment: > # Internal Error (safepoint.cpp:247), pid=306, tid=140562856904448 > # guarantee(PageArmed == 0) f

RE: is der any default username for tomcat?

2012-01-06 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: is der any default username for tomcat? > It's not a cat whose name is "Tom": it's a male cat. > So, that would be "le chat" versus "la chat", right? No, it would be "le matou"; regardless, "chat" is always masculi

RE: mod_jk linux binaries

2012-01-06 Thread Caldarale, Charles R
> From: charan raj [mailto:charanraj...@gmail.com] > Subject: Re: mod_jk linux binaries > can anyone tell how to configure multiple tomcat instance > other then c drive 1) Don't hijack threads. 2) Make at least a cursory attempt to read the Tomcat docs. 3) http://www.catb.org/~esr/faqs/smart-

RE: is der any default username for tomcat?

2012-01-06 Thread Caldarale, Charles R
> From: charan raj [mailto:charanraj...@gmail.com] > Subject: Re: is der any default username for tomcat? > can any one tell me how to install multiple tomcat instance > apart from c drive 1) Don't hijack threads. 2) Make at least a cursory attempt to read the Tomcat docs. 3) http://www.catb.

RE: help analyzing thread dump for Tomcat 7.0.23 issue

2012-01-02 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: help analyzing thread dump for Tomcat 7.0.23 issue > "Runnable" means that the thread is actually doing something. Or that the thread is out in native code - and possibly stuck there. The OP is running APR... -

RE: Different session id per page

2011-12-31 Thread Caldarale, Charles R
> From: Jerry Malcolm [mailto:2ndgenfi...@gmail.com] > Subject: Re: Different session id per page > the sessionCookiePath link you referenced says that all web apps can > use the same cookie path ("/"). They can, but you don't have to use it that way. Each webapp can have its own sessionCookie

RE: Question about Tomcat Windows service configuration

2011-12-31 Thread Caldarale, Charles R
> From: Naveen Alex [mailto:naveen.a...@gmail.com] > Subject: Re: Question about Tomcat Windows service configuration > I have the tomcat folder outside of the program files in windows. How far outside? On a local drive, or a network mounted one? - Chuck THIS COMMUNICATION MAY CONTAIN CONFI

RE: Different session id per page

2011-12-31 Thread Caldarale, Charles R
> From: Jerry Malcolm [mailto:2ndgenfi...@gmail.com] > Subject: Re: Different session id per page > If there was a way to tell TC to use "/" as the path, that would > work in this case. Look at the sessionCookiePath attribute for and see if that will help: http://tomcat.apache.org/tomcat-7.0-

RE: Security Constraints With URL Rewrite filter

2011-12-26 Thread Caldarale, Charles R
> From: Jerry Malcolm [mailto:2ndgenfi...@gmail.com] > Subject: Re: Security Constraints With URL Rewrite filter > --- I want the user to see the URL: /showPlasmaTVs > -- I want it to map internally to: > /webAppContext1/jsp/user/products.jsp?productSearch=plasma > -- I would like for it to u

RE: High memory consumption caused by BLOCKED Threads

2011-12-22 Thread Caldarale, Charles R
> From: Rainer Jung [mailto:rainer.j...@kippdata.de] > Subject: Re: High memory consumption caused by BLOCKED Threads > Hmmm, actually I had a short look at the code of > sun.util.resources.TimeZoneNames.getContents(TimeZoneNames.java:185) > and i don't unerstand why it is waiting for a monitor e

RE: Tomcat HTTPS Connector Stops working after an hour

2011-12-22 Thread Caldarale, Charles R
> From: Saravanan L [mailto:saravan...@te-soft.com] > Subject: Fwd: Tomcat HTTPS Connector Stops working after an hour > We have setup Tomcat 7 with APR in linux box. The issue is that after an > hour or two, the https stops responding, but the HTTP connector is still > working. What does a th

RE: High memory consumption caused by BLOCKED Threads

2011-12-22 Thread Caldarale, Charles R
> From: David kerber [mailto:dcker...@verizon.net] > Subject: Re: High memory consumption caused by BLOCKED Threads > Fix your app so that it releases the locks (probably synchronized > sections) on the SimpleDateFormat objects. Read the stack trace more carefully - only Tomcat or JRE code is p

RE: [OT] Displaying Time Zones for user preferences

2011-12-21 Thread Caldarale, Charles R
> From: André Warnier [mailto:a...@ice-sa.com] > Subject: Re: [OT] Displaying Time Zones for user preferences > Can you not use GeoIP to find out where a user is connecting > from, and select his time zone automatically for him/her ? Not reliably. For example, it says my desktop PC is in Penns

RE: Login fails, then works subsequently (Tomcat 7)

2011-12-21 Thread Caldarale, Charles R
> From: Hassan Schroeder [mailto:hassan.schroe...@gmail.com] > Subject: Re: Login fails, then works subsequently (Tomcat 7) > No "testWhileIdle" / "validationQuery" settings? > 10 to 1 you've got stale connections in your pool Did we just go off on a tangent? Isn't the OP talking about logging

<    3   4   5   6   7   8   9   10   11   12   >