There are two major problems with installing glassfish through puppet in default configuration of puppetmaster: * The jar file of glassfish is too big * You have to accept sun lisense during the installation The cause of first problem is that by default puppetmasterd uses WEBRICK as it web-server. It would be probably not a problem if it was not using at the same time xmlrpc calls. The consequence of such configuration is that big files timeouts to be transfered….
Java Web Start is cool technology, which allows to automatically update client application to the latest version. So the latest client application is placed on server side. Unfortunately this technology does not work by default on Google App Engine. This post contains information about how to run it in the Google clouds. How Web Start checks updates? “How Web Start checks updates?” is the first question, which is occurred. The answer is simple (but I did not find it in…
Reasons for using testing tools during development: After each iteration of implementation you should always check that you have not spoiled/lost some old features. Running some set of test cases takes a lot time, so developers need to write unit and acceptance tests. But you can also use some well-known decisions for fast testing. Sometimes you need to reproduce bug which can occur only on peak load. It is the way to find some performance problem. So, some testing tools:…
Erlang supports change of code in a running system. Loading a code is handled by code server, just load a module by:
rpc:call(NodeName, code, load_file, [Module]).
when you are calling from another, existing erlang node. After this action both current (loaded) and old code are valid. The difference is that exported functions in old code are unavailable. Hence there is no way to make a global call to an exported function in old code, but old code may…
After installing a new MyEclipse and Android SDK on your Linux host you will probably run into the problem during key generation. This problem sounds like “Permission denied”. By default MyEclipse projects use JVM which is installed at <MYECLIPSE_PATH>/Common/binary/com.sun.java.jdk.linux.x86_1.6.0.013. It’s quite possible that the keytool which creates key to sign your Android application, is not allowed to execute. Just check if you have permission to execute keytool:ls -l <MYECLIPSE_PATH>/Common/binary/com.sun.java.jdk.linux.x86_1.6.0.013/jre/bin/keytool Probably you’ll have something like:-rw-rw-r– 1 andrey andrey 47447 2009-03-09 04:53…
Maybe I’m wrong about first. But at least first that I tried and that easily started up and works 🙂 . The name is “Zotonic”. Authors are quite famous – Marc Worrell , Tim Bennings (http://timbenniks.nl/). What is surprising in this CMS is if you have already installed erlang and postgresql, it really works from just starting ./start.sh script, as it is uses inets internal erlang web-server (to be honest you still need to put password and user of your…
We’re using Google App Engine since version 1.2.2 for our product. Now version 1.2.8 is used. The number of problems make work with the GAE application far from user-friendly: It’s impossible to drop/create application with the same name. Sometimes when the application feels very bad you would like to recreate it from scratch. But it’s impossible. You won’t be able to use the same name for the second time. The possible workaround here is not to rely on the URL…
By default magnolia-cms is working on Tomcat, but it is easy to run it on Glassfish v2. You only need to deploy magnolia in glassfish and after that add default JAAS login configuration into login.conf, which is place in conf directory of your domain:
Also check that “Default Principal To Role Mapping” flag is not checked for your domain (you’ll find it on Configuration -> Security page of glassfish Admin Console).
The typical task where count with where could be used in applications is showing data in html table with paging. So for instance to calculate number of pages you’ll use count(). Where clause used usually in case you apply some filters to find particular data. The problem is that count(*) is very slow on large tables in all databases that uses MVCC method of concurrency control ( including MySql when InnoDB is used as storage engine). And it is slow…