Tuesday, April 19, 2011

Failed shutdown of Apache Portable Runtime on Tomcat 5.5.26

This "error" isn't really an error but a warning that the Apache Portable Runtime (APR) has failed to shutdown. This message can be ignored if APR isn't installed on your server.

Click here is more info on APR.

These forum links give more information:
http://www.coderanch.com/t/85960/Tomcat/Tomcat-Native-library-not-found
http://www.mail-archive.com/users@tomcat.apache.org/msg04625.html

And this link has information here is how to stop the error/warning from appearing:

http://issues.liferay.com/browse/LPS-3166?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel

Using curl to simulate a handset request

Previously I indicated on how one could use wget to simulate a handset request. You can also use curl to achieve something similar:

curl -v -A"Mozilla/5.0 (SymbianOS/9.2; U; Series60/3.1 Nokia6110Navigator/" -H"x-up-calling-line-id: xxxxxxxxxxx" http://www.google.com

The 'xxxxxxxxxxx' should be replaced with the user's mobile number.