Re: tomcat virtual host

2008-11-20 Thread André Warnier
Can you be a bit more specific about the problem ? "it does not work" does not help much. [EMAIL PROTECTED] wrote: Hi, I deployed my webapp svn.war on webapps directory of tomcat 6. I configured localy a virtual host with tomcat 6, but it does not work. This url works : http://localhost:8080/s

Re: How to prevent Tomcat redirect my request

2008-11-20 Thread André Warnier
jim ma wrote: On Thu, Nov 20, 2008 at 6:48 PM, André Warnier <[EMAIL PROTECTED]> wrote: Mikolaj Rydzewski wrote: jim ma wrote: I still want to know if it is possible to stop Tomcat from redirecting. If yes, that will be zero code effort for our current implementation. Why i

Re: tomcat virtual host

2008-11-20 Thread André Warnier
Caldarale, Charles R wrote: 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 loc

Re: How to prevent Tomcat redirect my request

2008-11-21 Thread André Warnier
jim ma wrote: On Thu, Nov 20, 2008 at 10:24 PM, André Warnier <[EMAIL PROTECTED]> wrote: jim ma wrote: On Thu, Nov 20, 2008 at 6:48 PM, André Warnier <[EMAIL PROTECTED]> wrote: Mikolaj Rydzewski wrote: jim ma wrote: I still want to know if it is possible to stop

Re: Tomcat threads, II

2008-11-21 Thread André Warnier
Hi. To implement a recommendation from someone on this list, I took a few snapshots using "jmap -heap " while Tomcat was starting up and also starting up a webapp. I just ran the jmap command several times at about 5 second intervals, and redirected the output to a file. Below if the file con

Re: How to prevent Tomcat redirect my request

2008-11-21 Thread André Warnier
jim ma wrote: Tell your clients to generate URLs like: http://host/your_servlet?url=url_to_fetch In other words you should implemet proxy that will handle redirects itself. Finally, your clients will not see any 302 redirects. I like this idea. It is greatly helpful , I think it works for my

Re: Connectors and apache with mpm worker

2008-11-21 Thread André Warnier
Martin Spinassi wrote: Hi everyone! I'm doing some performance tests under apache and tomcat using jakarta connectors. Searching around, I've read about apache-worker (not jakarta), to make it multi-process and multi-thread, but I'm having some troubles with connectors now. Here is the outpu

Where does it find them ?

2008-11-21 Thread André Warnier
Hi. At a customer runs a Tomcat 5.5.9, on Java 1.5, under HPUX 11.11. It was installed from a standard HPUX package, which install in /opt/hpws/tomcat, but otherwise looks pretty much like a plain vanilla Tomcat5.x from the official site. The package comes with a series of sample webapps, appar

Re: [Http]ServletResponseWrapper.getOutputStream()

2008-11-21 Thread André Warnier
You should post your entire filter next time, if only so André can see it ;) Yes, I'll resubmit it to your scrutiny when it's ready ... I already saw it, copied it, saved it, studied it and sold it to a customer. Now you guys are telling me it's not working ? :-) I did put Michael's name i

Re: Where does it find them ?

2008-11-21 Thread André Warnier
Martin Gainty wrote: Hi Andre did you try to clean all folders below $TOMCAT_HOME/work, make sure the wars are not located in webapps (and recycle TC) ? Martin, Chuck, No, I did not do that, because I did not know I had to, and since this is a customer's Tomcat and not mine, I didn't want t

Re: User Request Ordering

2008-11-24 Thread André Warnier
Clifton B. Sothoron Jr. wrote: I have a Tomcat 6.0 Web application with a number of buttons on the screen. Some of them execute quickly, some more slowly. However, they need to execute in order. When a user clicks on a slow button and then clicks on a fast button Tomcat needs to wait for the res

Monitoring Tomcat with Jconsole

2008-11-24 Thread André Warnier
Hi. I lied in the subject. This is not strictly a question about Tomcat monitoring, although the ultimate aim is to monitor a specific Tomcat application. But I'm trying to start small first, and I'm encountering a problem with Jconsole, for which this is my first-ever try. I have a java stand

