RE: Debian + Apache 2.2 + Tomcat 5.5

2008-11-16 Thread Caldarale, Charles R
From: Gregor Schneider [mailto:[EMAIL PROTECTED] Subject: Re: Debian + Apache 2.2 + Tomcat 5.5 - copy debian's tomcat-startup-script - since it is not too bad Be careful with that - some versions of Debian's Tomcat script throw in changes in an attempt to accommodate running Tomcat on gcj,

RE: Tomcatx.x and vista

2008-11-16 Thread Caldarale, Charles R
From: Chuck Hodge [mailto:[EMAIL PROTECTED] Subject: Re: Tomcatx.x and vista Have not made any changes to server.xml. Tomcat normally listens to HTTP requests on port 8080, and AJP requests (from IIS or httpd) on port 8009. If you have IIS configured to listen on port 8080, then Tomcat

RE: HttpServletRequest.getUserPrincipal

2008-11-17 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: HttpServletRequest.getUserPrincipal To get the authenticated user-id from within a filter or a servlet, one calls HttpServletRequest.getUserPrincipal.getName() or HttpServletRequest.getRemoteUser() But where and more mysteriously how,

RE: HttpServletRequest.getUserPrincipal

2008-11-17 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Re: HttpServletRequest.getUserPrincipal Sorry for not answering sooner - it's easier to do the source searching at home. is getRemoteUser() merely a shortcut, under which happens a getUserPrincipal.getName() At least in Tomcat, they're

RE: Default webapp

2008-11-18 Thread Caldarale, Charles R
From: mmocnik [mailto:[EMAIL PROTECTED] Subject: Default webapp Please correct me, if I'm missing an option. I think you've got them all. So why doesn't it work to set the path in the context def of a specific webapp to ? Because that introduces ambiguity and confusion - the name of the

RE: HttpServletRequest.getUserPrincipal

2008-11-18 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Re: HttpServletRequest.getUserPrincipal As for the 1.5 Java specs, there are indeed a couple of black holes in the Principal area. I think you have to look at the security discussion in the spec in light of the JAAS and related security

RE: How do I configure server.xml for Tomcat to recognize my application directory?

2008-11-18 Thread Caldarale, Charles R
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: How do I configure server.xml for Tomcat to recognize my application directory? The application is in C:\public_html You should put the application in a directory underneath public_html, not in public_html. If you want it to be

RE: Servlets / JSP can't connect to MySQL in Ubuntu Server

2008-11-18 Thread Caldarale, Charles R
From: Chandra Madhumanchi (cmadhuma) [mailto:[EMAIL PROTECTED] Subject: RE: Servlets / JSP can't connect to MySQL in Ubuntu Server I am implementing 2way SSL over https on tamcat server through .Net client (C# code as given below) And what does that have to do with the thread you just

RE: Question regarding Tomcat memory

2008-11-18 Thread Caldarale, Charles R
From: Rainer Frey (Inxmail GmbH) [mailto:[EMAIL PROTECTED] Subject: Re: Question regarding Tomcat memory AFAIK the default stack size of the JVM on 64bit linux is 2M. No, it's 1M for Linux (and Solaris) on AMD64 (at least on JDK 6u7) - the same as the OP was trying to set. For Linux IA64

RE: Question on Performance Tuning

2008-11-18 Thread Caldarale, Charles R
From: Vasanth Kumar ravi [mailto:[EMAIL PROTECTED] Subject: Question on Performance Tuning We did take thread dumps while performing the test, and found nothing related to application bottlenecks. Thread dumps are appropriate for diagnosing hangs, but they're not terribly useful for

RE: How do I configure server.xml for Tomcat to recognize my application directory?

2008-11-18 Thread Caldarale, Charles R
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: RE: How do I configure server.xml for Tomcat to recognize my application directory? Now there is only jakarta_service...log stderr...log stdout...log Those are the logs created by the service wrapper (tomcat6.exe), not Tomcat

RE: Question on Performance Tuning

2008-11-18 Thread Caldarale, Charles R
From: Vasanth Kumar ravi [mailto:[EMAIL PROTECTED] Subject: Re: Question on Performance Tuning One question thou.. in the JAVA_OPTS do we have to specify -server cos it runs as client by default. Will it bring any change to performance ? Usually it will help reduce the path length of the

RE: 6.0.18 download link yeilds HTTP 404

2008-11-19 Thread Caldarale, Charles R
From: Leo Donahue - PLANDEVX [mailto:[EMAIL PROTECTED] Subject: 6.0.18 download link yeilds HTTP 404 http://www.devlib.org/apache/tomcat/tomcat-6/v6.0.18/bin/apach e-tomcat-6.0.18.exe Maybe the site is down? It's unlikely the DevLib people are monitoring this mailing list, so you should

RE: JVM/Tomcat startup parameters, HPUX

2008-11-19 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:[EMAIL PROTECTED] Subject: Re: JVM/Tomcat startup parameters, HPUX I think the only way to observe effective memory settings is to either run jmap against the running process, or examine it from within by interrogating the Runtime object. You can also attach

RE: Tomcat request processing gets stuck

2008-11-19 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat request processing gets stuck 2. doesn't nio work with one thread? (I thougt that this thread configuration is irrelevant since nio works with one thread to receive requests.) Nope. The NIO connector is just a

RE: Tomcat request processing gets stuck

2008-11-19 Thread Caldarale, Charles R
From: Michal Singer [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat request processing gets stuck I am not sure why, if as i know nio is supposed to improve performance. Not true; NIO improves *capacity*, but it will slightly degrade throughput due to more thread switching. I am checking my

RE: java.lang.Exception: Socket bind failed: [730048]

2008-11-19 Thread Caldarale, Charles R
From: Toby Kurien [mailto:[EMAIL PROTECTED] Subject: java.lang.Exception: Socket bind failed: [730048] I have attached a log file of the errors I am getting while trying to start Tomcat. Nov 19, 2008 12:55:22 PM org.apache.coyote.http11.Http11AprProtocol init SEVERE: Error initializing

RE: [Http]ServletResponseWrapper.getOutputStream()

2008-11-19 Thread Caldarale, Charles R
From: Michael Ludwig [mailto:[EMAIL PROTECTED] Subject: Re: [Http]ServletResponseWrapper.getOutputStream() Try/catch can't be that much of a problem, can it? Isn't it just a fancy way of conditional branching with information attached? Sorry, but no. The throwing of an exception causes the

RE: tomcat virtual host

2008-11-20 Thread Caldarale, Charles R
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: Re: tomcat virtual host But if i do this, how can i access de tomcat manager ? with other name, but the examples will work ? By using their URLs? http://mysvn:8080/manager/html http://mysvn:8080/examples - Chuck THIS

RE: tomcat virtual host

2008-11-20 Thread Caldarale, Charles R
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: Re: tomcat virtual host But, if a want to add a second application web , for example mysvn2 and i do not remove the mysvn, that is why I would like to use the virtual host. Sorry, but your question does not make any sense to me. I

RE: tomcat virtual host

2008-11-20 Thread Caldarale, Charles R
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: Re: tomcat virtual host I configured localy a virtual host with tomcat 6 This url works : http://localhost:8080/svn/ But when i use the virtual host, it does not works : http://mysvn:8080/ What do you mean by does not work? Do

RE: tomcat virtual host

2008-11-20 Thread Caldarale, Charles R
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: Re: tomcat virtual host status, or does something else happen? Is the DNS name mysvn defined on the machine your browser is running on? Internet Explorer could not display this web page i test this in local machine, so i do not

RE: Question on Performance Tuning

2008-11-20 Thread Caldarale, Charles R
From: Vasanth Kumar ravi [mailto:[EMAIL PROTECTED] Subject: Re: Question on Performance Tuning But we have not specified the -server option in the JAVA_OPTS. Is it must to have -server option specified when you are using a 64 bit Java. Typically, 64-bit JVMs run only in -server mode, so you

RE: java.lang.Exception: Socket bind failed: [730048]

2008-11-20 Thread Caldarale, Charles R
From: Toby Kurien [mailto:[EMAIL PROTECTED] Subject: Re: java.lang.Exception: Socket bind failed: [730048] Only the webserver listening on port 80. If there's some webserver (which one - IIS?) listening on port 80, then Tomcat can't use that port, so it won't be able to initialize as you

RE: How to prevent Tomcat redirect my request

2008-11-20 Thread Caldarale, Charles R
From: jim ma [mailto:[EMAIL PROTECTED] Subject: Re: How to prevent Tomcat redirect my request If I get 302 response and write some code to resend quest to the redirected location The point everyone's trying to make is that you should send the correct URL the *first* time, rather than

RE: java.lang.Exception: Socket bind failed: [730048]

2008-11-21 Thread Caldarale, Charles R
From: Toby Kurien [mailto:[EMAIL PROTECTED] Subject: Re: java.lang.Exception: Socket bind failed: [730048] There is no IIS on this box. Then what was using port 80 earlier? To quote from a previous message of yours: Only the webserver listening on port 80. What webserver is that? My

RE: Default location

2008-11-21 Thread Caldarale, Charles R
From: kcg_ [mailto:[EMAIL PROTECTED] Subject: Default location Can anyone tel me what is the default location where tomcat looks for servlets? First response: http://www.catb.org/~esr/faqs/smart-questions.html (as linked to from Tomcat's Mailing Lists page). Second response: read the doc

RE: Where does it find them ?

2008-11-21 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Where does it find them ? I thus created a backup directory somewhere, stopped Tomcat, and moved the following subdir trees totally to this new dir : ../webapps/jsp-examples ../webapps/servlets-examples ../webapps/webdav You need to

RE: Session affinity

2008-11-21 Thread Caldarale, Charles R
From: Andrew Hole [mailto:[EMAIL PROTECTED] Subject: Session affinity How it works when we have an hardware load balancer in the first layer and 2 actives Apache HTTP Server? How smart is your load balancer? Can it be configured to route requests based on content of the HTTP message (i.e.,

RE: Session affinity

2008-11-21 Thread Caldarale, Charles R
From: Andrew Hole [mailto:[EMAIL PROTECTED] Subject: Re: Session affinity Is not very smart... There is some problem with that? I think so - without some intelligence in the load balancer, I don't think you can maintain session affinity. - Chuck THIS COMMUNICATION MAY CONTAIN

RE: Where does it find them ?

2008-11-21 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Re: Where does it find them ? Now, when you both say cleanup, you mean delete, like in rm, right ? Removing the stuff in the work directory is just cleanup - it's not the cause of the attempted deployment you noticed. It's just junk

RE: tomcat 5.5.20 security issue

2008-11-24 Thread Caldarale, Charles R
From: aymen83 [mailto:[EMAIL PROTECTED] Subject: tomcat 5.5.20 security issue java.lang.NoClassDefFoundError: com/sun/org/apache/xml/internal/security/Init Move up to a 1.6 JVM. It appears the version of Spring you're using is expecting to have the 1.6 libraries available. There's

RE: All threads are busy

2008-11-24 Thread Caldarale, Charles R
From: Martin Spinassi [mailto:[EMAIL PROTECTED] Subject: All threads are busy Nov 24, 2008 1:51:54 PM org.apache.tomcat.util.threads.ThreadPool logFull SEVERE: All threads (200) are currently busy, waiting. Increase maxThreads (200) or check the servlet status And what does a thread dump

RE: All threads are busy

2008-11-24 Thread Caldarale, Charles R
From: Martin Spinassi [mailto:[EMAIL PROTECTED] Subject: RE: All threads are busy I should get the same errors using ports 80 or 8080, and I get completely different results. Connector executor= tomcatThreadPool port=8009 protocol=AJP/1.3 redirectPort=8443 / Just for grins, take out the

RE: failure notice

2008-11-24 Thread Caldarale, Charles R
From: Youssef Mohammed [mailto:[EMAIL PROTECTED] Subject: Re: failure notice It is highly advisable to use the native OCI drivers I think you'll find tons of disagreement with that. Sticking with the pure Java drivers is much less trouble and preserves platform independence. - Chuck

RE: failure notice

2008-11-24 Thread Caldarale, Charles R
From: Youssef Mohammed [mailto:[EMAIL PROTECTED] Subject: Re: failure notice Not sure what you mean by platform Independence here It means that you can't simply drop a .war file and DB config into any arbitrary environment - you have to either provide extensive installation instructions for

RE: User Request Ordering

2008-11-24 Thread Caldarale, Charles R
From: Clifton B. Sothoron Jr. [mailto:[EMAIL PROTECTED] Subject: User Request Ordering How do I configure Tomcat to process user requests in order? You don't. Instead, you design your webapp so that it serializes the requests when necessary. For the coarsest possible lock, synchronize on

RE: Tomcat 5.5.2 Configurations for JSESSION ID Cookie Append

2008-11-24 Thread Caldarale, Charles R
From: Jonathan Kushner [mailto:[EMAIL PROTECTED] Subject: Tomcat 5.5.2 Configurations for JSESSION ID Cookie Append If you're really running on 5.5.2, you need to move up - ASAP. Lots and lots of fixes, including security-related ones, have gone in since that version was released over four

RE: Setup Logging for Tomcat 6

2008-11-24 Thread Caldarale, Charles R
-Original Message- From: dOE [mailto:[EMAIL PROTECTED] Subject: Setup Logging for Tomcat 6 I don't know where output/extras is? Did you do step 3? Build the commons-logging additional component using the extras.xml Ant build script which is part of teh [sic] Tomcat source bundle.

RE: Setup Logging for Tomcat 6

2008-11-24 Thread Caldarale, Charles R
From: dOE [mailto:[EMAIL PROTECTED] Subject: Re: Setup Logging for Tomcat 6 Does that require me to download the source files for Tomcat, and then locate this Ant script? Yes, that's why it says part of teh [sic] Tomcat source bundle. The instructions are very vague and assume the

RE: Setup Logging for Tomcat 6

2008-11-24 Thread Caldarale, Charles R
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: Re: Setup Logging for Tomcat 6 Copy the log4j jar file to WEB-INF/lib. Put it in ${catalina.home}/lib if you want all webapps to be able to see this file. You really don't want to put the log4j.jar into Tomcat's lib directory

RE: Tomcat 5.5.2 Configurations for JSESSION ID Cookie Append

2008-11-24 Thread Caldarale, Charles R
From: Jonathan Kushner [mailto:[EMAIL PROTECTED] Subject: RE: Tomcat 5.5.2 Configurations for JSESSION ID Cookie Append I'm currently working on a Seamus Issue which disallows the user from operating on separate session namespaces within the same browser instance. For example, when a user

RE: Setup Logging for Tomcat 6

2008-11-24 Thread Caldarale, Charles R
From: dOE [mailto:[EMAIL PROTECTED] Subject: Re: Setup Logging for Tomcat 6 All I want is for my Tomcat 6 to spit out some logs, and be default it's not. The phrase spit out some logs is pretty meaningless; what are you really trying to accomplish? By default, Tomcat's logs are in its logs

RE: Monitoring Tomcat with Jconsole

2008-11-24 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Monitoring Tomcat with Jconsole ./java -Dcom.sun.management.jmxremote.port=11200 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.password.file=/mydir/ management.jmxremote.password -Dpgm=STARXMLServer -jar

RE: Setup Logging for Tomcat 6

2008-11-24 Thread Caldarale, Charles R
From: dOE [mailto:[EMAIL PROTECTED] Subject: Re: Setup Logging for Tomcat 6 At the moment my Tomcat is not generating any log out put, What platform are you running on? What JVM version are you using? How did you install Tomcat? - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR

RE: Monitoring Tomcat with Jconsole

2008-11-24 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Re: Monitoring Tomcat with Jconsole Can I provoke some meaningful message by misspelling one of these -D switches, just to check ? Not by misspelling, but if you change the port number to alphabetics, it will complain. Are you sure

RE: Setup Logging for Tomcat 6

2008-11-24 Thread Caldarale, Charles R
From: dOE [mailto:[EMAIL PROTECTED] Subject: Re: Setup Logging for Tomcat 6 Its running on win32, O.k. JVM is 1.6 O.k. installed via js-wrapper. ??? Not bloody likely. Download Tomcat from http://tomcat.apache.org/download-60.cgi (the .zip version, not the .exe), do a fresh install

RE: Monitoring Tomcat with Jconsole

2008-11-24 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Re: Monitoring Tomcat with Jconsole This script by the way (not one of mine) does a cd into the java/bin directory and then launches the program from there. Can that have something to do with it ? The cd won't be a problem, but I'm

RE: Monitoring Tomcat with Jconsole

2008-11-24 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Re: Monitoring Tomcat with Jconsole I don't know if the jconsole offers a cleaner way of doing this I'm not aware of any mechanism in JConsole to send the output anywhere, other than via the clipboard. After this processing, the

RE: Shutting down Tomcat6 server - error

2008-11-24 Thread Caldarale, Charles R
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Csanyi Pal Subject: Shutting down Tomcat6 server - error I have downloaded binary apache-tomcat-6.0.18.tar.gz and unpacked it in the /usr/locale/ directory. Thank you for using a real Tomcat. I edited .bash_profile: # # JAVA # export

RE: Monitoring Tomcat with Jconsole

2008-11-24 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Re: Monitoring Tomcat with Jconsole I gather that I was wrongly fixated on that number (266M) and that it does not really represent any real memory used in any permanent way by the process. Correct; it's analagous to profit claimed by

RE: Setup Logging for Tomcat 6

2008-11-24 Thread Caldarale, Charles R
From: Michael Ludwig [mailto:[EMAIL PROTECTED] Subject: Re: Setup Logging for Tomcat 6 See the driver - I think I used that expression yesterday. Share a logging complex - could you expand a bit on what this means, or provide a pointer to an informative document? Look at Tomcat's class

RE: Setup Logging for Tomcat 6

2008-11-24 Thread Caldarale, Charles R
From: Michael Ludwig [mailto:[EMAIL PROTECTED] Subject: Re: Setup Logging for Tomcat 6 Does the same hold true for the shared.loader? It holds true for *any* classloader in the hierarchy. The shared.loader is disabled in the standard Tomcat 6 config, as you probably know. - Chuck THIS

RE: Re: Tomcat 6 unstable

2008-11-24 Thread Caldarale, Charles R
From: Ariela Carrera [mailto:[EMAIL PROTECTED] Subject: Re: Re: Tomcat 6 unstable 3) About the db2 jdbc driver, well, it is allocated in many paths... JAVA_HOME/jdk/jre/lib/ext/db2jcc.jar CATALINA_HOME/lib/db2jcc.jar CATALINA_HOME/webapps/cqaex/db2jcc.jar

RE: Setup Logging for Tomcat 6

2008-11-24 Thread Caldarale, Charles R
From: Michael Ludwig [mailto:[EMAIL PROTECTED] Subject: Re: Setup Logging for Tomcat 6 I didn't. I'm a Tomcat newbie. But I discovered the other day that you can place libraries in the shared.loader by editing conf/catalina.properties. Unless you really, really need to do that, don't. It's

RE: Re: Tomcat 6 unstable

2008-11-24 Thread Caldarale, Charles R
From: Jabali Acuatico [mailto:[EMAIL PROTECTED] Subject: Re: Re: Tomcat 6 unstable I added to this line the path to the db2 jdbc driver. The current sentence is this one: common.loader=${catalina.home}/lib,${catalina.home}/lib/*.jar, /opt/java/jdk/jre/lib/ext/*.jar Don't do that - put it

RE: Re: Tomcat 6 unstable

2008-11-24 Thread Caldarale, Charles R
From: Michael Ludwig [mailto:[EMAIL PROTECTED] Subject: Re: Re: Tomcat 6 unstable This is starting to sound like DLL Hell. A bit, but the advantage of a classloader hierarchy is that webapps are isolated from each other (a servlet spec requirement). If you keep the jars your webapp needs

RE: All threads are busy

2008-11-25 Thread Caldarale, Charles R
From: Rainer Frey [mailto:[EMAIL PROTECTED] Subject: Re: All threads are busy Does the AJP connector support the executor? I thought not. The doc claims it does, but I haven't looked at the code to verify. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY

RE: Manager app language

2008-11-25 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Manager app language I have a strange happening in Tomcat 5.5, under Linux Debian. Red flag goes up: real Tomcat, or Debian corruption? Apparently since today, the Manager app (accessed through /manager/html) responds with its main

RE: Insert delay between war deployment

2008-11-25 Thread Caldarale, Charles R
From: Bocalinda [mailto:[EMAIL PROTECTED] Subject: Insert delay between war deployment I'm wondering if it is possible to change the deployment order which Tomcat follows. No. If your webapps have ordering dependencies, it's up to you to provide the necessary synchronization within the

RE: Manager app language

2008-11-25 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Re: Manager app language Attached the page I get. It got stripped off somewhere along the way. In the official Tomcat, where is this page hidden ? The manager pages in 5.5 are generated dynamically by servlets in:

RE: load-on-startup

2008-11-25 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: load-on-startup 1) In the case of Tomcat 5.5 and higher, is there a way to *prevent* a deployed application to be loaded and/or started at Tomcat startup ? Turn off the deployOnStartup attributes of the Host element. Also consider

RE: Setup Logging for Tomcat 6

2008-11-25 Thread Caldarale, Charles R
From: dOE [mailto:[EMAIL PROTECTED] Subject: Re: Setup Logging for Tomcat 6 No further insight as to why Tomcat 6 is not logging out-of -the-box? Are you still using this js-wrapper thingie? If so, no one will be interested. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR

RE: SingleThreadModel for servlets

2008-11-25 Thread Caldarale, Charles R
From: Tony Anecito [mailto:[EMAIL PROTECTED] Subject: SingleThreadModel for servlets Reason I ask is if you have a slow service using the multithreaded servlet it might be a bad idea especially if there is synchronous methods used anywhere in the code for a multithreaded servlet.

RE: SingleThreadModel for servlets

2008-11-25 Thread Caldarale, Charles R
From: Tony Anecito [mailto:[EMAIL PROTECTED] Subject: RE: SingleThreadModel for servlets The question I wanted answered was in general if current real life experience still holds true that the mutli-threaded single servlet model is still faster than one servlet per thread where the servlet

RE: Re: Tomcat 6 unstable

2008-11-25 Thread Caldarale, Charles R
From: Michael Ludwig [mailto:[EMAIL PROTECTED] Subject: Re: Re: Tomcat 6 unstable I've read somewhere that omitting the file:/// URI scheme is wrong. However, it seems to work. At least on Windows. In order to be on the safe side, you should add the file:/// URI scheme. No, you shouldn't.

RE: Threadpool doesn't contain any threads

2008-11-25 Thread Caldarale, Charles R
From: Gattu, Praveen [mailto:[EMAIL PROTECTED] Subject: Threadpool doesn't contain any threads Did anyone else notice this issue. Another minor caveat is, we built Tomcat using JDK 1.5 but are running it on JDK 1.6. Can't answer your primary question, but as for building Tomcat, it must be

RE: Re: Tomcat 6 unstable

2008-11-25 Thread Caldarale, Charles R
From: Michael Ludwig [mailto:[EMAIL PROTECTED] Subject: Re: Re: Tomcat 6 unstable I don't think the file URI scheme without a hostname translates into a network request. For what would be the protocol used for such a request? SMB for Windows, SMB or NFS for Linux. Try putting

RE: [Http]ServletResponseWrapper.getOutputStream()

2008-11-25 Thread Caldarale, Charles R
From: Michael Ludwig [mailto:[EMAIL PROTECTED] Subject: Re: [Http]ServletResponseWrapper.getOutputStream() Why exactly would the output methods have to be synchronized? They don't, unless you've got a weird webapp that itself creates multiple threads that generate output. - Chuck THIS

RE: Updating users

2008-11-25 Thread Caldarale, Charles R
From: Prastein, Rebeccah H [mailto:[EMAIL PROTECTED] Subject: RE: Updating users There must be a way - Managing users is one of the things that the admin webapp does. The admin webapp had access to Tomcat's internal structures, but it has been dropped due to bugginess and lack of developer

RE: tomcat module development

2008-11-26 Thread Caldarale, Charles R
From: h iroshan [mailto:[EMAIL PROTECTED] Subject: tomcat module development I am actually new for the tomcat development. Can any body please know me,is there any technical documentation for the Tomcat development. Tomcat's doc starts here:

RE: HELP!!! java.lang.NoClassDefFoundError running CXF-based client inTomcat

2008-11-26 Thread Caldarale, Charles R
From: Steve Cohen [mailto:[EMAIL PROTECTED] Subject: HELP!!! java.lang.NoClassDefFoundError running CXF-based client inTomcat I am beginning to think the problem is not a missing class but a class conflicting with something in Tomcat. Highly likely. First just look at the names of the

RE: HELP!!! java.lang.NoClassDefFoundError running CXF-based client inTomcat

2008-11-26 Thread Caldarale, Charles R
From: Steve Cohen [mailto:[EMAIL PROTECTED] Subject: Re: HELP!!! java.lang.NoClassDefFoundError running CXF-based client inTomcat Tomcat version is 6.0.16. That simplifies things, since the only directory to look at is Tomcat's lib. One common error is having j2ee.jar around, which is a

RE: HELP!!! java.lang.NoClassDefFoundError running CXF-basedclient inTomcat

2008-11-26 Thread Caldarale, Charles R
From: Pieter Temmerman [mailto:[EMAIL PROTECTED] Subject: RE: HELP!!! java.lang.NoClassDefFoundError running CXF-basedclient inTomcat Can you move your program .jar to /server/lib and see if it works? (This is not a solution though). You really, really don't want to do that - it just

RE: HELP!!! java.lang.NoClassDefFoundError running CXF-based client inTomcat

2008-11-26 Thread Caldarale, Charles R
From: Steve Cohen [mailto:[EMAIL PROTECTED] Subject: Re: HELP!!! java.lang.NoClassDefFoundError running CXF-based client inTomcat Another piece of information I omitted: JDK version java-1.5.0-sun-1.5.0.13 running under Ubuntu Linux. Is this a real Tomcat or a 3rd-party repackaged version?

RE: Jconsole through firewall

2008-11-26 Thread Caldarale, Charles R
From: Mark Thomas [mailto:[EMAIL PROTECTED] Subject: Re: Jconsole through firewall There is some code in trunk to do this. Life just became easier. Thanks very much. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the

RE: BUILD FAILED ...

2008-11-26 Thread Caldarale, Charles R
From: Albretch Mueller [mailto:[EMAIL PROTECTED] Subject: BUILD FAILED ... sh-3.1# java -version java version 1.6.0_07 Tomcat must be built with a 1.5 JDK at the moment, due to incompatibilities introduced by Sun in 1.6. I cannot believe you must have eclipse installed if you want to run

RE: Manager app language

2008-11-26 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Re: Manager app language But where the h.. does Tomcat or the Manager figure that it needs to send the application list main page in German ? The nice Tomcat folks provided a few language translations of the manager strings in

RE: BUILD FAILED ...

2008-11-26 Thread Caldarale, Charles R
From: Albretch Mueller [mailto:[EMAIL PROTECTED] Subject: Re: BUILD FAILED ... However, tc doc states: version 1.5.x or later and to me later meant 1.6.0_07 should be fine Yes, it would have worked under 1.6 except for Sun changing the JDBC spec in an incompatible fashion. The problem

RE: security-constraint outside web.xml

2008-11-26 Thread Caldarale, Charles R
From: Andre Rubin [mailto:[EMAIL PROTECTED] Subject: security-constraint outside web.xml Is there a way to configure the security-constraints somewhere else for my_app, like in a context file somewhere Not when you're using the standard declarative security. This might help do what you

RE: BUILD FAILED ...

2008-11-26 Thread Caldarale, Charles R
From: Albretch Mueller [mailto:[EMAIL PROTECTED] Subject: Re: BUILD FAILED ... sh-3.1# pwd /media/hda3/tc/tc-6.0.18/bin Seems to be missing the requisite jars: bootstrap.jar commons-daemon.jar tomcat-juli.jar Looks like your build either did not create them, or did not place them

RE: Manager app language

2008-11-26 Thread Caldarale, Charles R
From: Michael Ludwig [mailto:[EMAIL PROTECTED] Subject: Re: Manager app language I'm not sure Tomcat would bother what character encoding you specify in LANG. It does, albeit indirectly. JVM initialization uses the LANG value to set user.language, user.country, sun.jnu.encoding, and

RE: security-constraint outside web.xml

2008-11-26 Thread Caldarale, Charles R
From: Andre Rubin [mailto:[EMAIL PROTECTED] Subject: Re: security-constraint outside web.xml I want to manage security completely outside my app (outside the war file), not just outside web.xml. I was under the impression that you could store the configuration settings for SecurityFilter

RE: BUILD FAILED ...

2008-11-26 Thread Caldarale, Charles R
From: Caldarale, Charles R Subject: RE: BUILD FAILED ... From: Albretch Mueller [mailto:[EMAIL PROTECTED] Subject: Re: BUILD FAILED ... sh-3.1# pwd /media/hda3/tc/tc-6.0.18/bin It's been a while since I've done a Tomcat build O.k., I just downloaded a 1.5 JDK and did a Tomcat build

RE: Tomcat 6 and javamail

2008-11-27 Thread Caldarale, Charles R
From: Lyallex [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat 6 and javamail The mail server does not require authentication when accessed from the office subnet. The server guys have confirmed this. Or is it that your mail server is configured to accept the network signon that each

RE: Odd encoding of servlet parameters

2008-11-27 Thread Caldarale, Charles R
From: Chris Mannion [mailto:[EMAIL PROTECTED] Subject: Re: Odd encoding of servlet parameters It's true that the program sending the data is ours as well but I don't suspect it to be the culprit because the problem doesn't occur in a way consistent with that. Get Wireshark captures of both

RE: GPGPU and Tomcat

2008-11-27 Thread Caldarale, Charles R
From: James Law [mailto:[EMAIL PROTECTED] Subject: GPGPU and Tomcat Would Tomcat see any benefits from implementing gpgpu support in the way that the distributed project Folding has seen? Tomcat is pure Java (except for the APR connector), so any such support would have to be in the JVM,

RE: Tomcat Security

2008-11-27 Thread Caldarale, Charles R
From: Pieter Temmerman [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat Security It's a pitty das mein Deutsch nicht so gut ist! ;) Ja, nach vierzig Jahren Nichtanwendung, mein Deutsch ist groß unbrauchbar. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY

RE: Jconsole through firewall

2008-11-27 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Re: Jconsole through firewall With the announced thing above, would I be able to monitor them with jconsole behind their respective firewalls, and if yes what would I need to do for that ? Yes, the patch Mark T spoke of does exactly

RE: Manager app language

2008-11-27 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Re: Manager app language It means that despite its inherent capability of speaking in tongues, it only does so according to the overall Tomcat LANG setting, and does not pay attention to the browser's Accept-Language headers. That's

RE: BUILD FAILED ...

2008-11-27 Thread Caldarale, Charles R
From: Albretch Mueller [mailto:[EMAIL PROTECTED] Subject: Re: BUILD FAILED ... and by the way I noticed tc doesn't seem to be using the /common directory anymore Correct; the default directory structure has been greatly simplified:

RE: BUILD FAILED ...

2008-11-27 Thread Caldarale, Charles R
From: Albretch Mueller [mailto:[EMAIL PROTECTED] Subject: Re: BUILD FAILED ... So I need to be able to access the webserver by going http://IP_address/ Have you configured Tomcat to use port 80? (The default HTTP port is 8080.) If you want to use port 80, you'll have to run Tomcat as root

RE: BUILD FAILED ...

2008-11-27 Thread Caldarale, Charles R
From: Albretch Mueller [mailto:[EMAIL PROTECTED] Subject: Re: BUILD FAILED ... Engine name=Catalina defaultHost=localhost Host name=192.168.1.249 appBase=webapps unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false Change the Host name back to localhost; this

RE: Manager app language

2008-11-28 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Re: Manager app language In the Welcome page of this application (the one mentioned in the web.xml's welcome-file tag), right before anything gets displayed to the user calling it up, the user.language property is currently being set to

RE: BUILD FAILED ...

2008-11-28 Thread Caldarale, Charles R
From: Albretch Mueller [mailto:[EMAIL PROTECTED] Subject: Re: BUILD FAILED ... I did, but I still think I am having some networking problems Highly likely. Can you ping the Tomcat system from your client machine? Try running Wireshark or equivalent on the Tomcat system and see if anything

RE: Manager app language

2008-11-29 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Re: Manager app language Personally, I don't see anything in there that looks like it is setting the global JVM user.language property. So what was the basis of your previous statement that the JSP is doing that? As you noted, there's

RE: When does Tomcat throw an OutOfMemory exception?

2008-11-30 Thread Caldarale, Charles R
From: Karim Zaki [mailto:[EMAIL PROTECTED] Subject: RE: When does Tomcat throw an OutOfMemory exception? The JVM doesn't indicate which of these conditions actually caused the exception, though, does it? Depends on the JVM version and vendor. Newer ones from Sun are much better at

RE: Memory pool Survivor space

2008-11-30 Thread Caldarale, Charles R
From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Memory pool Survivor space This Tomcat's JVM is started with the switches -Xms200M -Xmx200M That's rather small for these days; I presume this is the toy machine you use to test with. In the memory tab of jconsole, I observe that one

RE: When does Tomcat throw an OutOfMemory exception?

2008-11-30 Thread Caldarale, Charles R
From: Kees Jan Koster [mailto:[EMAIL PROTECTED] Subject: Re: When does Tomcat throw an OutOfMemory exception? Actually, in such situations you get 'java.io.IOException: Too many open files' or 'java.net.SocketException: Too many open files'. Not an OutOfMemory error. Only if it's related to

RE: Memory consumption of Tomcat?

2008-12-01 Thread Caldarale, Charles R
From: Stefan Rainer [mailto:[EMAIL PROTECTED] Subject: Memory consumption of Tomcat? - Java Heap size is configured as default (64MB) Which is rather small for any serious work. What's up with the 150 MB RAM for tomcat.exe? The process memory space consists of a lot more than just the Java

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