Re: UTF-8 2019 (right single quote) incorrect display

2006-03-20 Thread Antonio Petrelli
John-Paul Delaney ha scritto: Hello List... my first attempt at i18n is failing. Are you using resource bundles? Or what? If yes, please post a reply because the answer will be very different from the one below. I've converted MS smart quotes to utf 2019 symbol (right single quote) in

Re: keeping same session via apache2 mod_jk2 and tomcat5

2006-03-20 Thread Vahid Hedayati
Ok.. I am now using mo_jk rather than mod_jk2 and sessions still keeps changing It is running on: Apache/2.0.55 (Debian) mod_jk/1.2.14 mod_chroot/0.5 mod_perl/2.0.2 Perl/v5.8.8 _ more /etc/apache2/mods-enabled/jk.load LoadModule jk_module

RE: tomcat examples

2006-03-20 Thread erha
Hi Chuck, And below is the error from the log file for my case. Anybody body know what is wrong ? java.lang.ClassFormatError: Extra bytes at the end of class file listeners/ContextListener As I stated before: that class file is bad. It appears to be one you created, not from the

Re: UTF-8 2019 (right single quote) incorrect display

2006-03-20 Thread Antonio Petrelli
John-Paul Delaney ha scritto: A little earlier I found out that they can only use Latin1 encoding, ... Sorry to contradict you, .properties files must use ASCII 7-bit (e.g. stressed characters must be \u). Anyway that was the other answer I had in mind ;-) Ciao Antonio

Re: UTF-8 2019 (right single quote) incorrect display

2006-03-20 Thread John-Paul Delaney
Scrive Antonio Petrelli [EMAIL PROTECTED]: John-Paul Delaney ha scritto: A little earlier I found out that they can only use Latin1 encoding, ... Sorry to contradict you, .properties files must use ASCII 7-bit (e.g. stressed characters must be \u). Anyway that was the other answer I

Re: How does Synchronized code interact with other applications

2006-03-20 Thread David Kerber
Leon Rosenberg wrote: On 3/20/06, David Kerber [EMAIL PROTECTED] wrote: I have a situation where my java-Tomcat application will be writing lines of data one at a time (but quickly and lots of them, eventually approx 2 million lines per day, though only about 500k right now) to a disk

Problems with UTF-8 and JSP

2006-03-20 Thread Nenad Bosanac
I have problem with UTF-8 character set. I use MySQL 5 and Tomcat 5.5.9.I use NetBeans for programinnig in Java. I made one database and is in UTF8,also all my JSP pages are set to UTF8 encoding,and also all HTML are set to UTF8. When i put š,#273;,#269;,#263;,ž character date in database

RE: Re: What, exactly, is meant by full path when construction web.xml entries

