On 12/07/2011 02:06, Terence M. Bandoian wrote:
Hi-
I've been testing a web application on:
Tomcat 6.0.32 (32-bit)
Sun/Oracle JRE 1.6.0_25 (32-bit)
Windows Server 2008 R2
The web application includes a ServletContextListener which creates a
Timer in the contextInitialized method to
On 7/12/2011 4:11 AM, Pid wrote:
On 12/07/2011 02:06, Terence M. Bandoian wrote:
Hi-
I've been testing a web application on:
Tomcat 6.0.32 (32-bit)
Sun/Oracle JRE 1.6.0_25 (32-bit)
Windows Server 2008 R2
The web application includes a ServletContextListener which creates a
Timer in the
From: Terence M. Bandoian [mailto:tere...@tmbsw.com]
Subject: Terminating Timer Thread Gracefully
Finally, in contextDestroyed, I inserted a call to
Thread.sleep after canceling the timer and the error
message disappeared.
You should be able to do a Thread.join() using the timer's Thread
Hello all,
I think I remember seeing something related to this on the list
recently, but I just wanted to ask explicitly:
Can you set up a catch-all host in Tomcat?
Host name=* appBase=... /
If not, could it be made possible, or is there any workaround possible?
I'm thinking that an Apache
From: Calum [mailto:cal...@gmail.com]
Subject: Catch-all host
I think I remember seeing something related to this on the list
recently, but I just wanted to ask explicitly:
Can you set up a catch-all host in Tomcat?
The defaultHost set in Engine is automatically and always the catch-all -
You know how IIS and httpd can be configured to let you simply get a
directory listing in your browser? Can that be done simply with TC (any
version), or do I need to fake it with a java.io.File object and create
the listing display in code?
D
Hello all,
Has anyone ever been able to successfully setup an Oracle XA datasource using
the newer Tomcat Pool and running Tomcat 7? It appears the Tomcat Pool is
attempting to cast the oracle XA data source to a java.sql.Driver - which it
isn't. This needs to be an XA datasource. Anyone
Greetings,
On Tue, Jul 12, 2011 at 8:27 AM, David kerber dcker...@verizon.net wrote:
You know how IIS and httpd can be configured to let you simply get a
directory listing in your browser? Can that be done simply with TC (any
version), or do I need to fake it with a java.io.File object and
From: David kerber [mailto:dcker...@verizon.net]
Subject: Directory listing
Can that be done simply with TC (any version), or do I
need to fake it with a java.io.File object and create
the listing display in code?
Look at the listings element for the DefaultServlet config in
On Tue, Jul 12, 2011 at 7:59 AM, Caldarale, Charles R
chuck.caldar...@unisys.com wrote:
From: Terence M. Bandoian [mailto:tere...@tmbsw.com]
Subject: Terminating Timer Thread Gracefully
Finally, in contextDestroyed, I inserted a call to
Thread.sleep after canceling the timer and the error
On 7/12/2011 9:59 AM, Kris Schneider wrote:
On Tue, Jul 12, 2011 at 7:59 AM, Caldarale, Charles R
chuck.caldar...@unisys.com wrote:
From: Terence M. Bandoian [mailto:tere...@tmbsw.com]
Subject: Terminating Timer Thread Gracefully
Finally, in contextDestroyed, I inserted a call to
Hi,
I'm currently evaluating Tomcat JDBC Pool after reading all the good things
Filip Hanik had to say about it!
I was expecting it to be a drop in replacement for commons dbcp but after
spending over a half day on this now I'm getting frustrated and am not
closer to a solution.
Using a
Hello, I have found a situation that kills tc on startup within about 3
seconds on a 64-bit cloud running Ubuntu server. localhost resolves
correctly via dig but if we ping localhost it resolves to localhost.com.
this in my estimation is causing tc to bail. the tc 7 installed is 64
with a
On 12/07/2011 16:15, David Brown wrote:
Hello, I have found a situation that kills tc on startup within about 3
seconds on a 64-bit cloud running Ubuntu server. localhost resolves
correctly via dig but if we ping localhost it resolves to localhost.com.
this in my estimation is causing tc to
David Brown wrote:
Hello, I have found a situation that kills tc on startup within about 3
seconds on a 64-bit cloud running Ubuntu server. localhost resolves
correctly via dig but if we ping localhost it resolves to localhost.com.
Sorry, but this sounds like hogwash to me.
Where do you do the
On Tue, Jul 12, 2011 at 10:03 AM, David kerber dcker...@verizon.net wrote:
On 7/12/2011 9:59 AM, Kris Schneider wrote:
On Tue, Jul 12, 2011 at 7:59 AM, Caldarale, Charles R
chuck.caldar...@unisys.com wrote:
From: Terence M. Bandoian [mailto:tere...@tmbsw.com]
Subject: Terminating Timer
On Tue, Jul 12, 2011 at 10:03, David kerber dcker...@verizon.net wrote:
On 7/12/2011 9:59 AM, Kris Schneider wrote:
On Tue, Jul 12, 2011 at 7:59 AM, Caldarale, Charles R
chuck.caldar...@unisys.com wrote:
From: Terence M. Bandoian [mailto:tere...@tmbsw.com]
Subject: Terminating Timer
From: André Warnier
David Brown wrote:
Hello, I have found a situation that kills tc on startup within about 3
seconds on a 64-bit cloud running Ubuntu server. localhost resolves
correctly via dig but if we ping localhost it resolves to localhost.com.
Sorry, but this sounds like
I don't know the first thing about compiling on Linux. I just want to drop a
compiled mod_jk.so into the modules directory. Where can I find the binary,
not the source? Thanks!
smime.p7s
Description: S/MIME cryptographic signature
Hello,
I'm experiencing a strange issue trying to upgrade to Tomcat 7 on
raibledesigns.com (Linux 2.4.37.9). When I hit my contact page and try to
send a message, I get the following stack trace:
SEVERE: Servlet.service() for servlet [jsp] in context with path [] threw
exception [The absolute
Have a good look at the /etc/hosts.conf file, it needs to contain something
like order hosts, bind
(AIX=netsvc.conf). If that is misconfigured then you will have exactly the
problems you're
describing. I found this exact behaviour on an AIX system that was
misconfigured. Keep working on
the
Leffingwell, Jonathan R CTR FRCSE, JAX 7.2.2 wrote:
I don't know the first thing about compiling on Linux. I just want to drop a
compiled mod_jk.so into the modules directory. Where can I find the binary,
not the source? Thanks!
What kind of Linux ?
explanation: most Linux distributions
The problem is undoubtedly your .dll or .so is not in the correct directory.
Normally you need to
place those files in /tomcat but that assumes that /tomcat is your current
directory when you
startup. Essentially you need to ensure that you are starting tomcat from the
base directory that
also
Bill Miller wrote:
Have a good look at the /etc/hosts.conf file, it needs to contain something like
order hosts, bind
(AIX=netsvc.conf). If that is misconfigured then you will have exactly the
problems you're
describing. I found this exact behaviour on an AIX system that was
misconfigured.
Thanks to all who replied.
Functionally, the servlet context listener is implemented as follows:
public class AServletContextListener implements ServletContextListener
{
private Timer timer;
private ATimerTask timerTask;
public AServletContextListener()
{
}
public
Bill Miller wrote:
The problem is undoubtedly your .dll or .so is not in the correct directory.
That's probably true.
Normally you need to
place those files in /tomcat but that assumes that /tomcat is your current
directory when you
startup. Essentially you need to ensure that you are
Thanks for the reply, André.
It is Red Hat Linux.
-Original Message-
From: André Warnier [mailto:a...@ice-sa.com]
Sent: Tuesday, July 12, 2011 2:12 PM
To: Tomcat Users List
Subject: Re: Binary of mod_jk.so for Apache 2.2.x
Leffingwell, Jonathan R CTR FRCSE, JAX 7.2.2 wrote:
I don't
However, when I switch to AJP BIO, it seems that the errors go away.
Although I now switched to AJP-BIO (by deleting/renaming tcnative-1.dll),
today morning I got an error again in the ISAPI log:
[Tue Jul 12 06:04:49.812 2011] [4124:2444] [error]
eurotrans-Verlag wrote:
However, when I switch to AJP BIO, it seems that the errors go away.
Although I now switched to AJP-BIO (by deleting/renaming tcnative-1.dll),
today morning I got an error again in the ISAPI log:
[Tue Jul 12 06:04:49.812 2011] [4124:2444] [error]
2011/7/12 mraible m...@raibledesigns.com:
I'm experiencing a strange issue trying to upgrade to Tomcat 7 on
raibledesigns.com (Linux 2.4.37.9). When I hit my contact page and try to
send a message, I get the following stack trace:
SEVERE: Servlet.service() for servlet [jsp] in context with
Hi, Kris-
I tried using ScheduledExecutorService but ran into the same problem.
After awaiting termination:
executorService.shutdown();
try
{
while ( !executorService.awaitTermination(
1, TimeUnit.SECONDS ) );
Konstantin Kolinko wrote:
2011/7/12 mraible m...@raibledesigns.com:
I'm experiencing a strange issue trying to upgrade to Tomcat 7 on
raibledesigns.com (Linux 2.4.37.9). When I hit my contact page and try to
send a message, I get the following stack trace:
SEVERE: Servlet.service() for
OK, here is the hogwash. I have already been round-and-round with the
cloud admin guys with all of their requests for: netstat, lsof, ifconfig
on-and-on. Anyway you slice it some random network config whether
correct or not should not be shutting down a server upon boot.
Especially, where there is
On 12/07/2011 21:08, David Brown wrote:
OK, here is the hogwash. I have already been round-and-round with the
cloud admin guys with all of their requests for: netstat, lsof, ifconfig
on-and-on. Anyway you slice it some random network config whether
correct or not should not be shutting down a
2011/7/12 mraible m...@raibledesigns.com:
I haven't changed a thing in my application, yet it runs fine on Tomcat 6
(or when using Tomcat 7 on OS X instead of Linux). Seems strange, right?
Not at all. Either you had that library elsewhere (e.g. in lib), or
you relied on some behaviour that
On 12.07.2011 22:08, David Brown wrote:
david@dobbeltganger:~$ ping -c 3 localhost
PING localhost.com (64.99.64.32) 56(84) bytes of data.
64 bytes from 64.99.64.32: icmp_seq=1 ttl=246 time=16.9 ms
64 bytes from 64.99.64.32: icmp_seq=2 ttl=246 time=17.0 ms
64 bytes from 64.99.64.32:
Hello Ranier,thanks for this. something installed changed the hosts
value in nsswitch.conf. TC cranked rite up. should be some better way of
avoiding this type very infrequent hole to step in. Anyway, thanks
again. :-D
On Tue, 2011-07-12 at 22:59 +0200, Rainer Jung wrote:
On 12.07.2011 22:08,
The problem is obviously that the thread within the Timer needs time to
properly shutdown, the
non-obvious part is how long does it need, and how do you detect it's done?.
Normally you would do
a Thread.join() to ensure a thread has stopped before continuing, but as you
mentioned before you
Hi, I have a new TC 7 running. I have RTFM on the new changes for the
User realm using the new roles: manager-gui and admin-gui but all I get
is 401. server.xml seems to default to usage of the tomcat-users.xml.
Any ideas of how to diagnose are welcomed.
That is true, but assuming things for library loading will eventually bite you
... big time.
FYI: In Windows there is a patch available that can damage this path searching
defaults and
assumptions always bite you. It is always best to specifically set these
variables (JVM search paths
etc...)
On Tue, Jul 12, 2011 at 6:57 PM, David Brown da...@davidwbrown.name wrote:
Hi, I have a new TC 7 running. I have RTFM on the new changes for the
User realm using the new roles: manager-gui and admin-gui but all I get
is 401. server.xml seems to default to usage of the tomcat-users.xml.
Any
I'd like to add a little bit specifically around setting the parameters for a
Windows service.
It can be done, but as Chris pointed out, it's not easy. There are at least 2
ways I can think of off the top of my head to change the Windows service
properties:
1. Write JNI code to call the
Bill Miller wrote:
That is true, but assuming things for library loading will eventually bite you
... big time.
I did not think that I was /assuming/ anything.
The link provided below explains exactly where Tomcat is looking for classes and
libraries, and . is not part of that (usually).
Hi André,
-Original Message-
From: André Warnier [mailto:a...@ice-sa.com]
Sent: Tuesday, July 12, 2011 9:25 PM
Can you take a part of this setup out of the equation ?
For example, at the moment you have
browser - IIS - isapi_redir. - AJP Connector:8019 -
Tomcat+webapp
For God's sake,
Go to http://tomcat.apache.org/download-connectors.cgi and download the
source code:
# tar -xvzf tomcat-connectors-1.2.30-src.tar.gz
Read docs/webserver_howto/apache.html or native/BUILDING.txt for options.
# cd tomcat-connectors-1.2.30-src/native/
# which apxs
# ./configure
45 matches
Mail list logo