Re: Monitoring Tomcat with Jconsole

2008-11-24 Thread André Warnier
Caldarale, Charles R wrote: 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.pas

Re: Setup Logging for Tomcat 6

2008-11-24 Thread André Warnier
dOE wrote: Its running on win32, JVM is 1.6 installed via js-wrapper. I don't know that js-wrapper, but if this is under Windows, might not the logs be all redirected in the Windows system logs ? "My computer" icon, right-click, "Manage", then the first "folder" under "System". (Can't tell

Re: Monitoring Tomcat with Jconsole

2008-11-24 Thread André Warnier
Caldarale, Charles R wrote: 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 alpha

Re: Monitoring Tomcat with Jconsole

2008-11-24 Thread André Warnier
Caldarale, Charles R wrote: 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

Re: Monitoring Tomcat with Jconsole

2008-11-24 Thread André Warnier
Caldarale, Charles R wrote: [...] Thanks for the many comments. After this processing, the process in a "top" display shows the following : 22175 star 21 0 266m 23m 11m S 1.0 4.6 0:14.61 java (where 266m is the virtual memory, and 11m the resident one). The top virtual number

load-on-startup

2008-11-25 Thread André Warnier
Hi. About the item in web.xml, the Servlet Spec 2.5 has this to say (p 128) : The load-on-startup element indicates that this servlet should be loaded (instantiated and have its init() called) on the startup of the web application. The optional contents of these element must be an integer ind

Manager app language

2008-11-25 Thread André Warnier
Hi. I have a strange happening in Tomcat 5.5, under Linux Debian. Apparently since today, the Manager app (accessed through /manager/html) responds with its main page in German. This is bizarre, because - it was not so before - I have 3 browsers installed on my laptop, and with all3 I have the

Re: Manager app language

2008-11-25 Thread André Warnier
Caldarale, Charles R wrote: 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

Re: Manager app language

2008-11-25 Thread André Warnier
Caldarale, Charles R wrote: 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

Re: Setup Logging for Tomcat 6

