Re: tomcat exception handling

2005-09-23 Thread Alon Belman
you want to define an error page in your web.xml. try adding something like the following: 500 /yourErrorPage.html On 9/23/05, James Cowan <[EMAIL PROTECTED]> wrote: > > > thanks for the reply. > > I tried that but it does not seem to make any difference. > > what version of tomcat are you usin

Re: Security Questions Regarding Tomcat

2005-08-11 Thread Alon Belman
copied "share" to meb/robo laters! On 8/11/05, LFM <[EMAIL PROTECTED]> wrote: > Tim, > > Thanks for the reply, but I can't get in working: > > In conf/server.xml I added server="TEST", as shown: > > > port="8180" minProcessors="5" maxProcessors="75" > enableLookups="true" acceptCount="10" de

Re: tomcat 4.x classpath

2005-07-21 Thread Alon Belman
You almost certainly don't need to set it directly. Tomcat will build classpaths for its different class loaders itself following the rules explained here: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/class-loader-howto.html On 7/21/05, Bergthorson, Jason <[EMAIL PROTECTED]> wrote: > How do yo

Re: question about deployment (including executables in war)

2005-07-19 Thread Alon Belman
Murad, I'm not 100% sure what you're asking -- like what do you mean by "jar strips the execute file permissions from my programs"? -- but i'm assuming you cant do it. In fact, I will be more than a little alarmed if a packaged web app can include and run arbitrary executables unless specificall

Re: Connection pool exhausted

2005-07-19 Thread Alon Belman
If you arent closing connections, then exhausting the connection pool is the expected, eventual result. Read the document at http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html, paying special attention to the "example of properly written code [using] a db connectio

Re: Tomcat5.0 Database Connection Pooling Configuration

2005-07-14 Thread Alon Belman
you can define resources for all of a host's contexts by using a GlobalNamingResources element see here for more info: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/globalresources.html On 7/13/05, Foo Shyn <[EMAIL PROTECTED]> wrote: > Hi there, > > Have a question on dbcp settings. I'd

Re: Tomcat Book

2005-07-12 Thread Alon Belman
oreilly's tomcat the definitive guide is a little old now, but still useful, and the next edition is due out soon additionally, one of its authors hangs out in irc.freenode.net's #tomcat channel and is very good about answering direct questions. On 7/12/05, Adi Gati <[EMAIL PROTECTED]> wrote: > H