Useful WordPress plugins

On October 28, 2011, in Wordpress, by lucasterdev
  • W3 Total Cache / WP Super cache (for caching)
  • All in one SEO Pack (for SEO optimization)
  • Google XML Sitemaps (for SEO optimization)
  • SI CAPTCHA Anti-Spam (for spam)
  • SyntaxHighlighter Evolve (for syntax highlighint)

Make PlayOnLinux work in Ubuntu 11

On October 26, 2011, in PlayOnLinux, Ubuntu, Ubuntu 11, Wine, by lucasterdev

Do NOT install PlayOnLinux from the Ubuntu Software Center!

First, install/update some required libraries:

sudo apt-get install debhelper libpq-dev libwxgtk2.8-dev libxml2-dev

Then, update the repo:

wget -q "" -O- | sudo apt-key add -

sudo wget -O /etc/apt/sources.list.d/playonlinux.list

sudo apt-get update

Finally, install PlayOnLinux:

sudo apt-get install playonlinux


Make Web Services work with JBoss AS 7

On October 25, 2011, in JBoss AS 7, Web Service, by lucasterdev

1. Use JBoss AS 7, (the one with EVERYTHING), not the Web profile version. The Web profile version doesn’t support Web Services.

2. Open standalone.xml and add the following:

<extension module=""/>

and the following:

<subsystem xmlns="urn:jboss:domain:webservices:1.0" xmlns:javaee="" xmlns:jaxwsconfig="urn:jboss:jbossws-jaxws-config:4.0">
                    ##SOAP11_HTTP ##SOAP11_HTTP_MTOM ##SOAP12_HTTP ##SOAP12_HTTP_MTOM

Some links, as reference:


How to enable remote access to JBoss AS 7

On October 21, 2011, in JBoss AS 7, by lucasterdev
Set the following in JBOSS_AS_7_HOME/standalone/configuration/standalone.xml
    <interface name="management">
        <inet-address value=""/>
    <interface name="public">


Edit: they fixed it in version 4.1.0-SNAPSHOT


Using JSF 2.0 templates with f:metadata

On October 14, 2011, in Facelets, JSF, JSF 2.0, by lucasterdev


In the template.xhtml:

<html xmlns=""
	xml:lang="en" lang="en">

			<ui:insert name="metadata"/>
			<div id="container">
				<ui:insert name="content"/>

In the page:

<ui:composition template="template.xhtml">
	<ui:define name="metadata">
			<f:viewParam name="id"/>
	<ui:define name="content">
		<h1>The big news stories of the day</h1>

Edd the following to web.xml: