Hanging on startup?

2012-03-12 Thread Dan Armbrust
Ok, I must be doing something silly... I've deployed tomcat hundreds of times, and never had something like this happen. Just needed to test something simple on a new system. Grabbed tomcat 7.0.26, unzipped it. Configured it to run with my local java: java version 1.6.0_30 Java(TM) SE

Re: Hanging on startup?

2012-03-12 Thread Dan Armbrust
On Mon, Mar 12, 2012 at 2:34 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Dan Armbrust [mailto:daniel.armbrust.l...@gmail.com] Subject: Hanging on startup? Startup, and it hangs on app deploy: Waiting for entropy to build up?  Take a few thread dumps with jstack to see

Re: Hanging on startup?

2012-03-12 Thread Dan Armbrust
Yep. JAVA_OPTS=-Djava.security.egd=file:/dev/./urandom prevents the hang. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org

How to handle the AWT-Windows thread?

2011-08-18 Thread Dan Armbrust
So, yesterday, I finally start working on upgrading on old application set to a current 6 release of Tomcat. (Sigh, behind the truck already, seeing the announcement of the next version today bad timing by me... beside the point) Some of my web applications are using JFreeChart to generate

Re: How to handle the AWT-Windows thread?

2011-08-18 Thread Dan Armbrust
(If I can't figure out how to fix all my issues)  I can't ship code to the customers that logs SEVERE errors on shutdown. All the leaks should be fixable / possible to workaround. Mark If I could update all of my dependencies... I'm guessing many would just go away. Unfortunately, I'm

Re: How to handle the AWT-Windows thread?

2011-08-18 Thread Dan Armbrust
On Thu, Aug 18, 2011 at 2:13 PM, Christopher Schultz ch...@christopherschultz.net wrote: The JVM should not launch more than one AWT thread, so you should be okay. The only issue would be whether or not it inherits the webapp's context ClassLoader which would really represent a memory leak if

Re: unusual IllegalStateException

2010-05-28 Thread Dan Armbrust
Thanks for the thoughts... few things inline 2. Does your unexpectedError.jsp use sessions? Does it have %...@page session=false%? No, I don't think so. I'll have to check into this. 3. If the response was already partially sent to the client and you receive an unexpected error

unusual IllegalStateException

2010-05-27 Thread Dan Armbrust
I have a webapp running in Tomcat 6.0.20. One of my testers caused this to appear in the logs: May 11, 2010 2:23:14 PM org.apache.jasper.runtime.JspFactoryImpl internalGetPageContext SEVERE: Exception initializing page context java.lang.IllegalStateException: Cannot create a session after the

Re: Why does errorPage work but WEB-INF/web.xml error-page does not?

2010-05-27 Thread Dan Armbrust
On Wed, May 26, 2010 at 12:26 PM, laredotornado laredotorn...@gmail.com wrote: I tried your suggestion, and sadly it didn't work. What is the difference between what the errorPage directive does and what the web.xml error-page clause does?  - Dave I don't think this is directly related, but

Re: Why does errorPage work but WEB-INF/web.xml error-page does not?

2010-05-27 Thread Dan Armbrust
On Thu, May 27, 2010 at 12:54 PM, laredotornado laredotorn...@gmail.com wrote: You mean for me to put this at the top of my error page (500.jsp), correct? If so, I tried that, but still got the partially rendered page outlined in the Tomcat bug mentioned earlier. There is no way around

Re: tomcat 6 (windows 7- 64 bits) doesn't start

2010-05-13 Thread Dan Armbrust
On Fri, May 7, 2010 at 9:01 AM, Karthick Ragunath karthick.ragun...@live.com wrote: Some other applications using Java requires 32bit always. (Eclipse requires 32 bit JVM which otherwise would result in JVM termination error during Eclipse startup). That's not true either. Once again, you

Re: Portable

2010-03-22 Thread Dan Armbrust
and  what specific files do i need to reconfigure withe the new port address say, 8088? conf/server.xml Don't forget to change these other ports (in the same file) as well to something non-default: port=8005 port=8009 port=8443

Re: [OT] Re: jvm exits without trace

2010-03-22 Thread Dan Armbrust
On Tue, Mar 16, 2010 at 4:46 PM, Carl c...@etrak-plus.com wrote: My approach is to get something (a JVM) that works and then gradually change until it breaks.  Then, I know what is causing the problem.  To date, I haven't been able to get a JVM that works. I have had a lot of issues finding

Re: Tomcat dies suddenly

2010-02-04 Thread Dan Armbrust
1.  I had always used top to see memory used until I saw the system monitor tools in Slackware.  Had not compared the two.  At this moment, the system monitor is reporting .96GB of memory used while top and vmstat are reporting 3.6GB... quite a difference.  From now on, top/vmstat it is.  

Re: Tomcat dies suddenly

2010-02-03 Thread Dan Armbrust
Since the failures occurred before the print options were used, I guess that rules out any possibility of the OS getting upset at the JVM calling for timing information.  Back to square one, where the most likely culprit is still the Linux OOM killer.  - Chuck Have you checked:

Re: How to do error page forwarding...

2010-02-02 Thread Dan Armbrust
1) - Is Tomcats handling of an error page defined in web.xml broken when a response has already been committed? Inconsistent? Yes. Broken? Maybe. 2) - Is there anything I can do to force the browser to a proper error page after a response has been committed? No. Adding the error page to