2008-11-25 Thread André Warnier
Caldarale, Charles R wrote: 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. To put this more diplomatically (

JK connector issues ?

2008-11-26 Thread André Warnier
Hi. Apache 2.0.52 Tomcat 5.5.20 mod_jk 1.2.x (sorry, don't know the exact version) OS : Linux (hostname) 2.6.9-67.0.15.ELsmp #1 SMP Tue Apr 22 13:58:43 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux (Red Hat Enterprise Linux) all the above on the same host. At a customer site we find repeated traces

Jconsole through firewall

2008-11-26 Thread André Warnier
Hi. Here : http://java.sun.com/javase/6/docs/technotes/guides/management/faq.html#rmi1 it says quote 7. The com.sun.management.jmxremote.port management property specifies the port where the RMI Registry can be reached but the ports where the RMIServer and RMIConnection remote objec

Re: Manager app language

2008-11-26 Thread André Warnier
Michael Ludwig wrote: André Warnier schrieb am 25.11.2008 um 16:55:51 (+0100): Apparently since today, the Manager app (accessed through /manager/html) responds with its main page in German. Ist doch schön! - the Tomcat startup script sets LC_CTYPE to the same value prior to LC_MESSAGES

Re: Manager app language

2008-11-26 Thread André Warnier
Michael Ludwig wrote: André Warnier schrieb am 26.11.2008 um 21:02:10 (+0100): I told Chuck already (but not the list) that this morning it is back to English, and all attempts to display the Manager page again in German fail. Not only from my workstation and my 3 browsers, also on the

Tomcat Security

2008-11-27 Thread André Warnier
Rainer, Michael, (*) do you know this place ? (in German) http://www.bsi.bund.de/literat/index.htm Look for A (for Apache) and T (for Tomcat). The one for Tomcat relates to 5.5.9, but is still interesting reading. (*) and also Chuck, Chris, Mark etc.., but I wouldn't presume. -

Re: Manager app language

2008-11-27 Thread André Warnier
Caldarale, Charles R wrote: 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, su

Tomcat Security

2008-11-27 Thread André Warnier
Rainer, Michael, (*) do you know this place ? (in German) http://www.bsi.bund.de/literat/index.htm Look for A (for Apache) and T (for Tomcat). The one for Tomcat relates to 5.5.9, but is still interesting reading. (*) and also Chuck, Chris, Mark etc.., but I wouldn't presume.

Re: Jconsole through firewall

2008-11-27 Thread André Warnier
Caldarale, Charles R wrote: 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. I'll say thanks first too, not that anyone would think I am ungrateful. But could someone explai

Re: Odd encoding of servlet parameters

2008-11-27 Thread André Warnier
Chris Mannion wrote: Hi All I've recently started having a problem with one of the servlets I'm running on a Tomcat 5.5 system. The code of the servlet hasn't changed at all so I'm wondering if there are any Tomcat settings that could affect this kind of thing or if anyone has come across a sim

Re: Manager app language

2008-11-27 Thread André Warnier
Caldarale, Charles R wrote: Is the server named after a legendary British king, the Kinks album, or the HHGTTG character? HHGTTG. We also have marvin, ford, dent, zaphod, trillian, fenchurch,.. even a slartibartfast (wich also has an alias, for evident reasons). marvin is an old Sun, which has

Re: Manager app language

2008-11-27 Thread André Warnier
Caldarale, Charles R wrote: Also, since the manager app is an administrative function, one would expect that responsibility to be handled in-country.. Yeah, thought of that too. Ok, I guess it is acceptable for the Manager. As I mentioned previously, the user.language setting can be change

Re: Manager app language

2008-11-28 Thread André Warnier
Caldarale, Charles R wrote: From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Re: Manager app language Do you really mean that one webapp can change that setting and thus influence other webapps that way ? Yes - which is why you can configure a SecurityManager to restrict anti-social

Re: [OT] RE: Manager app language

2008-11-28 Thread André Warnier
Peter Crowther wrote: From: André Warnier [mailto:[EMAIL PROTECTED] Caldarale, Charles R wrote: Is the server named after a legendary British king, the Kinks album, or the HHGTTG character? HHGTTG. We also have marvin, ford, dent, zaphod, trillian, fenchurch,.. even a slartibartfast (wich also

JK connector issues ?

2008-11-28 Thread André Warnier
Hi. I posted the same question a little while ago, but apparently not in a way that attracted interest. Maybe this is not the right list ? The question : at a customer site, I am finding the kind of messages below in the Apache mod_jk module log. What do they mean ? (I also have error messa

Re: Manager app language

2008-11-29 Thread André Warnier
Caldarale, Charles R wrote: 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 tag), right before anything gets displayed to the user calling it up, the user.language property is curr

Re: Manager app language

2008-11-30 Thread André Warnier
Caldarale, Charles R wrote: 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

Memory pool "Survivor space"

2008-11-30 Thread André Warnier
Hi. I am monitoring a Tomcat during startup, using jconsole. This Tomcat's JVM is started with the switches "-Xms200M -Xmx200M", and it starts a rather heavy webapp that just about occupies Tomcat 100% during 5 minutes whenever I start it. (*) In the "memory" tab of jconsole, I observe that o

Re: IOException while loading persisted sessions / java.lang.OutOfMemoryError: Java heap space

2008-12-01 Thread André Warnier
Stefan Rainer wrote: [...] SEVERE: An exception or error occurred in the container during the request processing java.lang.OutOfMemoryError: Java heap space Exception in thread "http-16302-Processor151" java.lang.OutOfMemoryError: Java heap space Extract from configuration / status, if needed:

Re: IOException while loading persisted sessions / java.lang.OutOfMemoryError: Java heap space

2008-12-01 Thread André Warnier
Sorry, I was so shocked by the last info about 64 MB, that I missed what you wrote about the physical machine... Stefan Rainer wrote: Hello, we are running a Tomcat 5.0.28 on W2k Server with 2 GB RAM and JVM 1.5.0_11-b03 which is mainly used as application server for (Axis-based) SOAP Services

Re: Resin to Tomcat migration(context name is null)

2008-12-01 Thread André Warnier
Abhi wrote: This is an issue with the way getServletContextName() is implemented in Resin and Tomcat. In Tomcat this returns the display-name of the application where as in Resin it returns the URL prefix for the servlet context. Once I added a display name to my web application I am getting the

Re: AW: IOException while loading persisted sessions / java.lang.OutOfMemoryError: Java heap space

2008-12-01 Thread André Warnier
's memory usage more finely, the "jconsole" program (part of the Java JDK) provides a nice graphical way to examine the memory usage in real-time. Information here : http://java.sun.com/j2se/1.5.0/docs/tooldocs/share/jconsole.html ?? Thanks, Stefan -Ursprüngliche Nac

Re: Memory consumption of Tomcat?

2008-12-01 Thread André Warnier
Stefan Rainer wrote: Hello, analyzing some memory problems I am wondering what's about the memory consumption for tomcat.exe shown in the windows task manager? - Java Heap size is configured as default (64MB) - tomcat uses 150 MB according to windows task manager (win 2000, tomcat running as se

Re: Manager app language

2008-12-01 Thread André Warnier
Michael Ludwig wrote: Michael Ludwig schrieb am 26.11.2008 um 20:57:12 (+0100): LC_MESSAGES or LC_ALL would be the ones to look out for. LC_CTYPE is for character classification. Watch out for LANG, which overrides everything else. I was mistaken here. LANG is *not* the one that overrides eve

11 recommendations for posters to this list

2008-12-02 Thread André Warnier
Dear Posters, if you want to get fast, terse, to-the-point answers on this list : 1) start with a subject like "Tomcat does not work" That always gets immediate attention. It does not really matter if the problem is really in Tomcat, or in your application, or in something else altogether. If

Re: Can I specify virtual hosts in JKMounts?

2008-12-02 Thread André Warnier
Jonathan Mast wrote: I'm using Apache+Tomcat (1.3.33, 5.5.17) and I have servlet named "bar", with no file extension in its name. bar is in a folder named "foo" which is reachable by 2 virtual hosts: www.mysite.com/foo/bar foo.mysite.com/bar I know to how tell apache that request for /bar on t

Re: Manager app language

2008-12-02 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, André Warnier wrote: This Tomcat, Sir, was born English-speaking, in an English-speaking Host, and spoke exclusively English for the first 3 years of his life. Only yesterday did he ever speak German I would be

Re: JK connector issues ?

2008-12-02 Thread André Warnier
Rainer Jung wrote: [...] It does since version 1.2.23 (info message during startup). From the log line numbers I guess you are using 1.2.21 released in March 2007. That sounds about right. That system (RHEL5) was installed around that time and still runs the original versions. [...] Thi

Re: Forward all subfolders/files to the root

2008-12-02 Thread André Warnier
tuckker wrote: How do I redirect all subfolders/files to the root of the link domain.com? Eg: When user opens www.domain.com/abc, i want Apache (Tomcat to be exact) to redirectthe user to www.domain.com. This goes the same for www.domain.com/abc/abc or www.domain.com/abc/abc.html etc... I don'

Tomcat mapping of URLs -> servlets

2008-12-03 Thread André Warnier
Hi. This is a beginner-like question. I have tried to download and find this in the Servlet 2.5 Specification, but I seem to get a series of html pages describing the API, without telling me much about the general principles. So just in case this is not nicely explained in English in the spec

Re: Tomcat mapping of URLs -> servlets

2008-12-03 Thread André Warnier
Markus Schönhaber wrote: André Warnier: I have tried to download and find this in the Servlet 2.5 Specification, but I seem to get a series of html pages describing the API, without telling me much about the general principles. Yep, for some reason unknown to me it's unnecessarily diff

Re: mixed html and jsp site using ProxyPass

2008-12-03 Thread André Warnier
David Goodenough wrote: [...] Is there a way to divert just the .jsp files? I tried but that did not seem to work - maybe I got something else wrong. You may have more luck on the Apache users list ([EMAIL PROTECTED]) for this. But, assuming all your other content is to be served by Apache,

Re: mixed html and jsp site using ProxyPass

2008-12-03 Thread André Warnier
Chris Wareham wrote: David Goodenough wrote: The reason was that Tomcat did not serve the Flash correctly, never did manage to get to the bottom of why but the browser did not complain - it just left big blank spaces. With this setup at least that bit works. David My gut response is that th

Re: Tomcat mapping of URLs -> servlets

2008-12-03 Thread André Warnier
Markus Schönhaber wrote: André Warnier: It appears anyway that my previous attempted logic was quite wrong. But I still find the spec quite confusing. There is some kind of mixture between "servlet" and "web application" that is not very clear, at least to me. As

Re: Tomcat mapping of URLs -> servlets

2008-12-03 Thread André Warnier
Caldarale, Charles R wrote: From: Caldarale, Charles R Subject: RE: Tomcat mapping of URLs -> servlets Note that the "servlet-2_5-mrel2-spec.pdf" button cannot be right-clicked and processed with "Save As" I was mistaken; you can do a right-click and "Save As", without any problems. Were you

Re: Tomcat mapping of URLs -> servlets

2008-12-03 Thread André Warnier
Caldarale, Charles R wrote: [...] Forgot to add : mine is an Official Firefox, running on an Official Windows XP. ;-) - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additio

Re: Tomcat mapping of URLs -> servlets

2008-12-03 Thread André Warnier
Mark Thomas wrote: André Warnier wrote: Then I guess I have (at least) 2 webapps : a "/foo" webapp, and a "/foo/bar" webapp. Now a request comes in with the url "/foo/bar/baz/various.jsp" How does Tomcat determine that /foo/bar/baz is not itself a webapp, but me

Re: [ANN] Apache Tomcat 4.1.39 stable is released

2008-12-03 Thread André Warnier
Mark Thomas wrote: The Apache Tomcat team is proud to announce the immediate availability of Tomcat 4.1.39 stable. Remembering numerous exhortations on this list to upgrade, I must say this announcement is somewhat surprising to me. So there are older versions which are still maintained/enh

Re: [OT] Tomcat mapping of URLs -> servlets

2008-12-03 Thread André Warnier
Caldarale, Charles R wrote: From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat mapping of URLs -> servlets I was using Firefox 2.0.0.15, on a Windows XP station. Hmmm... I haven't used Firefox 2 in a very long time - not since Firefox 3 was in beta. ht

Re: Tomcat mapping of URLs -> servlets

2008-12-03 Thread André Warnier
Mark Thomas wrote: André Warnier wrote: Mark Thomas wrote: André Warnier wrote: Then I guess I have (at least) 2 webapps : a "/foo" webapp, and a "/foo/bar" webapp. Now a request comes in with the url "/foo/bar/baz/various.jsp" How does Tomcat determine tha

Re: Tomcat mapping of URLs -> servlets

2008-12-03 Thread André Warnier
Caldarale, Charles R wrote: From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat mapping of URLs -> servlets At deployment time thus (in my hypothetical case above when Tomcat starts and finds a such webapps top dir), does it recursively go through the webapp dirs and subdirs,

Re: Unable to connect to DB using DataSource

2008-12-03 Thread André Warnier
Stefan Deitmer wrote: Hi. You can totally disregard this, because I am really not competent. But just because I saw this in your post : at java.security.AccessController.doPrivileged(Native Method) did you compare the line TOMCAT_SECURITY=... in /etc/default/tomcat5.5 between your systems ? and

Re: [OT] JK Connector problem

2008-12-04 Thread André Warnier
nitingupta183 wrote: I was using a folder name with spaces and without putting it inside a double quote. You are not the first, and not the last to lose time over this. Folder/directory/file names with spaces in them are evil, and should be forbidden in any new OS, by unanimous decision of t

Re: What exactly happens when I configure a different host

2008-12-04 Thread André Warnier
Caldarale, Charles R wrote: From: Anand HS [mailto:[EMAIL PROTECTED] Subject: Re: What exactly happens when I configure a different host Does that mean when we change the , we have to have a handler added in logging.properties as well. ? Have to - no; should - probably. If you don't define on

Re: Unable to connect to DB using DataSource

2008-12-04 Thread André Warnier
Stefan Deitmer wrote: André Warnier schrieb: [...] Ok, then another probably silly suggestion, but you might as well upturn this stone too. Apart from the directories you named as already compared, have you compared the /usr/share/tomcat5.5 ? That is where the Debian distributions usually

Re: [OT] JK Connector problem

2008-12-04 Thread André Warnier
Peter Crowther wrote: If you try to stop the accounts team naming their Excel files "Budgets from Margaret 2008-2009" you may find your office surrounded by a mob of pitchfork- and torch-waving users That is a weak objection. They can also not name it "Budget 2008/2009" or "Projections sales >

Re: Is this list archived?

2008-12-04 Thread André Warnier
David.Meldrum wrote: Is there a searchable archive of this mailing list? I have a few questions that I am sure have already been answered in the past. The one above also, I'm sure. ;-) - To unsubscribe, e-mail: [EMAIL PROTEC

Re: mod_jk -> ajp hangs indefinitely on some requests

2008-12-04 Thread André Warnier
Doctor Khumalo wrote: How can i be removed from this awful blog? Just scroll down the page, Doctor, there's a link to do just that on every one of them. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-m

Re: 11 recommendations for posters to this list

2008-12-04 Thread André Warnier
Christopher Schultz wrote: 13) Post a snide follow-up when someone asks if you've looked for online documentation or done a web search for obvious key words. Well, in truth, you didn't really ask, did you. And he did say thank you, before wielding the scalpel. ;-)

Re: [OT] JK Connector problem

2008-12-07 Thread André Warnier
Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rainer, Rainer Jung wrote: Christopher Schultz schrieb: If you've got "Program Files" already in the path, why not have "Apache Group" in there as well? ... Germans would love "Apache" Group without spaces ... And so w

Re: Tomcat vs. Samba

2008-12-08 Thread André Warnier
Caldarale, Charles R wrote: All that being said, if you're running Tomcat as a Windows service, it is likely using the Local System Account, ... And, for information, one of the characteristics of the LocalSystem account is that it does not have access to any Windows network resources, such

Re: Tomcat vs. Samba

2008-12-08 Thread André Warnier
Mitch Gitman wrote: 2. I literally can't solve this problem while still running as a Windows service. [...] Yes you can... - the LocalSystem account is special, one of the special things about it being that it cannot access Windows network resources. - if you need Tomcat to access Windows ne

Re: SSL/Apache and Proxy

2008-12-08 Thread André Warnier
Dear Doctor, With the kind of postings you did previously on this forum, you could consider yourself lucky to get any answers at all. A bit of basic civility would certainly not hurt your future prospects. - To unsubscribe,

Re: Apache Tomcat 6.0.18 Not Starting

2008-12-10 Thread André Warnier
Michael CC wrote: I am already running Apache Webserver on 8080. I changed the Connector Port to 8088 in the Server. xml file. When I test the service by calling http://localhost:8088/ I get the "Internet Explorer cannot display the webpage". Maybe another back-reference to http://marc.info/

Re: Tomcat thread pool question

2008-12-10 Thread André Warnier
Possibly [OT], and just disregard if so. I am just trying to follow this thread and to understand, from my very superficial and elementary knowledge of things Java and Tomcat. So we have a Tomcat, which somehow has a "pool of database connections" ready to be lent to webapps. And we have a

Re: Tomcat thread pool question

2008-12-10 Thread André Warnier
Caldarale, Charles R wrote: From: André Warnier [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat thread pool question So we have a Tomcat, which somehow has a "pool of database connections" ready to be lent to webapps. In this particular case, the db connection pool is managed by Hibe

Re: How to set Log4J debug flag in Tomcat

2008-12-10 Thread André Warnier
Prastein, Rebeccah H wrote: How do I start tomcat as an application (not a service) and set the log4j debug commandline parameter? I tried editing startup.bat to prepend -Dlog4j.debug to %CMD_LINE_ARGS%, but I get the following error on startup, and I don't see any log4j debug output: usage: ja

Re: Tomcat caching of static resources?

2008-12-11 Thread André Warnier
As a heretic post in this forum, which usually tends to recommend the opposite : what about putting an Apache with mod_cache in front of your Tomcat server ? Carefully set up, that would do what you want. - To unsubscribe, e-

Re: Tomcat caching of static resources?

2008-12-11 Thread André Warnier
Sorry, I don't remember of your pages are protected or not (even the static ones I mean). But anyway, you might want to have a look at this : http://www.tuckey.org/urlrewrite/ Manual for 3.2, and scroll down to the response-header bit. It's a servlet filter with a lot of capabilities. The ini

Re: HTTP 400 Error when trying to check Tomcat installation

2008-12-11 Thread André Warnier
BoyePeter wrote: Hi, Thanks for the reply and have just tried your suggestion. A dialogue box has appeared asking for a user name and password and saying that the server localhost at Tomcat Manager Application requires a username and password. I did set up a user name and password for Tomcat a

Re: HTTP 400 Error when trying to check Tomcat installation

2008-12-11 Thread André Warnier
BoyePeter wrote: [...] Not sure how to turn off IE's friendly messages nor what would be the result if I did so. At least I can tell you something about that. Just search in Google for "ie friendly error messages", and about the first 30 results will tell you all you need to know about it.

Re: Unable to start tomcat server 6x

2008-12-13 Thread André Warnier
Partha wrote: [...] Isn't this a clue ? touch: cannot touch `/usr/local/apache-tomcat-6.0.18/logs/catalina.out': Read-only file system - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-m

Re: File system resource for static content

2008-12-14 Thread André Warnier
Hi. Not a direct answer, but did you look at the webdav app ? At least for ideas. Robert Drescher wrote: [...] I want a servlet to perform file uploads and to store the files in the local filesystem. - To unsubscribe, e-mail:

Re: File system resource for static content

2008-12-14 Thread André Warnier
Hi. What if user-a uploads a file called "abc.jpg" and then user-b uploads a file called "abc.jpeg" ? Who wins ? Worse, they do it at the same time.. ;-) - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additio

Re: File system resource for static content

2008-12-14 Thread André Warnier
André Warnier wrote: Hi. What if user-a uploads a file called "abc.jpg" and then user-b uploads a file called "abc.jpeg" ? Who wins ? Worse, they do it at the same time.. ;-) Ooops, I meant "abc.

