Re: Tomcat Native library for Windows

2008-11-12 Thread zmeeagain

I never set JAVA_HOME globally, I configure it explicitly for each different
Tomcat. In this particular instance I have set:
set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_07 

in setclasspath.bat, i.e. the 64bit jdk. CATALINA_HOME is set in startup.bat
(set CATALINA_HOME=%CURRENT_DIR%) and is the path I'm running Tomcat from.
It is always reported as correctly set in cmd prompt anyway. PATH I don't
see how that could make a difference. I never use tomcat6.exe, tomcat6w.exe
or the service to start up Tomcat, I always use startup.bat, which
eventually starts Bootstrap class calling java (with the correct jdk) in
catalina.bat:

start Tomcat C:\Program Files\Java\jdk1.6.0_07\bin\java  -Xdebug ...
org.apache.catalina.startup.Bootstrap  start

Unless this somehow invokes tomcat6.exe, which I hope it doesn't. How can I
tell if it's 64 bit or not?
I have also tried with other browsers and here's what I've discovered:
[IE]
The webpage cannot be displayed 
   
   Most likely cause:
Some content or files on this webpage require a program that you don't have
installed. 
 
   What you can try: 
 Search online for a program you can use to view this web content.  
 
 Retype the address.  
 
 Go back to the previous page. 
[Firefox]
Connection Interrupted

The document contains no data.

The network link was interrupted while negotiating a connection. Please try
again. 

[Chrome]
This web page is not available.

The web page at null might be temporarily down or it may have moved
permanently to a new web address.

  More information on this error
Below is the original error message

Error 2 (net::ERR_FAILED): Unknown error.

[Opera]
It works!

[cURL]
curl localhost:8080
It works!

No proxy has been configured in any of the browsers used or Internet
Options. Whenever I try to connect with putty raw it says almost immediately
Connection closed by remote host. 



Serge Fonville wrote:
 
 I looked at your server.xml and compared it to mine. I see no difference
 that would cause this.I use tomcat 6.0.18 with JDK 5
 Have you set all variables correctly JAVA_HOME,CATALINA_HOME,PATH
 Did you use the x64 tomca6.exe and tomcat6w.exe
 Have you tried other browsers (ie,opera,chrome,mozilla)
 you could also telnet to your tomcat server for http:
 GET / HTTP/1.1
 host: localhost
 
 (two enters)
 
 On Fri, Nov 7, 2008 at 1:16 PM, zmeeagain [EMAIL PROTECTED] wrote:
 

 My server.xml:  http://www.nabble.com/file/p20379495/server.xml
 server.xml


 Serge Fonville wrote:
 
  Could you post your server xml (excluding comments) since I have the
 same
  situation working fine.
 
  On Fri, Nov 7, 2008 at 11:51 AM, zmeeagain [EMAIL PROTECTED] wrote:
 
 
  What I failed to report is that, now that the AprLifecycleListener is
  initialised and the library is loaded, I can't access Tomcat
 anymore!!!
  Hitting localhost:8080 gives me (Firefox):
 
  Connection Interrupted
 
  The document contains no data.
 
  The network link was interrupted while negotiating a connection.
 Please
  try
  again.
 
  As soon as I remove tcnative-1.dll and restart Tomcat, everything is
 back
  to
  normal again. Is there something more I need to do? BTW, no errors
 appear
  in
  catalina log file.
 
 
  zmeeagain wrote:
  
   It's an Intel Core2 Duo E4500 at 2.2 GHz, running Vista Business 64
  bit.
   Anyhow, your comment made think that ia64 is not my architecture.
 And
   indeed, version 1.1.14 of tcnative-1.dll is available for amd and
 x64
   architectures (instead of amd and ia64 as in some previous
 versions).
  That
   last one did the trick or me:
  
   INFO: Loaded APR based Apache Tomcat Native library 1.1.14.
   6 Nov 2008 11:09:10 am org.apache.catalina.core.AprLifecycleListener
  init
   INFO: APR capabilities: IPv6 [false], sendfile [true], accept
 filters
   [false], random [true].
  
 
  --
  View this message in context:
 
 http://www.nabble.com/Tomcat-Native-library-for-Windows-tp19279526p20378334.html
  Sent from the Tomcat - User mailing list archive at Nabble.com.
 
 
  -
  To start a new topic, e-mail: users@tomcat.apache.org
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 

 --
 View this message in context:
 http://www.nabble.com/Tomcat-Native-library-for-Windows-tp19279526p20379495.html
 Sent from the Tomcat - User mailing list archive at Nabble.com.


 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


 
 

-- 
View this message in context: 
http://www.nabble.com/Tomcat-Native-library-for-Windows-tp19279526p20458413.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL 

Re: Tomcat Native library for Windows

2008-11-07 Thread Serge Fonville
Could you post your server xml (excluding comments) since I have the same
situation working fine.

On Fri, Nov 7, 2008 at 11:51 AM, zmeeagain [EMAIL PROTECTED] wrote:


 What I failed to report is that, now that the AprLifecycleListener is
 initialised and the library is loaded, I can't access Tomcat anymore!!!
 Hitting localhost:8080 gives me (Firefox):

 Connection Interrupted

 The document contains no data.

 The network link was interrupted while negotiating a connection. Please try
 again.

 As soon as I remove tcnative-1.dll and restart Tomcat, everything is back
 to
 normal again. Is there something more I need to do? BTW, no errors appear
 in
 catalina log file.


 zmeeagain wrote:
 
  It's an Intel Core2 Duo E4500 at 2.2 GHz, running Vista Business 64 bit.
  Anyhow, your comment made think that ia64 is not my architecture. And
  indeed, version 1.1.14 of tcnative-1.dll is available for amd and x64
  architectures (instead of amd and ia64 as in some previous versions).
 That
  last one did the trick or me:
 
  INFO: Loaded APR based Apache Tomcat Native library 1.1.14.
  6 Nov 2008 11:09:10 am org.apache.catalina.core.AprLifecycleListener init
  INFO: APR capabilities: IPv6 [false], sendfile [true], accept filters
  [false], random [true].
 

 --
 View this message in context:
 http://www.nabble.com/Tomcat-Native-library-for-Windows-tp19279526p20378334.html
 Sent from the Tomcat - User mailing list archive at Nabble.com.


 -
 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 Native library for Windows

2008-11-07 Thread zmeeagain

My server.xml:  http://www.nabble.com/file/p20379495/server.xml server.xml 


Serge Fonville wrote:
 
 Could you post your server xml (excluding comments) since I have the same
 situation working fine.
 
 On Fri, Nov 7, 2008 at 11:51 AM, zmeeagain [EMAIL PROTECTED] wrote:
 

 What I failed to report is that, now that the AprLifecycleListener is
 initialised and the library is loaded, I can't access Tomcat anymore!!!
 Hitting localhost:8080 gives me (Firefox):

 Connection Interrupted

 The document contains no data.

 The network link was interrupted while negotiating a connection. Please
 try
 again.

 As soon as I remove tcnative-1.dll and restart Tomcat, everything is back
 to
 normal again. Is there something more I need to do? BTW, no errors appear
 in
 catalina log file.


 zmeeagain wrote:
 
  It's an Intel Core2 Duo E4500 at 2.2 GHz, running Vista Business 64
 bit.
  Anyhow, your comment made think that ia64 is not my architecture. And
  indeed, version 1.1.14 of tcnative-1.dll is available for amd and x64
  architectures (instead of amd and ia64 as in some previous versions).
 That
  last one did the trick or me:
 
  INFO: Loaded APR based Apache Tomcat Native library 1.1.14.
  6 Nov 2008 11:09:10 am org.apache.catalina.core.AprLifecycleListener
 init
  INFO: APR capabilities: IPv6 [false], sendfile [true], accept filters
  [false], random [true].
 

 --
 View this message in context:
 http://www.nabble.com/Tomcat-Native-library-for-Windows-tp19279526p20378334.html
 Sent from the Tomcat - User mailing list archive at Nabble.com.


 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


 
 

-- 
View this message in context: 
http://www.nabble.com/Tomcat-Native-library-for-Windows-tp19279526p20379495.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
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 Native library for Windows

2008-11-07 Thread zmeeagain

What I failed to report is that, now that the AprLifecycleListener is
initialised and the library is loaded, I can't access Tomcat anymore!!!
Hitting localhost:8080 gives me (Firefox):

Connection Interrupted

The document contains no data.

The network link was interrupted while negotiating a connection. Please try
again.

As soon as I remove tcnative-1.dll and restart Tomcat, everything is back to
normal again. Is there something more I need to do? BTW, no errors appear in
catalina log file.


zmeeagain wrote:
 
 It's an Intel Core2 Duo E4500 at 2.2 GHz, running Vista Business 64 bit.
 Anyhow, your comment made think that ia64 is not my architecture. And
 indeed, version 1.1.14 of tcnative-1.dll is available for amd and x64
 architectures (instead of amd and ia64 as in some previous versions). That
 last one did the trick or me: 
 
 INFO: Loaded APR based Apache Tomcat Native library 1.1.14.
 6 Nov 2008 11:09:10 am org.apache.catalina.core.AprLifecycleListener init
 INFO: APR capabilities: IPv6 [false], sendfile [true], accept filters
 [false], random [true].
 

-- 
View this message in context: 
http://www.nabble.com/Tomcat-Native-library-for-Windows-tp19279526p20378334.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
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 Native library for Windows

2008-11-07 Thread Serge Fonville
I looked at your server.xml and compared it to mine. I see no difference
that would cause this.I use tomcat 6.0.18 with JDK 5
Have you set all variables correctly JAVA_HOME,CATALINA_HOME,PATH
Did you use the x64 tomca6.exe and tomcat6w.exe
Have you tried other browsers (ie,opera,chrome,mozilla)
you could also telnet to your tomcat server for http:
GET / HTTP/1.1
host: localhost

(two enters)

On Fri, Nov 7, 2008 at 1:16 PM, zmeeagain [EMAIL PROTECTED] wrote:


 My server.xml:  http://www.nabble.com/file/p20379495/server.xml server.xml


 Serge Fonville wrote:
 
  Could you post your server xml (excluding comments) since I have the same
  situation working fine.
 
  On Fri, Nov 7, 2008 at 11:51 AM, zmeeagain [EMAIL PROTECTED] wrote:
 
 
  What I failed to report is that, now that the AprLifecycleListener is
  initialised and the library is loaded, I can't access Tomcat anymore!!!
  Hitting localhost:8080 gives me (Firefox):
 
  Connection Interrupted
 
  The document contains no data.
 
  The network link was interrupted while negotiating a connection. Please
  try
  again.
 
  As soon as I remove tcnative-1.dll and restart Tomcat, everything is
 back
  to
  normal again. Is there something more I need to do? BTW, no errors
 appear
  in
  catalina log file.
 
 
  zmeeagain wrote:
  
   It's an Intel Core2 Duo E4500 at 2.2 GHz, running Vista Business 64
  bit.
   Anyhow, your comment made think that ia64 is not my architecture. And
   indeed, version 1.1.14 of tcnative-1.dll is available for amd and x64
   architectures (instead of amd and ia64 as in some previous versions).
  That
   last one did the trick or me:
  
   INFO: Loaded APR based Apache Tomcat Native library 1.1.14.
   6 Nov 2008 11:09:10 am org.apache.catalina.core.AprLifecycleListener
  init
   INFO: APR capabilities: IPv6 [false], sendfile [true], accept filters
   [false], random [true].
  
 
  --
  View this message in context:
 
 http://www.nabble.com/Tomcat-Native-library-for-Windows-tp19279526p20378334.html
  Sent from the Tomcat - User mailing list archive at Nabble.com.
 
 
  -
  To start a new topic, e-mail: users@tomcat.apache.org
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 

 --
 View this message in context:
 http://www.nabble.com/Tomcat-Native-library-for-Windows-tp19279526p20379495.html
 Sent from the Tomcat - User mailing list archive at Nabble.com.


 -
 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 Native library for Windows

2008-11-06 Thread zmeeagain

I too had and still have the same problem:

6 Nov 2008 9:48:57 am org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal
performance in production environments was not found on the
java.library.path: C:\Program
Files\Java\jdk1.6.0_07\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows[...]

I am using Vista 64bit on 64bit Intel, and a 64bit JDK (C:\Program
Files\Java\jdk1.6.0_07\). I have downloaded both openssl.exe and
tcnative-1.dll from
http://tomcat.heanet.ie/native/1.1.9/binaries/win64/ia64/ (supposedly the
correct version?) and saved them in C:\Program Files\Java\jdk1.6.0_07\bin\
but Tomcat keeps complaining... I have run out of ideas.


Brian Clark-10 wrote:
 
 Thanks for the suggestions. I just re-downloaded the file and now it
 works. I guess it was corrupted during the original download or something.
 Go figure. 
 
 Brian
 
 
 
 - Original Message 
 From: Caldarale, Charles R [EMAIL PROTECTED]
 To: Tomcat Users List users@tomcat.apache.org
 Sent: Tuesday, September 2, 2008 7:19:32 PM
 Subject: RE: Tomcat Native library for Windows
 
 From: Brian Clark [mailto:[EMAIL PROTECTED]
 Subject: Re: Tomcat Native library for Windows

 Hmmm...on Windows, what is the difference between
 java.library.path and the Windows environmental variable PATH?
 
 By default, none.
 
 I have my Java Classpath set to this, which contains
 my bootstrap.jar.
 
 Hopefully that's what shows in the tomcat6w.exe program, not something
 you're setting in the system environment variables.  (If you do have a
 CLASSPATH environment variable, get rid of it - it will only break
 things.)
 
 Should I just set, via JAVA_OPTS, my java.library.path to the
 same directory, since that's where I put my tcnative-1.dll file?
 -Djava.library.path=C:\Program Files\Apache Software
 Foundation\Tomcat 6.0\bin
 
 Don't bother, the JVM is already looking there, as shown by the INFO
 message.
 
 I don't want to break anything. Setting the java.library.path
 won't make Tomcat stop looking at other libraries in other
 locations (like the built-in /lib directory) will it?
 
 No, it won't break anything, but it's also not going to make it work.  The
 java.library.path is used for native library DLLs only, not for classes.
 
 Check for ownership and access permissions on the file - insure that the
 account the Tomcat service is running under can access the DLL.
 
 By any chance, is this a 64-bit version of Windows Server?  If so, and
 you're using a 64-bit JVM, you'll need the 64-bit version of the DLL.
 
 - Chuck
 
 
 THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
 MATERIAL and is thus for use only by the intended recipient. If you
 received this in error, please contact the sender and delete the e-mail
 and its attachments from all computers.
 
 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
   
 

-- 
View this message in context: 
http://www.nabble.com/Tomcat-Native-library-for-Windows-tp19279526p20356642.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
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 Native library for Windows

2008-11-06 Thread Serge Fonville
As far as I know Vista x64 does not run on an ItaniumPerhaps you instead
wanted amd64

Regards,

Serge Fonville

On Thu, Nov 6, 2008 at 9:07 AM, zmeeagain [EMAIL PROTECTED] wrote:


 I too had and still have the same problem:

 6 Nov 2008 9:48:57 am org.apache.catalina.core.AprLifecycleListener init
 INFO: The APR based Apache Tomcat Native library which allows optimal
 performance in production environments was not found on the
 java.library.path: C:\Program

 Files\Java\jdk1.6.0_07\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows[...]

 I am using Vista 64bit on 64bit Intel, and a 64bit JDK (C:\Program
 Files\Java\jdk1.6.0_07\). I have downloaded both openssl.exe and
 tcnative-1.dll from
 http://tomcat.heanet.ie/native/1.1.9/binaries/win64/ia64/ (supposedly the
 correct version?) and saved them in C:\Program Files\Java\jdk1.6.0_07\bin\
 but Tomcat keeps complaining... I have run out of ideas.


 Brian Clark-10 wrote:
 
  Thanks for the suggestions. I just re-downloaded the file and now it
  works. I guess it was corrupted during the original download or
 something.
  Go figure.
 
  Brian
 
 
 
  - Original Message 
  From: Caldarale, Charles R [EMAIL PROTECTED]
  To: Tomcat Users List users@tomcat.apache.org
  Sent: Tuesday, September 2, 2008 7:19:32 PM
  Subject: RE: Tomcat Native library for Windows
 
  From: Brian Clark [mailto:[EMAIL PROTECTED]
  Subject: Re: Tomcat Native library for Windows
 
  Hmmm...on Windows, what is the difference between
  java.library.path and the Windows environmental variable PATH?
 
  By default, none.
 
  I have my Java Classpath set to this, which contains
  my bootstrap.jar.
 
  Hopefully that's what shows in the tomcat6w.exe program, not something
  you're setting in the system environment variables.  (If you do have a
  CLASSPATH environment variable, get rid of it - it will only break
  things.)
 
  Should I just set, via JAVA_OPTS, my java.library.path to the
  same directory, since that's where I put my tcnative-1.dll file?
  -Djava.library.path=C:\Program Files\Apache Software
  Foundation\Tomcat 6.0\bin
 
  Don't bother, the JVM is already looking there, as shown by the INFO
  message.
 
  I don't want to break anything. Setting the java.library.path
  won't make Tomcat stop looking at other libraries in other
  locations (like the built-in /lib directory) will it?
 
  No, it won't break anything, but it's also not going to make it work.
  The
  java.library.path is used for native library DLLs only, not for classes.
 
  Check for ownership and access permissions on the file - insure that the
  account the Tomcat service is running under can access the DLL.
 
  By any chance, is this a 64-bit version of Windows Server?  If so, and
  you're using a 64-bit JVM, you'll need the 64-bit version of the DLL.
 
  - Chuck
 
 
  THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
  MATERIAL and is thus for use only by the intended recipient. If you
  received this in error, please contact the sender and delete the e-mail
  and its attachments from all computers.
 
  -
  To start a new topic, e-mail: users@tomcat.apache.org
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 

 --
 View this message in context:
 http://www.nabble.com/Tomcat-Native-library-for-Windows-tp19279526p20356642.html
 Sent from the Tomcat - User mailing list archive at Nabble.com.


 -
 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 Native library for Windows

2008-11-06 Thread zmeeagain

It's an Intel Core2 Duo E4500 at 2.2 GHz, running Vista Business 64 bit.
Anyhow, your comment made think that ia64 is not my architecture. And
indeed, version 1.1.14 of tcnative-1.dll is available for amd and x64
architectures (instead of amd and ia64 as in some previous versions). That
last one did the trick or me: 

INFO: Loaded APR based Apache Tomcat Native library 1.1.14.
6 Nov 2008 11:09:10 am org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [false], sendfile [true], accept filters
[false], random [true].

thx for the nudge


Serge Fonville wrote:
 
 As far as I know Vista x64 does not run on an ItaniumPerhaps you instead
 wanted amd64
 
 Regards,
 
 Serge Fonville
 
 On Thu, Nov 6, 2008 at 9:07 AM, zmeeagain [EMAIL PROTECTED] wrote:
 

 I too had and still have the same problem:

 6 Nov 2008 9:48:57 am org.apache.catalina.core.AprLifecycleListener init
 INFO: The APR based Apache Tomcat Native library which allows optimal
 performance in production environments was not found on the
 java.library.path: C:\Program

 Files\Java\jdk1.6.0_07\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows[...]

 I am using Vista 64bit on 64bit Intel, and a 64bit JDK (C:\Program
 Files\Java\jdk1.6.0_07\). I have downloaded both openssl.exe and
 tcnative-1.dll from
 http://tomcat.heanet.ie/native/1.1.9/binaries/win64/ia64/ (supposedly the
 correct version?) and saved them in C:\Program
 Files\Java\jdk1.6.0_07\bin\
 but Tomcat keeps complaining... I have run out of ideas.


 Brian Clark-10 wrote:
 
  Thanks for the suggestions. I just re-downloaded the file and now it
  works. I guess it was corrupted during the original download or
 something.
  Go figure.
 
  Brian
 
 
 
  - Original Message 
  From: Caldarale, Charles R [EMAIL PROTECTED]
  To: Tomcat Users List users@tomcat.apache.org
  Sent: Tuesday, September 2, 2008 7:19:32 PM
  Subject: RE: Tomcat Native library for Windows
 
  From: Brian Clark [mailto:[EMAIL PROTECTED]
  Subject: Re: Tomcat Native library for Windows
 
  Hmmm...on Windows, what is the difference between
  java.library.path and the Windows environmental variable PATH?
 
  By default, none.
 
  I have my Java Classpath set to this, which contains
  my bootstrap.jar.
 
  Hopefully that's what shows in the tomcat6w.exe program, not something
  you're setting in the system environment variables.  (If you do have a
  CLASSPATH environment variable, get rid of it - it will only break
  things.)
 
  Should I just set, via JAVA_OPTS, my java.library.path to the
  same directory, since that's where I put my tcnative-1.dll file?
  -Djava.library.path=C:\Program Files\Apache Software
  Foundation\Tomcat 6.0\bin
 
  Don't bother, the JVM is already looking there, as shown by the INFO
  message.
 
  I don't want to break anything. Setting the java.library.path
  won't make Tomcat stop looking at other libraries in other
  locations (like the built-in /lib directory) will it?
 
  No, it won't break anything, but it's also not going to make it work.
  The
  java.library.path is used for native library DLLs only, not for
 classes.
 
  Check for ownership and access permissions on the file - insure that
 the
  account the Tomcat service is running under can access the DLL.
 
  By any chance, is this a 64-bit version of Windows Server?  If so, and
  you're using a 64-bit JVM, you'll need the 64-bit version of the DLL.
 
  - Chuck
 
 
  THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE
 PROPRIETARY
  MATERIAL and is thus for use only by the intended recipient. If you
  received this in error, please contact the sender and delete the e-mail
  and its attachments from all computers.
 
  -
  To start a new topic, e-mail: users@tomcat.apache.org
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 

 --
 View this message in context:
 http://www.nabble.com/Tomcat-Native-library-for-Windows-tp19279526p20356642.html
 Sent from the Tomcat - User mailing list archive at Nabble.com.


 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


 
 

-- 
View this message in context: 
http://www.nabble.com/Tomcat-Native-library-for-Windows-tp19279526p20357700.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


-
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 Native library for Windows

2008-09-02 Thread Mark Thomas
Brian Clark wrote:
 Hello,
 
 I am getting the following error when starting up Tomcat 6.0.16 on Windows 
 2003:
 
 Sep 2, 2008 4:18:13 PM org.apache.catalina.core.AprLifecycleListener init
 INFO: The APR based Apache Tomcat
 Native library which allows optimal performance in production
 environments was not found on the java.library.path: C:\Program
 Files\Apache Software Foundation\Tomcat
 6.0\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;D:\Perl\bin;C:\Perl\bin;C:\WINDOWS\system32;C:\WINDOWS
 
 Here's
 the catch, I do have the library installed in the bin directory (the
 very same bin referenced in the PATH above). I downloaded version 1.1.14.0 
 from http://tomcat.heanet.ie/native/1.1.14/binaries/win32/ and tried to just 
 drop it in the bin directory. I don't know why it
 doesn't work. I also tried putting it in my windows\system32 directory,
 but with the same result. 
 
 I've done a lot of research on the
 'net, and found lots of other people that have this problem. However,
 most seem to have the problem resolved by putting the library in the
 right place, such as described in this earlier mailing list posting:
 http://www.mail-archive.com/users@tomcat.apache.org/msg29111.html
 
 Any ideas on what is going on here?

Which file did you download. What is its current name?

Mark



-
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 Native library for Windows

2008-09-02 Thread Martin Gainty

AprLifecycleListener reads java.library.path
so either start Java with -Djava.library.path
java -Djava.library.path=LocationOfBinary bootstrap.jar
(easier to place -Djava.library.path into JAVA_OPTS)
OR
set LD_LIBRARY_PATH=LocationOfBinary

YMMV/
Martin 
__ 
Disclaimer and confidentiality note 
Everything in this e-mail and any attachments relates to the official business 
of Sender. This transmission is of a confidential nature and Sender does not 
endorse distribution to any party other than intended recipient. Sender does 
not necessarily endorse content contained within this transmission. 


 Date: Tue, 2 Sep 2008 23:38:45 +0100
 From: [EMAIL PROTECTED]
 To: users@tomcat.apache.org
 Subject: Re: Tomcat Native library for Windows
 
 Brian Clark wrote:
  Hello,
  
  I am getting the following error when starting up Tomcat 6.0.16 on Windows 
  2003:
  
  Sep 2, 2008 4:18:13 PM org.apache.catalina.core.AprLifecycleListener init
  INFO: The APR based Apache Tomcat
  Native library which allows optimal performance in production
  environments was not found on the java.library.path: C:\Program
  Files\Apache Software Foundation\Tomcat
  6.0\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;D:\Perl\bin;C:\Perl\bin;C:\WINDOWS\system32;C:\WINDOWS
  
  Here's
  the catch, I do have the library installed in the bin directory (the
  very same bin referenced in the PATH above). I downloaded version 1.1.14.0 
  from http://tomcat.heanet.ie/native/1.1.14/binaries/win32/ and tried to 
  just drop it in the bin directory. I don't know why it
  doesn't work. I also tried putting it in my windows\system32 directory,
  but with the same result. 
  
  I've done a lot of research on the
  'net, and found lots of other people that have this problem. However,
  most seem to have the problem resolved by putting the library in the
  right place, such as described in this earlier mailing list posting:
  http://www.mail-archive.com/users@tomcat.apache.org/msg29111.html
  
  Any ideas on what is going on here?
 
 Which file did you download. What is its current name?
 
 Mark
 
 
 
 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 

_
Get ideas on sharing photos from people like you.  Find new ways to share.
http://www.windowslive.com/explore/photogallery/posts?ocid=TXT_TAGLM_WL_Photo_Gallery_082008

Re: Tomcat Native library for Windows

2008-09-02 Thread Johnny Kewl


- Original Message - 
From: Brian Clark [EMAIL PROTECTED]

To: users@tomcat.apache.org
Sent: Wednesday, September 03, 2008 12:17 AM
Subject: Tomcat Native library for Windows



Hello,

I am getting the following error when starting up Tomcat 6.0.16 on Windows 
2003:


Sep 2, 2008 4:18:13 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat
Native library which allows optimal performance in production
environments was not found on the java.library.path: C:\Program
Files\Apache Software Foundation\Tomcat
6.0\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;D:\Perl\bin;C:\Perl\bin;C:\WINDOWS\system32;C:\WINDOWS

Here's
the catch, I do have the library installed in the bin directory (the
very same bin referenced in the PATH above). I downloaded version 1.1.14.0 
from http://tomcat.heanet.ie/native/1.1.14/binaries/win32/ and tried to 
just drop it in the bin directory. I don't know why it

doesn't work. I also tried putting it in my windows\system32 directory,
but with the same result.

I've done a lot of research on the
'net, and found lots of other people that have this problem. However,
most seem to have the problem resolved by putting the library in the
right place, such as described in this earlier mailing list posting:
http://www.mail-archive.com/users@tomcat.apache.org/msg29111.html

Any ideas on what is going on here?

Brian Clark


Brian, dont know...
Its a file called
tcnative-1.dll
and it normally lives in the TC bin...

But you dont have to think if your use the tomcat.exe installer... it does 
it for you if you just select the native option... click ;)
What I do is get the zip version as well, and after the EXE has done its 
thing, I copy the missing bin scripts from zip to exe version.


have fun...

---
HARBOR : http://www.kewlstuff.co.za/index.htm
The most powerful application server on earth.
The only real POJO Application Server.
See it in Action : http://www.kewlstuff.co.za/cd_tut_swf/whatisejb1.htm
---




-
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 Native library for Windows

2008-09-02 Thread Brian Clark
I downloaded the file 
http://tomcat.heanet.ie/native/1.1.14/binaries/win32/tcnative-1.dll
I didn't change the name. 



- Original Message 
From: Mark Thomas [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Tuesday, September 2, 2008 5:38:45 PM
Subject: Re: Tomcat Native library for Windows

Brian Clark wrote:
 Hello,
 
 I am getting the following error when starting up Tomcat 6.0.16 on Windows 
 2003:
 
 Sep 2, 2008 4:18:13 PM org.apache.catalina.core.AprLifecycleListener init
 INFO: The APR based Apache Tomcat
 Native library which allows optimal performance in production
 environments was not found on the java.library.path: C:\Program
 Files\Apache Software Foundation\Tomcat
 6.0\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;D:\Perl\bin;C:\Perl\bin;C:\WINDOWS\system32;C:\WINDOWS
 
 Here's
 the catch, I do have the library installed in the bin directory (the
 very same bin referenced in the PATH above). I downloaded version 1.1.14.0 
 from http://tomcat.heanet.ie/native/1.1.14/binaries/win32/ and tried to just 
 drop it in the bin directory. I don't know why it
 doesn't work. I also tried putting it in my windows\system32 directory,
 but with the same result. 
 
 I've done a lot of research on the
 'net, and found lots of other people that have this problem. However,
 most seem to have the problem resolved by putting the library in the
 right place, such as described in this earlier mailing list posting:
 http://www.mail-archive.com/users@tomcat.apache.org/msg29111.html
 
 Any ideas on what is going on here?

Which file did you download. What is its current name?

Mark



-
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 Native library for Windows

2008-09-02 Thread Brian Clark
Hmmm...on Windows, what is the difference between java.library.path and the 
Windows environmental variable PATH?

I am not sure I understand your suggestion. I have my Java Classpath set to 
this, which contains my bootstrap.jar. 
C:\Program Files\Apache Software Foundation\Tomcat 6.0\bin\bootstrap.jar

Should I just set, via JAVA_OPTS, my java.library.path to the same directory, 
since that's where I put my tcnative-1.dll file?
-Djava.library.path=C:\Program Files\Apache Software Foundation\Tomcat 6.0\bin

I don't want to break anything. Setting the java.library.path won't make Tomcat 
stop looking at other libraries in other locations (like the built-in /lib 
directory) will it?

Thanks,
Brian



- Original Message 
From: Martin Gainty [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Tuesday, September 2, 2008 5:59:10 PM
Subject: RE: Tomcat Native library for Windows


AprLifecycleListener reads java.library.path
so either start Java with -Djava.library.path
java -Djava.library.path=LocationOfBinary bootstrap.jar
(easier to place -Djava.library.path into JAVA_OPTS)
OR
set LD_LIBRARY_PATH=LocationOfBinary

YMMV/
Martin 
__ 
Disclaimer and confidentiality note 
Everything in this e-mail and any attachments relates to the official business 
of Sender. This transmission is of a confidential nature and Sender does not 
endorse distribution to any party other than intended recipient. Sender does 
not necessarily endorse content contained within this transmission. 


 Date: Tue, 2 Sep 2008 23:38:45 +0100
 From: [EMAIL PROTECTED]
 To: users@tomcat.apache.org
 Subject: Re: Tomcat Native library for Windows
 
 Brian Clark wrote:
  Hello,
  
  I am getting the following error when starting up Tomcat 6.0.16 on Windows 
  2003:
  
  Sep 2, 2008 4:18:13 PM org.apache.catalina.core.AprLifecycleListener init
  INFO: The APR based Apache Tomcat
  Native library which allows optimal performance in production
  environments was not found on the java.library.path: C:\Program
  Files\Apache Software Foundation\Tomcat
  6.0\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;D:\Perl\bin;C:\Perl\bin;C:\WINDOWS\system32;C:\WINDOWS
  
  Here's
  the catch, I do have the library installed in the bin directory (the
  very same bin referenced in the PATH above). I downloaded version 1.1.14.0 
  from http://tomcat.heanet.ie/native/1.1.14/binaries/win32/ and tried to 
  just drop it in the bin directory. I don't know why it
  doesn't work. I also tried putting it in my windows\system32 directory,
  but with the same result. 
  
  I've done a lot of research on the
  'net, and found lots of other people that have this problem. However,
  most seem to have the problem resolved by putting the library in the
  right place, such as described in this earlier mailing list posting:
  http://www.mail-archive.com/users@tomcat.apache.org/msg29111.html
  
  Any ideas on what is going on here?
 
 Which file did you download. What is its current name?
 
 Mark
 
 
 
 -
 To start a new topic, e-mail: users@tomcat.apache.org
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 

_
Get ideas on sharing photos from people like you.  Find new ways to share.
http://www.windowslive.com/explore/photogallery/posts?ocid=TXT_TAGLM_WL_Photo_Gallery_082008


  

RE: Tomcat Native library for Windows

2008-09-02 Thread Caldarale, Charles R
 From: Brian Clark [mailto:[EMAIL PROTECTED]
 Subject: Re: Tomcat Native library for Windows

 Hmmm...on Windows, what is the difference between
 java.library.path and the Windows environmental variable PATH?

By default, none.

 I have my Java Classpath set to this, which contains
 my bootstrap.jar.

Hopefully that's what shows in the tomcat6w.exe program, not something you're 
setting in the system environment variables.  (If you do have a CLASSPATH 
environment variable, get rid of it - it will only break things.)

 Should I just set, via JAVA_OPTS, my java.library.path to the
 same directory, since that's where I put my tcnative-1.dll file?
 -Djava.library.path=C:\Program Files\Apache Software
 Foundation\Tomcat 6.0\bin

Don't bother, the JVM is already looking there, as shown by the INFO message.

 I don't want to break anything. Setting the java.library.path
 won't make Tomcat stop looking at other libraries in other
 locations (like the built-in /lib directory) will it?

No, it won't break anything, but it's also not going to make it work.  The 
java.library.path is used for native library DLLs only, not for classes.

Check for ownership and access permissions on the file - insure that the 
account the Tomcat service is running under can access the DLL.

By any chance, is this a 64-bit version of Windows Server?  If so, and you're 
using a 64-bit JVM, you'll need the 64-bit version of the DLL.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.

-
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 Native library for Windows

2008-09-02 Thread Brian Clark
Thanks for the suggestions. I just re-downloaded the file and now it works. I 
guess it was corrupted during the original download or something. Go figure. 

Brian



- Original Message 
From: Caldarale, Charles R [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Tuesday, September 2, 2008 7:19:32 PM
Subject: RE: Tomcat Native library for Windows

 From: Brian Clark [mailto:[EMAIL PROTECTED]
 Subject: Re: Tomcat Native library for Windows

 Hmmm...on Windows, what is the difference between
 java.library.path and the Windows environmental variable PATH?

By default, none.

 I have my Java Classpath set to this, which contains
 my bootstrap.jar.

Hopefully that's what shows in the tomcat6w.exe program, not something you're 
setting in the system environment variables.  (If you do have a CLASSPATH 
environment variable, get rid of it - it will only break things.)

 Should I just set, via JAVA_OPTS, my java.library.path to the
 same directory, since that's where I put my tcnative-1.dll file?
 -Djava.library.path=C:\Program Files\Apache Software
 Foundation\Tomcat 6.0\bin

Don't bother, the JVM is already looking there, as shown by the INFO message.

 I don't want to break anything. Setting the java.library.path
 won't make Tomcat stop looking at other libraries in other
 locations (like the built-in /lib directory) will it?

No, it won't break anything, but it's also not going to make it work.  The 
java.library.path is used for native library DLLs only, not for classes.

Check for ownership and access permissions on the file - insure that the 
account the Tomcat service is running under can access the DLL.

By any chance, is this a 64-bit version of Windows Server?  If so, and you're 
using a 64-bit JVM, you'll need the 64-bit version of the DLL.

- Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]