Re: empty lines in HTML output

2005-09-11 Thread Eugeny N Dzhurinsky
On Sat, Sep 10, 2005 at 09:36:16PM +0200, Leon Rosenberg wrote: Check for trimSpaces parameter in to the jsp servlet in conf/web.xml But beware, combined with genStrAsCharArray option it can crash your tomcat (at least it does with mine, at 5.0.25) This seem to not work on 4.1.**? --

How to use ServletContext#log() in TC5.5?

2005-09-11 Thread Hiroshi Iwatani
From Tomcat 5.5 context conf entries, Logger entry has disappeared. How could we continue using servlet ServletContext#log() or JSP application.log() on the 5.5? In other words, what is the equivalent for Logger entry and the log file specified by it in TC 5.5? Thanks in advance. -- Hiroshi

Re: AJP connector maxthreads problem

2005-09-11 Thread Malcolm Warren
Thank you David and Wade for this information. I now have an idea what caused it. I have a fairly new programme that uses too many threads, and I can deal with it. However I would like to try the thread dump, but running kill -3 xxx or kill -QUIT xxx on the first Tomcat thread found after

Re: AJP connector maxthreads problem

2005-09-11 Thread Malcolm Warren
P.S. I've found the stack trace in catalina.out. I thought I could pipe it to a file, but never mind. Anyway thankyou for your help, I think I can get to the bottom of it all now. Wade Chandler wrote: --- David Wall [EMAIL PROTECTED] wrote: 1) We have only a moderately busy site with

Tomcat JNDI / JMX port

2005-09-11 Thread Gurumoorthy
Hi, What is i am trying to do: Connect 4.1.27 tomcat to JMX client MC4J in a differenct port What is the issue:The port which tomcat uses be default is 1099 How can you help:Can you please let me know how to change the

How to re-direct the default Tomcat home page

2005-09-11 Thread Ben Wong
Sorry, this is a newbie question. I am using Tomcat 5.0.x. on Linux. I'm having problems redirecting to my webapps home page from the default Tomcat home page ($CATALINA_HOME/webapps/ROOT/index.jsp). Here's mywebapp.xml file that I placed in the $CATALINA_HOME/conf/Catalina/localhost dir:

Re: How to re-direct the default Tomcat home page

2005-09-11 Thread Bruno Georges
Hi Ben Someone already reply to this question in the list very recently. In a nutshell, name your webapp ROOT and deploy it instead of the default ROOT one. However this is neither recommended or standard/good practice. Alternatively you could use apache with mod rewrite or create a servlet

My experience of how to avoid problems with log4j in webapps on TC 5.5.9

2005-09-11 Thread Paul ANDERSON
Hi all, I had the problem that I wanted to use log4j in a webapp (based on Spring Webflow), but I didn't want to change from the existing jdk1.4+JULI logging of the TC server to use log4j. When I put log4j and log4j.properties (but not commons logging) in the webapp, with a

Re: tomcat-user Digest 11 Sep 2005 15:29:19 -0000 Issue 5872

2005-09-11 Thread Terence M. Bandoian
Hi- You might investigate using the include directive: %@ include file=... % instead of the include action. -Terence M. Bandoian [EMAIL PROTECTED] wrote: Hi, i am using Jasper coming with tomcat 4.1.31 for precompilation of some jsps. It generates empty-element tags where generation

RE: Trying to connect tomcat5 with postgresql database

2005-09-11 Thread Mattier, Ricardo
I duplicated your configuration for the server.xml file, and I came up with the same error. -Original Message- From: Edoardo Panfili [mailto:[EMAIL PROTECTED] Sent: Saturday, September 10, 2005 7:49 AM To: Tomcat Users List Subject: Re: Trying to connect tomcat5 with postgresql database

RE: Trying to connect tomcat5 with postgresql database

2005-09-11 Thread Mattier, Ricardo
I'm using tomcat 5.5, and postgresql 8.0.1 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, September 09, 2005 9:08 PM To: Tomcat Users List Subject: Re: Trying to connect tomcat5 with postgresql database Sorry for the last post. Try this.

Re: empty lines in HTML output

2005-09-11 Thread Tim Funk
trimSpaces is a a feature of tomcat 5 -Tim Eugeny N Dzhurinsky wrote: On Sat, Sep 10, 2005 at 09:36:16PM +0200, Leon Rosenberg wrote: Check for trimSpaces parameter in to the jsp servlet in conf/web.xml But beware, combined with genStrAsCharArray option it can crash your tomcat (at least it

Re: Trying to connect tomcat5 with postgresql database

2005-09-11 Thread Edoardo Panfili
I miss a part of my web.xml === web-app resource-ref descriptionpostgreSQL Datasource/description res-ref-namejdbc/lisy/res-ref-name res-typejavax.sql.DataSource/res-type

Re: How to re-direct the default Tomcat home page

2005-09-11 Thread Mark Shifman
From the tomcat wiki.. How do I override the default home page loaded by Tomcat? http://wiki.apache.org/jakarta-tomcat/HowTo#head-e82228c43a0ce77f71ebe64fc99ced33c9506ffe Bruno Georges wrote: Hi Ben Someone already reply to this question in the list very recently. In a nutshell, name your

no luck with allowLinking=true

2005-09-11 Thread Maurice Yarrow
Hello tomcat-users I have simply had no success getting allowLinking=true. I have read simply dozens and dozens of links with a standard recipe for doing this, as well as the tomcat documentation, of course. Am running 5.0.28 (tried it in 5.0.30, as well, with same lack of success). I have

Re: My experience of how to avoid problems with log4j in webapps on TC 5.5.9

2005-09-11 Thread Dov Rosenberg
I ran into a problem on Jboss when I configured the root.logger. Jboss likes to suck in the System.out and .err, I was trying to log out my own errors separately. My logger stole away the System.out from Jboss. By not configuring the root.logger I avoided the problem HTH On 9/11/05 11:29 AM,

Re: Trying to connect tomcat5 with postgresql database

2005-09-11 Thread David Smith
Hi Rick -- Resource auth=Container description=PostgresSQL Connection Pool name=jdbc/postDB type=javax.sql.DataSource driverClassName=org.postgresql.Driver url=jdbc:postgresql://localhost:5432/test / Good, just make sure

Re: no luck with allowLinking=true

2005-09-11 Thread Darek Czarkowski
On Sun, 11 Sep 2005 16:55:38 -0700 Maurice Yarrow [EMAIL PROTECTED] wrote: Hello tomcat-users I have simply had no success getting allowLinking=true. I have read simply dozens and dozens of links with a standard recipe for doing this, as well as the tomcat documentation, of course. Am running

Re: Final questions: workers.properties

2005-09-11 Thread Bill Barker
David Thielen [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi; First off thanks to all for help - I think I'm just about done. Question: workers.properties.minimal (which works fine) only has: worker.list=ajp13w worker.ajp13w.type=ajp13 worker.ajp13w.host=localhost

Re: Final questions: Default pages

2005-09-11 Thread Bill Barker
David Thielen [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi; I have multiple domains on my website (IIS). I would like to do the following. When a user goes to http://www.windward.net/cart.jsp or http://www.windwardreports.com/cart.jsp that it then loads the jsp page in

Re: no luck with allowLinking=true

2005-09-11 Thread Maurice Yarrow
Darek Thanks for taking the time to look this over. I tried again, as you suggested. I did a search for any extraneous context fragment files that might conflict somehow: ls | while read dir;do echo = $dir; find $dir -name \*xml \ -exec grep -i 'context' {} \; ;

RE: Final questions: Default pages

2005-09-11 Thread david
Hello; I'm sorry but I don't understand your answer. Thanks - dave -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker Sent: Sunday, September 11, 2005 7:48 PM To: tomcat-user@jakarta.apache.org Subject: Re: Final questions: Default pages David Thielen