Re: Serious security problem with mod_jk?

2008-12-17 Thread André Warnier
No Ipod here, but since even the master started top-posting.. You can also use something like SetEnvIf REQUEST_URI "\.(htm|web|css|gif|jpg|js|html?)$" no-jk Ooops, no, that's the opposite effect. Might still be useful though. See the end of this page for a whole bag of tricks like that : http:

Apache 2.2.3 segfault with Jk connector 1.2.27

2008-12-17 Thread André Warnier
Hi. Despite the subject, I think the Jk Connectors help is here, isn't it ? I am installing/configuring a server for a customer, remotely. The choice of OS or versions and packages is not mine, it is generally mandated, with just a little leeway for small things. My problem is this, as soon a

Re: Apache 2.2.3 segfault with Jk connector 1.2.27

2008-12-17 Thread André Warnier
Hi. Responding to my own earlier message, I think I have found what looks like a bug with the combination indicated, and a curious (to me) workaround. Summary : under Linux Suse Enterprise 10.1 using the Apache 2.2.3 (prefork) package of that distribution using mod_jk 1.2.27 In the Apache ma

Re: Apache 2.2.3 segfault with Jk connector 1.2.27

2008-12-17 Thread André Warnier
Rainer Jung wrote: On 18.12.2008 00:09, Rainer Jung wrote: Question thus : is my above first configuration invalid ? Most likely not invalid, but exotic and thereby not well tested (the SetHandler trick). Will try to reproduce. I can reproduce, but only if the request goes to a virtual serve

Re: Apache 2.2.3 segfault with Jk connector 1.2.27

2008-12-18 Thread André Warnier
Rainer Jung wrote: Could you try the following patch: http://people.apache.org/~rjung/mod_jk-dev/patches/extension_crash.patch Thanks for any feedback on the patch. Many thanks for the patch, Rainer, but.. I hate to admit it, but despite being in this industry for more than 30 years, I have

Re: Tomcat and problems with languages

2008-12-18 Thread André Warnier
fairyaya wrote: [...] That sounds a bit like my Manager-speaking-in-tongues of about one month ago... You may want to search this list for "Manager app language". There was never any definitive solution, but maybe some clues on what to look for. The gist of it is as follows : there is a JVM

Re: Apache 2.2.3 segfault with Jk connector 1.2.27

2008-12-18 Thread André Warnier
Rainer Jung wrote: On 18.12.2008 13:07, André Warnier wrote: Rainer Jung wrote: Could you try the following patch: http://people.apache.org/~rjung/mod_jk-dev/patches/extension_crash.patch Thanks for any feedback on the patch. Many thanks for the patch, Rainer, but.. I hate to admit it, but

Re: Apache 2.2.3 segfault with Jk connector 1.2.27

2008-12-18 Thread André Warnier
Rainer Jung wrote: On 18.12.2008 17:22, Pieter Temmerman wrote: [...] Thanks guys. I just *knew* there was a reason why I forgot all that stuff, I just could not remember why exactly. I bet that before I do a "man patch", I'll have to update "man", and that will probably bring messages that

