RE: how to make context path case insensitive

2008-08-11 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Re: how to make context path case insensitive Do you mean that all requests go first through the ROOT app, no matter what ? and that thus a servlet filter placed in the ROOT app would see *all* requests ? No, just requests that do not

RE: removal of product name/version

2008-08-12 Thread Caldarale, Charles R
From: Tommy Pham [mailto:[EMAIL PROTECTED] Subject: removal of product name/version I'm looking for a way to remove the product name and/or version from the server header and default http errors (without defining my own custom error-page). You didn't bother to tell us the Tomcat version

RE: AJP Proxying

2008-08-12 Thread Caldarale, Charles R
Stephen Nelson-Smith wrote: My server.xml was not originally written by me, and has been handed down and modified over the ages. It was originally from Tomcat 4.1 This is generally a really bad idea. Due to changes in the syntax and semantics of server.xml over the years, you cannot get

RE: Tomcat monitoring

2008-08-13 Thread Caldarale, Charles R
From: Tokajac [mailto:[EMAIL PROTECTED] Subject: Tomcat monitoring I want to monitor performance of Tomcat server when I'm running an application. Start with these: http://www.lambdaprobe.org http://moskito.anotheria.net You can also use JMX (e.g., JConsole) for much of the information, and

RE: Rational purify with tomcat 5.5 gives an error

2008-08-13 Thread Caldarale, Charles R
From: Pradeep_ Kumar [mailto:[EMAIL PROTECTED] Subject: RE: Rational purify with tomcat 5.5 gives an error I am using jdk1.5.0_02,tomcat 5.5, and Rational Purify for windows version 2003.06.12.280.000 Build: 5101. The error indicates an internal problem in the JVM. The JVM version you're

RE: Tomcat 6.0.12 in windows vista 64 bits does not start

2008-08-13 Thread Caldarale, Charles R
From: Mr Popo Sama [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat 6.0.12 in windows vista 64 bits does not start sorry it is tomcat version 6.0.18 not .12 - Mensaje original De: Mr Popo Sama [EMAIL PROTECTED] Para: users@tomcat.apache.org Enviado: miércoles 13 de agosto de 2008,

RE: Reading environment variable from Tomcat

2008-08-13 Thread Caldarale, Charles R
From: Sureka, Sushil [mailto:[EMAIL PROTECTED] Subject: RE: Reading environment variable from Tomcat Because we are using the app more like a standalone application Then don't run it as a service, just put the startup script call in: C:\Documents and Settings\[userid]\Start

RE: Default error page generation logic in tomcat

2008-08-13 Thread Caldarale, Charles R
From: Raghavendra Datt [mailto:[EMAIL PROTECTED] Subject: Re: Default error page generation logic in tomcat I have this tomcat running on linux and I don't find catalina.properties any where in the tomcat folders. A red flag just went up. Are you using a real Tomcat, or a 3rd-party

RE: database application

2008-08-13 Thread Caldarale, Charles R
From: Brantley Hobbs [mailto:[EMAIL PROTECTED] Subject: Re: database application Cue Charles Caldarale hammering someone for not providing a Tomcat version in 3...2...1... (Sorry I'm late, our marvelous corporate e-mail server didn't let the original message through.) Being precise is one

RE: Tomcat admin webapp configuration with mod_jk

2008-08-13 Thread Caldarale, Charles R
From: Adam Gordon [mailto:[EMAIL PROTECTED] Subject: Tomcat admin webapp configuration with mod_jk I've downloaded and installed (correctly, I think) the admin web app but am having trouble configuring Apache and Tomcat to recognize that the admin webapp is present. Obviously, it's not

RE: Tomcat JConsole

2008-08-14 Thread Caldarale, Charles R
From: Tokajac [mailto:[EMAIL PROTECTED] Subject: Tomcat JConsole $ CATALINA_OPTS=-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=8999 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false

RE: Hot redeploying a WAR - HTML is not refreshed

2008-08-14 Thread Caldarale, Charles R
From: Peter Desjardins [mailto:[EMAIL PROTECTED] Subject: Re: Hot redeploying a WAR - HTML is not refreshed I did look more closely at what Tomcat is doing when it hot redeploys my WAR file. Exactly how are you accomplishing this hot redeployment? Does Tomcat really shut down the

RE: where to place context configuration

2008-08-14 Thread Caldarale, Charles R
From: Robert Dietrick [mailto:[EMAIL PROTECTED] Subject: Re: where to place context configuration I would very much prefer to use only the one in mywebapp/META-INF/contex.xml I hope the above is a typo, because if it's really in contex.xml Tomcat won't look at it. But this doesn't seem to

RE: where to place context configuration

2008-08-14 Thread Caldarale, Charles R
From: Angus Mezick [mailto:[EMAIL PROTECTED] Subject: RE: where to place context configuration Am I the only one that is REALLY disturbed about that idea of REQUIRING two identical files to run an app? Probably, because Tomcat does not require that. You may place the Context element in

RE: where to place context configuration

2008-08-14 Thread Caldarale, Charles R
From: Len Popp [mailto:[EMAIL PROTECTED] Subject: Re: where to place context configuration So, the server admin can configure the DB server etc. by editing the file under the conf dir, but every time they deploy a new version of the app the settings are auto-wiped? Depends on how the

RE: where to place context configuration

2008-08-14 Thread Caldarale, Charles R
From: Mark H. Wood [mailto:[EMAIL PROTECTED] Subject: Re: where to place context configuration Is there a page somewhere which documents this? I don't think so, at least not in sufficient detail. Mark T's recent message covers the steps: http://marc.info/?l=tomcat-userm=121873999115208w=2

RE: where to place context configuration

2008-08-14 Thread Caldarale, Charles R
From: Len Popp [mailto:[EMAIL PROTECTED] Subject: Re: where to place context configuration But earlier you said: if you're updating the .war without doing an undeployment first, you're breaking the rules, and all bets are off. Yes, that was probably a bit excessive. Is there someone who

RE: URL rewrite!!!

2008-08-15 Thread Caldarale, Charles R
-Original Message- From: Shahar Cohen [mailto:[EMAIL PROTECTED] Subject: URL rewrite!!! Can anyone tell me how can I configure URL rewrite in tomcat 5.5. Try this: http://tuckey.org/urlrewrite/ - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY

RE: reloadable problem with filters

2008-08-15 Thread Caldarale, Charles R
From: Daniel Blumenthal [mailto:[EMAIL PROTECTED] Subject: RE: reloadable problem with filters I'm actually getting an error in catalina.out *during compilation* (see log extract below). Are you compiling into the deployment directory of an active application? I don't know how you could

RE: How to tell Tomcat to use an additional classpath other thanweb-inf/classes?

2008-08-15 Thread Caldarale, Charles R
From: swimming_rabbit [mailto:[EMAIL PROTECTED] Subject: How to tell Tomcat to use an additional classpath other thanweb-inf/classes? Does anyone know of a way to tell Tomcat to use an additional classpath (other than WEB-INF/classes) when loading an application? (The discussion below is

RE: reloadable problem with filters

2008-08-15 Thread Caldarale, Charles R
From: Daniel Blumenthal [mailto:[EMAIL PROTECTED] Subject: RE: reloadable problem with filters On my development machine, I do compile into the same directory that I'm running from. You could try turning off autoDeploy and then manually initiate a redeployment when the compilations are

RE: Tomcat 6.0.18 JavaEE 5/EJB3.0

2008-08-17 Thread Caldarale, Charles R
From: Tommy Pham [mailto:[EMAIL PROTECTED] Subject: Tomcat 6.0.18 JavaEE 5/EJB3.0 I think it's because of the javaee.jar causing conflict with tomcat's jar files. Correct; you don't want to have javaee.jar (or its predecessor, j2ee.jar) anywhere near Tomcat. You can try to extract the

RE: How to tell Tomcat to use an additional classpath other than web-inf/classes?

2008-08-20 Thread Caldarale, Charles R
From: Dave Bender [mailto:[EMAIL PROTECTED] Subject: RE: How to tell Tomcat to use an additional classpath other than web-inf/classes? Why not add the path to the CLASSPATH variable in the 'TOMCAT_HOME/bin/setclasspath.sh' script (or setclasspath.bat for Windows)? Because that prevents the

RE: Tomcat Native library for Windows

2008-09-02 Thread Caldarale, Charles R
From: Brian Clark [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat Native library for Windows Hmmm...on Windows, what is the difference between java.library.path and the Windows environmental variable PATH? By default, none. I have my Java Classpath set to this, which contains my

RE: Problem with JNDI environment entry resources

2008-09-02 Thread Caldarale, Charles R
From: Paul Pepper [mailto:[EMAIL PROTECTED] Subject: Problem with JNDI environment entry resources Can anyone suggest what I might have missed? What happens if you follow the (strongly) recommended practice of not putting Context elements in server.xml? If you don't want to put the Context

RE: Tomcat 6 and images

2008-09-02 Thread Caldarale, Charles R
From: Mathias P.W Nilsson [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat 6 and images How can I fit the images into this beacuse I don't quite follow. Do what Filip suggested; create a Context element in conf/Catalina/localhost/images.xml with this value: Context

RE: Trying to build tomcat 6.0.18

2008-09-02 Thread Caldarale, Charles R
From: Jack Woehr [mailto:[EMAIL PROTECTED] Subject: Trying to build tomcat 6.0.18 Trying to build tomcat 6.0.18 ... The first question: why are you trying to build it? It's pure Java, so the binary downloads will run on any platform. does not override abstract method

RE: Problem with JNDI environment entry resources

2008-09-03 Thread Caldarale, Charles R
From: Paul Pepper [mailto:[EMAIL PROTECTED] Subject: Re: Problem with JNDI environment entry resources Tomcat 6 docs states that docBase is a valid attribute in this situation. I'll have to check the docs again. However, docBase is only legal when the webapp is stored outside of the Host

RE: Problem with JNDI environment entry resources

2008-09-03 Thread Caldarale, Charles R
From: Paul Pepper [mailto:[EMAIL PROTECTED] Subject: Re: Problem with JNDI environment entry resources Besides, I don't see any other documented way of associating each application with its associated Context/ element within server.xml. Because you're not supposed to put Context elements in

RE: Do context.xml Parameter value changes require Tomcat restart?

2008-09-03 Thread Caldarale, Charles R
From: hanan herzog [mailto:[EMAIL PROTECTED] Subject: Do context.xml Parameter value changes require Tomcat restart? I am using context.xml to configure my web application. Where is your context.xml located? It should be under the webapp's META-INF directory. The conf/context.xml file is

RE: Tomcat 6 (Unable to find servlet or load servlet jar from a clientjar)

2008-09-03 Thread Caldarale, Charles R
From: Robert K. Vanderhoek [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat 6 (Unable to find servlet or load servlet jar from a clientjar) I have looked at the web.xml in the /usr/apache-tomcat-6.0.18/conf directory. That's not a good example, since it contains settings shared by all webapps.

RE: Do context.xml Parameter value changes require Tomcat restart?

2008-09-03 Thread Caldarale, Charles R
From: hanan herzog [mailto:[EMAIL PROTECTED] Subject: RE: Do context.xml Parameter value changes require Tomcat restart? I tried putting the settings in context directories, e.g., conf/Catalina/localhost/context.xml.default . But changes to this did not get picked up either. Hmmm... I just

RE: Trying to build tomcat 6.0.18

2008-09-03 Thread Caldarale, Charles R
From: Jack Woehr [mailto:[EMAIL PROTECTED] Subject: Re: Trying to build tomcat 6.0.18 package org.eclipse.jdt.core.compiler does not exist There has been some recent revision of the Eclipse web site that was making it difficult for a script to retrieve the JDT jar. However, I just tried it

RE: Do context.xml Parameter value changes require Tomcat restart?

2008-09-03 Thread Caldarale, Charles R
From: hanan herzog [mailto:[EMAIL PROTECTED] Subject: RE: Do context.xml Parameter value changes require Tomcat restart? Changing Parameter values in appName.xml works: redeployment occurs, Parameter (InitParameter) values are updated as expected. Good, because that's what I found to be

RE: Do context.xml Parameter value changes require Tomcat restart?

2008-09-03 Thread Caldarale, Charles R
From: hanan herzog [mailto:[EMAIL PROTECTED] Subject: RE: Do context.xml Parameter value changes require Tomcat restart? 1. If the new values are not going to be picked up from context.xml.default why does a change in conf/engine/host/context.xml.default or conf/context.xml cause a

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

2008-09-03 Thread Caldarale, Charles R
From: Brian Clark [mailto:[EMAIL PROTECTED] Subject: Problems with running 64-bit Tomcat 6 as a Windows service I didn't use the service.bat install though. I installed the service manually with the sc.exe command. Is there any particular reason you avoided that rather critical step? -

RE: R: R: R: Problems with tomcat in debian

2008-09-04 Thread Caldarale, Charles R
From: marcos gonzalez [mailto:[EMAIL PROTECTED] Subject: Re: R: R: R: Problems with tomcat in debian Well, this file not exists, each application needs and xml file there? No, each application does not. When a Context element is needed at all, it normally goes into the META-INF/context.xml

RE: R: R: R: Problems with tomcat in debian

2008-09-04 Thread Caldarale, Charles R
From: Leandro Dardini [mailto:[EMAIL PROTECTED] Subject: R: R: R: R: Problems with tomcat in debian I don't know if a file is needed, but I usually create it and all runs well. Please stop giving bad information. The conf/Catalina/[host]/[appName].xml file is only needed when you wish to

RE: Tomcat 5.5. META-INF/context.xml ignored when deploying as war.

2008-09-05 Thread Caldarale, Charles R
From: Eric Berry [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat 5.5. META-INF/context.xml ignored when deploying as war. (Just expanding a little on what Mark gave you.) Why recommend the use of the context.xml if it really isn't used? It is used - Tomcat copied the context.xml file from

RE: User Directories and context.xml?

2008-09-05 Thread Caldarale, Charles R
From: Tim J Schumacher [mailto:[EMAIL PROTECTED] Subject: Re: User Directories and context.xml? Just out of curiosity, does anyone know the motivation for not reading context.xml out of a user's directory? (I apologize for coming in late on this one.) Tomcat does use context.xml out of a

RE: Tomcat loops indefinitely

2008-09-05 Thread Caldarale, Charles R
From: Kjetil Kjernsmo [mailto:[EMAIL PROTECTED] Subject: Tomcat loops indefinitely The problem is that the application has apparently gone into a loop, as this appears to be different threads. Eventually, it runs out of threads, and comes to a halt: What does a thread dump show? (Before

RE: Tomcat 6 (Unable to find servlet or load servlet jar from a clientjar)

2008-09-05 Thread Caldarale, Charles R
From: Robert K. Vanderhoek [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat 6 (Unable to find servlet or load servlet jar from a clientjar) I'm just surprised it isn't stressed more to use a web.xml file for each webapp since it is so vital. Read the servlet spec - a prerequisite for using any

RE: symlinks in webapps

2008-09-05 Thread Caldarale, Charles R
From: Claudio Tassini [mailto:[EMAIL PROTECTED] Subject: symlinks in webapps The goal is to have the same webapp referenced by two contexts Rather than use symlinks, try using an additional Context element in conf/Catalina/[host]/WebMail2.xml: Context docBase=WebMail / (Include whatever

RE: Yet another context logging question

2008-09-05 Thread Caldarale, Charles R
From: Jonathan Mast [mailto:[EMAIL PROTECTED] Subject: Yet another context logging question Foo has a subdirectory bar which I would now like to be it's own Context and AccessLogValue. Such a configuration is not supported - webapps may not be nested. Whatever results you get will be

RE: symlinks in webapps

2008-09-06 Thread Caldarale, Charles R
From: Claudio Tassini [mailto:[EMAIL PROTECTED] Subject: Re: symlinks in webapps it causes my app to start several times, while with a simple symlink I had the same webapp referenced as many times as I wished I don't think that's true - each directory or .war file in the appBase directory

RE: Virtual Hosting of Mutliple Domains

2008-09-06 Thread Caldarale, Charles R
From: Alan Hancock [mailto:[EMAIL PROTECTED] Subject: Virtual Hosting of Mutliple Domains I'm running Tomcat 5.5.3 on Red Hat EL 5.1 1) If you're really running that old of a Tomcat version, you need to move up, ASAP. 5.5.3 is almost four years old, and many bugs have been fixed between

RE: The requested resource (/manager/) is not available.

2008-09-09 Thread Caldarale, Charles R
From: Robert K. Vanderhoek [mailto:[EMAIL PROTECTED] Subject: Re: The requested resource (/manager/) is not available. Check to see if your webapps directory contains the /manager and /tomcat-docs folders. Also make sure your server.xml file is pointing to the /webapps directory as its

RE: Running Tomcat as a Service on Non-default port

2008-09-09 Thread Caldarale, Charles R
From: Kamal Sheikh [mailto:[EMAIL PROTECTED] Subject: Running Tomcat as a Service on Non-default port Is it possible to install Tomcat as a service and configure it so that it runs on a different port? Ports are configured in the Connector element(s) in conf/server.xml; a restart of Tomcat

RE: undo undeploying in Tomcat?

2008-09-09 Thread Caldarale, Charles R
From: Cristina Manzano García-Muñoz [mailto:[EMAIL PROTECTED] Subject: undo undeploying in Tomcat? is the application still stored somewhere in the server after undeploying it? Depends on how the webapp was deployed. If it was placed under the Host appBase directory, it will be deleted

RE: JVM per Context

2008-09-10 Thread Caldarale, Charles R
From: Michael Dehmlow [mailto:[EMAIL PROTECTED] Subject: JVM per Context I have multiple contexts that are defined for a given host in my server.xml Placing Context elements in server.xml is strongly discouraged for any current version of Tomcat; however, you didn't bother to tell us what

RE: Problem with Apache, Tomcat, mod_jk

2008-09-10 Thread Caldarale, Charles R
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lars 'Levia' Wesselius Subject: Re: Problem with Apache, Tomcat, mod_jk http://mirroredescape.net/manager/ Tomcat 404 error. You appear to have ignored what you were previously told: that's an invalid URL and it should return

RE: JVM per Context

2008-09-10 Thread Caldarale, Charles R
From: Martin Gainty [mailto:[EMAIL PROTECTED] Subject: RE: JVM per Context If your goal is to run TC with different JVMs have you looked at using each JBM to run embedded TomcatBR This has nothing to do with running an embedded Tomcat. Please don't add confusion to this issue. - Chuck

RE: Tomcat logging properties

2008-09-10 Thread Caldarale, Charles R
From: Brian Clark [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat logging properties Yep, read through that, but it didn't tell me what those directives actually mean. Anyone have anything else? They specify logging levels for those specific classes, overriding any more generic settings. The

RE: html entities and urls with spaces

2008-09-10 Thread Caldarale, Charles R
From: Brendan Martens [mailto:[EMAIL PROTECTED] Subject: Re: html entities and urls with spaces Hmmm, not sure this is the issue, both filesystems can read and write files with spaces. It's certainly not the issue - spaces in file names work fine on my Windows box with Tomcat. I really

RE: Reading Tomcat source code

2008-09-10 Thread Caldarale, Charles R
From: Gorav Chhabra [mailto:[EMAIL PROTECTED] Subject: Re: Reading Tomcat source code Can anyone please guide from where i can download the Source code The link to the downloads for each supported Tomcat version are on the left side of the Tomcat home page: http://tomcat.apache.org This

RE: Migrating to tomcat 6 gives formatted currency amounts problem

2008-09-11 Thread Caldarale, Charles R
From: Johnny Kewl [mailto:[EMAIL PROTECTED] Subject: Re: Migrating to tomcat 6 gives formatted currency amounts problem http://www.kewlstuff.co.za/test/test.htm What do you see in this test page? Depends on which character encoding I choose to view the page in. For the declared UTF-8, FF3

RE: Migrating to tomcat 6 gives formatted currency amounts problem

2008-09-11 Thread Caldarale, Charles R
From: David Smith [mailto:[EMAIL PROTECTED] Subject: Re: Migrating to tomcat 6 gives formatted currency amounts problem I'm willing to bet the symbol for the british pound is not part of the normal web character set like a US dollar symbol is and as a result needs to be expressed by entity

RE: Migrating to tomcat 6 gives formatted currency amounts problem

2008-09-12 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Re: Migrating to tomcat 6 gives formatted currency amounts problem - the servlet reads those documents with some InputStream, without specifying a character set or encoding, and by default that means to use Tomcat's idea of its default

RE: Migrating to tomcat 6 gives formatted currency amounts problem

2008-09-12 Thread Caldarale, Charles R
From: Caldarale, Charles R Subject: RE: Migrating to tomcat 6 gives formatted currency amounts problem Consequently, setting LC_CTYPE (or equivalent) prior to starting up Tomcat can have a dramatic effect on the interpretation of both input and output, as you have discovered. Also

RE: Migrating to tomcat 6 gives formatted currency amounts problem

2008-09-12 Thread Caldarale, Charles R
From: Johnny Kewl [mailto:[EMAIL PROTECTED] Subject: Re: Migrating to tomcat 6 gives formatted currency amounts problem If this locale stuff is in fact defaulting to an ISO char set that can do these symbols... There's the basic problem - anytime you allow defaults to come into play you

RE: 回复: about Connector's attribute red irectPort

2008-09-12 Thread Caldarale, Charles R
From: 李征 [mailto:[EMAIL PROTECTED] Subject: 回复: about Connector's attribute redirectPort this is my setting for connector Connector className=org.apache.coyote.tomcat4.CoyoteConnector port=8009 minProcessors=5 maxProcessors=150 enableLookups=true

RE: Migrating to tomcat 6 gives formatted currency amounts problem

2008-09-12 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:[EMAIL PROTECTED] Subject: Re: Migrating to tomcat 6 gives formatted currency amounts problem (My understanding is that Unicode (16-bit) is actually not big enough for everything, but hey, they tried). Point of clarification: Unicode is NOT limited to 16

RE: NoClassDefFoundError: org.apache.catalina.realm.RealmBase

2008-09-12 Thread Caldarale, Charles R
From: Carol Cheung [mailto:[EMAIL PROTECTED] Subject: NoClassDefFoundError: org.apache.catalina.realm.RealmBase I have catalina.jar in WEB-INF/lib Can anyone shed some light on what I'm doing wrong? Putting catalina.jar in WEB-INF/lib is certainly one major error. Remove it. You must

RE: Migrating to tomcat 6 gives formatted currency amounts problem

2008-09-12 Thread Caldarale, Charles R
From: Johnny Kewl [mailto:[EMAIL PROTECTED] Subject: Re: Migrating to tomcat 6 gives formatted currency amounts problem Does it mean you cant run linux headless?... Of course you can (think about blade servers). Now you're confusing graphical display with encoding. The term headless is

RE: Migrating to tomcat 6 gives formatted currency amounts problem

2008-09-12 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:[EMAIL PROTECTED] Subject: Re: Migrating to tomcat 6 gives formatted currency amounts problem the 'char' data type is /defined/ to be 16-bits wide (http://java.sun.com/docs/books/jls/third_edition/html/typesValues.html#4.2.1). Has this changed? When? (And

RE: NoClassDefFoundError: org.apache.catalina.realm.RealmBase

2008-09-12 Thread Caldarale, Charles R
From: Carol Cheung [mailto:[EMAIL PROTECTED] Subject: RE: NoClassDefFoundError: org.apache.catalina.realm.RealmBase Sorry, I'm using Tomcat 5.5. I removed catalina.jar from WEB-INF/lib and I am still getting the same error. Look at the Tomcat 5.5 classloader structure: Bootstrap

RE: Migrating to tomcat 6 gives formatted currency amounts problem

2008-09-12 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Re: Migrating to tomcat 6 gives formatted currency amounts problem The servlet thus reads the iso-8859-1 data, but with the wrong decoder. I guess then that this decoder replaces anything that does not fit into that default encoding,

RE: Migrating to tomcat 6 gives formatted currency amounts problem

2008-09-12 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:[EMAIL PROTECTED] Subject: Re: Migrating to tomcat 6 gives formatted currency amounts problem so, Java is still 16-bit Unicode in its char primitive, but you can use ints to hold UTF-16 values using 21-bits? The 21-bit values are represented by pairs of

RE: JNDI configuration in webapp/META-INF/context.xml

2008-09-14 Thread Caldarale, Charles R
From: walterw [mailto:[EMAIL PROTECTED] Subject: JNDI configuration in webapp/META-INF/context.xml Here is the configuration I am using: context reloadable=true It's Context, not context - case matters. /context Ditto. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR

RE: application to windows - linux

2008-09-14 Thread Caldarale, Charles R
From: Johnny Kewl [mailto:[EMAIL PROTECTED] Subject: Re: application to windows - linux Its highly unusual for a war to work on one and not the other... more likely a deployment issue? Look for proper casing of directory, package, and class names. Java on Windows lets some casing errors

RE: JNDI configuration in webapp/META-INF/context.xml

2008-09-14 Thread Caldarale, Charles R
From: walterw [mailto:[EMAIL PROTECTED] Subject: RE: JNDI configuration in webapp/META-INF/context.xml Context WatchedResourceWEB-INF/web.xml/WatchedResource !--WatchedResourceMETA-INF/context.xml/WatchedResource-- Resource name=${jndi.URL} auth=Container

RE: JNDI configuration in webapp/META-INF/context.xml

2008-09-14 Thread Caldarale, Charles R
From: walterw [mailto:[EMAIL PROTECTED] Subject: RE: JNDI configuration in webapp/META-INF/context.xml Context WatchedResourceWEB-INF/web.xml/WatchedResource !--WatchedResourceMETA-INF/context.xml/WatchedResource-- Resource name=${jndi.URL} auth=Container

RE: add memory

2008-09-16 Thread Caldarale, Charles R
From: Alex Mestiashvili [mailto:[EMAIL PROTECTED] Subject: Re: add memory export JAVA_OPTS= -XX:MaxPermSize=256m -Xmx12000m Do you really have enough RAM on your server to make a 12 GB heap viable? - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY

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

2008-09-16 Thread Caldarale, Charles R
From: Brian Clark [mailto:[EMAIL PROTECTED] Subject: Re: Non-Heap Memory always increasing during deployment for TC 5.5.26/Solaris/JVM 1.5.0_16 I think you need to add one more line to your CATALINA_OPTS statement: -Dcom.sun.management.jmxremote=true The above is not necessary. Any

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

2008-09-16 Thread Caldarale, Charles R
From: emerson cargnin [mailto:[EMAIL PROTECTED] Subject: Non-Heap Memory always increasing during deployment for TC 5.5.26/Solaris/JVM 1.5.0_16 Every time I hot-deploy an application, the non-heap memory goes up. Some component in your environment is hanging onto object or class references

RE: add memory

2008-09-17 Thread Caldarale, Charles R
From: Alex Mestiashvili [mailto:[EMAIL PROTECTED] Subject: Re: add memory Hi , this server has 16G ,do you think something wrong ? No, just impressed. Must be about a week between garbage collections :-) - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY

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

2008-09-17 Thread Caldarale, Charles R
From: emerson cargnin [mailto:[EMAIL PROTECTED] Subject: Re: Non-Heap Memory always increasing during deployment for TC 5.5.26/Solaris/JVM 1.5.0_16 Wouldn't it be a problem with the JVM or tomcat and the plataform? No, it's 99.99% likely to be a problem in your app (or 3rd-party

RE: Tomcat 5.5, JNDI Connection Pooling, Active connections keep increasing....

2008-09-17 Thread Caldarale, Charles R
From: Johnny Kewl [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat 5.5, JNDI Connection Pooling, Active connections keep increasing Sineoa, my feeling is dont use static, unless you really want it in a multithreaded environment It pumps all the threads thru one pipe... That's

RE: Tomcat 5.5, JNDI Connection Pooling, Active connections keepincreasing....

2008-09-17 Thread Caldarale, Charles R
From: sinoea kaabi [mailto:[EMAIL PROTECTED] Subject: RE: Tomcat 5.5, JNDI Connection Pooling, Active connections keepincreasing I could accept the fact that we should create new objects of Dao's, but for getting a datasource or connection it should make sense to have a utility class

RE: Deploying a Java Web Application on / folder

2008-09-17 Thread Caldarale, Charles R
From: krisrks [mailto:[EMAIL PROTECTED] Subject: Deploying a Java Web Application on / folder I am trying to deploy a java Web application on Tomcat Server. Should we guess which version of Tomcat you're using, or would you deign to tell us? Host name=anotherheadsets.com

RE: Tomcat/apache - JDBC errors w/ jt400.jar?

2008-09-17 Thread Caldarale, Charles R
From: pichels [mailto:[EMAIL PROTECTED] Subject: Tomcat/apache - JDBC errors w/ jt400.jar? We have our jt400.jar in our classpath var within our webapps dir and in common/lib. Never, ever, use a CLASSPATH environment variable with Tomcat. Your jt400.jar must not be in two places at once;

RE: hello world

2008-09-18 Thread Caldarale, Charles R
From: news [mailto:[EMAIL PROTECTED] On Behalf Of thufir Subject: hello world I'm running Ubuntu: [EMAIL PROTECTED]:~$ I thought mentats weren't supposed to use computers... Do I need to install Tomcat 5.5 from Ubuntu We've had no end of problems with 3rd-party repackaged versions of

RE: hello world

2008-09-18 Thread Caldarale, Charles R
From: news [mailto:[EMAIL PROTECTED] On Behalf Of thufir Subject: Re: hello world If Apache installs then why not tomcat? Apache is a software organization with numerous products; if by Apache you mean httpd, it may be because the 3rd-party developers are more familiar with it so less

RE: tomcat5.5 and ubuntu hardy heron

2008-09-19 Thread Caldarale, Charles R
From: wwuster [mailto:[EMAIL PROTECTED] Subject: Re: tomcat5.5 and ubuntu hardy heron I also was starting to not like tomcat because of all of the symlinks and lack of valid documentation (for ubuntu). Further evidence to support running away from the 3rd-party repackaged versions and

RE: Tomcat 5.5 / Windows / procrun ?

2008-09-21 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Tomcat 5.5 / Windows / procrun ? - the installer for Windows installs a version of Tomcat 5.5 devoid of the usual startup.sh/bat, catalina.sh/bat etc.. and instead just installs a couple of files in Tomcat_home\bin, of which a

RE: Tomcat 5.5 / Windows / procrun ?

2008-09-21 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat 5.5 / Windows / procrun ? Do you want to elaborate on the unfortunate issue of why the binaries are not available in the Commons, but are available on the Tomcat SVN ? Actually, I think most non-Java code from commons is

RE: Share war file / virtual hosts

2008-09-22 Thread Caldarale, Charles R
From: Mathias P.W Nilsson [mailto:[EMAIL PROTECTED] Subject: Share war file / virtual hosts I have 3 different virtual hosts. Is there anyway these can share the same war file and instance? If you are using Alias entries for a single Host, then the webapp will be deployed only once. If you

RE: Share war file / virtual hosts

2008-09-22 Thread Caldarale, Charles R
From: Mathias P.W Nilsson [mailto:[EMAIL PROTECTED] Subject: RE: Share war file / virtual hosts Can I use Connectors to Aliases? A Connector operates with all Host elements in the same Engine; the Connector only cares about IP address and port number, not DNS names. (Not sure if that

RE: Share war file / virtual hosts

2008-09-22 Thread Caldarale, Charles R
From: Mathias P.W Nilsson [mailto:[EMAIL PROTECTED] Subject: RE: Share war file / virtual hosts Can The Host element support multiple ip addresses? A Host element doesn't care about IP addresses; only a Connector does, and hen only if it's configured for a specific IP address. Each Host is

RE: Share war file / virtual hosts

2008-09-22 Thread Caldarale, Charles R
From: Mathias P.W Nilsson [mailto:[EMAIL PROTECTED] Subject: RE: Share war file / virtual hosts I can't add port 443 to 3 of them because then tomcat casts an error. Each must have a unique IP address. You should also have three non-SSL Connector elements, one for each IP address, using

RE: How to make my application run outside of apache directory.

2008-09-22 Thread Caldarale, Charles R
From: NetbeanUser [mailto:[EMAIL PROTECTED] Subject: How to make my application run outside of apache directory. It's a whole tree of dependencies I have under ~/a/b, does it mean that I've to get all classes from that tree under my apache tree. If by apache tree you mean the webapp's

RE: Share war file / virtual hosts

2008-09-22 Thread Caldarale, Charles R
From: Mathias P.W Nilsson [mailto:[EMAIL PROTECTED] Subject: RE: Share war file / virtual hosts Connector port=80 protocol=HTTP/1.1 connectionTimeout=2 redirectPort=443 / I think you need three port 80 Connector elements, one for each IP address. You

RE: Share war file / virtual hosts

2008-09-22 Thread Caldarale, Charles R
From: Mathias P.W Nilsson [mailto:[EMAIL PROTECTED] Subject: Re: Share war file / virtual hosts The last one about apache as a frontend would work. I wouldn't recommend adding another node and associated complexity and overhead to fix the problem. Please try the suggested server.xml changes

RE: Share war file / virtual hosts

2008-09-22 Thread Caldarale, Charles R
From: Mathias P.W Nilsson [mailto:[EMAIL PROTECTED] Subject: Re: Share war file / virtual hosts Yes thanks for pointing that out Pointing what out? Many comments have been made. Is there anyway of testing this using local servers? You can test it on one box, but you'll still have to

RE: Tomcat 6 Context Configuration

2008-09-22 Thread Caldarale, Charles R
From: mookiegp [mailto:[EMAIL PROTECTED] Subject: Tomcat 6 Context Configuration I can't seem to figure out where in the configuration files I can change Tomcat to change the path to my web apps on the E drive. If you want Tomcat to use just the webapps on your E: drive and not any of the

RE: Tomcat 6 Context Configuration

2008-09-22 Thread Caldarale, Charles R
From: mookiegp [mailto:[EMAIL PROTECTED] Subject: RE: Tomcat 6 Context Configuration Host name=localhost appBase=E:\Public\Files\My Docs\Web\Sites Inside the the directory on the E: drive is a copy of the default Tomcat index.html file for testing purposes. That's not correct. Each webapp

RE: JVM config for tomcat5.5

2008-09-23 Thread Caldarale, Charles R
From: jaki [mailto:[EMAIL PROTECTED] Subject: Re: JVM config for tomcat5.5 Is it necessary that catalina.home system property is always set for a tomcat install? It's not necessary to have it set during Tomcat installation. It is necessary during Tomcat execution, but this is normally

RE: [OT] Chuck

2008-09-23 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: [OT] Chuck Can you please inform us of the best path to follow ? The postscript on my messages is, of course, required by our bloody lawyers. (Similar - sometimes more extensive - messages appear on others' e-mails when sent from

RE: JNDIRealm - mapping LDAP group to security role

2008-09-23 Thread Caldarale, Charles R
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jérôme Delattre Subject: Re: JNDIRealm - mapping LDAP group to security role If I remember well the security-role-ref just creates an alias on an existing security-role for servlets. It's not related to the mapping between my

RE: Tomcat Is not starting

2008-09-23 Thread Caldarale, Charles R
From: Partha Goswami [mailto:[EMAIL PROTECTED] Subject: Tomcat Is not starting I attached, log files, Tomcat is not starting, in Windows xp/2003, Pls help The usual fix is to find a copy of msvcr71.dll and put it in Tomcat's bin directory. Search the archives for other alternatives. -

  1   2   3   4   5   6   7   8   9   10   >