Re: Java stack trace, unable to connect to the database

2015-07-14 Thread Philip Wigg
The last error is FATAL Database is starting up. A quick Google search for FATAL Database is starting up seems to suggest that is an error message coming from PostgreSQL and not from Tomcat itself. Hope that helps. Phil. - To

Re: mod_jk question about socket_timeout

2010-04-16 Thread Philip Wigg
Recent versions of mod_jk allow a very fine-grained response timeout configuration, so that you can e.g. set a general response timeout to 20 seconds and a longer timeout like 60 seconds for special URLs you expect to take longer like report generation. The cases where you would need short

mod_jk question about socket_timeout

2010-04-15 Thread Philip Wigg
Hi, I'm using mod_jk 2.2.27 to connect via AJP to a JBoss backend. The problem is that a reporting application takes a couple of minutes to run a report but mod_jk seems to be closing the connection to the back-end and the user receives a 502 Bad Gateway error. 10 seconds after the request is

Re: which version (5.5.28 vs. 6.0.26)

2010-03-19 Thread Philip Wigg
On 19 March 2010 09:12, Daniel Plappert plapp...@denkformat.de wrote: I am not sure which version to use. As a developer I want to use the new version 6.0.26, but unfortunately it's not part of the debian packaging management system. They only support the 5.5.28 version with the remark, that

Re: How to setup Tomcat Cluster - Help needed

2010-03-12 Thread Philip Wigg
On 12 March 2010 09:29, Josef Pullicino josef.pullic...@go.com.mt wrote: Dear All, I would like to setup a tomcat cluster with 2 nodes. The configuration must be in a horizontal alignment, meaning that the two nodes are going to reside on two different machines. Any idea of how to set it up

Re: can not start tomcat and the jre_home var error

2010-03-04 Thread Philip Wigg
On 4 March 2010 14:13, maven apache apachemav...@gmail.com wrote: 2010/3/4 Markus Schönhaber tomcat-us...@list-post.mks-mail.de 04.03.2010 15:01, maven apache: 2010/3/4 Caldarale, Charles R chuck.caldar...@unisys.com From: maven apache [mailto:apachemav...@gmail.com] Subject: Re: can

Re: VSphere4 and tomcat 6.0

2010-02-17 Thread Philip Wigg
On 17 February 2010 15:07, Jon Brisbin jon.bris...@npcinternational.com wrote: We're running a dozen tcServer instances (Tomcat 6.0) on a VMware ESXi cloud infrastructure. We haven't put vSphere in yet, but we're planning to. The only thing I can say here is that there ARE differences between

Re: running tomcat problem JNI native lib 1.1.18 + tomcat 6.0.20 + Solaris 5.10

2009-12-17 Thread Philip Wigg
I'm building native library for: Tomcat 6.0.20 JNI 1.1.18 APR 1.4.1 OS: Solaris 5.10 sparcv9 compiler: gcc -m64 Library was built ok. When I begin starting tomcat I have such logs: INFO: Loaded APR based Apache Tomcat Native library 1.1.18. Dec 17, 2009 7:08:19 PM

Re: running tomcat problem JNI native lib 1.1.18 + tomcat 6.0.20 + Solaris 5.10

2009-12-17 Thread Philip Wigg
I don't know a lot about Tomcat native, but have you got openssl installed? If not that's probably the issue. PS. Don't forget to recompile Tomcat native after you've installed it. - To unsubscribe, e-mail:

Re: Would like to monitor memory use offline

2008-08-07 Thread Philip Wigg
Hi, the manager application can return values in XML. You just need to hit:- http://localhost:8080/manager/status?XML=true or wherever it's located. This makes it a bit easier to write shell scripts based on Free Heap or Max Threads or whatever. I've got a perl script which checks whatever

Enabling APR

2008-06-26 Thread Philip Wigg
Hi, I believe I've enabled APR on my Tomcat installation. I can add the additional options for my connectors that APR allows without Tomcat complaining so I presume it's working okay. Is there any other way to tell? For example, the documentation says OS level statistics on memory usage and CPU