2006-03-20 Thread cknell
Thanks for the sanity check. That did what I expected, so to expand on this, if I were creating a real servlet whose source code opened like this: package com.kilonovember.Monkey; import javax.servlet.*; import javax.servlet.http.*; import java.io.*; public class Monkey extends HttpServlet{ ..

Re: What, exactly, is meant by full path when construction web.xml entries

2006-03-20 Thread David Smith
More like: package com.kilonovember ; // imports here public class Monkey extends HttpServlet{ // methods and programming } Note I didn't include the class name in the package name. This creates a class with the full name of com.kilonovember.Monkey. --David [EMAIL PROTECTED] wrote:

RE: Re: What, exactly, is meant by full path when construction web.xml entries

2006-03-20 Thread cknell
Thanks. Yes, of course on the matter of the package name. I think I've grasped the points I was struggling with. I have saved the spec to my local disk, and when I'm comfortable enough with the general concepts, I'll be able to read it and understand it. -- Charles Knell [EMAIL PROTECTED] -

Re: Tomcat 5.5.16 - Error configuring application listener of class listeners.ContextListener

2006-03-20 Thread Vamsidhar
Seems like lot of other people are having problems with getting examples working. I deployed one my own applications and it worked like a charm. Not sure about the examples. thanks. On 3/19/06, erha [EMAIL PROTECTED] wrote: I have the same problem here. Have you managed to solved your

Re: JNDI in embedded tomcat

2006-03-20 Thread Minilin-inbox
I'm sorry, I should have given the question more detailed. Generally, we config our JNDI data source in configuration file and put it into conf/catalina/localhost, when tomcat is starting up alone, the configuration is loaded by tomcat and then we can find our data source like that: Context

Questions on Clustering

2006-03-20 Thread Edoardo Causarano
Hello list, I have some questions on Tomcat 5.5.15 clustering. The apache httpd server connects to the cluster members with mod_jk. All the cluster members have the jvmRoute attribute set to the same value cluster as well as the same multicast group. Multicast routes are activated on the

Re: Questions on Clustering

2006-03-20 Thread Filip Hanik - Dev Lists
you have several problems: 1. jvmRoute should be a unique value on each tomcat, not the same across all. 2. you have used (tcpListenAddress=auto) - what this does, is look up your hostname, and then resolves that to an IP address. The problem on your computer is that your local hostname

Re: Questions on Clustering

2006-03-20 Thread Edoardo Causarano
Thanks Filip... e Alle 17:30, lunedì 20 marzo 2006, Filip Hanik - Dev Lists ha scritto: you have several problems: 1. jvmRoute should be a unique value on each tomcat, not the same across all. 2. you have used (tcpListenAddress=auto) - what this does, is look up your hostname, and then

Re: Tomcat 5.5.16 - Error configuring application listener of class listeners.ContextListener

2006-03-20 Thread Len Popp
The file ContextListener.class should be 2526 bytes in size (in both the jsp-examples and servlets-examples webapps). I can't test the problem in 5.5.16 as I'm still running 5.5.12. (It doesn't happen for me with 5.5.12 JDK 1.5.0_06-b05.) I did verify that the ContextListener.class files are

Re: [OT] How does Synchronized code interact with other applications

2006-03-20 Thread David Kerber
Caldarale, Charles R wrote: From: David Kerber [mailto:[EMAIL PROTECTED] Subject: Re: [OT] How does Synchronized code interact with other applications Ok. So if I were to port the Delphi app to java and run it as another thread in my app, I would be ok there... Not necessarily. You

Re: Tomcat 5.5.16 - Error configuring application listener of class listeners.ContextListener

2006-03-20 Thread Len Popp
Also, when I compared the ContextListener.class files I was working from the Windows zip downloads, not the .exe setups. (Charles C. has reported that the latter are corrupt.) -- Len On 3/20/06, Len Popp [EMAIL PROTECTED] wrote: The file ContextListener.class should be 2526 bytes in size (in

Re: UserDatabase with something else than a basic MemoryUserDatabase

2006-03-20 Thread Nic Daniau
I like short stories, thanks!!! Why they still bother to document it in 5.5is just I suppose the last attempt to get someone interested in developping the missing bits... not me however, I'll just declare my realm straight and move to other things! Thanks again, Nic On 20/03/06, Bill Barker

Helpppp: Tomcat displays Page slowly

2006-03-20 Thread Michael McQuade
Hi all. I have an application running on Tomcat v 5.0.28 , written in Java and running a MySql database. I have one screen that is built dynamically and accesses the database. The time for the program to perform all activities right up until displaying the page is under a

Re: Helpppp: Tomcat displays Page slowly

2006-03-20 Thread Filip Hanik - Dev Lists
google for a tutorial on how to use a profiler, then use the profiler, and whoops, you'll find your problem Filip Michael McQuade wrote: Hi all. I have an application running on Tomcat v 5.0.28 , written in Java and running a MySql database. I have one screen that is built

Setting up APR

2006-03-20 Thread Vanessa Campos
Hi, I'm trying to set up tomcat using APR. I have a verisign certificate and put on server.xml the following: Connector port=443 maxHttpHeaderSize=8192 maxThreads=150 minSpareThreads=25 maxSpareThreads=75 enableLookups=false disableUploadTimeout=true

tomcat stdout log questions

2006-03-20 Thread Dharmendra Patel
hello, i am using tomcat 5.5.15. my jsp appln posts code-generated messages to stdout log file. i have two questions. (1) how can i configure tomcat to stop my jsp from dumping messages altogether? (2) how can i configure tomcat to reduce my stdout file size? Thanks, Warm Regards Dharmendra

Re: Helpppp: Tomcat displays Page slowly

2006-03-20 Thread Michael McQuade
I basically get the 7 second response time everytime I request the page Nic - Original Message - From: Nic Daniau [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Monday, March 20, 2006 1:27 PM Subject: Re: Hel: Tomcat displays Page slowly do you get

Re: Helpppp: Tomcat displays Page slowly

2006-03-20 Thread Michael McQuade
Filip, what is a profiler? Is it a product to download, or is it something in Tomcat? - Original Message - From: Filip Hanik - Dev Lists [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Monday, March 20, 2006 1:28 PM Subject: Re: Hel: Tomcat displays Page

Re: Helpppp: Tomcat displays Page slowly

2006-03-20 Thread Filip Hanik - Dev Lists
a profiler is a product, it is a piece of software that you download to instrument how your applications are performing. There are two types of common profiling: 1. Memory - to optimize memory usage and find memory leaks 2. CPU - to optimize your code and find bottlenecks there are tons of

Re: SSL/CGI variables question

2006-03-20 Thread Mark Thomas
Stefan Zasada wrote: I'm trying to run a perl cgi script in a standalone tomcat container with ssl turned on. It is usually a good idea to mention your Tomcat version although in this case it doesn't change the answer. With the script running under apache, an environment variable

Re: tomcat examples

2006-03-20 Thread Konstantin L Kouptsov
Hi Chuck, And below is the error from the log file for my case. Anybody body know what is wrong ? java.lang.ClassFormatError: Extra bytes at the end of class file listeners/ContextListener As I stated before: that class file is bad. It appears to be one you created, not from the Tomcat

Re: running SSI on Tomcat 5.5.15

2006-03-20 Thread Mark Thomas
lee sachs wrote: the web.xml is as follows: !-- 3/8 - taking comments out here to enable SSI servlet, also changing virtual to 1 for relative, replace -- after /servlet to restore back comments; tried the virtualWebappRelative value as 0 and 1 - same result; Not sure if -- Servlet

Re: Setting up APR

2006-03-20 Thread Markus Schönhaber
Vanessa Campos wrote: I'm trying to set up tomcat using APR. I have a verisign certificate and put on server.xml the following: Connector port=443 maxHttpHeaderSize=8192 maxThreads=150 minSpareThreads=25 maxSpareThreads=75 enableLookups=false

Re: Problems with UTF-8 and JSP

2006-03-20 Thread Mark Thomas
Nenad Bosanac wrote: I have problem with UTF-8 character set. I use MySQL 5 and Tomcat 5.5.9.I use NetBeans for programinnig in Java. I made one database and is in UTF8,also all my JSP pages are set to UTF8 encoding,and also all HTML are set to UTF8. When i put š,#273;,#269;,#263;,ž

Configuring Tomcat to Use ssl-unclean-shutdown

2006-03-20 Thread Josh Colbeck
Hello, We're running Tomcat 4.1 in stand alone setup (no Apache) and we're running in to the problem with SSL and IE that causes users to get a Page not found error. A lot of the fixes I have found for this problem involve setting up Apache it use ssl-unclean-shutdown by adding BrowserMatch

RE: tomcat examples

2006-03-20 Thread erha
Thanks Chucks. Will try to download the zip then. Rudy -- View this message in context: http://www.nabble.com/tomcat-examples-t1307951.html#a3505817 Sent from the Tomcat - User forum at Nabble.com. - To unsubscribe, e-mail:

Re: programatic jaas authentication

2006-03-20 Thread Dave
I have the same problem to solve. I am using JSF also. In any page I allow user to type in username and password, after login, stay in the same page. Can anyone point a tutorial/doc ? Thanks! Jan Zach [EMAIL PROTECTED] wrote: Hi Everybody, I got working container JAAS authentication

How to deal with spaces in Tomcat 5.5?

2006-03-20 Thread Lahiff, Lorinda
Hi, I have a text file with spaces as part of the file name that needs to be read by Apache Tomcat 5.5. If I enter both of the below URL's in Tomcat 4.1, the text file shows up fine. However, the new version of Tomcat (Tomcat 5.5) can only handle URL1. In URL2, Tomcat 5.5 is unable to