Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Installing APR on Windows

 
Charles Owen
Ranch Hand
Posts: 61
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Has anyone had experience with installing and configuring the APR connector with Tomcat on Windows?

Thanks in advance
 
Charles Owen
Ranch Hand
Posts: 61
  • 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe I've gotten this fixed.

The Tomcat binary installation for Windows already comes with the Tomcat APR connector library (tcnative-1.dll) installed in the /bin directory. I then downloaded the APR library (libapr) from source and compiled it with Visual Studio C++. I then placed the compiled APR library in my Tomcat bin directory.

I then created a connector element in the server.xml.

[code]
<Connector port="8086" protocol="org.apache.coyote.http11.Http11AprProtocol"
connectionTimeout="20000"
redirectPort="8443" />
[/code]

It doesn't throw any exceptions, so I'm assuming this works.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64196
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for reporting back with your findings Charles! It could help someone in the future with the same issue.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic