Reputation: 251
I am using tomcat 7. I have integrated tomcat on windows machine. I want to deploy war file on this server. When I restart my tomcat I am getting following error in log:
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\jre7\bin;
C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files\Mail Enable\BIN;
C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;
C:\Program Files\Java\jdk1.7.0_21\bin;D:\xampp\php;C:\ProgramData\Composer\bin;C:\Program
Files\nodejs\;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files\Microsoft
ASP.NET\ASP.NET Web Pages\v1.0\;C:\Program Files\Windows Kits\8.0\Windows Performance
Toolkit\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files\MySQL\MySQL
Utilities 1.3.4\;D:\xampp\htdocs\api\lib\Cake\Console;.
Upvotes: 0
Views: 12822
Reputation: 2053
This isnt an error
with Tomcat. It is an Info
. Most likely your application deploy is failing due to the application having issues.
If you can reach http://localhost:8080
without issues, it isnt a tomcat problem.
Check for catalina.log or if using tomcat as a service, tomcat_service.log(i might be misspelling the filename)
The problem has to be with the deployable war file, it isnt a tomcat issue from what you have mentioned.
Check the log files of the application if they get created and if there is an error in them.
the typical place would be the logs
folder within tomcat to check for logs.
Upvotes: 1
Reputation: 8859
In Tomcat's config xml (conf\server.xml), try to comment out this line of the APR config:
<Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />
Upvotes: 1
Reputation: 745
Go the tomcat directory
tomcat7\bin>service.bat install //(this will install tomcat)
tomcat7\bin>tomcat7.exe //(this will start tomcat)
before deploying the war try http://localhost:8080/
if you see tomcat webpage, everything is good else their is a problem.
then Deploy the war file in webapps folder in tomcat directory and start the server.
Upvotes: 0
Reputation: 39477
This is not an error, this is just an info message.
For more details check here.
What does "The APR based Apache Tomcat Native library was not found" mean?
Upvotes: 0