RE: [EXTERNAL] Re: General Architecture Question for multiple websites on a single RedHat server

2012-07-10 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: [EXTERNAL] Re: General Architecture Question for multiple websites on a single RedHat server This thread dump shows a mostly-idle server with the exception of those threads in socketAccept() (not sure why these

RE: High load from tomcat, no users, no errors

2012-07-06 Thread Caldarale, Charles R
From: francis picabia [mailto:fpica...@gmail.com] Subject: Re: High load from tomcat, no users, no errors I stop tomcat 5.0. Good, since it hasn't been supported in quite some time. I install the tomcat6 from Debian What happens if you install a real Tomcat from tomcat.apache.org? The

RE: High load from tomcat, no users, no errors

2012-07-06 Thread Caldarale, Charles R
From: francis picabia [mailto:fpica...@gmail.com] Subject: Re: High load from tomcat, no users, no errors firewall is blocking 8080 and apache is off. By apache do you mean httpd? Tomcat is also an Apache product. tomcat 7.0.28 from tarball install is running as user tomcat. The tarball

RE: http.conf file

2012-06-29 Thread Caldarale, Charles R
From: Welch, Andrea [mailto:awe...@acehardware.com] Subject: http.conf file Much of the configuration information that is referred to in the docs found at http://tomcat.apache.org/tomcat-6.0-doc/ and elsewhere refer to an httpd.conf file. Can you be specific about where in the Tomcat

RE: http.conf file

2012-06-29 Thread Caldarale, Charles R
From: Welch, Andrea [mailto:awe...@acehardware.com] Subject: RE: http.conf file Regarding the official docs - the Proxy Support section is one place that I noted the reference to the httpd.conf file. We've also been struggling with redirection of an app to be the root app and most of

RE: FW: Tomcat server start up taking excessive time

2012-06-28 Thread Caldarale, Charles R
From: THIND Mansukhdeep [mailto:mansukhdeep_th...@3dplmsoftware.com] Subject: RE: FW: Tomcat server start up taking excessive time What is lack of entropy in dev/random? Please clarify. GIYF. http://en.wikipedia.org/wiki//dev/random http://en.wikipedia.org/wiki/Entropy_%28computing%29 If

RE: restrict per user public_html to serve static files only...

2012-06-27 Thread Caldarale, Charles R
From: Kim [mailto:k...@aerodrive.com] Subject: Re: restrict per user public_html to serve static files only... Please do not top-post; it's rude and annoying. each user can have his/her own web.xml and can do whatever URL mapping in web.xml to serve his/her servlet ??? You first say users

RE: iis not looking for jsp in tomcat webapps folder

2012-06-22 Thread Caldarale, Charles R
From: Vijaya [mailto:svij...@solutionscraft.com] Subject: Re: iis not looking for jsp in tomcat webapps folder Is there any significant changes in terms of configuration files from Tomcat 5 to 7 that I need to pay attention to. Lots. Read the Migration Guide (link on the Tomcat home

RE: Fine tune or disable JMX activity

2012-06-22 Thread Caldarale, Charles R
From: Jacopo Cappellato [mailto:jacopo.cappell...@gmail.com] Subject: Fine tune or disable JMX activity While doing some profiling with Java VisualVM I have noticed that a lot of object (java.util.TreeMap$Entry) are created even when there is no traffic; they don't represent a memory leak

RE: Confusing tomcat error - can't find javax.servlet.http.HttpSessionAttributeListener

2012-06-21 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Confusing tomcat error - can't find javax.servlet.http.HttpSessionAttributeListener Odd that it's a java.lang.Error and not something more specific like NCDFE, etc. Which makes me suspect the message isn't coming

RE: Moodle Tomcat

2012-06-20 Thread Caldarale, Charles R
From: Peli [mailto:fabian...@gmail.com] Subject: Moodle Tomcat Moodle requires to create the resource directory outside of the deployment directory [webapps], the moodledata directory is created directly in [...\apache-tomcat-7.0.27\moodledata] moodle upload files to that directory but in

RE: Creating separate log for each request

2012-06-20 Thread Caldarale, Charles R
From: Lahiru Gunathilake [mailto:glah...@gmail.com] Subject: Creating separate log for each request I am using slf4j for my logging and everything works fine and all the logs comes to catalina.out. Which means that things are seriously broken or incredibly badly configured. Logging

RE: apache-tomcat-7.0.27 start up errors on Mac OX Lion

2012-06-20 Thread Caldarale, Charles R
From: Samuel V Green III [mailto:macun...@gmail.com] Subject: Re: apache-tomcat-7.0.27 start up errors on Mac OX Lion That's exactly what I've been downloading, but when unpacking the tar.gz it unpacks as YadaYada-src Then clearly you're downloading the source archive, not the binary one.

RE: apache-tomcat-7.0.27 start up errors on Mac OX Lion

2012-06-19 Thread Caldarale, Charles R
From: Samuel V Green III [mailto:macun...@gmail.com] Subject: Re: apache-tomcat-7.0.27 start up errors on Mac OX Lion issued command export Catalina_HOME=/Library/Tomcat That's not useful (or necessary). The variable name is CATALINA_HOME, not Catalina_HOME (case matters). Using

RE: apache-tomcat-7.0.27 start up errors on Mac OX Lion

2012-06-19 Thread Caldarale, Charles R
From: Samuel V Green III [mailto:macun...@gmail.com] Subject: Re: apache-tomcat-7.0.27 start up errors on Mac OX Lion Java(TM) SE Runtime Environment (build 1.6.0_33-b03-424-11M3720) Java HotSpot(TM) 64-Bit Server VM (build 20.8-b03-424, mixed mode) That looks quite reasonable. Can you

RE: apache-tomcat-7.0.27 start up errors on Mac OX Lion

2012-06-19 Thread Caldarale, Charles R
From: Samuel V Green III [mailto:macun...@gmail.com] Subject: Re: apache-tomcat-7.0.27 start up errors on Mac OX Lion I was trying to follow the instructions here: http://wolfpaulus.com/journal/mac/tomcat7 I would strongly recommend (as did Chris) that you _not_ follow someone else's

RE: Tomcat uses 99% of CPU - Something to do with AJP connector

2012-06-12 Thread Caldarale, Charles R
From: Martin Knoblauch [mailto:knobis...@googlemail.com] Subject: Re: Tomcat uses 99% of CPU - Something to do with AJP connector From a technical point of view - yes. But from experience I can tell that you there are IT organisations out there that have really weird policies. So upgrade

RE: HttpOnly

2012-06-12 Thread Caldarale, Charles R
From: N.s.Karthik [mailto:nskarthi...@gmail.com] Subject: HttpOnly Tomcat 6.0.10 For some specific Reason We use Tomcat 6.0.10 for Dev/Deploy in INTRANET. Sorry, but there is simply no excuse for using a version of Tomcat that's over five years old. Note that the value of the useHttpOnly

RE: Java process killed by oom-killer in Ubuntu

2012-06-11 Thread Caldarale, Charles R
From: Jorge Medina [mailto:cerebrotecnolog...@gmail.com] Subject: Re: Java process killed by oom-killer in Ubuntu Nevertheless, I am finding that after removing the -Xms option, the process memory usage stabilizes and stops growing. That would seem to indicate that your -Xmx value is simply

RE: Java process killed by oom-killer in Ubuntu

2012-06-11 Thread Caldarale, Charles R
From: David kerber [mailto:dcker...@verizon.net] Subject: Re: Java process killed by oom-killer in Ubuntu On 6/11/2012 2:30 PM, Jorge Medina wrote: The machine has 16 GB of memory with no swap space. The JVM was being started with -Xms and -Xmx equal to 6 GB, so I think 10GB extra would

RE: Java process killed by oom-killer in Ubuntu

2012-06-11 Thread Caldarale, Charles R
From: Jorge Medina [mailto:cerebrotecnolog...@gmail.com] Subject: Re: Java process killed by oom-killer in Ubuntu The JVM actually starts fine, using about 8GB (6GB of heap, + code + threads etc) but it keeps growing. In about 2 days it runs out of memory. (The JVM process has reached more

RE: Tomcat uses 99% of CPU - Something to do with AJP connector

2012-06-11 Thread Caldarale, Charles R
From: Dharamshila Khandelwal [mailto:dharmshil...@gmail.com] Subject: Re: Tomcat uses 99% of CPU - Something to do with AJP connector I cannot upgrade Tomcat because we upgraded last year. Now that is a completely bogus reason. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR

RE: Java process killed by oom-killer in Ubuntu

2012-06-07 Thread Caldarale, Charles R
From: Jorge Medina [mailto:cerebrotecnolog...@gmail.com] Subject: Re: Java process killed by oom-killer in Ubuntu Is there a way I can monitor the number of file descriptors in use by the app? You can see the open files for any process with lsof: http://linux.die.net/man/8/lsof You can

RE: Question about resetting datasources and changes to the BasicDataSource.close() method

2012-06-01 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Question about resetting datasources and changes to the BasicDataSource.close() method Locking this makes sure that the thread's local copy of whatever-you-are-getting is updated properly and not stale-cached. If

RE: ROOT.xml problem

2012-06-01 Thread Caldarale, Charles R
From: Kevin Marx [mailto:simplyfema...@gmail.com] Subject: Re: ROOT.xml problem ROOT.xml located in /conf/Catalina/localhost ?xml version=1.0 encoding=ISO-8859-1? Context docBase=C:\Corda\CenterView4\Server\corda path= reloadable=true / As you've been told before,

RE: is there anyway to check whether mod_jk is properly built or not?

2012-05-30 Thread Caldarale, Charles R
From: Aman Arora [mailto:aman.arora...@gmail.com] Subject: Re: is there anyway to check whether mod_jk is properly built or not? i followed the steps from http://tomcat.apache.org/tomcat-3.3-doc/mod_jk-howto.html#s61 Why in the world would anyone be looking at doc for a version of Tomcat

RE: jsvc catalina.out log wont rotate

2012-05-28 Thread Caldarale, Charles R
From: Muriithi, Priscilla K. [mailto:priscilla.murii...@thermofisher.com] Subject: jsvc catalina.out log wont rotate How can I configure tomcat startup/shutdown script using jsvc to rotate catalina.out log. Read the FAQ: http://wiki.apache.org/tomcat/FAQ/Logging#Q6 The catalina.out log

RE: command line equivalent of tomcat service manager buttons start and stop

2012-05-27 Thread Caldarale, Charles R
From: Nanne van der Zijpp (Modelit) [mailto:zi...@modelit.nl] Subject: command line equivalent of tomcat service manager buttons start and stop There simply does not seem to be a command line equivalent of the service manager buttons start and stop. Use the standard Windows commands: net

RE: mod_jk not working !!

2012-05-25 Thread Caldarale, Charles R
From: Mark Eggers [mailto:its_toas...@yahoo.com] Subject: Re: mod_jk not working !! I'll try to give a few general directions. much useful content snipped Again, start simply. 1. Stock Apache HTTPD installation (and verify) 2. Stock Apache Tomcat installation (and verify) 3. mod_jk

RE: encrypt the database password

2012-05-24 Thread Caldarale, Charles R
From: Bill Wang [mailto:bw57...@gmail.com] Subject: encrypt the database password So which the plain password, end user may get the password directly. Only if you don't bother to protect access to your Tomcat server. And if you don't do that, you've got much, much bigger problems than

RE: tomcat slowing down

2012-05-16 Thread Caldarale, Charles R
From: Christian Kaufhold [mailto:kaufhol...@googlemail.com] Subject: tomcat slowing down What can we do to analyse the problem? Start by taking a thread dump to find out what's going on inside the JVM.

RE: two instances of Tomcat in same machine

2012-05-16 Thread Caldarale, Charles R
From: Miguel Gonzalez [mailto:miguel_3_gonza...@yahoo.es] Subject: Re: two instances of Tomcat in same machine there wasn't a limit of 32 bits OS for running JVM for more than 1.5 Gb? Yes, there is a limit on heap size for 32-bit JVMs and it's usually around 1.5 GB depending on the OS.

RE: [OT] tomcat slowing down

2012-05-16 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: [OT] tomcat slowing down I always thought that Ajax was purely a client-side thing It may be so in this case as well - the stack traces include use of HttpClient, so the webapp may actually be hung up waiting on some external

RE: [OT] tomcat slowing down

2012-05-16 Thread Caldarale, Charles R
From: Pid [mailto:p...@pidster.com] Subject: Re: [OT] tomcat slowing down I was looking at Wicket in Wikipedia, That sir, is because you are not an Englishman. However, I can assure you, that we are very familiar with the wicket. What ho'! Howzat? - Chuck THIS COMMUNICATION MAY

RE: maxParameterCount with Tomcat 5.5.23

2012-05-11 Thread Caldarale, Charles R
From: Haenni, Tia [mailto:thae...@burnsmcd.com] Subject: maxParameterCount with Tomcat 5.5.23 A recent RHEL patch supplied the following Tomcat packages Note that 5.5.23 is over five years old... You might want to consider installing a real Tomcat from tomcat.apache.org instead of a

RE: maxParameterCount with Tomcat 5.5.23

2012-05-11 Thread Caldarale, Charles R
From: Haenni, Tia [mailto:thae...@burnsmcd.com] Subject: RE: maxParameterCount with Tomcat 5.5.23 I read some posts where it was apparently ignored and the default used instead. It would be interesting to know who's publishing such garbage. Can you confirm that setting maxParameterCount

RE: tomcat pausing and process killed

2012-05-10 Thread Caldarale, Charles R
From: Miguel Gonzalez [mailto:miguel_3_gonza...@yahoo.es] Subject: Re: tomcat pausing and process killed Do you suggest using a rpm (I'm running Centos 5.2) Definitely not. If you use a 3rd-party repackaged version of Tomcat, you'll need to get support from that 3rd party, since they often

RE: tomcat6 lookup for remote EJB on glassfish

2012-05-10 Thread Caldarale, Charles R
From: tomaz [mailto:tomaz.majerh...@arnes.si] Subject: Re: tomcat6 lookup for remote EJB on glassfish Yes it is true, but if you put some jar's in tomcat/lib it could work, so what I did is tu put this jars in a tomcat lib: javax.ejb.jar ejb-container.jar deployment-common.jar dol.jar

RE: Connection timeout

2012-05-10 Thread Caldarale, Charles R
From: Jon Drukman [mailto:j...@cluttered.com] Subject: Re: Connection timeout Do you really want to queue up requests, rather than just accepting them and assigning them to threads? Well, I assume at some point I may run out of threads. * 400 is a guess - I've got no idea how many

RE: Connection timeout

2012-05-10 Thread Caldarale, Charles R
From: Jon Drukman [mailto:j...@cluttered.com] Subject: Re: Connection timeout Is there any way to find out how many threads are being used at a given moment? Using JConsole or VisualVM would be a good start. Either of those will let you see what's going on with threads, heap memory, and

RE: Slow downloads through mod_jk on Windows XP

2012-05-08 Thread Caldarale, Charles R
From: Andy Wang [mailto:aw...@ptc.com] Subject: Re: Slow downloads through mod_jk on Windows XP Downloading a large file through mod_jk to tomcat looks like this: 2012-05-08 16:01:22 (15.0 MB/s) - sol-11--text-x86.iso.8 saved [450799616/450799616] Downloading the same large file

RE: Tomcat unable to validate SSL certificate authority

2012-05-03 Thread Caldarale, Charles R
From: Andy Ee [mailto:an...@singnet.com.sg] Subject: Tomcat unable to validate SSL certificate authority I received the following error in the catalina.out log. Logging to stdout is bad practice for anyone's webapp. Therefore I am suspecting that Tomcat is not using cacerts properly.

RE: Adding the manager app to a Standalone tomcat install

2012-05-03 Thread Caldarale, Charles R
From: Todd Seidenberg [mailto:todd.seidenb...@gmail.com] Subject: Re: Adding the manager app to a Standalone tomcat install As you can see, the manager descriptor is deployed - and sure enough the standard manager.xml file is created in /usr/local/confluence-4/conf/Standalone/localhost.

RE: Adding the manager app to a Standalone tomcat install

2012-05-03 Thread Caldarale, Charles R
From: Todd Seidenberg [mailto:todd.seidenb...@gmail.com] Subject: Re: Adding the manager app to a Standalone tomcat install Here are the contents of my /usr/local/confluence-4/conf/Standalone/localhost/manager.xml file: That looks reasonable. How about posting your server.xml file,

RE: Adding the manager app to a Standalone tomcat install

2012-05-03 Thread Caldarale, Charles R
From: Todd Seidenberg [mailto:todd.seidenb...@gmail.com] Subject: Re: Adding the manager app to a Standalone tomcat install Server port=8000 shutdown=SHUTDOWN debug=0 Service name=Tomcat-Standalone Connector className=org.apache.coyote.**tomcat4.CoyoteConnector port=8090

RE: manager 404

2012-05-03 Thread Caldarale, Charles R
From: Jon Drukman [mailto:j...@cluttered.com] Subject: manager 404 I installed tomcat6 and tomcat6-admin-webapps from yum. Bad choice. Remove those, then download and install a real Tomcat 7 from tomcat.apache.org. The third-party repackaged versions of Tomcat garble so much that it's

RE: Adding the manager app to a Standalone tomcat install

2012-05-03 Thread Caldarale, Charles R
From: Todd Seidenberg [mailto:todd.seidenb...@gmail.com] Subject: Re: Adding the manager app to a Standalone tomcat install I have removed all of the offending stuff from the server.xml but the manager/html still gives me a 404. Just to be sure, exactly what URL are you using to try to

RE: OpenJDK 7

2012-05-03 Thread Caldarale, Charles R
From: Craig Silk [mailto:craig.s...@gmail.com] Subject: OpenJDK 7 Have there been any issues with OpenJDK7 compilations? You cannot build Tomcat with Java 7, due to incompatibilities introduced by Sun/Oracle. Once Tomcat has been built on Java 6, you may run it on a Java 7 JRE. - Chuck

RE: How to run Tomcat as Service on windows start up.

2012-05-03 Thread Caldarale, Charles R
From: Kiran Badi [mailto:ki...@poonam.org] Subject: Re: How to run Tomcat as Service on windows start up. Please don't top-post. What do you mean by this ? http://lmgtfy.com/?q=top+post - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is

RE: Adding the manager app to a Standalone tomcat install

2012-05-02 Thread Caldarale, Charles R
From: Todd Seidenberg [mailto:todd.seidenb...@gmail.com] Subject: Adding the manager app to a Standalone tomcat install I'm trying to use the manager app, so that I can collect performance metrics on our running Standalone Tomcat setup. What kind of performance information do you think the

RE: Tomcat 7 - No modifications are allowed to a locked ParameterMap

2012-05-02 Thread Caldarale, Charles R
From: David Wall [mailto:d.w...@computer.org] Subject: Tomcat 7 - No modifications are allowed to a locked ParameterMap May 2, 2012 1:55:03 AM org.apache.catalina.core.ApplicationDispatcher invoke SEVERE: Servlet.service() for servlet jsp threw exception java.lang.IllegalStateException: No

RE: Tomcat 7 - .ApplicationDispatcher invoke - Cannot create a session after the response has been committed

2012-05-02 Thread Caldarale, Charles R
From: David Wall [mailto:d.w...@computer.org] Subject: Tomcat 7 - .ApplicationDispatcher invoke - Cannot create a session after the response has been committed It really seems like Tomcat is confusing sessions or the like when the load gets high, but not sure how to show/prove that. Look

RE: Tomcat 7 - No modifications are allowed to a locked ParameterMap

2012-05-02 Thread Caldarale, Charles R
From: David Wall [mailto:d.w...@computer.org] Subject: Re: Tomcat 7 - No modifications are allowed to a locked ParameterMap I am pretty sure we never store the request/response objects in the session, static field or thread-local. What about in your servlets? Or third-party libraries?

RE: Exception in thread http-bio-8080-exec-3 Exception in thread ContainerBackgroundProcessor[StandardEngine[Catalina]]

2012-04-30 Thread Caldarale, Charles R
From: Smith, Mitchell [mailto:mitchell.sm...@cwc.com] Subject: Exception in thread http-bio-8080-exec-3 Exception in thread ContainerBackgroundProcessor[StandardEngine[Catalina]] when I try to execute a login in my WebApp I get the following error. Exception in thread http-bio-8080-exec-3

RE: Multiple Contexts - one classloader

2012-04-30 Thread Caldarale, Charles R
From: Shanti Suresh [mailto:sha...@umich.edu] Subject: Multiple Contexts - one classloader I would like one application instance to serve the different contexts. Please read the servlet spec; one application == one context. You can play games with forwarding if you want, or simply install

RE: tomcat deps on ant which deps on junit ... BUILD FAILED

2012-04-30 Thread Caldarale, Charles R
From: Albretch Mueller [mailto:lbrt...@gmail.com] Subject: tomcat deps on ant which deps on junit ... BUILD FAILED While trying to install tomcat-7.0.27 it tells me install ant Exactly what Tomcat distribution (and from where) are you trying to install? Since Tomcat is pure Java, just

RE: Capturing System.out on a Mac

2012-04-27 Thread Caldarale, Charles R
From: Dola Woolfe [mailto:dolac...@yahoo.com] Subject: Re: Capturing System.out on a Mac I appreciate the point about logging, but what if I am using a library that utilizes System.out? Then you really, really need to file a bug report with the maintainers of the library for writing

RE: High Level question. Managing dynamic vhost deployments...

2012-04-26 Thread Caldarale, Charles R
From: Dave Shevett [mailto:shev...@homeport.org] Subject: High Level question. Managing dynamic vhost deployments... I'd like to be able to 'spin up' a vhost on the fly, without restarting tomcat. Look at the host-manager (not the manager) webapp that comes bundled with real Tomcat

RE: Payload for Tomcat 7

2012-04-25 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Payload for Tomcat 7 On 4/25/12 6:35 AM, Rajat wrote: How to use the payload in Tomcat 7. ?? Clearly, the answer is 42. What I have observed is payload is not being sent for self member in Tomcat 7 when we

RE: Tomcat fails on forwarded IP Address

2012-04-24 Thread Caldarale, Charles R
From: Harold H. Hibbert [mailto:hhibb...@bioinfogen.com] Subject: Tomcat fails on forwarded IP Address I have had my IP Address forwarded to a public IP address I hope you mean the reverse, since the above doesn't make sense. Are there any configuration issues with Tomcat and forwarded IP

RE: Issue in tomcat 6.0.26

2012-04-19 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Issue in tomcat 6.0.26 Kindly provide the solution. Briefly: don't call getOutputStream more than once ;) Actually, I think it's don't call _both_ getOutputStream() and getWriter() for the same request. Pick

RE: JasperException: The value for the useBean class ___ attribute is invalid

2012-04-19 Thread Caldarale, Charles R
From: Chris Patterson [mailto:tom...@vittox.com] Subject: Re: JasperException: The value for the useBean class ___ attribute is invalid So configuration actually is as follows: Host name=server.com appBase=/home/server/public_html Aliaswww.server.com/Alias If you only have one Host, no

RE: Classpath issues with Embedded Tomcat 7

2012-04-19 Thread Caldarale, Charles R
From: Adam Gordon [mailto:adam.n.gor...@gmail.com] Subject: Re: Classpath issues with Embedded Tomcat 7 the docs say Tomcat provides a sensible default for a temp dir which is why I didn't set one. That's true when Tomcat is run as a normal server, but for embedded, it will use whatever

RE: Classpath issues with Embedded Tomcat 7

2012-04-19 Thread Caldarale, Charles R
From: Adam Gordon [mailto:adam.n.gor...@gmail.com] Subject: Re: Classpath issues with Embedded Tomcat 7 it's creating tomcat.9090 in the same directory as my web application. That looks like the pid file used for shutting down Tomcat via scripts. I don't think that has anything to do with

RE: JasperException: The value for the useBean class ___ attribute is invalid

2012-04-19 Thread Caldarale, Charles R
From: Chris Patterson [mailto:tom...@vittox.com] Subject: Re: JasperException: The value for the useBean class ___ attribute is invalid Renamed Test-03 to ROOT.war Deleted the /WEB-INF folder in the appBase directory AND all other JSPs (inluding sub-directories) Changed the server.xml

RE: adding a global URI prefix for Tomcat web apps

2012-04-17 Thread Caldarale, Charles R
From: ron.vandenbranden@home [mailto:ron.vandenbran...@kantl.be] Subject: Re: adding a global URI prefix for Tomcat web apps I have my webapps located at F:\tomcatApps (so outside of the catalina tree), where 'my_app' lives in a folder named 'apps#my_app'. So I'm specifying this in

RE: Using ServletContainerInitializer for 2.5 applications

2012-04-11 Thread Caldarale, Charles R
From: Lazar Kirchev [mailto:lazar.kirc...@gmail.com] Subject: Re: Using ServletContainerInitializer for 2.5 applications I want the ServletContainerInitializer to be called for all applications I deploy, not only with web.xml version 3.0, but also with lower version. Is this possible?

RE: request.login() not persistent

2012-04-05 Thread Caldarale, Charles R
From: Jerry Malcolm [mailto:2ndgenfi...@gmail.com] Subject: Re: request.login() not persistent I was using: META HTTP-EQUIV=Refresh CONTENT=0; URL=/userhome I changed it per your comment to: % response.sendRedirect( response.encodeRedirectURL( /userhome )); % It's like the logged on

RE: Tomcat6 - Context - aliases

2012-04-04 Thread Caldarale, Charles R
From: Léa Massiot [mailto:lmhe...@orange.fr] Subject: Re: Tomcat6 - Context - aliases Ok. So, I found a solution, if I can call that a solution. How about a much easier solution: install Tomcat 7. Easier to configure, faster, and more secure. Stop making your life difficult. - Chuck

RE: Enabling Manager

2012-04-03 Thread Caldarale, Charles R
From: pawan.kuma...@wipro.com [mailto:pawan.kuma...@wipro.com] Subject: RE: Enabling Manager Can any body explain, how to enable Manager in Tomcat? We are using tomcat-6.0.32.B.RELEASE. Since there's no official Tomcat release with that nomenclature, you'll have to ask whatever 3rd-party

RE: Running Tomcat as a Standalone desktop Application

2012-04-02 Thread Caldarale, Charles R
From: DaveNoth [mailto:david.nothna...@prudential.com] Subject: Re: Running Tomcat as a Standalone desktop Application If no one out there is doing this, I am going to infer it's not a very good idea and look into a rewrite of the code to work under windows as a desktop app. Actually,

RE: Bash script for monitoring status of the Tomcat server

2012-04-02 Thread Caldarale, Charles R
From: Miguel González Castaños [mailto:miguel_3_gonza...@yahoo.es] Subject: Bash script for monitoring status of the Tomcat server I would like to run a bash script to monitor these values and warn me if the reach a certain level. Also a tool that generates some graphs would be great.

RE: AccessControlException when starting embedded Tomcat from Java Webstart

2012-03-26 Thread Caldarale, Charles R
From: Witoslaw Koczewski [mailto:w...@koczewski.de] Subject: Re: AccessControlException when starting embedded Tomcat from Java Webstart Usualy when I turn on a feature in software A, I don't expect it to affect software B. You're not turning on a feature in an independent module;

RE: What is the right way to share resources across contexts?

2012-03-26 Thread Caldarale, Charles R
From: Christopher Tiwald [mailto:ctiw...@salsalabs.com] Subject: What is the right way to share resources across contexts? what is the right way to share static assets across contexts and between servers running tomcat? One easy way is to place the static resources under one or more unique

RE: jdbc driver location in TC 7

2012-03-23 Thread Caldarale, Charles R
From: David kerber [mailto:dcker...@verizon.net] Subject: jdbc driver location in TC 7 Where is the recommended location for jdbc driver jars in TC7, when I'm using separate CATALINA_HOME and CATALINA_BASE locations? If you look in conf/catalina.properties, you'll see the order in which the

RE: upgraded fedora and mod_jk will not work

2012-03-23 Thread Caldarale, Charles R
From: Ray Holme [mailto:rayho...@yahoo.com] Subject: upgraded fedora and mod_jk will not work I downloaded and built the newest mod_jk.so (tomcat-connectors-1.2.33) Oops - please read the headline in the docs: The Apache Tomcat team wishes to draw your attention to stability issues that

RE: chunked encoding

2012-03-23 Thread Caldarale, Charles R
From: Chema [mailto:demablo...@gmail.com] Subject: Re: chunked encoding How does web browser know what is the right order of the chunks ? The order they are passed to the client by the client's inbound TCP/IP stack is the correct order. But when server sends response by chunks I don't

RE: chunked encoding

2012-03-23 Thread Caldarale, Charles R
From: Chema [mailto:demablo...@gmail.com] Subject: Re: chunked encoding But, if I'm not wrong , chunks messages belong application layer, so when servers pass them to TCP/IP stack , they are different messages. TCP/IP knows nothing about messages, only about the two byte streams for the

RE: Catalina.bat Not in BIN folder install of 7.0.23

2012-03-22 Thread Caldarale, Charles R
From: bfinkel...@aaamissouri.com [mailto:bfinkel...@aaamissouri.com] Subject: Catalina.bat Not in BIN folder install of 7.0.23 I just installed Tomcat 7.0.23 and went to configure the catalina.bat file on a Windows machine and I can not find any of the files there. For reasons that I've

RE: Catalina.bat Not in BIN folder install of 7.0.23

2012-03-22 Thread Caldarale, Charles R
From: bfinkel...@aaamissouri.com [mailto:bfinkel...@aaamissouri.com] Subject: Re: Catalina.bat Not in BIN folder install of 7.0.23 However I don't see a windows installer for the x86 side on the tomcat site. Is there windows installer with all these as well? Just download the .zip file,

RE: [OT] Catalina.bat Not in BIN folder install of 7.0.23

2012-03-22 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: [OT] Catalina.bat Not in BIN folder install of 7.0.23 For unexplained reasons also, your response seems to be dated about 16 minutes before the original OP's question. Spooky. Odd, because I only answered it 10 minutes before,

RE: Catalina.bat Not in BIN folder install of 7.0.23

2012-03-22 Thread Caldarale, Charles R
From: bfinkel...@aaamissouri.com [mailto:bfinkel...@aaamissouri.com] Subject: RE: Catalina.bat Not in BIN folder install of 7.0.23 Since I already installed it yesterday can i just extract the zip file over my current install and remake my changes? In all the excitement about time travel,

RE: Configure SSL under Tomcat 7

2012-03-20 Thread Caldarale, Charles R
From: Tapan Thakkar [mailto:tapan.d.thak...@gmail.com] Subject: Re: Configure SSL under Tomcat 7 Go through this link http://tomcat.apache.org/tomcat-4.1-doc/ssl-howto.html It is irresponsible for anyone to suggest use of Tomcat 4 documentation; even more so in this case when the subject

RE: Configure SSL under Tomcat 7

2012-03-19 Thread Caldarale, Charles R
From: ayouB __ [mailto:ayb-2...@hotmail.fr] Subject: RE: Configure SSL under Tomcat 7 1) Don't top post. 2) Reply only to the list, not to individuals. Now i downloaded the tcnative.jar That won't help; the contents of that jar are already included in the standard Tomcat jars. Remove it

RE: Access local path of servlet

2012-03-19 Thread Caldarale, Charles R
From: Gubler, Ruediger [mailto:rgub...@init-ka.de] Subject: Access local path of servlet can I get the local webapps path in a servlet? Not sure what you mean by local webapps path. If you mean the path in the local file system, you should be aware that the servlet spec is designed so

RE: Configure SSL under Tomcat 7

2012-03-19 Thread Caldarale, Charles R
From: ayouB __ [mailto:ayb-2...@hotmail.fr] Subject: RE: Configure SSL under Tomcat 7 1) bin/tcnative-1.dll 32-bit version 2) bin/i64/tcnative-1.dll Itanium version 3) bin/x64/tcnative-1.dll x86-64 version Which one should i put in my : apache-tomcat-7.0.26\bin, knowing that i use

