May, 2012
After update Android ADT Plugin says SDK path not set in preferences
To my surprise eclipse (indigo) today prompted me with a error message saying something like “Android SDK is not set in preferences”, but it was working before until i updated to version r17 recently. It was fixed by updating the AFT Plugin to the latest version (Version 18 at the moment) by going to window [...]
Android Development: Make your application backward compatible
Android SDK versions market share keeps changing dramtically over a period of few months because of frequent releases of both newer SDK versions and capabilities and sales of the newer devices which makes my Desire HD2 with Analog buttons at the bottom look like a Antique (According to google anyways). For Android developers it is [...]
ATG Content Administration: Switch datasources for indexing.
If you need to temporarily switch datasources for indexing in situations where for example you might have bigger dataset on DS A and a larger dataset on DS B, then you achieve this via dyn/admin on the same CA instance from where you want to index. http://<host>:<port>/dyn/admin/atg/commerce/admin/en/catalog/PrepareToSwitchProductCatalog.jhtml
Openfire XMPP Admin password recovery
I tried to login today after a long time into my XMPP Server via admin console and to my surprise none of the passwords i normally use worked, hence the conlusion: “I forgot the password”. In order to change the password for the admin user i logged into the database and manually changed the Column [...]
Apache 403 and SELinux
Change content chcon -t httpd_sys_content_t /var/www/html/mywebsite/* Following wont work: restorecon -R -v /var/www/html/mywebsite Set Selinux mode to be (permissive): echo 0 >/selinux/enforce Readon for more info in SeLinux and Apache on Linux: http://wiki.centos.org/HowTos/SELinux
XMPP (Openfire) Scalability requirements
Following document was deleted along with the original source, hence to prevent it from disappearing i am reposting this here. MINIMUM REQUIREMENTS Database with a JDBC driver, or use the embedded pure Java database. Java 5: because Openfire (formerly Wildfire) is a pure Java application, it will run on any platform where Java 5 (JDK 1.5 or [...]
Extend Apache log to allow session tracking and response time logging
I used the following Configuration for httpd.conf to start logging Sessionkeys, Response times in seconds and also in microseconds, because if you are measuring performance then just seconds are not enough, however you will still need to do some work if you need to convert microseconds to milliseconds. # # The following directives define some [...]