Re: Apache 2.2.3 segfault with Jk connector 1.2.27

2008-12-18 Thread André Warnier
Rainer Jung wrote: [...] The internals of this dev version are exactly packaged in the form of an official release. So the build process works exactly the same (configure and make), no additional tools needed. True. The version will identify itself as 1.2.28-dev, so you can't hide it's no

Re: how to invalidate old sessions when new user access appl on same machine

2008-12-19 Thread André Warnier
Vishnu Vardhana Reddy wrote: hi all, I am using Mozilla browser to access my web application.User one access my application using his credentials .but i left that browser open.after that I am opening the another Mozilla window and accessing my application using different credentials ex:user2 cre

HelloWorld servlet, or just about

2008-12-19 Thread André Warnier
Dear experts, I love Tomcat, and I find all the people on this list kind, helpful, in short marvelous. I have dabbled in servlet filters before, but I never wrote an actual servlet. And now I need to write the tiniest of one. It just needs to return, as plain text, not "Hello World", but t

Re: HelloWorld servlet, or just about

2008-12-19 Thread André Warnier
Ken Bowen wrote: Of course, Google is your friend: Results 1 - 10 of about 237,000 for hello world servlet. (0.23 seconds) :-) Yeah, I got that too. That's the problem though : which one to choose ? Never mind, and apologies, I think I'll use the first one : package test; import java.

Re: HelloWorld servlet, or just about

2008-12-19 Thread André Warnier
I'm sorry, but that does not match the specs AT ALL. I specifically asked that the response should be plain text, and just the userid. t. ;-) Thanks, Chuck. Caldarale, Charles R wrote: From: André Warnier [mailto:a...@ice-sa.com] Subject: HelloWorld servlet, or just about Bette

WIR MACHEN FERIEN

2008-12-19 Thread André Warnier
Am I the only one being subjected to this, or is it a general thing ? Apparently someone has put the Tomcat list on his holiday auto-reply list, and I get a reply to each message I post on the list. - To unsubscribe, e-mail: us

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