Re: Tomcat dies suddenly

2010-02-02 Thread Dan Armbrust
Carl, Maybe I missed it, but you still haven't clarified what you mean by tomcat stops. Does Tomcat do an orderly shutdown? Does Tomcat appear to freeze (stop answering new requests) Does the JVM hosting Tomcat crash? Assuming you have a JVM crash issue here... you should try other JVMs (32

Re: Tomcat 100% CPU usage after moving from Java 5 to 6

2010-02-02 Thread Dan Armbrust
Well, as I said, Tomcat is working much more stable now than it did before. However, once in a few days it still becomes unresponsive, while CPU usage stays incredibly low. Unresponsive, meaning what, exactly? If the CPU is idle, but your webapp isn't returning a response... it seems to

Re: tomcat memory usage

2010-02-02 Thread Dan Armbrust
FYI - look out for this WRT MaxNewSize and NewRatio: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6862534 - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail:

Re: tomcat memory usage

2010-02-02 Thread Dan Armbrust
Nope, but I'm not an expert with these (at all). I use something pretty similar, the only real difference is that I haven't turned on the CMSIncrementalMode. My apps haven't shown an issue with long pause times, so I haven't researched/tested it yet. Dan On Tue, Feb 2, 2010 at 1:55 PM, Carl

Re: Problem on Tomcat 6.0.20

2010-02-02 Thread Dan Armbrust
On Tue, Feb 2, 2010 at 3:23 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Richard Sickler [mailto:richard.sick...@avagotech.com] Subject: Re: Problem on Tomcat 6.0.20 I removed a file and a directory named WebApplication2, and that cleared up that problem.  On to the next

How to do error page forwarding...

2010-02-01 Thread Dan Armbrust
After content has been committed? Is there a proper way to write an error page, so that it will work even when the response has already been committed? There seems to be a bug or inconsistency in how tomcat handles the error page. In Tomcat 6.0.20, if I define my error page like this in

Minor Doc Bug on website

2009-12-11 Thread Dan Armbrust
On the page: http://tomcat.apache.org/tomcat-6.0-doc/jasper-howto.html It talks about: genStringAsCharArray - Should text strings be generated as char arrays, to improve performance in some cases? Default false. In the web.xml of Tomcat 6.0.20, the parameter name is: genStrAsCharArray Should

How to cancel a servlet startup?

