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 --w
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 <->
> Tomc
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).
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 appropr
On Tue, Jul 12, 2011 at 6:57 PM, David Brown 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 ideas of how to diagn
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...) s
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.
--
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
do
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, D
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: icmp_
2011/7/12 mraible :
>
> 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 does not follow spe
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
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
Konstantin Kolinko wrote:
>
> 2011/7/12 mraible :
>> 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
Hi, Kris-
I tried using ScheduledExecutorService but ran into the same problem.
After awaiting termination:
executorService.shutdown();
try
{
while ( !executorService.awaitTermination(
1, TimeUnit.SECONDS ) );
2011/7/12 mraible :
> 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
> exce
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]
ajp_connection_tcp_get
>
> 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]
ajp_connection_tcp_get_message::jk_ajp_com
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 k
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 starti
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 void
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. K
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 c
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 "distribution
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 ne
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 ur
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
> 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 li
On Tue, Jul 12, 2011 at 10:03, David kerber wrote:
> On 7/12/2011 9:59 AM, Kris Schneider wrote:
>
>> On Tue, Jul 12, 2011 at 7:59 AM, Caldarale, Charles R
>> wrote:
>>
>>> From: Terence M. Bandoian [mailto:tere...@tmbsw.com]
Subject: Terminating Timer Thread Gracefully
>>>
>>> Final
On Tue, Jul 12, 2011 at 10:03 AM, David kerber wrote:
> On 7/12/2011 9:59 AM, Kris Schneider wrote:
>>
>> On Tue, Jul 12, 2011 at 7:59 AM, Caldarale, Charles R
>> wrote:
From: Terence M. Bandoian [mailto:tere...@tmbsw.com]
Subject: Terminating Timer Thread Gracefully
>>>
Fina
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 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
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 sun-oracl
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 mysq
On 7/12/2011 9:59 AM, Kris Schneider wrote:
On Tue, Jul 12, 2011 at 7:59 AM, Caldarale, Charles R
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 time
On Tue, Jul 12, 2011 at 7:59 AM, Caldarale, Charles R
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
>> message disappeare
> 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 element for the DefaultServlet config in conf/web.xml.
Greetings,
On Tue, Jul 12, 2011 at 8:27 AM, David kerber 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 create the
> listing
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 hav
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
> 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 is automatically and always the catch-all - a
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?
If not, could it be made possible, or is there any workaround possible?
I'm thinking that an Apache RewriteRule that redirects to
> 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 Thr
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 cont
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 me
45 matches
Mail list logo