RE: Configure SSL under Tomcat 7

2012-03-19 Thread Caldarale, Charles R
From: ayouB __ [mailto:ayb-2...@hotmail.fr] Subject: RE: Configure SSL under Tomcat 7 Can you explain me more what certificate format is used with APR how can i get it please ! Read the docs: http://tomcat.apache.org/tomcat-7.0-doc/apr.html#APR_Connectors_Configuration - Chuck THIS

RE: Initializing webapps in a certain order

2012-03-14 Thread Caldarale, Charles R
From: Paul Singleton [mailto:p...@jbgb.com] Subject: Re: Initializing webapps in a certain order Does the servlet spec require that no web app may use the services of another web app? No that's perfectly alright. The key point of the OP's query was that he has a webapp that required the

RE: Initializing webapps in a certain order

2012-03-14 Thread Caldarale, Charles R
From: Caldarale, Charles R Subject: RE: Initializing webapps in a certain order I have two apps, app1 and app2. app2 needs to access app1 during app2's initialization. I need app1 to be initialized first and be done before app2 starts to initialize. Just had a thought: Tomcat 7 has

RE: JVM won't shut down: DestroyJavaVM thread stuck on ??

2012-03-14 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: JVM won't shut down: DestroyJavaVM thread stuck on ?? All threads are deamons except for this one: DestroyJavaVM prio=10 tid=0x7fa528a77800 nid=0x4b2a waiting on condition [0x]

RE: Tomcat+SOLR, acceptCount not working

2012-03-14 Thread Caldarale, Charles R
From: Андрей Беликов [mailto:pion...@mail.ru] Subject: Tomcat+SOLR, acceptCount not working Connector executor=HTTPThreadPool port=8080 protocol=org.apache.coyote.http11.Http11AprProtocol What happens if you try a different protocol handler, such as

RE: Initializing webapps in a certain order

2012-03-13 Thread Caldarale, Charles R
From: Warren Bell [mailto:warrenbe...@gmail.com] Subject: Initializing webapps in a certain order Can you initialize webapps in a certain order ? Read the FAQ: http://wiki.apache.org/tomcat/FAQ/Miscellaneous#Q27 The primary reason is that the servlet spec requires that each webapp be

RE: Web service not starting up as expected

2012-03-12 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Web service not starting up as expected sc \\bidev2 stop Tomcat7 taskkill /F /FI IMAGENAME eq java.exe /FI USERNAME eq NT AUTHORITY\SYSTEM So there's no delay between requesting a service-stop and calling

RE: Hanging on startup?

2012-03-12 Thread Caldarale, Charles R
From: Dan Armbrust [mailto:daniel.armbrust.l...@gmail.com] Subject: Hanging on startup? Startup, and it hangs on app deploy: Waiting for entropy to build up? Take a few thread dumps with jstack to see who's waiting on what. If it is entropy, see this discussion:

RE: Hanging on startup?

2012-03-12 Thread Caldarale, Charles R
From: Dan Armbrust [mailto:daniel.armbrust.l...@gmail.com] Subject: Re: Hanging on startup? I see Sun/Oracle was as helpful as ever on this one: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6521844 http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6202721 Can't comment in public...

RE: Web service not starting up as expected

2012-03-09 Thread Caldarale, Charles R
From: Debbie Shapiro [mailto:dshap...@cardiacscience.com] Subject: RE: Web service not starting up as expected 3. Schedule a restart 2 minutes into the future. Exactly what does your restart procedure consist of? From the symptoms, it could be that the restart mechanism is simply not

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

RE: Tomcat 5.5 JDK version compatibility

2012-03-08 Thread Caldarale, Charles R
From: David Wahler [mailto:dwah...@indeed.com] Subject: Tomcat 5.5 JDK version compatibility Does this mean that if a web application is deployed in Tomcat 5.5, it may not use any language features that were introduced in J2SE 5.0 or later (e.g. annotations and generics), even if those

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 almost

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

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