Re: Enabling APR

2008-06-26 Thread Philip Wigg
Fixed - Had to add:- export LD_LIBRARY_PATH=/usr/local/apr/lib to my startup.sh. 2008/6/26 Philip Wigg [EMAIL PROTECTED]: Hi, I believe I've enabled APR on my Tomcat installation. I can add the additional options for my connectors that APR allows without Tomcat complaining so I presume

Re: Enabling APR

2008-06-26 Thread Philip Wigg
As Filip points out, setting java.library.path is a better strategy. I'll do that. Thanks for your help everyone. Cheers. Phil. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: Tomcat

2008-06-24 Thread Philip Wigg
What does your Tomcat logfile say is the problem? Look in catalina.out. 2008/6/24 Arumuganainar S [EMAIL PROTECTED]: Hi, I installed J2SE 1.4 (SDK and JRE) and Tomcat 5.5. When I launched the Tomcat Manager through the Start-Programs menu, it gives, Page can not be displayed error in the

Re: Pointers in tomcat

2008-06-23 Thread Philip Wigg
How can I do this? My web app points to ROOT.war. Host name=localhost appBase=webapps unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false Aliaswww.mysite.com/Alias Aliasmysite.com/Alias /Host If you're

Slight confusion about httpd with Tomcat.

2008-06-09 Thread Philip Wigg
Hi, On this page:- http://tomcat.apache.org/tomcat-6.0-doc/connectors.html it says, When using a single server, the performance when using a native webserver in front of the Tomcat instance is most of the time significantly worse than a standalone Tomcat with its default HTTP connector, even if

Re: Apache and Tomcat sharing the same web root.

2008-05-23 Thread Philip Wigg
I strongly advise against doing this. Unless you know *exactly* what you are doing it is far too easy to open a whole can of security worms, the most regularly seen of which is source code disclosure of all of the JSPs on the site. Even if I have:- JkMount /*.jsp my-worker JkMount /*.do

Re: restart tomcat after reboot

2008-05-23 Thread Philip Wigg
2008/5/23 sur_1805 [EMAIL PROTECTED]: i m using tomcat 6 with jdk 1.6 on linux(RHEL 5) machine . i put the script catalina.sh(startup and shutdown tomcat) in init.d directory and also make a link with the command given below ln -s /etc/init.d/catalina.sh S75tomcat in the /etc/rc5.d

Apache and Tomcat sharing the same web root.

2008-05-22 Thread Philip Wigg
Hi, are there any reasons why Apache and Tomcat cannot share the same web root folder, presuming that I exclude access to WEB-INF? Thanks, Phil. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail:

Re: Why does Tomcat become slow during weekends?

2008-04-22 Thread Philip Wigg
We have a website based on embedded Tomcat with Jboss 4.0.2. We noticed that every weekend the Tomcat becomes sluggish. I mean there are no errors like HTTP404. The website simply hangs. We theorized that JVM is busy with garbage collection. Is that realistic? Does anyone have any other

Tomcat running out of threads.

2008-04-21 Thread Philip Wigg
other information you'd like me to provide. Kind regards, Philip Wigg. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tomcat running out of threads.

2008-04-21 Thread Philip Wigg
Thanks for your help. There should be at least one TP-Processor thread doing an accept on a socket. There is this one? TP-Processor4 daemon prio=1 tid=0x002b69b0e980 nid=0x655f runnable [0x41768000..0x41768ab0] at java.net.PlainSocketImpl.socketAccept(Native

Re: Problems stopping and starting tomcat server

2008-04-14 Thread Philip Wigg
Are these connections the problem? How can I close them? The top line shows a java process listening on port 8180. It has a PID of 24027. So I would probably just murder it with a:- kill -9 24027 and then you should be fine. Cheers, Phil.

Re: Problems stopping and starting tomcat server

2008-04-14 Thread Philip Wigg
I've removed Tomcat, including --purge with apt-get and I've reinstalled, but I still having the same problem. What's the result of running:- netstat -tanp | grep 8180 as root. Surely something is holding that port open? -