Re: RequestDumperValve screws UTF-8 parameter parsing

2006-01-10 Thread Oded Arbel
On Tuesday, 10 בJanuary 2006 00:06, Endre Stølsvik wrote: Enabling the RequestDumperValve in both 5.5.12 and 5.0.16 (!) messes up the parsing of other-than-ISO-8859-1 incoming parameters. After using a rather huge bunch of hours, this came down as the result: when this debug valve is turned

Re: RequestDumperValve screws UTF-8 parameter parsing

2006-01-10 Thread Endre Stølsvik
On Mon, 9 Jan 2006, Mark Thomas wrote: | Endre Stølsvik wrote: | Enabling the RequestDumperValve in both 5.5.12 and 5.0.16 (!) messes up | the parsing of other-than-ISO-8859-1 incoming parameters. | | After using a rather huge bunch of hours, this came down as the result: | when this debug

Re: RequestDumperValve screws UTF-8 parameter parsing

2006-01-10 Thread Endre Stølsvik
On Tue, 10 Jan 2006, Oded Arbel wrote: | On Tuesday, 10 ÿÿJanuary 2006 00:06, Endre Stølsvik wrote: | Enabling the RequestDumperValve in both 5.5.12 and 5.0.16 (!) messes | up the parsing of other-than-ISO-8859-1 incoming parameters. | | After using a rather huge bunch of hours, this came

Re: Avoid duplication of database settings

2006-01-10 Thread Tomas
I have an application consisting of a web application and some stand alone java clients. Both the web application and the java clients use a database. The problem is that the database configuration is duplicated. If you are doing it the ant way I recommend using filtering. Thanks for the

Re: Avoid duplication of database settings

2006-01-10 Thread Fredrik Rubensson
Sorry about the antispammed subject in my previous post. I have an application consisting of a web application and some stand alone java clients. Both the web application and the java clients use a database. The problem is that the database configuration is duplicated. If you are doing

RE: Tomcat 5.5.x and java 1.4.x

2006-01-10 Thread LANDRAIN Jean-Pol
Of course - otherwise it couldn't run under 1.4. http://apache.scarlet.be/tomcat/tomcat-5/v5.5.12/README.html : Tomcat 5.5 requires JRE 5.0 by default Regards, Jean-Pol. -Original Message- From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] Sent: 09 January 2006 16:00 To: Tomcat

Re: Tomcat 5.5.x and java 1.4.x

2006-01-10 Thread Markus Schönhaber
LANDRAIN Jean-Pol wrote: Of course - otherwise it couldn't run under 1.4. http://apache.scarlet.be/tomcat/tomcat-5/v5.5.12/README.html : Tomcat 5.5 requires JRE 5.0 by default Fine. Nevertheless, Charles' statement is perfectly true. Regards mks

Re: AW: JSessionID

2006-01-10 Thread Jess Holle
Bill Barker wrote: Jess Holle [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Conveying servlet sessions by SSL session is clearly not required by the spec, though... I'm not sure whether Tomcat supports this... It doesn't (mostly because nobody has been interested enough

Re: RequestDumperValve screws UTF-8 parameter parsing

2006-01-10 Thread Jess Holle
Endre Stølsvik wrote: On Tue, 10 Jan 2006, Oded Arbel wrote: | On Tuesday, 10 ÿÿJanuary 2006 00:06, Endre Stølsvik wrote: | Enabling the RequestDumperValve in both 5.5.12 and 5.0.16 (!) messes | up the parsing of other-than-ISO-8859-1 incoming parameters. | | After using a rather huge

Re: Apache + Tomcat, Tomcat only handles JSP in localhost

2006-01-10 Thread Oded Arbel
On Tuesday, 10 בJanuary 2006 02:35, Caldarale, Charles R wrote: From: Sriram Narayanan [mailto:[EMAIL PROTECTED] Subject: Re: Apache + Tomcat, Tomcat only handles JSP in localhost The link he gave talks about how to have PHP etc along side Tomcat. PHP can be fairly easily used with

Re: RequestDumperValve screws UTF-8 parameter parsing

2006-01-10 Thread Oded Arbel
On Tuesday, 10 בJanuary 2006 11:16, Endre Stølsvik wrote: On Tue, 10 Jan 2006, Oded Arbel wrote: | AFAIK, the catalina implementation of HttpServletRequest does not | allow to set the character set more then once, even though it | doesn't do any pre-processing of the input. | | Maybe that

Re: RequestDumperValve screws UTF-8 parameter parsing

2006-01-10 Thread Tim Funk
The first thing a servlet (or filter) should do is set the encoding before touching the request parameters. Its not intended to be called somewhere late in the processing lifecycle. Since a Valve executes before any javax.servlet code - all bets are off (for the request encoding) based on the

Re: Re: Apache + Tomcat, Tomcat only handles JSP in localhost

2006-01-10 Thread Warren Pace
From: Oded Arbel [EMAIL PROTECTED] Date: 2006/01/10 Tue AM 06:59:08 EST To: users@tomcat.apache.org CC: Caldarale, Charles R [EMAIL PROTECTED] Subject: Re: Apache + Tomcat, Tomcat only handles JSP in localhost On Tuesday, 10 ?January 2006 02:35, Caldarale, Charles R wrote: From:

Two tomcat executables in Windows XP Task Manager

2006-01-10 Thread Warren Pace
OS: Windows XP Professional SP2 Tomcat Version 5.5.12 isapi_redirect.dll I recently installed Tomcat 5.5.12 on my machine at work. I had to front-end tomcat with IIS because of an existing ASP intranet site that I'm just not willing to rewrite. In Windows task manager, I notice that both

Re: Re: Two tomcat executables in Windows XP Task Manager

2006-01-10 Thread Warren Pace
Understood. Thanks! From: Hardik Tank [EMAIL PROTECTED] Date: 2006/01/10 Tue AM 07:53:22 EST To: Tomcat Users List users@tomcat.apache.org Subject: Re: Two tomcat executables in Windows XP Task Manager yes it is normal only. tomcat5w.exe is for tomcat service manager and tomcat5.exe is

java.lang.VerifyError Wrong return type in function

2006-01-10 Thread Ole Chr Langfjæran
My servlet seems seemingly to work just fine, but running through the log I've found a whole bunch of FATAL errors. They also seem to have risen without me envoking the servlet and the classes involved are nothing but apache. What could it be? Errorlog: java.lang.VerifyError: (class:

Re: Single Thread is deprecated?

2006-01-10 Thread Leon Rosenberg
On 1/9/06, Wade Chandler [EMAIL PROTECTED] wrote: ... I don't know about 5.5.15, but 5.5.9 used HashMap. The synchronization of the session object was an issue which caused other issues and is why there should now be synchronization on the reading as well as writing session attributes. There

Re: Concept for modeling hierarchical data

2006-01-10 Thread David Smith
Florian Lindner wrote: Hello, I'm searching for the best concept of how to use and save hierarchical data. I have a structure like PC file system with meta data. There a folder objects and files objects of different types. Every object have data like permissions, date and author. And they

RE: Error loop for R - Tomcat 3.3.1a

2006-01-10 Thread Larry Isaacs
Sid, The code where the exception is occurring is: private final String getAbsolutePathRelativeToContext(String relativeUrlPath) { String path = relativeUrlPath; if (!path.startsWith(/)) { String uri = (String)

Tomcat unusable when logging set to debug mode

2006-01-10 Thread Peter . Zoche
Hi all! Because of a mistake in writing in my log4j configuration logging has been set to debug mode. When deploying the webapp Tomcat began to log thousands of debug messages, and so became unusable because of the heavy load. I had to stop Tomcat and delete the webapp from the webapp-directory

RE: Error loop for R - Tomcat 3.3.1a

2006-01-10 Thread Siddhartha Mehta
Hey Larry, Finally a refresh click brought a smile on my face :-) Yeah, it is one of those scenarios where people want backward support as against to moving forward. One thing that I dont understand is that the UIs are working very well. In fact I am able to change the password

Re: Tomcat unusable when logging set to debug mode

2006-01-10 Thread Ole Chr Langfjæran
How about editing your log4j.properties file and adding the following?: log4j.logger.org.apache=INFO [EMAIL PROTECTED] wrote: Hi all! Because of a mistake in writing in my log4j configuration logging has been set to debug mode. When deploying the webapp Tomcat began to log thousands of

RE: Error loop for R - Tomcat 3.3.1a

2006-01-10 Thread Larry Isaacs
I'm afraid I don't have any simple guesses as to what to change. It appears there are multiple forwards occurring and it may be the multiple that is the root cause of this behavior. You can experiment with changes to see what happens, or try to run tomcat in a debugger to see if you can

RE: Tomcat 5.5.x and java 1.4.x

2006-01-10 Thread Caldarale, Charles R
From: LANDRAIN Jean-Pol [mailto:[EMAIL PROTECTED] Subject: RE: Tomcat 5.5.x and java 1.4.x http://apache.scarlet.be/tomcat/tomcat-5/v5.5.12/README.html : Tomcat 5.5 requires JRE 5.0 by default An excellent example of quoting out of context. The very next sentence says: Read the

Using Tomcat 5.5 as a standalone web server

2006-01-10 Thread Adam Johnston
Hello all, I am running a reasonable sized site, on Linux Red Hat + Tomcat 5.5.7. The site is serving mainly Flash movies and servlets with streaming video through a commercial codec, plus a full HTML version of the site. Currently, I have Tomcat 5.5.7 integrated with Apache 2.0.46, which was

RE: Tomcat 5.5.x and java 1.4.x

2006-01-10 Thread LANDRAIN Jean-Pol
The only thing needed to run on 1.4 is the compatibility package, which contains a few class files that are standard in the 1.5 JRE but have to be downloaded separately for 1.4. It's not class files it contains: it's xml and jmx jars. I haven't quoted out of context: I know the details.

Re: Using Tomcat 5.5 as a standalone web server

2006-01-10 Thread Tim Funk
If possible - look into 5.5.15. The APR connectors should help with serving all the video and flash streaming. -Tim Adam Johnston wrote: Hello all, I am running a reasonable sized site, on Linux Red Hat + Tomcat 5.5.7. The site is serving mainly Flash movies and servlets with streaming

RE: Tomcat 5.5.x and java 1.4.x

2006-01-10 Thread Fredrik Rubensson
The only thing needed to run on 1.4 is the compatibility package, which contains a few class files that are standard in the 1.5 JRE but have to be downloaded separately for 1.4. It's not class files it contains: it's xml and jmx jars. I haven't quoted out of context: I know the details.

RE: Tomcat 5.5.x and java 1.4.x

2006-01-10 Thread Hasan, Nadeem
What do you think is in those jar files? Home made pickles? -Original Message- From: LANDRAIN Jean-Pol [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 10, 2006 9:47 AM To: Tomcat Users List Subject: RE: Tomcat 5.5.x and java 1.4.x The only thing needed to run on 1.4 is the

Re: Concept for modeling hierarchical data

2006-01-10 Thread Florian Lindner
Am Dienstag, 10. Januar 2006 07:51 schrieb Nikola Milutinovic: Florian Lindner wrote: Hello, I'm searching for the best concept of how to use and save hierarchical data. I have a structure like PC file system with meta data. There a folder objects and files objects of different types. Every

Compiling Servlets - Tomcat 5.5

2006-01-10 Thread Lenandlar Singh
Folks im trying to compile a servlet but JCreator complains about not finding the servlet api's. I did this a few years ago but put it down...can someone please help - Yahoo! Photos – Showcase holiday pictures in hardcover Photo

RE: Using Tomcat 5.5 as a standalone web server

2006-01-10 Thread George Sexton
-Original Message- From: Adam Johnston [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 10, 2006 7:43 AM To: users@tomcat.apache.org Subject: Using Tomcat 5.5 as a standalone web server Hello all, My question is this : does anyone have experience of running a 500 000

RE: Using Tomcat 5.5 as a standalone web server

2006-01-10 Thread Peter Crowther
From: George Sexton [mailto:[EMAIL PROTECTED] I'm running around 700,000 pages a month on a pure tomcat installation with no problems. Just for interest, George, is that on similar hardware / software to your benchmark at

RE: Concept for modeling hierarchical data

2006-01-10 Thread Fredrik Rubensson
Florian Lindner wrote: Florian Lindner wrote: Hello, I'm searching for the best concept of how to use and save hierarchical data. I have a structure like PC file system with meta data. There a folder objects and files objects of different types. Every object have data like

Re: Compiling Servlets - Tomcat 5.5

2006-01-10 Thread James Goodwill
Try adding TOMCAT_HOME/common/lib/servlet-api.jar to your classpath. On Jan 10, 2006, at 8:09 AM, Lenandlar Singh wrote: Folks im trying to compile a servlet but JCreator complains about not finding the servlet api's. I did this a few years ago but put it down...can someone please

RE: Using Tomcat 5.5 as a standalone web server

2006-01-10 Thread George Sexton
Yes. That is the same machine/configuration. CPU Utilization is between 1-2.5% during the day which is the peak usage time. George Sexton MH Software, Inc. http://www.mhsoftware.com/ Voice: 303 438 9585 -Original Message- From: Peter Crowther [mailto:[EMAIL PROTECTED] Sent:

Re: How do I log to file jasper compile error messages?

2006-01-10 Thread Steven Peterson
I am migrating from version 4.1 to 5.5 and am wrestling with the logging. How do I get compile errors from jasper to go to a log file instead of the console? I have set swallowOutput to true in the context config, and added the below entries to the {catalina_home}/conf/logging.properties

Re: Compiling Servlets - Tomcat 5.5

2006-01-10 Thread Lenandlar Singh
James Goodwill [EMAIL PROTECTED] wrote:Try adding /common/lib/servlet-api.jar to your classpath. This is what i set as a classpath environment variable... variable -- classpath value -- C:\Tomcat 5.5\common\lib\servlet-api.jar Still no progress.

RE: Using Tomcat 5.5 as a standalone web server

2006-01-10 Thread Wouter Boers
There is quite an easy sollution. Run squid as you main webserver and as a web accelator in front of your tomcat. From the squid config you can decide what your want cached and what now. I don't understand why this is not done more often since its A) a very easy sollution B) does not loose any

Re: Using Tomcat 5.5 as a standalone web server

2006-01-10 Thread Rafal Zawadzki
### Wouter Boers [EMAIL PROTECTED] wrote message to 'Tomcat Users List' users@tomcat.apache.org ### ### this is reply for: RE: Using Tomcat 5.5 as a standalone web server ### There is quite an easy sollution. Run squid as you main webserver and as a web accelator in front of your tomcat. From

Re: Compiling Servlets - Tomcat 5.5

2006-01-10 Thread James Goodwill
Lenandlar, What is happening when you compile? Can you include the output? Thanks, James On Jan 10, 2006, at 8:58 AM, Lenandlar Singh wrote: James Goodwill [EMAIL PROTECTED] wrote:Try adding /common/lib/ servlet-api.jar to your classpath. This is what i set as a classpath

Re: Compiling Servlets - Tomcat 5.5

2006-01-10 Thread Lenandlar Singh
It keeps saying javax.servlet api does not exist... Its not finding these packages... - Yahoo! Photos Ring in the New Year with Photo Calendars. Add photos, events, holidays, whatever.

RE: Compiling Servlets - Tomcat 5.5

2006-01-10 Thread Lenandlar Singh
I got it to compile just copied servlet-api.jar into the /ext directory of my java installation Tomcat wont start now for me to test this - Yahoo! Photos Got holiday prints? See all the ways to get quality prints

Re: Apache + Tomcat, Tomcat only handles JSP in localhost

2006-01-10 Thread Oded Arbel
On Tuesday, 10 בJanuary 2006 14:31, Warren Pace wrote: The most important reason that I use an Apache frontend for tomcat, which is probably not relevant to the original poster, is that under Unix only root processes can open port 80 (the default HTTP port), and so if tomcat is configured

Reading Sessions from Persistent Store

2006-01-10 Thread Gary Blomquist
I am attempting to use non-sticky sessions using a syncronous Persistent Manager and a JDBC Store. I have written a class SyncPersistentManager that extends PersistentManagerBase and implements HttpSessionAttributeListener to store the sessions in the JDBC store each time an attribute in the

Re: Reading Sessions from Persistent Store

2006-01-10 Thread Gary Blomquist
I forgot to mention I would only reload the session from the store if it was dirty (based on last access time). From: Gary Blomquist Sent: Tuesday, January 10, 2006 2:14 PM To: 'users@tomcat.apache.org' Subject: Reading Sessions from Persistent Store I am

Help with wmv MIME definitions in Tomcat 5.0

2006-01-10 Thread Mark Winslow
Hello, I am unable to get Tomcat 5.0 to properly serve up Windows Media (wmv) files. Despite adding the following to my web.xml file, mime-mapping extensionwmv/extension mime-typevideo/x-ms-wmv/mime-type /mime-mapping whenever I attempt to open wmv, I get pages and pages of: 0²uŽfϦ٪bÎlv

Help with wmv MIME definitions in Tomcat 5.0?

2006-01-10 Thread Mark Winslow
Hello, I am unable to get Tomcat 5.0 to properly serve up Windows Media (wmv) files. Despite adding the following to my web.xml file, mime-mapping extensionwmv/extension mime-typevideo/x-ms-wmv/mime-type /mime-mapping whenever I attempt to open wmv, I get pages and pages of text. Needless to

Can't play wmv

2006-01-10 Thread Mark Winslow
Hello, I am unable to get Tomcat 5.0 to properly serve up Windows Media (wmv) files. Despite adding the video/x-ms-wmv to my web.xml file, whenever I attempt to open wmv, I get pages and pages of text. Needless to say, this is not the desired result. I'm fairly confident that this is some kind

RE: JDBC Session Persistence in a cluster problem/question

2006-01-10 Thread Gary Blomquist
I am looking into this as well. It appears that you must use sticky sessions with the Persistent Manager/JDBC store to get failover to work. However, it also appears that due to the asyncronous persisting of the sessions, you might still lose some session data. I have written a manager that

Re: Can't play wmv

2006-01-10 Thread Mark Winslow
Hello, I am unable to properly serve up wmv files. Despite adding the video/x-ms-wmv to my web.xml file, whenever I attempt to open wmv, I get pages and pages of text. Needless to say, this is not the desired result. I'm fairly confident that this is some kind of MIME misconfiguration,

no luck with wmv

2006-01-10 Thread Mark Winslow
Hello, I am unable to properly serve up wmv files. Despite adding the video/x-ms-wmv to my web.xml file, whenever I attempt to open wmv, I get pages and pages of text. Needless to say, this is not the desired result. I'm fairly confident that this is some kind of MIME misconfiguration, but am at

FW: JDBC Session Persistence in a cluster problem/question

2006-01-10 Thread Gary Blomquist
If you used the syncronous persistent manager I posted with sticky sessions I think you would not lose data on failover. However, I just developed it and have barely tested it at all. I was hoping for some feedback from the list. Gary -Original Message- From: Gary Blomquist

help with wmv

2006-01-10 Thread Mark_Winslow
Hello, I am unable to properly serve up wmv files. Despite adding the video/x-ms-wmv to my web.xml file, whenever I attempt to open wmv, I get pages and pages of text. Needless to say, this is not the desired result. I'm fairly confident that this is some kind of MIME misconfiguration, but

mod_jk 1.2.15 makes Firefox crash

2006-01-10 Thread Aurélien DEHAY
Hello all. I've got a strange behaviour with mod_jk 1.2.15 (compiled from source on a sarge system with Apache 2.0 prefork). I've got an ajax application ( http://llfr.info/tribune/ ) and the upgrade to mod_jk on my server make my firefox crash when I access to this page. It's working fine

Java WSDP and Tomcat

2006-01-10 Thread Khawaja Shams
Hello all, Is anyone aware of what tomcat builds have JWSDP packages with the tomcat instance? I have been told that some releases come with JWSDP, whereas others do not. Is there any particular reason for this? Thanks for your time. Best Regards, Khawaja Shams

Re: problem calling request.getParameter(myparameter) in jsp

2006-01-10 Thread marju jalloh
I see %! String query = request.getParameter(display) ; % is declared in the init() of the servlet.I changed it but now I`m getting org.apache.jasper.JasperException java.lang.NullPointerException which should not execute the query Can anyone throw licht on this Thanks marju jalloh

Re: problem calling request.getParameter(myparameter) in jsp

2006-01-10 Thread marju jalloh
I got it. HttpRequest throws an exception by enclosing String query = request.getParameter(display) in a try and catch block everything was fine marju jalloh [EMAIL PROTECTED] wrote: I see %! String query = request.getParameter(display) ; % is declared in the init() of the servlet.I

Re: Form based login with UTF8 and Tomcat

2006-01-10 Thread Mark Thomas
Joacim Turesson wrote: I have trouble with UTF-8 and form based login with Tomcat 5.5.12 together with Apache 2.0.55 using mod_jk 1.2.15. See the last section of http://tomcat.apache.org/tomcat-5.5-doc/config/valve.html I have a struts based application that works fine with UTF-8, but the

Problem with pdf in tomcat 4.1.29

2006-01-10 Thread Chris Donges
I have a jsp page that grabs a pdf from a blob in a database and sends it to the browser inline. It works fine for firefox and most ie users but for some it displays it in a separate window or doesn't display at all. I am using tomcat 4.1.29 with jk going through iis 5. Here are the headers:

problem of setting up ssl in tomcat 5.5.9

2006-01-10 Thread zhou jian
Hello everyone, I want to configure the SSL in tomcat5 and I followed the following instructions: http://tomcat.apache.org/tomcat-5.0-doc/printer/ssl-howto.html However, after starting the tomcat without any problem. [EMAIL PROTECTED] bin]$ ps aux | grep java globus4 2668 2.2 6.2 296704

Re: Re: Apache + Tomcat, Tomcat only handles JSP in localhost

2006-01-10 Thread Warren Pace
From: Oded Arbel [EMAIL PROTECTED] Date: 2006/01/10 Tue PM 12:46:14 EST To: users@tomcat.apache.org CC: Warren Pace [EMAIL PROTECTED] Subject: Re: Apache + Tomcat, Tomcat only handles JSP in localhost On Tuesday, 10 ?January 2006 14:31, Warren Pace wrote: The most important reason

Re: Re: Apache + Tomcat, Tomcat only handles JSP in localhost

2006-01-10 Thread Parsons Technical Services
Don't forget the alternate trick of port(s) redirection. For some it is simpler. I use jsvc on TAO Linux, a RedHat clone. Doug - Original Message - From: Warren Pace [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Tuesday, January 10, 2006 9:50 PM Subject: Re:

Re: Help - org.apache.jasper.JasperException: Unable to initialize TldLocationsCache: null

2006-01-10 Thread Bill Barker
Try it without the taglib.../taglib in web.xml. Tomcat (and any other JSP-2.0 container) will pick up a .tld in /META-INF of a jar file in WEB-INF/lib automagically. Unfortunately, Jasper is hiding the root cause of the Exception that is being thrown, so I can't see why it's unhappy :(. If

Re: Compiling Servlets - Tomcat 5.5

2006-01-10 Thread James Goodwill
Lenandlar, I do not understand why you had to move the servlet-api.jar. Can you echo your $CLASSPATH and your $TOMCAT_HOME? Did you get Tomcat started? Thanks, James On Jan 10, 2006, at 10:32 AM, Lenandlar Singh wrote: I got it to compile just copied servlet-api.jar into the /ext

AW: Question regarding tomcat class path handling

2006-01-10 Thread Eickvonder Bjoern
3. You might even wish to see if you could copy classes into the classes folder while Tomcat is running. That way the web apps would get reloaded. You'd need to configure Tomcat to recognize the Web apps to be reloadable, of course. Or you might use an ant build-file which first stops the