Archive

Archive for August, 2010

Show the module positions of a Joomla website

August 17th, 2010 No comments

I have been playing with Joomla recently. As a beginner there is a tip that I find useful.
Although it is a tip that is quite well-known (Google brings more than 20 000 results for it), I will still mention it here.
If you want to know the module positions of a Joomla website, add the parameter ?tp=1 to the URL. For instance :

http://www.mysite.com/?tp=1

More Joomla secrets can be found here : http://docs.joomla.org/Joomla_secrets

Categories: CMS, Joomla! Tags:

Review of the book JSF 2.0 Cookbook

August 17th, 2010 No comments

This book covers the new features of JSF 2 in the form of about 1OO hundred recipes.
In my opinion these recipes give a good overview of the new capabilities of the latest version of JSF.
JSF 2 Cookbook

The chapters get right to the point with very common problems/requirements in web development and their solutions.
Read more…

Categories: Book reviews, JSF, JSF 2 Tags:

Google dropping Wave

August 5th, 2010 No comments

Not surprisingly, Google is dropping Wave. The official statement from a vice senior president of Google is here :

http://googleblog.blogspot.com/2010/08/update-on-google-wave.html

Well, I got an invite and even attended a demo once but never got the time or the desire to use it.

Categories: General Tags:

Running 2 JBoss 6.0.0 servers on one machine

August 1st, 2010 No comments

Today I wanted to experiment some load balancing with JBoss and Apache. For that I needed to run 2 JBoss servers on one single machine.
Server 1 is installed in D:\jboss-6.0.0.20100721-M4-Server1
Server 2 is installed in D:\jboss-6.0.0.20100721-M4-Server2

Of course if you run both servers at the same time, you will get errors such as “address already in use” because of services running on the same ports in both servers.
It turns out that you need to modify the D:\jboss-6.0.0.20100721-M4-Server1\server\default\conf\bindingservice.beans\META-INF\bindings-jboss-beans.xml file to avoid same port conflicts.
So I added 100 to all ports defined in that file, for server 1.
For server 2, I only modified the HTTP WEB SERVER port because port 8080 is already taken by Oracle.

There is no need to modify the D:\jboss-6.0.0.20100721-M4-Server1\server\default\deploy\jbossweb.sar\server.xml file.

Running multiple instances of a single JBoss server is a different story. More information can be found here (ServiceBindingManager) and here .

Categories: Architecture, JBoss Tags: