You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Lush, David" <lu...@visa.com> on 2009/06/05 11:41:36 UTC

Tomcat 6.0.18 and APR

Hi all,

 

            I'm currently trying to get the APR working on the following
system;

 

Using CATALINA_BASE:   E:/apache-tomcat-server6.0

Using CATALINA_HOME:   E:/apache-tomcat-server6.0

Using CATALINA_TMPDIR: E:/apache-tomcat-server6.0\temp

Using JRE_HOME:        E:/jdk1.5.0_12

Server version: Apache Tomcat/6.0.18

OS Name:        Windows 2000

OS Version:     5.0

Architecture:   x86

JVM Version:    1.5.0_12-b04

 

I've downloaded the binaries from
http://tomcat.heanet.ie/native/1.1.12/binaries/ and have tried both
win32 and win64 (just in case I was being stupid! ;)). I've been copying
openssl.exe and tcnative-1.dll to e:/apache-tomcat-server6.0/bin and
still keep getting the same.

 

INFO: The APR based Apache Tomcat Native library which allows optimal
performance in production environments was not found on the
java.library.path:
E:\apache-tomcat-server6.0\bin;.;C:\WINNT\system32;C:\WINNT;E:\jdk1.5.0_
12\bin;....<snip>.....

 

I've even tried the windows system32 folder and jdk bin folder. 

 

Additionally the Tomcat server is running as a Windows service. Each
time I've tried the files in a new location I've stopped and re-started
the service. I've also reverted my configuration files to the defaults
to rule anything out there

 

Does anyone have any suggestions for what I might be doing wrong please?
I'm sort of at the end of my tether ;)

 

Thanks in advance for any help

Dave Lush

Visa Europe, Europe's leading payment systems provider, is owned and governed within Europe for the benefit of European financial institutions.
This email (including attachments) is confidential and is solely intended for the addressee. Unless you are the addressee, you may not read, use or store this email in any way, or permit others to. If you have received it in error, please contact Visa Europe on +44 (0)20 7937 8111.

RE: Tomcat 6.0.18 and APR

Posted by "Lush, David" <lu...@visa.com>.
Hi,

	Thanks for the responses both of you. The only reason I didn't
go for 1.1.16 is the readme.txt said that the latest stable version is
1.1.14. I've given 1.1.16 a try anyway, with the same problem. 

I've also tried shutting down the service, then starting up the server
using startup.bat with the same problem. 

The only thing I can think of now is that whoever originally installed
the server has "tweaked" something I can't find and I'm best doing a
fresh install. Unless you can suggest a different avenue I can try?

Thanks
Dave

PS The config files are definitely all vanilla as I replaced them with
defaults to rule out any config problems.


-----Original Message-----
From: Mark Thomas [mailto:markt@apache.org] 
Sent: 05 June 2009 11:11
To: Tomcat Users List
Subject: Re: Tomcat 6.0.18 and APR

Lush, David wrote:
> I've downloaded the binaries from
> http://tomcat.heanet.ie/native/1.1.12/binaries/

First off, get the latest (1.1.16) binaries from here (heatnet.ie is an
old location):
http://tomcat.apache.org/download-native.cgi

 and have tried both
> win32 and win64 (just in case I was being stupid! ;)).

You want win32.

> INFO: The APR based Apache Tomcat Native library which allows optimal
> performance in production environments was not found on the
> java.library.path:
>
E:\apache-tomcat-server6.0\bin;.;C:\WINNT\system32;C:\WINNT;E:\jdk1.5.0_
> 12\bin;....<snip>.....

If tcnative-1.dll is in E:\apache-tomcat-server6.0\bin, that should be
all you need.

> Additionally the Tomcat server is running as a Windows service. Each
> time I've tried the files in a new location I've stopped and
re-started
> the service. I've also reverted my configuration files to the defaults
> to rule anything out there

If you have no joy with the latest 1.1.16, try starting Tomcat using the
scripts instead.

Mark



Visa Europe, Europe's leading payment systems provider, is owned and governed within Europe for the benefit of European financial institutions.
This email (including attachments) is confidential and is solely intended for the addressee. Unless you are the addressee, you may not read, use or store this email in any way, or permit others to. If you have received it in error, please contact Visa Europe on +44 (0)20 7937 8111.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Tomcat 6.0.18 and APR

Posted by Mark Thomas <ma...@apache.org>.
Lush, David wrote:
> I've downloaded the binaries from
> http://tomcat.heanet.ie/native/1.1.12/binaries/

First off, get the latest (1.1.16) binaries from here (heatnet.ie is an
old location):
http://tomcat.apache.org/download-native.cgi

 and have tried both
> win32 and win64 (just in case I was being stupid! ;)).

You want win32.

> INFO: The APR based Apache Tomcat Native library which allows optimal
> performance in production environments was not found on the
> java.library.path:
> E:\apache-tomcat-server6.0\bin;.;C:\WINNT\system32;C:\WINNT;E:\jdk1.5.0_
> 12\bin;....<snip>.....

If tcnative-1.dll is in E:\apache-tomcat-server6.0\bin, that should be
all you need.

> Additionally the Tomcat server is running as a Windows service. Each
> time I've tried the files in a new location I've stopped and re-started
> the service. I've also reverted my configuration files to the defaults
> to rule anything out there

If you have no joy with the latest 1.1.16, try starting Tomcat using the
scripts instead.

Mark



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Tomcat 6.0.18 and APR

Posted by Mladen Turk <mt...@apache.org>.
Lush, David wrote:
> Hi all,
> 
> I've downloaded the binaries from
> http://tomcat.heanet.ie/native/1.1.12/binaries/ and have tried both
> win32 and win64 (just in case I was being stupid! ;)).

Well, on win2k you will definitely need the win32 binaries.
Main Tomcat page (tomcat.apache.org)
has a nice Download section, from which you should
click on the 'Tomcat Native'. Use the version 1.1.16
If you cannot find it on the main page here is the link:
http://tomcat.apache.org/download-native.cgi

Regards

--
^TM


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org