Re: Keeping tomcat up-to-date on linux

2010-05-20 Thread Harry Metske
I agree with Hassan, our reasons to use the tar.gz install method : * in most serious Tomcat environments you need more control over the installation and configuration than the distro managed version offers. * most distro's (especially RHEL) are lagging behind, so you don't get the latest stuff

Re: Classpath for JSP

2010-04-26 Thread Harry Metske
Reuven, you say the error is it is not found by the compiler used by Tomcat6, but that is not clear from the JSP compiler output. It says The constructor DB_Connection() is undefined, so Kris's suggestion is right. You could split the statement in a declaration and an assignment to prove it:

Re: Multiple catalina bases and monitoring each instance

2010-04-23 Thread Harry Metske
It depends on what you mean with monitor. We use nagios (http://www.nagios.org) to monitor multiple Tomcat instances. You can do a plain check for an open socket, or call Tomcat's jmx proxy over http(s) to query Tomcat's mbeans. regards, Harry 2010/4/23 Ziggy zigg...@gmail.com Hi guys, Is

Re: Universal connection pooling Type Casting problem

2010-04-19 Thread Harry Metske
2010/4/19 SivaKumarl sivakum...@naradaproducts.com Hi Friends, I am using universal connection pooling for connecting database , while configuring manually i able to connect to database,but while configuring in server.xml i am unable to cast the datasource i am getting the class

Re: Oracle Universal connection pooling type cast problem while configuring in server.xml

2010-04-19 Thread Harry Metske
this is an exact cut/paste from an earlier post, it won't help you repeating the same questions. regards, Harry 2010/4/19 Thangavelu.V thangavel...@yalamanchili.co.in Hi Friends, I am using universal connection pooling for connecting database , while configuring manually i able to

Re: memory problems / time outs

2010-04-19 Thread Harry Metske
2010/4/19 Woude, Alexander van der alexander.vander.wo...@capgemini.com Sorry a small correction. The client times out, because the tomcat gives a Heap Space memory error. config in startup.sh : export JAVA_OPTS=-Xms128m -Xmx512m export CATALINA_OPTS=-Xms512m -XX:MaxPermSize=512m My apps

Re: memory problems / time outs

2010-04-19 Thread Harry Metske
but I was wrong? Thanks Alex Van: Harry Metske [harry.met...@gmail.com] Verzonden: maandag 19 april 2010 14:16 Aan: Tomcat Users List Onderwerp: Re: memory problems / time outs 2010/4/19 Woude, Alexander van der alexander.vander.wo...@capgemini.com

Re: common/endorsed - Tomcat 6.0

2010-04-18 Thread Harry Metske
2010/4/18 Christoph Kukulies k...@kukulies.org Harry Metske schrieb: 2010/4/18 Christoph Kukulies k...@kukulies.org I'm experimenting with a wsdl enabled service deplyed to tomcat. The build.xml file has this section in it: condition property=lib.home value=${catalina.home}/shared

Re: loading properties file from WEB-INF instead of WEB-INF/classes

2010-04-18 Thread Harry Metske
2010/4/17 Thufir hawat.thu...@gmail.com getPropsFromWebINF works so long as the properties file is within the package of the class (/. However, I'd like to put the properties file under WEB-INF: public void getPropsFromWebINF() throws IOException { Properties p = new

Re: Tomcat Shutdown suddenly / random

2010-04-16 Thread Harry Metske
Peter, could it be that something is sending your tomcat process a TERM signal, logfiles in /var/log might tell something ? or one of your applications issues a System.exit() under certain circumstances ? regards, Harry 2010/4/16 Peter Borkowski apocalyps...@gmx.de Hi folks, we are facing a

Re: Tomcat on AIX 5.3

2010-04-14 Thread Harry Metske
Janos, there are no clues that the delays are caused by tomcat, so maybe you should look in general at other causes of delays. There are a multiple components in the chain that can cause delays, networking, IO, CPU. You did not mention how much CPU you have at your disposal on your P6 machine,

Re: Tomcat startup error

2010-04-09 Thread Harry Metske
Amit, you should post the full stacktrace, but it looks like your embedding package was compiled against an older version of Tomcat than the one you are running. The method signature of org.apache.tomcat.util.IntrospectionUtils.setProperty has changed (return type void = boolean) in revision

Re: Tomcat startup error

2010-04-09 Thread Harry Metske
) at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:292) at java.lang.Thread.run(Thread.java:619) On Fri, Apr 9, 2010 at 11:09 PM, Harry Metske harry.met...@gmail.com wrote: Amit, you should post the full stacktrace, but it looks like your embedding package was compiled against an older version of Tomcat

Re: Fwd: How to install tomcat 6.0.X in IBM P series box running with RHEL 5

2010-03-30 Thread Harry Metske
Chuck, a bit off-topic, but since we might have to choose the next few months which JVM to use on Intel/Linux, I am interested in why you think the OpenJDK is pretty awful ? regards, Harry 2010/3/30 Caldarale, Charles R chuck.caldar...@unisys.com From: André Warnier [mailto:a...@ice-sa.com]

Re: BASIC Authentication : Not working

2010-03-28 Thread Harry Metske
I would think your url-pattern is not valid : url-pattern/*corejspbean*/StringBean.jsp/url-pattern I don't know the exact rules for the pattern, but could you try first with /* and see if that works, and then tweak the url-pattern further to your needs ? regards, Harry 2010/3/28 Binu

Re: access to localhost:8080 fails

2010-03-28 Thread Harry Metske
I have seen similar issues on our corporate (XP and Vista) laptops, somebody decided that the locally running firewall should also block access to localhost. I think you should first verify if that's the case. I'm not a Windows expert, so I don't know how to check if the above is the case. If you