2009-11-12 Thread Dan Armbrust
If I have a servlet which fails during init() for whatever reason - the example below takes a null pointer public class MyServlet extends HttpServlet { private static final long serialVersionUID = 7997991143724219371L; @Override public void destroy() {

Re: How to cancel a servlet startup?

2009-11-12 Thread Dan Armbrust
simply add instrumentation to the system to detect that this servlet didn't do its thing, and route every request to a holding page. Joe -Original Message- From: Dan Armbrust [mailto:daniel.armbrust.l...@gmail.com] Sent: Thursday, November 12, 2009 10:48 AM To: Tomcat Users List

Re: How to cancel a servlet startup?

2009-11-12 Thread Dan Armbrust
Thanks for all the tips. I'll have to put something together with a filter. Just wanted to make sure there wasn't an easier way that I was missing. Dan - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For

Re: tomcat shutdown problem

2009-04-27 Thread Dan Armbrust
Did you write your application? there are team of 200 Engineers wrote that application so i dont know where the problem is One (or more) of them made a mistake, and has left a non-daemon thread running. You need to find out what thread is running. One way to do this is to get a thread dump.

Re: Scheduling tasks in Tomcat

2009-04-27 Thread Dan Armbrust
The simplest way to do this is to learn the Timer API: http://java.sun.com/j2se/1.4.2/docs/api/java/util/Timer.html Then put your timer code into a new servlet that you add to your webapp. Or add your code to an existing servlet in your webapp. There are plenty of other open source scheduling

Re: Avoiding username/password being logged into localhost access logs

2009-04-23 Thread Dan Armbrust
Sounds like a good enhancement request to me. It's certainly reasonable that one should be able to ask Tomcat to never ever log a password in clear text. In fact, it seems like that should be the default setting. I imagine there are all sorts of places that (rightfully) have policies against

Re: JVM crash issue

2009-04-23 Thread Dan Armbrust
JVM crashes seem to be a common issue lately. We tried to move our main apps from JRE 1.5 to 1.6 about 6 months ago, and had to give up and revert because we couldn't find any 1.6 or early 1.7 JVM's that were stable. They all had random crashes on hardware that runs the same software perfectly

Re: Avoiding username/password being logged into localhost access logs

2009-04-23 Thread Dan Armbrust
How is Tomcat meant to determine that data in the URL is a password and needs to be filtered? I imagine there are all sorts of places that (rightfully) have policies against storing a clear text password anywhere. The only reason you are seeing the password in the access logs appears to

Re: JVM crash issue

2009-04-23 Thread Dan Armbrust
On Thu, Apr 23, 2009 at 3:59 PM, Anthony J. Biacco abia...@formatdynamics.com wrote: This is a little OT, but I'm interested to see if oracle decides to merge their BEA acquisition jrockit product with sun's JDK or just picks one of them to represent. Hopefully they at least merge together the

Re: Tomcat 6 and Windows 2003 -Xmx1024 Problem

2009-04-17 Thread Dan Armbrust
Something else on your OS is using more RAM that it was previously. The JVM will only start if it can reserve a contiguous block of RAM as large as you request. I'd be rather surprised if you needed to go all the way down to 512 before it would start, however. See what else is using memory on

Re: Tomcat installation problem

2009-04-17 Thread Dan Armbrust
Your stack trace seems to show several things that are not fine with your application. First, you appear to have a DB issue: Exception while establishing connection com/iris/util/dbConnectionOracle.java == ORA-00020: maximum number of processes (400) exceeded And possibly related to your DB

Re: How to debug Error: listenerStart?

2009-04-06 Thread Dan Armbrust
On Sat, Apr 4, 2009 at 9:08 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: I think I figured out what's going on.  Tomcat 5.5 uses an unmodified LogFactory from commons-logging, which pokes around for logging mechanisms - and finds your log4j.jar inside your webapp.  Tomcat 6.0,

Re: And even further into the black magic of logging configuration within tomcat...

2009-04-06 Thread Dan Armbrust
If you deploy more than one webapp, log4j doesn't attempt to self-configure in the second or any subsequent webapps. Just to close out this thread - no big surprise here - I found the bug in a library that I was deploying in one of my webapps that caused this behaviour. Some code was

Re: How to debug Error: listenerStart?

2009-04-04 Thread Dan Armbrust
On Fri, Apr 3, 2009 at 8:32 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Caldarale, Charles R Subject: RE: How to debug Error: listenerStart? To close out this thread Or maybe not. I've reopened bug https://issues.apache.org/bugzilla/show_bug.cgi?id=34110 and attached

Re: And even further into the black magic of logging configuration within tomcat...

2009-04-03 Thread Dan Armbrust
On Thu, Apr 2, 2009 at 9:55 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Dan Armbrust [mailto:daniel.armbrust.l...@gmail.com] Subject: And even further into the black magic of logging configuration within tomcat... So, why didn't log4j try to find the log4j.properties

Re: How to debug Error: listenerStart?

2009-04-03 Thread Dan Armbrust
To close out this thread, I've reopened bug https://issues.apache.org/bugzilla/show_bug.cgi?id=34110 and attached a war file which demonstrates the problem. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For

Re: How to debug Error: listenerStart?

2009-04-02 Thread Dan Armbrust
On Wed, Apr 1, 2009 at 5:02 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Dan Armbrust [mailto:daniel.armbrust.l...@gmail.com] Subject: Re: How to debug Error: listenerStart? Why doesn't tomcat log a stack trace It does, in the log associated with the Host of interest

Re: How to debug Error: listenerStart?

2009-04-02 Thread Dan Armbrust
Any idea what I should check, to figure out why I don't have a Host log file? Correction. I have a Host log file - but it is always blank. Size 0. I tried the starting it up with a missing filter, and a missing listener, and neither case gives me anything in the Host log file. I haven't

Re: How to debug Error: listenerStart?

2009-04-02 Thread Dan Armbrust
Here is the non-commented out bits of my server.xml: ?xml version=1.0 encoding=UTF-8? Server port=8005 shutdown=SHUTDOWN !--Listener className=org.apache.catalina.core.AprLifecycleListener /-- Listener className=org.apache.catalina.mbeans.ServerLifecycleListener / Listener

Re: How to debug Error: listenerStart?

2009-04-02 Thread Dan Armbrust
log4j:WARN No appenders could be found for logger (org.apache.catalina.startup.TldConfig). log4j:WARN Please initialize the log4j system properly. This indicates that you /have/ made changes to Tomcat's default logging configuration. Tomcat doesn't use log4j by default. Do you have

Re: How to debug Error: listenerStart?

2009-04-02 Thread Dan Armbrust
Yup, although Chuck's example is a missing filter, not a missing listener. The OP's original problem *was* a missing filter: http://marc.info/?l=tomcat-userm=123862274508212w=2 I trust error messages more than I trust posters' assertions: SEVERE: Error listenerStart That's definitely a

Re: How to debug Error: listenerStart?

2009-04-02 Thread Dan Armbrust
What are you using on the command line to start Tomcat?  In particular, what is the value of the following system properties? java.util.logging.manager java.util.logging.config.file The default values are org.apache.juli.ClassLoaderLogManager and ${catalina.base}/conf/logging.properties,

Re: How to debug Error: listenerStart?

2009-04-02 Thread Dan Armbrust
I got a brand new copy of tomcat 5.5.25, and tested it. Some of the provided apps, such as balancer - create entries in the localhost log file. I used kdiff to compare the entire tomcat folder hierarchy to my tomcat distribution, and I can't find any significant difference that could cause my

Re: How to debug Error: listenerStart?

2009-04-02 Thread Dan Armbrust
On Thu, Apr 2, 2009 at 1:00 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Dan Armbrust [mailto:daniel.armbrust.l...@gmail.com] Subject: Re: How to debug Error: listenerStart? There is obviously some interaction going on between my webapp and tomcat's logging system that I

Re: How to debug Error: listenerStart?

2009-04-02 Thread Dan Armbrust
What would I need to do to make log4j within my webapp have a temporary configuration which would log to the console until the point when my webapp executes it's dynamic configuration? Create a log4j.xml or log4j.properties file in WEB-INF/classes. Bingo. That makes my log4j warnings go

And even further into the black magic of logging configuration within tomcat...

2009-04-02 Thread Dan Armbrust
So, after my long thread to figure out the missing stack traces from a bad listener configuration, I _thought_ I knew what I needed to correct. It seemed that Tomcat was trying to use log4j shipped with my webapp, before my webapp had configured log4j. Supplying a log4.properties file in the

How to debug Error: listenerStart?

2009-04-01 Thread Dan Armbrust
I have a filter somewhere in a webapp that has gotten broken through my own packaging process, likely due to a missing class. But I can't figure out how to make tomcat actually tell me what the problem is. All that I get is the dreaded, nearly useless SEVERE: Error listenerStart on the

Re: How to debug Error: listenerStart?

2009-04-01 Thread Dan Armbrust
Ok, I've finally tracked down my specific problem. When a filter is declared in the web.xml file: filter filter-namerequestCounter/filter-name filter-classcom.foo.bar.FancyFilter/filter-class /filter And the class com.foo.bar.FancyFilter is missing from the war file that you

read variables from server.xml / runtime info of Connector thread pool status?

2009-03-30 Thread Dan Armbrust
Is there a way to get the values of variables from the server.xml file from a webapp running within tomcat? Specifically, my webapp would like to know what the current value of the Connector acceptCount. Even more specifically, my webapp is serving pages, and answering SOAP requests. I need to

Re: Best Linux JVM to use for Tomcat?

2008-11-12 Thread Dan Armbrust
Well, I don't know about always. I have yet to find a 1.6 JDK from Sun that is even close to stable. With heavy use (especially heavy multithreaded use), we have found that all of the available 1.6 JDK's segfault. The latest JDK (1.6 update 10) is less than a month old - and it is a huge change

Re: Tomcat not using multiple cores

2008-10-17 Thread Dan Armbrust
My guesses: Your application has bad sync locking between some threads, which is causing one thread to block the others. Your application has bad database access code, which allows one thread to block others while waiting on the DB. Your application is disk bound, and the single long process is

Re: Restart TC with cron/sh

2008-07-16 Thread Dan Armbrust
On Mon, Jul 7, 2008 at 8:43 AM, Piller Sébastien [EMAIL PROTECTED] wrote: Hello, I have my application in production for a month now. I've some problem of memory leak that force me to restart TC each few days. Or, you know, you could fix the actual problem - the memory leak. Go get yourself

Re: Does tomcat support multicores

2008-02-28 Thread Dan Armbrust
What kind of work is Tomcat doing for each request that WAPT sends in? For example, if you were doing something that had to go back to a database, and you had a bad sync block in your code somewhere, or didn't have enough connections in your DB pool, that could cause it to behave like it is

Re: Is there a Connection Pool/Data Source Monitor Tool

2008-02-25 Thread Dan Armbrust
To answer my own question, it looks like jfreechart. http://sourceforge.net/projects/jfreechart On Mon, Feb 25, 2008 at 8:50 AM, Dan Armbrust [EMAIL PROTECTED] wrote: Does anyone happen to know what package Lamda Probe uses to create its graphs? They look really nice. I would search

Re: naming-factory-dbcp.jar nonsense

2008-02-15 Thread Dan Armbrust
If there are any other legitimate reasons - such as - you needed to fix some bugs in the code that weren't being addressed in dbcp, then you should just put the code in your source control system. If this was the problem, the right way to fix it would be to go and help out DBCP and

naming-factory-dbcp.jar nonsense

2008-02-14 Thread Dan Armbrust
So, I have an issue with tomcat's database connection pool. Namely, my connections keep getting closed, instead of reused. I figured that the easiest way to figure out what was going wrong was to put this in my debugger, so I could follow the close() call which should release the db connection

Re: naming-factory-dbcp.jar nonsense

2008-02-14 Thread Dan Armbrust
Did it occur to you that no-one would go to all this trouble unless there was a good reason for the re-factoring? Apparently not. If your tone had been more reasonable I would have taken the time to explain the reasoning. Since it wasn't - STFW. It was a sarcastic rant, because I was

Re: misconfigured log4j issue

2008-02-04 Thread Dan Armbrust
Allright, the deeper I dig, the more confused I get. I think there is a bug here, bug I still can't pinpoint how it happens. Let's say I'm deploying 2 web applications - both use struts, and therefor have dependencies on commons-digester. App A starts up. A includes a log4j jar file. As A

Re: misconfigured log4j issue

2008-01-28 Thread Dan Armbrust
On Jan 25, 2008 9:28 PM, Konstantin Kolinko [EMAIL PROTECTED] wrote: What exactly tomcat, log4j versions are you using? Tomcat 5.5.23 Log4j 1.2.15 Do those warnings affect the rest of your application? No, but my customers notice them and file issues Is you configuration read and is

misconfigured log4j issue

2008-01-25 Thread Dan Armbrust
This seems to be a fairly common problem, but doesn't appear to have a common solution. Any help appriciated... When I launch a webapp, which includes log4j, I get the following warning: log4j:WARN No appenders could be found for logger (org.apache.commons.digester.Digester.sax). log4j:WARN

directory listings per webapp

2007-12-14 Thread Dan Armbrust
I want to create a webapp that just lists the content of a directory - but I don't want to turn on directory listing globally. I've seen lots of people say it can be done, just do but I've yet to find a working example. Can someone tell me what I'm missing here? I have a file:

Re: directory listings per webapp

2007-12-14 Thread Dan Armbrust
There is a typo in the below. This tomcat/server/webapps/billing/WEB-INF/web.xml Should have been tomcat/server/webapps/foo/WEB-INF/web.xml So thats not the problem. Dan On Dec 14, 2007 3:10 PM, Dan Armbrust [EMAIL PROTECTED] wrote: I want to create a webapp that just lists the content

Re: Tomcat is unable to startup in Windows 2003 Server

2007-12-14 Thread Dan Armbrust
Looks like you have an invalid / missing server.xml file. Dan On Dec 12, 2007 3:35 AM, marsulein [EMAIL PROTECTED] wrote: System configuration is as follow: OS : Windows 2003 Server Tomcat: 4.1.36 JSDK: 1.4.2.13 Attached are the error logs generated by tomcat.

Re: directory listings per webapp

2007-12-14 Thread Dan Armbrust
[EMAIL PROTECTED] wrote: From: Dan Armbrust [mailto:[EMAIL PROTECTED] Subject: directory listings per webapp Context path=/foo docBase=/dir/foo debug=0 privileged=false /Context Broken record: take out the path attribute; it's not allowed (but it's not this problem). servlet-mapping

Re: directory listings per webapp

2007-12-14 Thread Dan Armbrust
Probably not. You specified a docBase of /dir/foo for the foo webapp, but appear to have been editing webapps/foo/WEB-INF/web.xml, which is not where you've told Tomcat the app is deployed. It's extremely bad practice to have a directory under the Host appBase that's the same as one for an

Re: directory listings per webapp

2007-12-14 Thread Dan Armbrust
On Dec 14, 2007 4:17 PM, Caldarale, Charles R [EMAIL PROTECTED] wrote: From: Dan Armbrust [mailto:[EMAIL PROTECTED] Subject: Re: directory listings per webapp Thanks a lot. I'll see if I can get access to http://wiki.apache.org/tomcat/FAQ/Miscellaneous and update the answer

Re: Service on Windows Server 2003

2007-10-26 Thread Dan Armbrust
Finally - I understand most of what is wrong! I finally got access to the system again, and after pulling off the debug log from the service launcher, things became clear. It turns out that on this system, the command that was actually being run to register the service was:

Re: Service on Windows Server 2003

2007-10-25 Thread Dan Armbrust
I am using this version of java: C:\NetProvision\jre\binjava -version java version 1.5.0_07 Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03) Java HotSpot(TM) Client VM (build 1.5.0_07-b03, mixed mode) The jvm.dll version that I am using reports File version: 5.0.70.3 Full

Re: Service on Windows Server 2003

2007-10-25 Thread Dan Armbrust
jvm.cfg contains the following: -client KNOWN -server KNOWN -hotspot ALIASED_TO -client -classic WARN -native ERROR -green ERROR I don't think that there is a JAVA_OPTS variable set, but I will verify that on the problem machine. Thanks, Dan On 10/26/00, [EMAIL PROTECTED] [EMAIL PROTECTED]

Service on Windows Server 2003

2007-10-24 Thread Dan Armbrust
I have a difficult but severe problem with the tomcat service launcher on windows server 2003. Our application installs itself, tomcat, and a jvm, and then runs a bat file which registers the tomcat server, using our provided jvm. I _know_ this code works fine almost everywhere - it has been in

Re: Issue with psql driver

2007-09-05 Thread Dan Armbrust
Pease add a ex.printStackTrace() call to your exception catch block, and then post the results. That will give more information as to what went wrong. You may need to take this question to the postgres mailing lists. Dan On 9/5/07, Chris Baty [EMAIL PROTECTED] wrote: I'm not sure. The code

Re: Does anyone have an approach to checking if Tomcat instance is UP?

2007-08-20 Thread Dan Armbrust
A simple cron job that points to a URL using lynx, and greps the output for what it should see will do the trick... Dan On 8/20/07, Kim Albee [EMAIL PROTECTED] wrote: Hello -- We have a load balanced situation, and we have a JSP that runs and checks our application to ensure it's up and

Re: NoSuchMethod shutdown error

2007-08-16 Thread Dan Armbrust
That was the next thing I looked into after I solved this bug. I fixed it by commenting out the Listener className=org.apache.catalina.core.AprLifecycleListener / line in the server.xml file. My take on the native APR stuff (which is likely completely wrong since it consists of what I learned in

NoSuchMethod shutdown error

2007-08-14 Thread Dan Armbrust
I just upgraded from 5.5.9 to 5.5.23, and now, when I shut down tomcat, I get these errors. Any idea whats going on? Looks like I have an out of date jar file on the classpath - but as far as I know, these are tomcat only jar files... Thanks INFO: Server startup in 8284 ms Aug 14, 2007

Re: NoSuchMethod shutdown error

2007-08-14 Thread Dan Armbrust
When I was upgrading tomcat, I had a jar file hang around in source control that shouldn't have been there. I had both commons-modeler.jar and commons-modeler-2.0.jar in my server lib folder. All better now, Thanks, Dan On 8/14/07, Martin Gainty [EMAIL PROTECTED] wrote: Dan- did you check