RE: Running tomcat as native

2009-10-07 Thread Vivek Shanmughan
Hi all,
 
   I am trying to run tomcat as native. I downloaded tcnative-1.dll and
copied it to tomcat/bin. Still am getting the INFO : The Apache Tomcat
Native library which allows optimal performance in production environments
was not found on the java.library.path: 
 
Can anyone please give me some inputs on this??
 
Vivek


Re: Running tomcat as native

2009-10-07 Thread Mercy


Hi Vivek,

You can try this code to get the paths,

public static void main(String[] args){
		for(String path :  
System.getProperty(java.library.path).split(File.pathSeparator))

System.out.println(path);
}

Please put the DLL file into those paths, it may help you!

Kind regards,
Mercy



On Wed, 07 Oct 2009 15:35:11 +0800, Vivek Shanmughan vivsh...@cisco.com  
wrote:



Hi all,
  I am trying to run tomcat as native. I downloaded tcnative-1.dll and
copied it to tomcat/bin. Still am getting the INFO : The Apache Tomcat
Native library which allows optimal performance in production  
environments

was not found on the java.library.path: 
Can anyone please give me some inputs on this??
Vivek



--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

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



RE: Running tomcat as native

2009-10-07 Thread Vivek Shanmughan

Thank you Mercy,

  I tried copying the dll to one of the folders in  java.library.path. But
even this didn't help.

Is there a dependency between tcnative-1.dll version and tomcat version .

Vivek

-Original Message-
From: Mercy [mailto:techme...@gmail.com] 
Sent: Wednesday, October 07, 2009 1:16 PM
To: Tomcat Users List
Subject: Re: Running tomcat as native


Hi Vivek,

You can try this code to get the paths,

public static void main(String[] args){
for(String path :  
System.getProperty(java.library.path).split(File.pathSeparator))
System.out.println(path);
}

Please put the DLL file into those paths, it may help you!

Kind regards,
Mercy



On Wed, 07 Oct 2009 15:35:11 +0800, Vivek Shanmughan vivsh...@cisco.com
wrote:

 Hi all,
   I am trying to run tomcat as native. I downloaded tcnative-1.dll and 
 copied it to tomcat/bin. Still am getting the INFO : The Apache 
 Tomcat Native library which allows optimal performance in production 
 environments was not found on the java.library.path: 
 Can anyone please give me some inputs on this??
 Vivek


-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

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


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



Re: Running tomcat as native

2009-10-07 Thread Mercy



Hi,	welcome, the following links may help for you:	http://mirrors.dotsrc.org/apache/tomcat/tomcat-connectors/native/1.1.16/binaries/win64/README.html,	http://mirrors.dotsrc.org/apache/tomcat/tomcat-connectors/native/1.1.16/binaries/win32/README.htmlFYI:Apache Tomcat Native 1.1.16 for WIN32The binaries were build using the following dependent libraries: APR 1.2.8 OpenSSL 0.9.8i The Apache Tomcat ProjectKind regards,MercyOn Wed, 07 Oct 2009 16:36:26 +0800, Vivek Shanmughan vivsh...@cisco.com wrote: Thank you Mercy,   I tried copying the dll to one of the folders in  java.library.path.   But even this didn't help. Is there a dependency between tcnative-1.dll version and tomcat version . Vivek -Original Message- From: Mercy [mailto:techme...@gmail.com] Sent: Wednesday, October 07, 2009 1:16 PM To: Tomcat Users List Subject: Re: Running tomcat as native Hi Vivek, 	You can try this code to get the paths, 	 	public static void main(String[] args){ 		for(String path : System.getProperty("java.library.path").split(File.pathSeparator)) 			System.out.println(path); 	} Please put the DLL file into those paths, it may help you! Kind regards, Mercy 	 On Wed, 07 Oct 2009 15:35:11 +0800, Vivek Shanmughan vivsh...@cisco.com wrote: Hi all,   I am trying to run tomcat as native. I downloaded tcnative-1.dll and copied it to tomcat/bin. Still am getting the INFO : "The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: " Can anyone please give me some inputs on this?? Vivek-- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

Re: Running tomcat as native

2009-10-07 Thread Mark Thomas
Vivek Shanmughan wrote:
 Hi all,
  
I am trying to run tomcat as native. I downloaded tcnative-1.dll and
 copied it to tomcat/bin. Still am getting the INFO : The Apache Tomcat
 Native library which allows optimal performance in production environments
 was not found on the java.library.path: 
  
 Can anyone please give me some inputs on this??

Operating system?
Tomcat version?
Exactly what did you download?

Mark


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



RE: Running tomcat as native

2009-10-07 Thread Vivek Shanmughan
 
Operating system  - Windows XP SP2
Tomcat version - apache-tomcat-5.5.28
Exactly what did you download  - tcnative-1.dll from the location
http://tomcat.heanet.ie/native/1.1.14/binaries/win32/

Vivek


-Original Message-
From: Mark Thomas [mailto:ma...@apache.org] 
Sent: Wednesday, October 07, 2009 3:47 PM
To: Tomcat Users List
Subject: Re: Running tomcat as native

Vivek Shanmughan wrote:
 Hi all,
  
I am trying to run tomcat as native. I downloaded tcnative-1.dll 
 and copied it to tomcat/bin. Still am getting the INFO : The Apache 
 Tomcat Native library which allows optimal performance in production 
 environments was not found on the java.library.path: 
  
 Can anyone please give me some inputs on this??

Operating system?
Tomcat version?
Exactly what did you download?

Mark


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


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



Re: Running tomcat as native

2009-10-07 Thread Mark Thomas
Vivek Shanmughan wrote:
  
 Operating system  - Windows XP SP2
 Tomcat version - apache-tomcat-5.5.28
 Exactly what did you download  - tcnative-1.dll from the location
 http://tomcat.heanet.ie/native/1.1.14/binaries/win32/

You should use 1.1.16 from here:
http://tomcat.apache.org/download-native.cgi

Updating probably won't fix the issue but it would be a good first step.

Mark


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



RE: Running tomcat as native

2009-10-07 Thread Vivek Shanmughan

Thanks Mark,

   It worked with  tcnative-1.dll 1.1.16 and apache-tomcat-6.0.20.

Let me find the suitable tcnative-1.dll for apache-tomcat-5.5.28

Vivek

-Original Message-
From: Mark Thomas [mailto:ma...@apache.org] 
Sent: Wednesday, October 07, 2009 4:32 PM
To: Tomcat Users List
Subject: Re: Running tomcat as native

Vivek Shanmughan wrote:
  
 Operating system  - Windows XP SP2
 Tomcat version - apache-tomcat-5.5.28
 Exactly what did you download  - tcnative-1.dll from the location 
 http://tomcat.heanet.ie/native/1.1.14/binaries/win32/

You should use 1.1.16 from here:
http://tomcat.apache.org/download-native.cgi

Updating probably won't fix the issue but it would be a good first step.

Mark


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


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



Re: Running tomcat as native

2009-10-07 Thread Mark Thomas
Vivek Shanmughan wrote:
 Thanks Mark,
 
It worked with  tcnative-1.dll 1.1.16 and apache-tomcat-6.0.20.
 
 Let me find the suitable tcnative-1.dll for apache-tomcat-5.5.28

1.1.16 should work with 5.5.28 as well.

I suspect that you have hit this issue:
https://issues.apache.org/bugzilla/show_bug.cgi?id=47712

If you need to use 5.5.28 then you'll need to patch Tomcat to make this work.

Mark


 
 Vivek
 
 -Original Message-
 From: Mark Thomas [mailto:ma...@apache.org] 
 Sent: Wednesday, October 07, 2009 4:32 PM
 To: Tomcat Users List
 Subject: Re: Running tomcat as native
 
 Vivek Shanmughan wrote:
  
 Operating system  - Windows XP SP2
 Tomcat version - apache-tomcat-5.5.28
 Exactly what did you download  - tcnative-1.dll from the location 
 http://tomcat.heanet.ie/native/1.1.14/binaries/win32/
 
 You should use 1.1.16 from here:
 http://tomcat.apache.org/download-native.cgi
 
 Updating probably won't fix the issue but it would be a good first step.
 
 Mark
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org
 
 
 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org
 


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